Method, device and equipment for playing vehicle radio station and storage medium

文档序号:601414 发布日期:2021-05-04 浏览:11次 中文

阅读说明:本技术 车载电台播放的方法、装置、设备及存储介质 (Method, device and equipment for playing vehicle radio station and storage medium ) 是由 李大青 于 2020-12-16 设计创作,主要内容包括:本申请公开了一种车载电台播放的方法、装置、设备及存储介质,涉及车联网领域。具体实现方案为:获取语音指令;对所述语音指令进行识别确定期望播放内容;发送所述期望播放内容;响应于接收到与所述期望播放内容相关的电台列表;根据所述电台列表确定目标电台,并播放所述目标电台。用户无需进行任何手动操作就能够收听到想听的电台,操作简便。(The application discloses a method, a device, equipment and a storage medium for playing a vehicle-mounted radio station, and relates to the field of Internet of vehicles. The specific implementation scheme is as follows: acquiring a voice instruction; identifying the voice instruction to determine the content expected to be played; transmitting the content expected to be played; in response to receiving a list of stations associated with the desired playback content; and determining a target radio station according to the radio station list, and playing the target radio station. The user can listen to the desired radio station without any manual operation, and the operation is simple and convenient.)

1. A method for vehicle radio playing comprises the following steps:

acquiring a voice instruction;

identifying the voice instruction to determine the content expected to be played;

transmitting the content expected to be played;

and responding to the received station list related to the expected playing content, determining a target station according to the station list, and playing the target station.

2. The method of claim 1, wherein determining a target station from the station list comprises:

acquiring the number of the radio station information included in the radio station list;

determining a first station according to the number;

and determining the target radio station according to the first radio station.

3. The method of claim 2, wherein determining the first station from the number comprises:

if the number is 0, determining the first radio station in a radio station database, wherein the radio station list is a subset of the radio station database, and the playing definition of the first radio station is greater than or equal to a preset threshold value;

if the number is 1, determining a radio station corresponding to one piece of radio station information included in the radio station list as the first radio station;

and if the number is larger than 1, determining the radio station corresponding to the radio station information ranked at the top in the radio station list as the first radio station.

4. A method as claimed in claim 2 or 3, wherein determining the target station from the first station comprises:

playing the first radio station and acquiring the current playing content of the first radio station;

and determining the target radio station according to the current playing content of the first radio station.

5. The method of claim 4, wherein determining the target station based on currently playing content of the first station comprises:

if the current playing content is the expected playing content, determining the first radio station as the target radio station;

otherwise, updating the radio station list to obtain an updated radio station list, and determining the target radio station according to the updated radio station list.

6. The method of claim 5, wherein updating the station list to obtain an updated station list comprises:

when the number is 0 or 1, updating the radio station list to be empty to obtain the updated radio station list;

and when the number is larger than 1, removing the radio station information of the first radio station in the radio station list to obtain an updated radio station list.

7. The method according to any one of claims 3-6, wherein the method further comprises:

sending the position information;

and receiving the radio station database, wherein the broadcasting range of the radio station in the radio station database is matched with the position information.

8. A method for vehicle radio playing comprises the following steps:

receiving the content expected to be played;

searching radio station information related to the expected playing content in a radio station database to obtain a radio station list, wherein the radio station database comprises the radio station information and program playing information of a plurality of radio stations;

and sending the radio station list.

9. The method of claim 8, wherein searching a station database for station information associated with the desired broadcast content to obtain a station list comprises:

searching the radio station information related to the expected playing content in the radio station database to obtain N pieces of radio station information, wherein N is an integer greater than or equal to 0;

when the N is 0, obtaining a radio station list which does not comprise any radio station information;

when the N is 1, obtaining a radio station list comprising 1 piece of radio station information;

and when the N is larger than 1, sequencing the N radio station information according to the correlation degree of each radio station information in the N radio station information and the expected playing content to obtain the radio station list.

10. The method of claim 8 or 9, wherein the method further comprises:

receiving position information;

determining the radio station database according to the position information, wherein the broadcasting range of the radio station in the radio station database is matched with the position information;

and sending the radio station database.

11. The method according to any one of claims 8-10, wherein the method further comprises:

acquiring new program playing information;

and updating the radio station database according to the new program playing information.

12. An apparatus for vehicle radio broadcasting, comprising:

the acquisition module is used for acquiring a voice instruction;

the recognition module is used for recognizing the voice command to determine the content expected to be played;

a sending module, configured to send the content expected to be played;

and the processing module is used for responding to the received radio station list related to the expected playing content, determining a target radio station according to the radio station list and playing the target radio station.

13. The apparatus of claim 12, wherein the processing module comprises:

an obtaining unit, configured to obtain the number of pieces of radio station information included in the radio station list;

a first determining unit, configured to determine a first station according to the number;

and the second determining unit is used for determining the target radio station according to the first radio station.

14. The apparatus of claim 13, wherein the first determining unit comprises:

a first determining subunit, configured to determine, if the number is 0, the first radio station in a radio station database, where the radio station list is a subset of the radio station database, and a broadcast definition of the first radio station is greater than or equal to a preset threshold;

a second determining subunit, configured to determine, if the number is 1, a radio station corresponding to one piece of radio station information included in the radio station list as the first radio station;

a third determining subunit, configured to determine, if the number is greater than 1, a radio station corresponding to the first-ranked radio station information in the radio station list as the first radio station.

15. The apparatus of claim 13 or 14, wherein the second determining unit comprises:

the playing subunit is used for playing the first radio station and acquiring the current playing content of the first radio station;

and the fourth determining subunit is configured to determine the target radio station according to the currently played content of the first radio station.

16. The apparatus according to claim 15, wherein the fourth determining subunit is specifically configured to:

if the current playing content is the expected playing content, determining the first radio station as the target radio station;

otherwise, updating the radio station list to obtain an updated radio station list, and determining the target radio station according to the updated radio station list.

17. The apparatus according to claim 16, wherein the fourth determining subunit is specifically configured to:

when the number is 0 or 1, updating the radio station list to be empty to obtain the updated radio station list;

and when the number is larger than 1, removing the radio station information of the first radio station in the radio station list to obtain an updated radio station list.

18. The apparatus of any one of claims 14-17, wherein the means for transmitting further comprises:

a transmitting unit for transmitting the position information;

and the receiving unit is used for receiving the radio station database, and the broadcasting range of the radio station in the radio station database is matched with the position information.

19. An apparatus for vehicle radio broadcasting, comprising:

the receiving module is used for receiving the content expected to be played;

the searching module is used for searching the radio station information related to the expected playing content in a radio station database to obtain a radio station list, wherein the radio station database comprises the radio station information and the program playing information of a plurality of radio stations;

and the sending module is used for sending the radio station list.

20. The apparatus of claim 19, wherein the lookup module comprises:

the searching unit is used for searching the radio station information related to the expected playing content in the radio station database to obtain N pieces of radio station information, wherein N is an integer greater than or equal to 0;

a first obtaining unit, configured to obtain a radio station list that does not include any radio station information when N is 0;

a second obtaining unit, configured to obtain a radio station list including 1 piece of radio station information when N is 1;

and a third obtaining unit, configured to, when N is greater than 1, sort the N pieces of radio station information according to a correlation between each piece of radio station information in the N pieces of radio station information and the desired broadcast content, so as to obtain the radio station list.

21. The apparatus of claim 19 or 20, wherein the receiving means further comprises:

a receiving unit for receiving the position information;

the determining unit is used for determining the radio station database according to the position information, and the broadcasting range of the radio station in the radio station database is matched with the position information;

and the sending unit is used for sending the radio station database.

22. The apparatus of any of claims 19-21, wherein the receiving means further comprises:

the acquisition unit is used for acquiring new program playing information;

and the updating unit is used for updating the radio station database according to the new program playing information.

23. An electronic device, comprising:

at least one processor; and

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-11.

24. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-11.

25. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-11.

Technical Field

The present application relates to the field of car networking in data processing, and in particular, to a method, an apparatus, a device, and a storage medium for playing a vehicle radio station.

Background

During driving, listening to a radio station is a common way to obtain information and entertainment.

In vehicle applications, a user needs to select a station before listening to the station. At present, the scheme for selecting the radio station to be listened to by the user is mainly that the user selects according to the frequency or the number of the radio station and skips by combining shortcut keys of the previous radio station/the next radio station and the like.

The scheme usually needs a user to select a radio station to be listened to through multiple times of manual channel change, and the operation is complex.

Disclosure of Invention

The application provides a method, a device, equipment and a storage medium for playing a vehicle radio station.

According to a first aspect of the present application, a method for vehicle radio playing is provided, including:

acquiring a voice instruction;

identifying the voice instruction to determine the content expected to be played;

transmitting the content expected to be played;

and responding to the received station list related to the expected playing content, determining a target station according to the station list, and playing the target station.

According to a second aspect of the present application, there is provided a method for vehicle radio playing, including:

receiving the content expected to be played;

searching radio station information related to the expected playing content in a radio station database to obtain a radio station list, wherein the radio station database comprises the radio station information and program playing information of a plurality of radio stations;

and sending the radio station list.

According to a third aspect of the present application, there is provided an apparatus for in-vehicle radio playing, comprising:

the acquisition module is used for acquiring a voice instruction;

the recognition module is used for recognizing the voice command to determine the content expected to be played;

a sending module, configured to send the content expected to be played;

and the processing module is used for responding to the received radio station list related to the expected playing content, determining a target radio station according to the radio station list and playing the target radio station.

According to a fourth aspect of the present application, there is provided an apparatus for vehicle radio broadcasting, including:

the receiving module is used for receiving the content expected to be played;

the searching module is used for searching the radio station information related to the expected playing content in a radio station database to obtain a radio station list, wherein the radio station database comprises the radio station information and the program playing information of a plurality of radio stations;

and the sending module is used for sending the radio station list.

According to a fifth aspect of the present application, there is provided an electronic device comprising:

at least one processor; and

a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,

the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the first or second aspects.

According to a sixth aspect of the present application, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any of the first or second aspects.

According to a seventh aspect of the present application, there is provided a computer program product comprising: a computer program, stored in a readable storage medium, from which at least one processor of an electronic device can read the computer program, execution of the computer program by the at least one processor causing the electronic device to perform the method of the first or second aspect.

According to the method, the device, the equipment and the storage medium for playing the vehicle radio station, firstly, a voice instruction is obtained, then the voice instruction is identified to determine the expected playing content, and the expected playing content is sent; then, in response to receiving the station list related to the desired playing content, the target station is determined to play according to the station list. According to the scheme provided by the embodiment of the application, after a user only needs to send a voice instruction, the vehicle-mounted terminal can obtain the listening intention of the user according to the voice instruction of the user, and finds the radio station list related to the listening intention of the user by combining the server, so that the target radio station to be listened finally is determined, the user can listen to the radio station to be listened without any manual operation, the operation is simple and convenient, and the experience of the vehicle networking user listening to the radio station is more intelligent.

It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present application, nor do they limit the scope of the present application. Other features of the present application will become apparent from the following description.

Drawings

The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:

FIG. 1 is a schematic interface diagram of a vehicle radio;

fig. 2 is a schematic view of an application scenario provided in an embodiment of the present application;

fig. 3 is a schematic flowchart of a method for playing a vehicle radio station according to an embodiment of the present application;

fig. 4 is a schematic flowchart of determining a target station according to a station list according to an embodiment of the present application;

fig. 5 is a schematic diagram of determining a first station according to an embodiment of the present application;

fig. 6 is a schematic diagram of updating a station list according to an embodiment of the present application;

fig. 7 is a schematic flowchart of determining a target station according to an embodiment of the present application;

fig. 8 is a schematic flowchart of a method for playing a vehicle radio station according to an embodiment of the present application;

fig. 9 is a schematic structural diagram of a device for playing a vehicle radio station according to an embodiment of the present application;

fig. 10 is a schematic structural diagram of a device for playing a vehicle radio station according to an embodiment of the present application;

fig. 11 is a schematic block diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

Fig. 1 is a schematic interface diagram of a vehicle radio station, and as shown in fig. 1, the frequency of the currently played radio station and various adjustment buttons are displayed on an interface 10.

Below the interface 10, adjustment buttons such as a band button, a channel storing button, a browsing button, a distance button, a stereo button, etc. are included, and different buttons have different functions. For example, the band button may adjust the bands of listening stations, the store button may collect or store stations that the user likes, and so on. The adjusting button also comprises a previous station button 11 and a next station button 12, and a user can click the previous station button 11 or the next station button 12 to jump the station. Above the interface 10, a frequency adjustment control 13 is further included, and the frequency adjustment control 13 can be moved to adjust the frequency of the listened-to station, and so on.

In current in-vehicle applications, when a user wants to listen to a favorite station, the selection can be made in a number of ways. For example, if the user likes to listen to station a and knows the frequency of station a, the user can directly jump to the frequency of station a by operating the frequency adjustment control 13 to listen to station a.

If the user collects the radio stations which the user likes to listen to at ordinary times, for example, the user can locally collect the radio stations which the user wants to listen to through the channel storage button, and the user can find the radio stations which the user wants to listen to in the collected folder to jump.

If the user does not fix the station to be listened to, but only wants to listen to a certain content, for example, listen to music, the automatic station search function in the vehicle-mounted application may be utilized to first traverse all stations with strong search signals, store the channel list locally, and then jump the stations by clicking the previous station button 11 or the next station button 12 until the content to be listened to is found.

According to the scheme for selecting the radio stations, a user can only select to listen to a specific radio station and then listen to the playing content of the specific radio station, and can judge whether to listen to or change the radio station continuously, the user is usually required to select the radio station to be listened through manual channel changing for many times, the operation is troublesome, and meanwhile, the driver is easy to be distracted.

Based on the above problem, the embodiment of the application provides a scheme for playing a vehicle-mounted radio station, so that a user can select a radio station to be listened to without manually changing the station for many times, and complexity of radio station selection is reduced.

First, an application scenario of the embodiment of the present application is described.

Fig. 2 is a schematic view of an application scenario provided in the embodiment of the present application, as shown in fig. 2, including a user 21, a vehicle-mounted terminal 22, and a cloud server 23.

The in-vehicle terminal 22 is mounted on a vehicle on which the user 21 is located. Among them, the in-vehicle terminal 22 has a voice recognition capability and a cellular network communication function. When the user 21 speaks, the in-vehicle terminal 22 can perform voice recognition on the utterance spoken by the user 21, recognizing the listening intention of the user 21. Meanwhile, the in-vehicle terminal 22 can communicate with the cloud server 23 based on the cellular network communication function.

The cloud server 23 may collect station information of various places through various ways, such as frequency of each station, station name, program list of stations, and the like, and update the station information periodically.

After the in-vehicle terminal 22 obtains the listening intention of the user 21, the listening intention can be sent to the cloud server 23, and the cloud server 23 finds a radio station list meeting the user requirement according to the listening intention of the user 21 and then returns the radio station list to the in-vehicle terminal 22. After receiving the radio station list meeting the user requirements returned by the cloud server 23, the vehicle-mounted terminal 22 selects a target radio station to be listened to finally according to the radio station list, and the user 21 can listen to the target radio station.

Fig. 2 illustrates an application scenario applicable to the present application, and the following describes a scheme of the present application with reference to the accompanying drawings.

Fig. 3 is a schematic flowchart of a method for playing a vehicle radio station according to an embodiment of the present application, and as shown in fig. 3, the method may include:

and S31, acquiring a voice command.

The execution main body in the embodiment of the application can be a vehicle-mounted terminal. The voice instruction is a voice instruction sent by a user, the user can send different voice instructions according to the needs of the user, and then the vehicle-mounted terminal obtains the user instruction.

And S32, recognizing the voice command to determine the content expected to be played.

The vehicle-mounted terminal has a voice recognition function. After the voice instruction sent by the user is obtained, voice recognition can be carried out on the voice instruction, the intention of the user is obtained, and the content expected to be played by the user is obtained.

For example, the voice command from the user may be "listen to music", "listen to news", "listen to a program", "listen to a B station", and so on. By performing voice recognition on the voice command, the user's desired playing content can be known.

For example, the instruction that "listen to music" and "listen to news" belong to specific playing contents, and it can be known that the desired playing content of the user is "music-like content" or "news-like content" according to the identified "music" or "news". For example, the instructions that "listen to a program" and "listen to B station" belong to specific programs and stations, and the corresponding desired broadcast content can be determined according to "a program" or "B station".

And S33, sending the desired playing content.

After the in-vehicle terminal acquires the content expected to be played by the user, the content expected to be played is sent to the server. After receiving the expected playing content sent by the vehicle-mounted terminal, the server searches for the expected playing content and obtains a radio station list related to the expected playing content.

For example, if the content desired to be played is music, the server may obtain program lists of each station and corresponding playing time periods, and then search for a station that is playing music at the current time period to form a station list, where the station list is a station list related to the content desired to be played by the user.

S34, in response to receiving the radio station list related to the expected playing content, determining a target radio station according to the radio station list, and playing the target radio station.

After the server determines a station list related to the desired playing content, the station list is sent to the vehicle-mounted terminal, and the station list comprises information such as names and frequencies of all stations. The vehicle-mounted terminal responds to the received station list related to the expected playing content, and the target station which is finally listened to can be determined according to the station list, and then the target station is played.

The method for playing the vehicle radio station comprises the steps of firstly obtaining a voice instruction, then identifying the voice instruction to determine the expected playing content, and sending the expected playing content; then, in response to receiving the station list related to the desired playing content, the target station is determined to play according to the station list. According to the scheme provided by the embodiment of the application, after a user only needs to send a voice instruction, the vehicle-mounted terminal can obtain the listening intention of the user according to the voice instruction of the user, and finds the radio station list related to the listening intention of the user by combining the server, so that the target radio station to be listened finally is determined, the user can listen to the radio station to be listened without any manual operation, the operation is simple and convenient, and the experience of the vehicle networking user listening to the radio station is more intelligent.

The embodiments of the present application will be described in detail below with reference to the accompanying drawings.

Fig. 4 is a schematic flowchart of determining a target station according to a station list according to an embodiment of the present application, as shown in fig. 4, including:

and S41, acquiring the number of the station information included in the station list.

After the vehicle-mounted terminal sends the desired playing content to the server, the server needs to search according to the desired playing content to obtain a radio station list related to the desired playing content. The station list may include station information. When a plurality of radio stations relevant to the expected playing content are found, the radio station information of the plurality of radio stations exists in the radio station list; when only one radio station related to the expected playing content is found, only the radio station information of the radio station is in the radio station list; when stations that are not associated with the desired content are found, no station information is included in the station list.

For example, if the content to be played is music, the server searches the station database to know that the station a and the station B are playing music, and the returned station list includes station information of the station a and the station B; if the fact that only the radio station C plays music is known, the returned radio station list only comprises the radio station information of the radio station C; if all the radio stations are not playing music, the returned radio station list does not include any radio station information, and the radio station list is empty.

Optionally, the radio station database is determined according to the location information of the vehicle-mounted terminal. The vehicle-mounted terminal can send position information of the vehicle-mounted terminal to the server, then the server determines a radio station database corresponding to the vehicle-mounted terminal according to the position information and sends the radio station database to the vehicle-mounted terminal, the broadcast range of a radio station in the radio station database is matched with the position information, namely, the broadcast range of the radio station in the radio station database corresponding to the vehicle-mounted terminal comprises the position information of the vehicle-mounted terminal, and the position of the vehicle-mounted terminal can receive and hear the radio station in the radio station database.

The radio station information is obtained by searching in the radio station database corresponding to the vehicle-mounted terminal, and the radio station database corresponding to the vehicle-mounted terminal is determined according to the position information of the vehicle-mounted terminal, so that the radio station corresponding to the radio station information in the radio station list can be ensured to be a radio station which can be received by the vehicle-mounted terminal.

And S42, determining the first station according to the number.

The first radio station is determined according to the number of the radio station information included in the radio station list, and the target radio station which is finally played can be determined only by determining the first radio station and playing the first radio station. When the number of station information is different, the determined first station is also different.

Specifically, if the number of the radio station information is 0, determining a first radio station in a radio station database, wherein a radio station list is a subset of the radio station database, and the broadcast definition of the first radio station is greater than or equal to a preset threshold;

if the number of the radio station information is 1, determining a radio station corresponding to one radio station information included in the radio station list as a first radio station;

and if the number of the radio station information is greater than 1, determining the radio station corresponding to the radio station information ranked at the top in the radio station list as the first radio station.

Fig. 5 is a schematic diagram of determining a first station according to an embodiment of the present application, and as shown in fig. 5, the first station is divided into three cases.

In the first case, the station list 51 returned by the server is empty, and the number of station information included therein is 0. At this time, the first station cannot be determined from the station information included in the station list 51. Therefore, a station which can be listened to clearly can be searched in the station database through the station searching function of the vehicle-mounted terminal, and the station is determined to be the first station. The radio station database is synchronized by the server to the vehicle-mounted terminal and is a set of radio stations which can be received by the vehicle-mounted terminal, wherein the radio station list is a subset of the radio station database. The preset threshold is a preset threshold, and the definition of the first radio station is greater than or equal to the preset threshold. For example, in fig. 5, when station list 51 is empty, first station 54 is identified as station E, which is a station in the station database.

In the second case, the station list 52 returned by the server includes a piece of station information, i.e. the station information of station a. In this case, the station a corresponding to the station information may be identified as the corresponding first station 55.

In the third case, the station list 53 returned by the server includes more than one piece of station information, for example, in fig. 5, the station list 53 includes the station information of station B, station C, and station D, and at this time, one of station B, station C, and station D may be determined as the corresponding first station. Optionally, when the server returns the station list 53, if station information of more than one station is included, the station information may be sorted from top to bottom according to the correlation degree with the desired playing content. Therefore, according to the station list 53, the station B corresponding to the station information of the station B ranked first in the station list 53 can be determined as the first station 56.

The current playing content of the first station determined in the above way is usually relatively related to the expected playing content, so that the target station can be determined more quickly.

S43, determining the target radio station according to the first radio station.

After the first station is determined, the first station is played first, and then the current playing content of the first station is obtained. Specifically, when the first station is played, speech recognition may be performed on the played content to obtain the currently played content of the first station. And then determining a target station according to the current playing content of the first station.

Since the content that the user wants to listen to is the desired broadcast content, the currently broadcast content of the first station needs to be compared with the desired broadcast content.

And if the current playing content is the expected playing content, determining the first radio station as the target radio station.

For example, if the desired broadcast content is music, and the current broadcast content of the first radio station is also music, it may be determined that the first radio station is the target radio station; if the desired broadcast content is news, and the current broadcast content of the first radio station is also news at this time, it may be determined that the first radio station is the target radio station at this time.

The reason why the previous station list returned by the server is the station list related to the desired broadcast content and whether the broadcast content of the first station is the desired broadcast content of the user needs to be further judged is that the server side can acquire the program list of each station in each time slot, but the broadcast content of each station changes from moment to moment.

For example, in a time period from 9:00 to 10:00, the program list of station a is music, and when the desired playing content of the user is music, the station information of station a may be included in the station list returned by the server. However, when station a is broadcast after station a is identified as the first station, station a may have a commercial break at this time, which the user does not wish to listen to, and therefore further confirmation is required at this time.

And if the current playing content is not the expected playing content, updating the radio station list to obtain an updated radio station list, and determining a target radio station according to the updated radio station list.

By the method, the playing content of the target radio station can be further ensured to be the expected playing content of the user.

If the current playing content is not the desired playing content of the user, the station information of the first station needs to be removed from the station list, so as to obtain an updated station list.

Fig. 6 is a schematic diagram of updating a station list according to an embodiment of the present application, as shown in fig. 6, the number of station information included in the station list initially returned by the server is different.

When the number of station information is 0, as indicated by the station list 51 in fig. 6, at this time, there is no station information in the station list 51, and the determined first station is determined in the station database by the automatic station search function, so that the updated station list 61 is still empty.

When the number of station information is 1, as indicated by a station list 52 in fig. 6, the first station at this time is station a corresponding to the station information. After the station information of the first station is removed, the updated station list 62 is also empty. Therefore, when the number of the station information included in the station list before update is 0 or 1, the updated station list is empty and does not include any new station.

When the number of the station information is greater than 1, as illustrated by the station list 53 in fig. 6, an updated station list 63 can be obtained by removing the station information of the first station, i.e., station B, and the updated station list includes at least one piece of station information. For example, in fig. 6, the updated station list 63 includes station information of station C and station D.

After the station list is updated, the target station may be determined based on the updated station list. Specifically, the number of the station information included in the updated station list may be obtained, and then a new first station may be determined according to the number, and a target station may be determined according to the new first station. The scheme of the target radio station is determined according to the new first radio station, the first radio station is determined according to the number of the radio station information included in the original radio station list, and the scheme of the target radio station is determined according to the first radio station.

Fig. 7 is a schematic flowchart of determining a target station according to an embodiment of the present application, and as shown in fig. 7, the method includes:

s701, voice recognition is carried out on the content expected to be played.

The execution subject of the scheme illustrated in fig. 7 is a vehicle-mounted terminal. The vehicle-mounted terminal firstly receives a voice instruction of a user, carries out voice recognition on the voice instruction to obtain expected playing content, and sends the expected playing content to the server.

S702, receiving the station list returned by the server.

The server searches according to the expected playing content sent by the vehicle-mounted terminal and returns a radio station list related to the expected playing content to the vehicle-mounted terminal.

S703 determines whether the number of pieces of station information in the returned station list is 0, 1, or plural, and if plural, S704 is executed, if 0, S705 is executed, and if 1, S706 is executed.

The number of the station information included in the returned station list may be different, and different processing modes are provided according to different situations.

S704, jumping to any station in the station list.

When the number of the station information included in the returned station list is multiple, the station corresponding to any one of the station information can be skipped to, and the skipped station is the first station. Optionally, if the server ranks the plurality of pieces of station information according to the relevance of the content expected to be played, the station corresponding to the station information ranked at the top in the station list may be selected to jump.

S705, jumping to a station database to listen to a clear station.

When the number of the station information included in the returned station list is 0, it indicates that there is no station satisfying the user requirement at this time. At this time, the station database can jump to a clearly listened station through the automatic station searching function, and the station is determined as a first station.

S706, jumping to the station in the station list.

When the number of the station information included in the returned station list is 1, the station corresponding to the station information can be directly jumped to, namely, the station is taken as a first station.

And S707, recognizing the current playing content of the first station by voice.

And after the first radio station is determined, playing the first radio station, and identifying the current playing content of the first radio station.

S708, determine whether the current playing content is the desired playing content, if yes, execute S709, and if no, execute S710.

It is further necessary to determine whether the current broadcast content of the first station is the desired broadcast content, so as to determine whether the user requirement is met. If so, S709 is executed, and if not, S710 is executed.

And S709, determining the first radio station played currently as a target radio station.

When the current playing content of the first radio station is the expected playing content, the current playing content of the first radio station meets the requirements and intentions of a user, the first radio station is determined to be a target radio station at the moment, and the target radio station is directly played.

S710, the station list is updated, and the process jumps to S703.

When the current playing content of the first radio station is not the expected playing content, the current playing content of the first radio station does not meet the requirements and intentions of the user at the moment, the radio station list needs to be updated, and judgment is carried out again. The method for updating the radio station list is described in the above embodiments, and is not described herein again.

Therefore, the different processing modes for the number of the station information included in the station list returned by the server are that when the server returns an empty station list, the station database jumps to a clearly listened station through the automatic station searching function, the current playing content of the station is identified by voice, and whether the content is the expected playing content is judged. If yes, playing is carried out, if not, jumping to the next clearly listening radio station in the radio station database through the automatic channel searching function, and the judging step is repeated until the current playing content of the jumped radio station is the expected playing content of the user.

When the server returns 1 piece of radio station information meeting the user requirements, namely when the radio station list comprises 1 piece of radio station information, the server jumps to the radio station corresponding to the radio station information, and judges whether the current playing content of the radio station is the expected playing content or not by voice recognition. If yes, playing is carried out, and if not, the station with clear listening is jumped to the station database through the automatic station searching function to determine the target station. The scheme of determining the target radio station by jumping to the clearly listened radio station in the radio station database through the automatic channel searching function can refer to the scheme when the radio station list is empty, and the operation mode is similar and is not described herein again.

When the server returns a plurality of pieces of radio station information meeting the user requirements, namely the radio station list comprises a plurality of pieces of radio station information, firstly, the server jumps to a radio station corresponding to the radio station information arranged at the head in the radio station list, and judges whether the current playing content of the radio station is the expected playing content or not by voice recognition. If yes, playing is carried out, if not, the radio station corresponding to the next radio station information in the radio station list is jumped to, and the steps of voice recognition and judgment are repeated.

Fig. 8 is a flowchart illustrating a method for vehicle radio broadcasting according to an embodiment of the present application, where as shown in fig. 8, the method may include:

and S81, receiving the content expected to be played.

The execution subject in the embodiment of the present application may be a server, for example, a cloud server. After the expected playing content of the user is acquired by the vehicle-mounted terminal through voice recognition, the expected playing content can be sent to the server. The server receives the desired playback content from the in-vehicle terminal. The desired broadcast content may be, for example, "music", "news", or the like, or may be a specific station or the like.

And S82, searching the radio station information related to the expected playing content in a radio station database to obtain a radio station list, wherein the radio station database comprises the radio station information and the program playing information of a plurality of radio stations.

The server can collect the radio station information of each place through various ways to obtain a corresponding radio station database. After receiving the desired broadcast content, the station database may be searched for station information related to the desired broadcast content to obtain a station list.

For example, the station database may include program lists of the respective stations, including broadcast contents and corresponding broadcast periods of the respective stations. According to the playing content and the corresponding playing time interval of each station, the station related to the expected playing content can be searched.

For example, if the desired content is music, the server may search the station database for the stations playing music in the current time period, and aggregate the station information of the stations playing music to obtain a station list.

And S83, sending the station list.

After determining the station list, the server may return the station list to the in-vehicle terminal, so that the in-vehicle terminal determines a target station to finally listen to according to the station list.

According to the method for playing the vehicle-mounted radio station, the expected playing content is received from the vehicle-mounted terminal, then the radio station information related to the expected playing content is searched in the radio station database, the radio station list is obtained, and the radio station list is sent to the vehicle-mounted terminal, so that the vehicle-mounted terminal can determine the corresponding target radio station according to the radio station list. Through the interaction of the vehicle-mounted terminal and the server, the target radio station can be determined without manual operation of a user, the operation is simple and convenient, and the experience that the vehicle networking user listens to the radio station is more intelligent.

The server can collect the information of each local radio station, and the broadcasting ranges of different radio stations are different, so the server can receive the position information of the vehicle-mounted terminal and then determine the radio station database corresponding to the vehicle-mounted terminal according to the position information. The broadcasting range of the radio station in the radio station database corresponding to the vehicle-mounted terminal is matched with the position information of the vehicle-mounted terminal, namely, the broadcasting range of the radio station in the radio station database corresponding to the vehicle-mounted terminal comprises the position information of the vehicle-mounted terminal, and the radio station in the radio station database can be received and heard at the position of the vehicle-mounted terminal.

After the station database corresponding to the vehicle-mounted terminal is determined, the station database can be sent to the vehicle-mounted terminal, and the vehicle-mounted terminal can store the station database locally. Through the scheme, the situation that the radio stations which cannot be received, namely the radio stations beyond the broadcasting range, are included in the radio station database synchronously sent to the vehicle-mounted terminal can be avoided.

After the server receives the expected playing content, the server can search the radio station information related to the expected playing content in the radio station database corresponding to the vehicle-mounted terminal to obtain N pieces of radio station information, wherein N is an integer greater than or equal to 0. According to the N pieces of station information, a corresponding station list can be obtained.

When N is 0, obtaining a radio station list which does not comprise any radio station information; when N is 1, obtaining a radio station list comprising 1 piece of radio station information; and when N is larger than 1, sequencing the N pieces of radio station information according to the correlation degree of each piece of radio station information in the N pieces of radio station information and the expected playing content to obtain a radio station list.

Optionally, the server may also periodically update each radio station, obtain new program playing information, and update the radio station database according to the new program playing information, so as to ensure real-time performance and accuracy of the obtained program list of the radio station, and improve efficiency and speed of selecting a target radio station by a subsequent vehicle-mounted terminal.

The radio station information is obtained by searching in the radio station database corresponding to the vehicle-mounted terminal, and the radio station database corresponding to the vehicle-mounted terminal is determined according to the position information of the vehicle-mounted terminal, so that the radio station corresponding to the radio station information in the radio station list can be ensured to be a radio station which can be received by the vehicle-mounted terminal. And when N is greater than 1, sequencing the N radio station information according to the correlation degree of the N radio stations with the expected playing content, and determining the radio stations more related to the expected playing content to listen in the subsequent sequence.

Fig. 9 is a schematic structural diagram of a device for broadcasting a vehicle radio station according to an embodiment of the present application, and as shown in fig. 9, the device 90 for broadcasting a vehicle radio station includes:

an obtaining module 91, configured to obtain a voice instruction;

the recognition module 92 is used for recognizing the voice instruction to determine the content expected to be played;

a sending module 93, configured to send the content desired to be played;

and the processing module 94 is configured to, in response to receiving the station list related to the content desired to be played, determine a target station according to the station list, and play the target station.

In a possible implementation, the processing module 94 comprises:

an obtaining unit, configured to obtain the number of pieces of radio station information included in the radio station list;

a first determining unit, configured to determine a first station according to the number;

and the second determining unit is used for determining the target radio station according to the first radio station.

In one possible implementation, the first determining unit includes:

a first determining subunit, configured to determine, if the number is 0, the first radio station in a radio station database, where the radio station list is a subset of the radio station database, and a broadcast definition of the first radio station is greater than or equal to a preset threshold;

a second determining subunit, configured to determine, if the number is 1, a radio station corresponding to one piece of radio station information included in the radio station list as the first radio station;

a third determining subunit, configured to determine, if the number is greater than 1, a radio station corresponding to the first-ranked radio station information in the radio station list as the first radio station.

In one possible implementation, the second determining unit includes:

the playing subunit is used for playing the first radio station and acquiring the current playing content of the first radio station;

and the fourth determining subunit is configured to determine the target radio station according to the currently played content of the first radio station.

In a possible implementation manner, the fourth determining subunit is specifically configured to:

if the current playing content is the expected playing content, determining the first radio station as the target radio station;

otherwise, updating the radio station list to obtain an updated radio station list, and determining the target radio station according to the updated radio station list.

In a possible implementation manner, the fourth determining subunit is specifically configured to:

when the number is 0 or 1, updating the radio station list to be empty to obtain the updated radio station list;

and when the number is larger than 1, removing the radio station information of the first radio station in the radio station list to obtain an updated radio station list.

In a possible implementation, the sending module 93 further includes:

a transmitting unit for transmitting the position information;

and the receiving unit is used for receiving the radio station database, and the broadcasting range of the radio station in the radio station database is matched with the position information.

The device for playing the vehicle-mounted radio station, provided by the embodiment of the application, is used for executing the method embodiment, and the implementation principle and the technical effect are similar, and the embodiment is not repeated herein.

Fig. 10 is a schematic structural diagram of a device for broadcasting in-vehicle radio station according to an embodiment of the present application, and as shown in fig. 10, the device 100 for broadcasting in-vehicle radio station includes:

a receiving module 101, configured to receive content desired to be played;

the search module 102 is configured to search, in a radio station database, radio station information related to the content expected to be played to obtain a radio station list, where the radio station database includes radio station information and program playing information of a plurality of radio stations;

a sending module 103, configured to send the station list.

In one possible implementation, the lookup module 102 includes:

the searching unit is used for searching the radio station information related to the expected playing content in the radio station database to obtain N pieces of radio station information, wherein N is an integer greater than or equal to 0;

a first obtaining unit, configured to obtain a radio station list that does not include any radio station information when N is 0;

a second obtaining unit, configured to obtain a radio station list including 1 piece of radio station information when N is 1;

and a third obtaining unit, configured to, when N is greater than 1, sort the N pieces of radio station information according to a correlation between each piece of radio station information in the N pieces of radio station information and the desired broadcast content, so as to obtain the radio station list.

In a possible implementation, the receiving module 101 further includes:

a receiving unit for receiving the position information;

the determining unit is used for determining the radio station database according to the position information, and the broadcasting range of the radio station in the radio station database is matched with the position information;

and the sending unit is used for sending the radio station database.

In a possible implementation, the receiving module 101 further includes:

the acquisition unit is used for acquiring new program playing information;

and the updating unit is used for updating the radio station database according to the new program playing information.

The device for playing the vehicle-mounted radio station, provided by the embodiment of the application, is used for executing the method embodiment, and the implementation principle and the technical effect are similar, and the embodiment is not repeated herein.

According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.

There is also provided, in accordance with an embodiment of the present application, a computer program product, including: a computer program, stored in a readable storage medium, from which at least one processor of the electronic device can read the computer program, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any of the embodiments described above.

FIG. 11 shows a schematic block diagram of an example electronic device 1100 that may be used to implement embodiments of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.

As shown in fig. 11, the electronic device 1100 includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)1102 or a computer program loaded from a storage unit 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data necessary for the operation of the device 1100 may also be stored. The calculation unit 1101, the ROM 1102, and the RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.

A number of components in device 1100 connect to I/O interface 1105, including: an input unit 1106 such as a keyboard, a mouse, and the like; an output unit 1107 such as various types of displays, speakers, and the like; a storage unit 1108 such as a magnetic disk, optical disk, or the like; and a communication unit 1109 such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 1109 allows the device 1100 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.

The computing unit 1101 can be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and the like. The calculation unit 1101 performs the respective methods and processes described above, such as the method of in-vehicle station playback. For example, in some embodiments, the method of in-vehicle station playback may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 1108. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 1100 via ROM 1102 and/or communication unit 1109. When loaded into RAM 1103 and executed by computing unit 1101, may perform one or more of the steps of the method of in-vehicle station playing described above. Alternatively, in other embodiments, the computing unit 1101 may be configured by any other suitable means (e.g., by means of firmware) to perform the method of in-vehicle station playing.

Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.

Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.

The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.

It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.

The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:获取绝对时间戳的方法、相关装置和系统

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!