WO2016095423A1 - Radio broadcast channel updating method and device - Google Patents

Radio broadcast channel updating method and device Download PDF

Info

Publication number
WO2016095423A1
WO2016095423A1 PCT/CN2015/079316 CN2015079316W WO2016095423A1 WO 2016095423 A1 WO2016095423 A1 WO 2016095423A1 CN 2015079316 W CN2015079316 W CN 2015079316W WO 2016095423 A1 WO2016095423 A1 WO 2016095423A1
Authority
WO
WIPO (PCT)
Prior art keywords
area
terminal
station
same type
radio
Prior art date
Application number
PCT/CN2015/079316
Other languages
French (fr)
Chinese (zh)
Inventor
张喜娟
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016095423A1 publication Critical patent/WO2016095423A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H60/00Arrangements for broadcast applications with a direct linking to broadcast information or broadcast space-time; Broadcast-related systems
    • H04H60/25Arrangements for updating broadcast information or broadcast-related information

Definitions

  • the present invention relates to the field of communications, and in particular to a method and apparatus for updating a radio broadcast channel.
  • radio functions on the existing smart mobile terminals can implement basic functions such as searching, setting, and renaming channels.
  • stations in different cities have different frequencies. If the user leaves the current city and arrives at another place, the station he is listening to may become a fake station in a new place and cannot be listened to normally. Users must re-search for active stations throughout the entire frequency band, seriously affecting the user experience. Therefore, how can the terminal automatically detect the strength of the radio signal when detecting the change of the location information of the city, and search for the effective radio station in the full range in the background and switch, and automatically switch to the effective channel of the same type becomes a technical problem to be solved.
  • the solution provided in the related art is to open the radio for the first time, and the radio will automatically search in the full frequency band to obtain a list of effective channels; if it is not the first time to enter the radio, the user needs to manually search for the entire channel to update the existing channel list. . Users need to find and add tags themselves to listen to their favorite stations. Using this method will increase the complexity of the operation of the user to find the station and is more time consuming. Moreover, when the user transfers from another vehicle to another city from the current city, the previously listened to the radio station may become an invalid radio station, and then cannot be normal. Listening; the stations in the channel list that the original user searched for may not be able to listen properly in the new city.
  • Solution 1 When the location of the city information changes, the scheme of the invalid channel in the channel information list can be automatically cleared. Although the scheme can ensure that there is no invalid station in the channel list, how should the invalid station information being played on the radio be processed? And how to replace it does not provide a clear solution;
  • the channel in the same frequency modulation area under the new coordinates can be searched in the database for playing.
  • This method can avoid the user listening to the invalid radio station after changing the city, but cannot judge. Whether the newly switched station is the type that the user likes to listen to.
  • Defect 1 The method of pre-storing channel information of different areas through the database, although the fake station information in the channel list can be eliminated when the position is switched, but how to deal with the invalid channel that the user is listening and how to select the next one for the user to play There are no explicit mentions of valid stations.
  • Defect 2 Although the existing scheme refers to finding the channel information in the same FM area under the new location coordinates for playback, how to select a new channel does not indicate that the channel searched in the new location area may not be the user who likes to listen. The radio still needs the user to manually search for the station that he wants to listen to, thereby increasing the user's operational complexity, which in turn seriously affects the user experience.
  • the embodiment of the invention provides a method and a device for updating a radio broadcast channel, so as to at least solve the problem that the radio cannot be normally listened after switching the city in the related art, and cannot meet the user's use requirement.
  • a method of updating a radio play channel is provided.
  • the method for updating a radio play channel includes: determining that the terminal switches from the first area to the second area, and the signal strength of the listening station of the terminal in the first area is lower than a preset threshold after switching to the second area, wherein The terminal has a difference in the frequency band supported by the terminal in the second area in the first area; in the second area, the station of the same type as the listening station in the first area is searched, and the station of the same type is used for the update play.
  • determining that the terminal switches from the first area to the second area comprises: acquiring the longitude information and the latitude information of the current location of the terminal in real time by using a preset manner; and determining, according to the change of the longitude information and the latitude information, that the terminal switches from the first area to the first area. Second area.
  • the preset manner includes at least one of the following: a wireless local area network, a data service function, and a global positioning system.
  • searching for the stations of the same type in the second area comprises: performing a full-band search on the frequency bands supported by the terminal in the second area; classifying all the searched radio channels; and searching for the stations of the same type from the classification results.
  • the method further includes: determining that the terminal has not switched from the first area to the second area or the signal The intensity continues to play the station that the terminal listens to in the first area if the intensity has not fallen below the preset threshold after switching to the second area.
  • an apparatus for updating a radio broadcast channel is provided.
  • the apparatus for updating a radio play channel includes: a determining module configured to determine that the terminal switches from the first area to the second area and the signal strength of the terminal listening to the station in the first area is lower than after switching to the second area a preset threshold, wherein the terminal is different from the frequency band supported by the terminal in the second area in the first area; and the updating module is configured to search for the same type of station in the second area as the listening station in the first area, and adopt Stations of the same type are updated for playback.
  • the determining module includes: an obtaining unit configured to acquire the longitude information and the latitude information of the current location of the terminal in real time by using a preset manner; and the determining unit is configured to determine that the terminal switches from the first region according to the change of the longitude information and the latitude information. To the second area.
  • the preset manner includes at least one of the following: a wireless local area network, a data service function, and a global positioning system.
  • the updating module comprises: a searching unit, configured to perform a full-band search on the frequency band supported by the terminal in the second area; the classification unit is configured to classify all the searched radio channels; and the search unit is set to be classified Find the same type of station in the result.
  • the apparatus further includes: a processing module, configured to continue to play the terminal if it is determined that the terminal has not switched from the first area to the second area or the signal strength has not fallen below a preset threshold after switching to the second area The station that the first area listens to.
  • a processing module configured to continue to play the terminal if it is determined that the terminal has not switched from the first area to the second area or the signal strength has not fallen below a preset threshold after switching to the second area The station that the first area listens to.
  • the determining that the terminal switches from the first area to the second area and the signal strength of the terminal listening to the radio in the first area is lower than a preset threshold after switching to the second area, where the terminal is in the first area.
  • a preset threshold After switching to the second area, where the terminal is in the first area.
  • FIG. 1 is a flowchart of a method for updating a radio play channel according to an embodiment of the present invention
  • FIG. 2 is a block diagram showing the structure of an apparatus for updating a radio channel according to an embodiment of the present invention
  • FIG. 3 is a block diagram showing the structure of an apparatus for updating a radio channel according to a preferred embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of an apparatus for updating a radio play channel set in a terminal according to a preferred embodiment of the present invention
  • FIG. 5 is a schematic diagram of a channel list classification collection according to a preferred embodiment of the present invention.
  • FIG. 6 is a flow chart of updating an FM station according to city information according to a preferred embodiment of the present invention.
  • Figure 7 is a flow chart for updating an FM station in accordance with city information in accordance with a preferred embodiment of the present invention.
  • FIG. 1 is a flow chart of a method of updating a radio play channel according to an embodiment of the present invention. As shown in FIG. 1, the method may include the following processing steps:
  • Step S102 determining that the terminal switches from the first area to the second area, and that the signal strength of the listening station in the first area is lower than a preset threshold after switching to the second area, where the terminal is in the first area and the terminal is in the first There are differences in the frequency bands supported in the two regions;
  • Step S104 Search for the same type of station as the listening station in the first area in the second area, and perform update play by using the same type of station.
  • the radio cannot be normally listened after switching the city, and cannot meet the user's use requirements.
  • the city information is obtained according to the location location technology, and when the city information changes, the automatic station is automatically searched for the current station, and the current station is automatically switched to the search if the current channel is invalid.
  • the automatic station is automatically searched for the current station, and the current station is automatically switched to the search if the current channel is invalid.
  • Come out on the same type of effective radio station. Users who use the radio in this way do not need to manually search for channels. It also enables the seamless conversion of the radio channel, while avoiding the user to perform complicated operations, but also enhances the user experience.
  • determining that the terminal switches from the first area to the second area may include the following operations:
  • Step S1 obtaining the longitude information and the latitude information of the current location of the terminal in real time by using a preset manner
  • Step S2 determining that the terminal switches from the first area to the second area according to the change of the longitude information and the latitude information.
  • the longitude and latitude information of the location of the terminal user can be obtained, and then the current area information is calculated.
  • the terminal is further switched from the first area to the second area by changing the longitude and latitude information.
  • the foregoing preset manner may include, but is not limited to, at least one of the following:
  • the wireless local area network and the data service function can be preferentially used, and after detecting the change of the city location information by using the WLAN or the data service, the station signal detection, the background full-band search channel, the channel classification, and the like can be started; If there is no available wireless fidelity (WIFI) hotspot near the user's location or there is insufficient data traffic, then the Global Positioning System (GPS) can be used to locate the detected city location information.
  • WIFI wireless fidelity
  • GPS Global Positioning System
  • searching for stations of the same type in the second area may include the following steps:
  • Step S3 performing a full-band search on the frequency band supported by the terminal in the second area;
  • Step S4 classifying all the searched radio channels
  • Step S5 Find stations of the same type from the classification result.
  • the terminal queries the location information of the city in real time to classify the current station, for example: music, news, traffic, drama, agriculture and forestry, when the user switches from the current city to another city.
  • the terminal needs to perform the following two operations:
  • Operation 1 In the frequency band supported by the mobile terminal, the background automatically re-searches for a valid station, and the searched stations are classified and stored in a database;
  • Operation 2 Detecting the radio signal. If the signal is lower than the preset threshold, the current broadcast channel is an inactive channel in the city. Therefore, the same type of effective channel can be searched from the database for replacement play.
  • the radio can automatically search for the effective radio station in the full band in the background, no The seam is switched to the music station on the current city.
  • This implementation can effectively prevent the user from cumbersomely re-searching for the radio station, and finds which music station is one by one in the channel list of the strange city. It not only satisfies the user's listening needs of the radio, but also simplifies user operations and enhances the user experience.
  • step S102 it is determined that the terminal switches from the first area to the second area and the signal strength is lower than the preset threshold after switching to the second area, and may further include the following operations:
  • Step S6 Continue to play the station that the terminal listens to in the first area if it is determined that the terminal has not switched from the first area to the second area or the signal strength has not fallen below the preset threshold after switching to the second area.
  • the playing state of the current channel is continued; or if the detected signal strength is not lower than the preset threshold, it means that the current station frequency is also valid after the city is replaced, and then continues to play.
  • the station if the location information of the city does not change, the playing state of the current channel is continued; or if the detected signal strength is not lower than the preset threshold, it means that the current station frequency is also valid after the city is replaced, and then continues to play. The station.
  • the updating device of the radio playing channel may include: a determining module 10 configured to determine that the terminal switches from the first area to the second area, and the signal strength of the terminal listening to the station in the first area is switched to the second area. After being lower than the preset threshold, wherein the terminal is different from the frequency band supported by the terminal in the second area in the first area; the updating module 20 is configured to search for the same type of the listening station in the first area in the second area. Radio stations, and use the same type of radio station for update playback.
  • the device shown in FIG. 2 solves the problem that the radio cannot be normally listened after switching the city in the related art, and cannot meet the user's use requirement, so that the same type of radio can be converted instantly without manual searching for the channel, which is simple and practical, and will not Add extra hardware costs.
  • the determining module 10 may include: an obtaining unit 100 configured to acquire longitude information and latitude information of a current location of the terminal in a preset manner in real time; and the determining unit 102 is configured to set the longitude information according to the longitude information and the latitude information.
  • the change condition determines that the terminal switches from the first area to the second area.
  • the foregoing preset manner may include, but is not limited to, at least one of the following:
  • the update module 20 may include: a search unit 200 configured to perform a full-band search for a frequency band supported by the terminal in the second region; and a classification unit 202 configured to search all the radio channels The classification is performed; the searching unit 204 is configured to search for stations of the same type from the classification result.
  • the foregoing apparatus may further include: a processing module 30 configured to: after determining that the terminal has not switched from the first area to the second area or the signal strength has not been lower than a preset threshold after switching to the second area In the case, the station that the terminal listens in the first area continues to play.
  • a processing module 30 configured to: after determining that the terminal has not switched from the first area to the second area or the signal strength has not been lower than a preset threshold after switching to the second area In the case, the station that the terminal listens in the first area continues to play.
  • FIG. 4 is a schematic structural diagram of an apparatus for updating a radio play channel provided inside a terminal according to a preferred embodiment of the present invention.
  • the terminal may include: a frequency modulation (FM) module, a location query module, a channel list classification collection module, and a station signal identification module.
  • the FM module is mainly responsible for FM channel search, playback, and renaming.
  • the location query module is mainly responsible for positioning by using a wireless local area network (WLAN) or data service function.
  • WLAN wireless local area network
  • the specific implementation process is to obtain the longitude and latitude information of the current location through the network, and determine the city information according to the longitude and latitude information.
  • the channel list classification collection module is mainly responsible for classifying the effective stations in the frequency band searched by the FM module (for example: music, news, automobile, traffic, drama, agriculture, forestry, etc.), and storing the station list after classification.
  • Figure 5 is a schematic illustration of a channel list classification collection in accordance with a preferred embodiment of the present invention. As shown in FIG. 5, the channel list in the background can be obtained from the FM module, and then the obtained channel list is sorted, for example: music, news, automobile, traffic, drama, agriculture and forestry, and the final collection is saved to the database.
  • the radio signal recognition module is mainly responsible for detecting the radio signal of the frequency that the user listens to in real time in the case of a change in the city information, and reports it to the FM module.
  • Figure 6 is a flow chart for updating an FM station in accordance with city information in accordance with a preferred embodiment of the present invention. As shown in FIG. 6, the method may include the following processing steps:
  • Step S602 The terminal user starts the FM module.
  • Step S604 The terminal user starts the location query module, and uses the WLAN or the data service to obtain the longitude and latitude information of the location of the terminal user in real time, and then calculates the current city information.
  • Step S606 The terminal determines whether the city information changes; if yes, proceeds to step S608; if not, proceeds to step S616;
  • Step S608 If there is a change in the city, the terminal user starts the radio signal query module to query the signal strength of the currently playing station;
  • Step S610 determining whether the currently playing station signal strength is lower than a preset threshold; if yes, proceeding to step S612; if not, proceeding to step S616;
  • Step S612 If the radio signal is lower than the preset threshold, it is required to send a message to the FM module, instructing the FM module to automatically open the full-band search for the effective radio station in the background, and send the valid channel searched in the current city to the channel list classification module. ; start channel list classification collection module, classify the radio according to the information returned by the search (for example: music, traffic, news, drama, agriculture and forestry), and then save the classified channel list to the database;
  • Step S614 After waiting for the background search and the channel classification work to be completed, the FM module directly obtains an effective channel of the corresponding type from the channel classification list for playing.
  • Step S616 if the location information of the city does not change, continue to maintain the playing state of the current channel; and if the detected signal strength is not lower than the preset threshold, it indicates that the current station frequency is also valid after the city is replaced, and then continues. Play the station.
  • the station signal detection, the background full-band search channel, the channel classification, etc. can be started; but if there is no wireless available near the user's location, When the Fidelity (WIFI) hotspot or data traffic is insufficient, the Global Positioning System (GPS) can be used to locate and detect the city location information, and then the subsequent steps are followed: querying the radio signal ⁇ automatic full-band search for effective radio stations ⁇ search for The channel list is sorted and saved to the data list, and then after determining that the city information changes and the current station cannot be properly listened to, quickly switch to the same type of station in the current city to reduce the cumbersome user operation and enhance the user experience. .
  • WIFI Wireless Fidelity
  • GPS Global Positioning System
  • Figure 7 is a flow chart for updating an FM station in accordance with city information in accordance with a preferred embodiment of the present invention. As shown in FIG. 7, the method may include the following processing steps:
  • Step S702 The terminal user starts the FM module.
  • Step S704 The terminal user starts the location query module, and uses the GPS to obtain the longitude and latitude information of the location of the terminal user in real time, and then calculates the current city information;
  • Step S706 The terminal determines whether the city information changes; if yes, proceeds to step S708; if not, proceeds to step S716;
  • Step S708 If there is a change in the city, the terminal user starts the radio signal query module to query the signal strength of the currently playing station;
  • Step S710 determining whether the currently playing station signal strength is lower than a preset threshold; if yes, proceeding to step S712; if not, proceeding to step S716;
  • Step S712 If the radio signal is lower than the preset threshold, it is required to send a message to the FM module, instructing the FM module to automatically open the full-band search for the effective radio station in the background, and send the valid channel searched in the current city to the channel list classification module. ; start channel list classification collection module, classify the radio according to the information returned by the search (for example: music, traffic, news, drama, agriculture and forestry), and then save the classified channel list to the database;
  • Step S714 After waiting for the background search and the channel classification work to be completed, the FM module directly obtains an effective channel of the corresponding type from the channel classification list for playing.
  • Step S716 If the location information of the city does not change, continue to maintain the playing state of the current channel; and if the detected signal strength is not lower than the preset threshold, it indicates that the current station frequency is also valid after the city is replaced, and then continues. Play the station.
  • the terminal may According to the location location technology, the city information is obtained. After the user switches the city, the station signal identification module acquires the signal strength of the current station. If the station signal is lower than the preset threshold, the FM module is activated to search for the effective station in the frequency band again, and classify It is stored in the favorite list database, and replaces the currently playing invalid station with the same type of station that is searched, so that the user can realize the instant conversion of the same type of radio without manually searching the channel, which is simple and practical, and does not add extra hardware cost.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the method and apparatus for updating a radio broadcast channel provided by the embodiment of the present invention have the following beneficial effects: changing the existing radio cannot be normally listened after switching the city, and cannot meet the current needs of the user, without manual search.
  • the channel can realize instant conversion of the same type of radio station, which is simple and practical, and does not add extra hardware cost.

Abstract

Disclosed are a radio broadcast channel updating method and device. The method comprises: determining that a terminal is switched from a first area to a second area and strength of a signal of a broadcasting station that the terminal listens to in the first area is lower than a preset threshold after the terminal is switched to the second area, a difference existing between a band supported by the terminal in the first area and a band supported by the terminal in the second area; and searching the second area for a broadcasting station having a type the same as a broadcasting station that the terminal listens to in the first area, and performing updating and play by using the broadcasting station of the same type. According to the technical solutions provided by the present invention, instant switching of broadcasting stations of a same type can be implemented without a need of manually searching for a channel, it is simple and practical, and additional hardware costs are not increased.

Description

收音机播放频道的更新方法及装置Method and device for updating radio channel 技术领域Technical field
本发明涉及通信领域,具体而言,涉及一种收音机播放频道的更新方法及装置。The present invention relates to the field of communications, and in particular to a method and apparatus for updating a radio broadcast channel.
背景技术Background technique
随着移动终端使用的逐步普及,越来越多的用户获取资讯的方式已经逐渐从个人计算机(PC)端转移到了智能移动终端。然而,长时间注视屏幕会使得用户眼睛严重疲劳。而移动终端上的FM应用因其资讯更新高效、电台节目形式多样、操作便捷、且无需用户长时间关注屏幕上显示的内容而饱受用户喜爱。With the gradual popularization of mobile terminals, more and more users have gradually transferred information from personal computers (PCs) to smart mobile terminals. However, gazing at the screen for a long time can cause severe eye fatigue in the user. The FM application on the mobile terminal is popular among users because of its high information update, various radio programs, convenient operation, and no need for the user to pay attention to the content displayed on the screen for a long time.
现有智能移动终端上的收音机功能大多可以实现搜索、设定、重命名频道等基本功能,但是由于调频广播电台的覆盖距离范围十分有限,不同城市都存在各自不同频率的电台。如果用户离开当前所在城市而到了另外一个地方,其正在收听的电台在新的地方可能将成为假台,进而无法正常收听。用户必需要重新在整个频段内搜索有效电台,严重影响用户体验。因此,如何能够在检测到城市位置信息发生变化时,终端可以自动检测电台信号强度,后台搜索全频段有效电台并进行切换,自动切换到同类型的有效频道上成为亟待解决的技术难题。Most of the radio functions on the existing smart mobile terminals can implement basic functions such as searching, setting, and renaming channels. However, since the coverage distance of FM radio stations is very limited, stations in different cities have different frequencies. If the user leaves the current city and arrives at another place, the station he is listening to may become a fake station in a new place and cannot be listened to normally. Users must re-search for active stations throughout the entire frequency band, seriously affecting the user experience. Therefore, how can the terminal automatically detect the strength of the radio signal when detecting the change of the location information of the city, and search for the effective radio station in the full range in the background and switch, and automatically switch to the effective channel of the same type becomes a technical problem to be solved.
相关技术中所提供的解决方案是在首次打开进入收音机,收音机会自动在全频段进行搜索以获取有效频道列表;如果是非首次打开进入收音机,则用户需要手动在全频段搜索去更新现有频道列表。用户需要自己查找、添加标签,以便收听自身喜欢的电台。使用这种方式会增加用户查找电台的操作复杂度而且较为耗时,况且当用户从当前城市乘坐某种交通工具转移到另外一座城市后,先前收听的电台可能会变成无效电台,继而无法正常收听;原来用户搜索出来的频道列表中的电台,在新的城市可能均无法正常收听。The solution provided in the related art is to open the radio for the first time, and the radio will automatically search in the full frequency band to obtain a list of effective channels; if it is not the first time to enter the radio, the user needs to manually search for the entire channel to update the existing channel list. . Users need to find and add tags themselves to listen to their favorite stations. Using this method will increase the complexity of the operation of the user to find the station and is more time consuming. Moreover, when the user transfers from another vehicle to another city from the current city, the previously listened to the radio station may become an invalid radio station, and then cannot be normal. Listening; the stations in the channel list that the original user searched for may not be able to listen properly in the new city.
为此,相关技术中又提出了两种改进的解决方案:To this end, two improved solutions have been proposed in the related art:
方案一、在定位到城市信息发生变化时,可以自动清除频道信息列表中无效频道的方案,该方案虽然可以保证频道列表中不存在无效的电台,但是对收音机正在播放的无效电台信息应该如何处理以及如何替换并没有提供明确的解决方法; Solution 1. When the location of the city information changes, the scheme of the invalid channel in the channel information list can be automatically cleared. Although the scheme can ensure that there is no invalid station in the channel list, how should the invalid station information being played on the radio be processed? And how to replace it does not provide a clear solution;
方案二、在检测到位置信息发生变化时,可以在数据库中查找新坐标下处于同一调频区域内的频道来进行播放,这种方式虽然可以避免更换城市后用户收听到无效电台,但是却无法判断新切换的电台是否为用户喜欢收听的类型。In the second scheme, when the location information is detected to change, the channel in the same frequency modulation area under the new coordinates can be searched in the database for playing. This method can avoid the user listening to the invalid radio station after changing the city, but cannot judge. Whether the newly switched station is the type that the user likes to listen to.
综上所述,现有解决方案存在以下两个缺陷:In summary, the existing solution has the following two drawbacks:
缺陷一、通过数据库预先保存不同区域的频道信息的方式,在位置发生切换时虽然可以剔除频道列表中的假台信息,但是对于用户正在收听的无效频道如何处理以及如何选择为用户播放的下一个有效电台均没有明确提及。Defect 1. The method of pre-storing channel information of different areas through the database, although the fake station information in the channel list can be eliminated when the position is switched, but how to deal with the invalid channel that the user is listening and how to select the next one for the user to play There are no explicit mentions of valid stations.
缺陷二、虽然现有方案提到查找新位置坐标下的同一调频区域内的频道信息进行播放,但是如何选择新的频道却没有说明,新位置区域搜索到的频道有可能并非是用户喜欢听的电台,还是需要用户手动去再次搜索自身想要收听的电台,由此增加了用户的操作复杂度,继而严重影响用户体验。Defect 2. Although the existing scheme refers to finding the channel information in the same FM area under the new location coordinates for playback, how to select a new channel does not indicate that the channel searched in the new location area may not be the user who likes to listen. The radio still needs the user to manually search for the station that he wants to listen to, thereby increasing the user's operational complexity, which in turn seriously affects the user experience.
发明内容Summary of the invention
本发明实施例提供了一种收音机播放频道的更新方法及装置,以至少解决相关技术中收音机在切换城市后无法正常收听,不能满足用户使用需求的问题。The embodiment of the invention provides a method and a device for updating a radio broadcast channel, so as to at least solve the problem that the radio cannot be normally listened after switching the city in the related art, and cannot meet the user's use requirement.
根据本发明的一个方面,提供了一种收音机播放频道的更新方法。According to an aspect of the present invention, a method of updating a radio play channel is provided.
根据本发明实施例的收音机播放频道的更新方法包括:确定终端从第一区域切换至第二区域以及终端在第一区域收听电台的信号强度在切换至第二区域后低于预设阈值,其中,终端在第一区域内与终端在第二区域内支持的频段存在差异;在第二区域查找与在第一区域收听电台的类型相同的电台,并采用类型相同的电台进行更新播放。The method for updating a radio play channel according to an embodiment of the present invention includes: determining that the terminal switches from the first area to the second area, and the signal strength of the listening station of the terminal in the first area is lower than a preset threshold after switching to the second area, wherein The terminal has a difference in the frequency band supported by the terminal in the second area in the first area; in the second area, the station of the same type as the listening station in the first area is searched, and the station of the same type is used for the update play.
优选地,确定终端从第一区域切换至第二区域包括:采用预设方式实时获取终端当前所在位置的经度信息和纬度信息;根据经度信息和纬度信息的变化情况确定终端从第一区域切换至第二区域。Preferably, determining that the terminal switches from the first area to the second area comprises: acquiring the longitude information and the latitude information of the current location of the terminal in real time by using a preset manner; and determining, according to the change of the longitude information and the latitude information, that the terminal switches from the first area to the first area. Second area.
优选地,预设方式包括以下至少之一:无线局域网、数据业务功能、全球定位系统。Preferably, the preset manner includes at least one of the following: a wireless local area network, a data service function, and a global positioning system.
优选地,在第二区域查找类型相同的电台包括:在第二区域内进行对终端支持的频段进行全频段搜索;对搜索到的全部电台频道进行分类;从分类结果中查找类型相同的电台。 Preferably, searching for the stations of the same type in the second area comprises: performing a full-band search on the frequency bands supported by the terminal in the second area; classifying all the searched radio channels; and searching for the stations of the same type from the classification results.
优选地,在确定终端从第一区域切换至第二区域以及信号强度在切换至第二区域后低于预设阈值之前,还包括:在确定终端尚未从第一区域切换至第二区域或者信号强度在切换至第二区域后尚未低于预设阈值的情况下,继续播放终端在第一区域收听的电台。Preferably, before determining that the terminal switches from the first area to the second area and the signal strength is lower than the preset threshold after switching to the second area, the method further includes: determining that the terminal has not switched from the first area to the second area or the signal The intensity continues to play the station that the terminal listens to in the first area if the intensity has not fallen below the preset threshold after switching to the second area.
根据本发明的另一方面,提供了一种收音机播放频道的更新装置。According to another aspect of the present invention, an apparatus for updating a radio broadcast channel is provided.
根据本发明实施例的收音机播放频道的更新装置包括:确定模块,设置为确定终端从第一区域切换至第二区域以及终端在第一区域收听电台的信号强度在切换至第二区域后低于预设阈值,其中,终端在第一区域内与终端在第二区域内支持的频段存在差异;更新模块,设置为在第二区域查找与在第一区域收听电台的类型相同的电台,并采用类型相同的电台进行更新播放。The apparatus for updating a radio play channel according to an embodiment of the present invention includes: a determining module configured to determine that the terminal switches from the first area to the second area and the signal strength of the terminal listening to the station in the first area is lower than after switching to the second area a preset threshold, wherein the terminal is different from the frequency band supported by the terminal in the second area in the first area; and the updating module is configured to search for the same type of station in the second area as the listening station in the first area, and adopt Stations of the same type are updated for playback.
优选地,确定模块包括:获取单元,设置为采用预设方式实时获取终端当前所在位置的经度信息和纬度信息;确定单元,设置为根据经度信息和纬度信息的变化情况确定终端从第一区域切换至第二区域。Preferably, the determining module includes: an obtaining unit configured to acquire the longitude information and the latitude information of the current location of the terminal in real time by using a preset manner; and the determining unit is configured to determine that the terminal switches from the first region according to the change of the longitude information and the latitude information. To the second area.
优选地,预设方式包括以下至少之一:无线局域网、数据业务功能、全球定位系统。Preferably, the preset manner includes at least one of the following: a wireless local area network, a data service function, and a global positioning system.
优选地,更新模块包括:搜索单元,设置为在第二区域内进行对终端支持的频段进行全频段搜索;分类单元,设置为对搜索到的全部电台频道进行分类;查找单元,设置为从分类结果中查找类型相同的电台。Preferably, the updating module comprises: a searching unit, configured to perform a full-band search on the frequency band supported by the terminal in the second area; the classification unit is configured to classify all the searched radio channels; and the search unit is set to be classified Find the same type of station in the result.
优选地,上述装置还包括:处理模块,设置为在确定终端尚未从第一区域切换至第二区域或者信号强度在切换至第二区域后尚未低于预设阈值的情况下,继续播放终端在第一区域收听的电台。Preferably, the apparatus further includes: a processing module, configured to continue to play the terminal if it is determined that the terminal has not switched from the first area to the second area or the signal strength has not fallen below a preset threshold after switching to the second area The station that the first area listens to.
通过本发明实施例,采用确定终端从第一区域切换至第二区域以及终端在第一区域收听电台的信号强度在切换至第二区域后低于预设阈值,其中,终端在第一区域内与终端在第二区域内支持的频段存在差异;在第二区域查找与在第一区域收听电台的类型相同的电台,并采用类型相同的电台进行更新播放,解决了相关技术中收音机在切换城市后无法正常收听,不能满足用户使用需求的问题,进而无需手动搜索频道即可实现同类型电台即时转换,简单实用,不会增加额外的硬件成本。 According to the embodiment of the present invention, the determining that the terminal switches from the first area to the second area and the signal strength of the terminal listening to the radio in the first area is lower than a preset threshold after switching to the second area, where the terminal is in the first area. Different from the frequency band supported by the terminal in the second area; searching for the same type of station as the listening station in the first area in the second area, and using the same type of station for updating and playing, solving the related art that the radio is switching the city After listening to it, it can't meet the user's needs, so you can realize the instant conversion of the same type of radio without manually searching the channel. It is simple and practical, and will not add extra hardware cost.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的收音机播放频道的更新方法的流程图;1 is a flowchart of a method for updating a radio play channel according to an embodiment of the present invention;
图2是根据本发明实施例的收音机播放频道的更新装置的结构框图;2 is a block diagram showing the structure of an apparatus for updating a radio channel according to an embodiment of the present invention;
图3是根据本发明优选实施例的收音机播放频道的更新装置的结构框图;3 is a block diagram showing the structure of an apparatus for updating a radio channel according to a preferred embodiment of the present invention;
图4是根据本发明优选实施例的终端内部设置的收音机播放频道的更新装置的结构示意图;4 is a schematic structural diagram of an apparatus for updating a radio play channel set in a terminal according to a preferred embodiment of the present invention;
图5是根据本发明优选实施例的频道列表分类收藏的示意图;FIG. 5 is a schematic diagram of a channel list classification collection according to a preferred embodiment of the present invention; FIG.
图6是根据本发明优选实施例一的按照城市信息更新FM电台的流程图;6 is a flow chart of updating an FM station according to city information according to a preferred embodiment of the present invention;
图7是根据本发明优选实施例二的按照城市信息更新FM电台的流程图。Figure 7 is a flow chart for updating an FM station in accordance with city information in accordance with a preferred embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
图1是根据本发明实施例的收音机播放频道的更新方法的流程图。如图1所示,该方法可以包括以下处理步骤:1 is a flow chart of a method of updating a radio play channel according to an embodiment of the present invention. As shown in FIG. 1, the method may include the following processing steps:
步骤S102:确定终端从第一区域切换至第二区域以及终端在第一区域收听电台的信号强度在切换至第二区域后低于预设阈值,其中,终端在第一区域内与终端在第二区域内支持的频段存在差异;Step S102: determining that the terminal switches from the first area to the second area, and that the signal strength of the listening station in the first area is lower than a preset threshold after switching to the second area, where the terminal is in the first area and the terminal is in the first There are differences in the frequency bands supported in the two regions;
步骤S104:在第二区域查找与在第一区域收听电台的类型相同的电台,并采用类型相同的电台进行更新播放。Step S104: Search for the same type of station as the listening station in the first area in the second area, and perform update play by using the same type of station.
相关技术中收音机在切换城市后无法正常收听,不能满足用户使用需求。采用如图1所示的方法,根据位置定位技术获取城市信息,在城市信息发生变化的情况下,自动重新搜索获取当前所在城市的有效电台,并在当前播放频道无效的情况下自动切换到搜索出来的同类型有效电台上。这样使用收音机的用户无需手动进行频道搜索, 也使实现了收音机频道的无缝转换,在避免用户执行繁杂操作的同时,也提升了用户体验。In the related art, the radio cannot be normally listened after switching the city, and cannot meet the user's use requirements. Using the method shown in FIG. 1 , the city information is obtained according to the location location technology, and when the city information changes, the automatic station is automatically searched for the current station, and the current station is automatically switched to the search if the current channel is invalid. Come out on the same type of effective radio station. Users who use the radio in this way do not need to manually search for channels. It also enables the seamless conversion of the radio channel, while avoiding the user to perform complicated operations, but also enhances the user experience.
优选地,在步骤S102中,确定终端从第一区域切换至第二区域可以包括以下操作:Preferably, in step S102, determining that the terminal switches from the first area to the second area may include the following operations:
步骤S1:采用预设方式实时获取终端当前所在位置的经度信息和纬度信息;Step S1: obtaining the longitude information and the latitude information of the current location of the terminal in real time by using a preset manner;
步骤S2:根据经度信息和纬度信息的变化情况确定终端从第一区域切换至第二区域。Step S2: determining that the terminal switches from the first area to the second area according to the change of the longitude information and the latitude information.
在优选实施例中,可以获取终端用户所在位置的经度与纬度信息,进而计算出当前所在的区域信息。通过不断变化的经度与纬度信息进而确定终端从第一区域切换至第二区域。In a preferred embodiment, the longitude and latitude information of the location of the terminal user can be obtained, and then the current area information is calculated. The terminal is further switched from the first area to the second area by changing the longitude and latitude information.
在优选实施过程中,上述预设方式可以包括但不限于以下至少之一:In a preferred implementation process, the foregoing preset manner may include, but is not limited to, at least one of the following:
(1)无线局域网;(1) Wireless local area network;
(2)数据业务功能;(2) Data service functions;
(3)全球定位系统。(3) Global Positioning System.
在优选实施例中,可以优先使用无线局域网和数据业务功能,可以在利用WLAN或数据业务来检测城市位置信息发生变化后,即可启动电台信号检测、后台全频段搜索频道,频道分类等;但是如果用户所处位置附近无可用无线保真(WIFI)热点或者数据流量不足时,则可以使用全球定位系统(GPS)来定位检测城市位置信息。In a preferred embodiment, the wireless local area network and the data service function can be preferentially used, and after detecting the change of the city location information by using the WLAN or the data service, the station signal detection, the background full-band search channel, the channel classification, and the like can be started; If there is no available wireless fidelity (WIFI) hotspot near the user's location or there is insufficient data traffic, then the Global Positioning System (GPS) can be used to locate the detected city location information.
优选地,在步骤S104中,在第二区域查找类型相同的电台可以包括以下步骤:Preferably, in step S104, searching for stations of the same type in the second area may include the following steps:
步骤S3:在第二区域内进行对终端支持的频段进行全频段搜索;Step S3: performing a full-band search on the frequency band supported by the terminal in the second area;
步骤S4:对搜索到的全部电台频道进行分类;Step S4: classifying all the searched radio channels;
步骤S5:从分类结果中查找类型相同的电台。Step S5: Find stations of the same type from the classification result.
在优选实施例中,终端在开启收音机后,实时查询其所在城市位置信息,对当前电台进行分类,例如:音乐、新闻、交通、戏曲、农林,在用户由当前城市切换到另外一个城市的情况下,终端需要执行以下两个操作: In a preferred embodiment, after the radio is turned on, the terminal queries the location information of the city in real time to classify the current station, for example: music, news, traffic, drama, agriculture and forestry, when the user switches from the current city to another city. Next, the terminal needs to perform the following two operations:
操作一、在移动终端支持的频段内,后台自动重新搜索一次有效电台,将搜索到的电台进行分类并存储至数据库中;Operation 1. In the frequency band supported by the mobile terminal, the background automatically re-searches for a valid station, and the searched stations are classified and stored in a database;
操作二、检测电台信号,如果信号低于预设阀值,则说明当前播放频道在该城市为非有效频道,因此,可以从数据库中寻找同类型有效频道进行更换播放。Operation 2: Detecting the radio signal. If the signal is lower than the preset threshold, the current broadcast channel is an inactive channel in the city. Therefore, the same type of effective channel can be searched from the database for replacement play.
如果用户在上一个城市时收听的是音乐类电台,而在乘坐特定交通工具行驶到下一个城市,并且在检测到电台信号太弱无法收听时,收音机可以自动在后台全频段搜索有效电台,无缝切换到当前城市的音乐类电台上。这种实现方式能够有效地避免用户繁琐地去重新搜索电台,在陌生城市的频道列表中逐一去查找哪个是音乐电台。既满足了用户对电台的收听需求,又简化了用户操作、提升用户体验。If the user listens to a music station in the previous city and travels to the next city on a specific vehicle and detects that the radio signal is too weak to listen, the radio can automatically search for the effective radio station in the full band in the background, no The seam is switched to the music station on the current city. This implementation can effectively prevent the user from cumbersomely re-searching for the radio station, and finds which music station is one by one in the channel list of the strange city. It not only satisfies the user's listening needs of the radio, but also simplifies user operations and enhances the user experience.
优选地,在步骤S102,确定终端从第一区域切换至第二区域以及信号强度在切换至第二区域后低于预设阈值之前,还可以包括以下操作:Preferably, in step S102, it is determined that the terminal switches from the first area to the second area and the signal strength is lower than the preset threshold after switching to the second area, and may further include the following operations:
步骤S6:在确定终端尚未从第一区域切换至第二区域或者信号强度在切换至第二区域后尚未低于预设阈值的情况下,继续播放终端在第一区域收听的电台。Step S6: Continue to play the station that the terminal listens to in the first area if it is determined that the terminal has not switched from the first area to the second area or the signal strength has not fallen below the preset threshold after switching to the second area.
即如果所处城市位置信息未发生变化,则继续保持当前频道的播放状态;或者,如果检测出来的信号强度未低于预设阈值,则说明当前电台频率在更换城市后同样有效,则继续播放该电台。That is, if the location information of the city does not change, the playing state of the current channel is continued; or if the detected signal strength is not lower than the preset threshold, it means that the current station frequency is also valid after the city is replaced, and then continues to play. The station.
图2是根据本发明实施例的收音机播放频道的更新装置的结构框图。如图2所示,该收音机播放频道的更新装置可以包括:确定模块10,设置为确定终端从第一区域切换至第二区域以及终端在第一区域收听电台的信号强度在切换至第二区域后低于预设阈值,其中,终端在第一区域内与终端在第二区域内支持的频段存在差异;更新模块20,设置为在第二区域查找与在第一区域收听电台的类型相同的电台,并采用类型相同的电台进行更新播放。2 is a block diagram showing the structure of an apparatus for updating a radio play channel according to an embodiment of the present invention. As shown in FIG. 2, the updating device of the radio playing channel may include: a determining module 10 configured to determine that the terminal switches from the first area to the second area, and the signal strength of the terminal listening to the station in the first area is switched to the second area. After being lower than the preset threshold, wherein the terminal is different from the frequency band supported by the terminal in the second area in the first area; the updating module 20 is configured to search for the same type of the listening station in the first area in the second area. Radio stations, and use the same type of radio station for update playback.
采用如图2所示的装置,解决了相关技术中收音机在切换城市后无法正常收听,不能满足用户使用需求的问题,进而无需手动搜索频道即可实现同类型电台即时转换,简单实用,不会增加额外的硬件成本。The device shown in FIG. 2 solves the problem that the radio cannot be normally listened after switching the city in the related art, and cannot meet the user's use requirement, so that the same type of radio can be converted instantly without manual searching for the channel, which is simple and practical, and will not Add extra hardware costs.
优选地,如图3所示,确定模块10可以包括:获取单元100,设置为采用预设方式实时获取终端当前所在位置的经度信息和纬度信息;确定单元102,设置为根据经度信息和纬度信息的变化情况确定终端从第一区域切换至第二区域。Preferably, as shown in FIG. 3, the determining module 10 may include: an obtaining unit 100 configured to acquire longitude information and latitude information of a current location of the terminal in a preset manner in real time; and the determining unit 102 is configured to set the longitude information according to the longitude information and the latitude information. The change condition determines that the terminal switches from the first area to the second area.
在优选实施过程中,上述预设方式可以包括但不限于以下至少之一: In a preferred implementation process, the foregoing preset manner may include, but is not limited to, at least one of the following:
(1)无线局域网;(1) Wireless local area network;
(2)数据业务功能;(2) Data service functions;
(3)全球定位系统。(3) Global Positioning System.
优选地,如图3所示,更新模块20可以包括:搜索单元200,设置为在第二区域内进行对终端支持的频段进行全频段搜索;分类单元202,设置为对搜索到的全部电台频道进行分类;查找单元204,设置为从分类结果中查找类型相同的电台。Preferably, as shown in FIG. 3, the update module 20 may include: a search unit 200 configured to perform a full-band search for a frequency band supported by the terminal in the second region; and a classification unit 202 configured to search all the radio channels The classification is performed; the searching unit 204 is configured to search for stations of the same type from the classification result.
优选地,如图3所示,上述装置还可以包括:处理模块30,设置为在确定终端尚未从第一区域切换至第二区域或者信号强度在切换至第二区域后尚未低于预设阈值的情况下,继续播放终端在第一区域收听的电台。Preferably, as shown in FIG. 3, the foregoing apparatus may further include: a processing module 30 configured to: after determining that the terminal has not switched from the first area to the second area or the signal strength has not been lower than a preset threshold after switching to the second area In the case, the station that the terminal listens in the first area continues to play.
作为本发明的一个优选实施例,图4是根据本发明优选实施例的终端内部设置的收音机播放频道的更新装置的结构示意图。如图4所示,该终端可以包括:频率调制(FM)模块、定位查询模块、频道列表分类收藏模块和电台信号识别模块。FM模块主要负责FM频道搜索、播放、重命名等。定位查询模块主要负责利用无线局域网(WLAN)或数据业务功能进行定位,其具体实现过程是通过网络获取当前所在位置的经度与纬度信息,并根据经度与纬度信息判定获取城市信息。频道列表分类收藏模块主要负责对FM模块搜索到的频段内有效电台进行分类(例如:音乐、新闻、汽车、交通、戏曲、农林等),并在分类后对电台列表进行存储。图5是根据本发明优选实施例的频道列表分类收藏的示意图。如图5所示,可以从FM模块获取在后台全搜的频道列表,然后再对获取到的频道列表进行分类整理,例如:音乐、新闻、汽车、交通、戏曲、农林,最终收藏保存至数据库中。电台信号识别模块主要负责在城市信息发生变化的情况下,实时检测用户所收听频率的电台信号,并上报给FM模块。As a preferred embodiment of the present invention, FIG. 4 is a schematic structural diagram of an apparatus for updating a radio play channel provided inside a terminal according to a preferred embodiment of the present invention. As shown in FIG. 4, the terminal may include: a frequency modulation (FM) module, a location query module, a channel list classification collection module, and a station signal identification module. The FM module is mainly responsible for FM channel search, playback, and renaming. The location query module is mainly responsible for positioning by using a wireless local area network (WLAN) or data service function. The specific implementation process is to obtain the longitude and latitude information of the current location through the network, and determine the city information according to the longitude and latitude information. The channel list classification collection module is mainly responsible for classifying the effective stations in the frequency band searched by the FM module (for example: music, news, automobile, traffic, drama, agriculture, forestry, etc.), and storing the station list after classification. Figure 5 is a schematic illustration of a channel list classification collection in accordance with a preferred embodiment of the present invention. As shown in FIG. 5, the channel list in the background can be obtained from the FM module, and then the obtained channel list is sorted, for example: music, news, automobile, traffic, drama, agriculture and forestry, and the final collection is saved to the database. in. The radio signal recognition module is mainly responsible for detecting the radio signal of the frequency that the user listens to in real time in the case of a change in the city information, and reports it to the FM module.
图6是根据本发明优选实施例一的按照城市信息更新FM电台的流程图。如图6所示,该方法可以包括以下处理步骤:Figure 6 is a flow chart for updating an FM station in accordance with city information in accordance with a preferred embodiment of the present invention. As shown in FIG. 6, the method may include the following processing steps:
步骤S602:终端用户启动FM模块;Step S602: The terminal user starts the FM module.
步骤S604:终端用户启动定位查询模块,利用WLAN或数据业务实时获取终端用户所在位置的经度与纬度信息,进而计算出当前所在的城市信息;Step S604: The terminal user starts the location query module, and uses the WLAN or the data service to obtain the longitude and latitude information of the location of the terminal user in real time, and then calculates the current city information.
步骤S606:终端判断城市信息是否发生变化;如果是,则继续执行步骤S608;如果否,则转到步骤S616; Step S606: The terminal determines whether the city information changes; if yes, proceeds to step S608; if not, proceeds to step S616;
步骤S608:如果所处城市有变化,则终端用户启动电台信号查询模块去查询当前播放电台的信号强度;Step S608: If there is a change in the city, the terminal user starts the radio signal query module to query the signal strength of the currently playing station;
步骤S610:判断当前播放的电台信号强度是否低于预设阈值;如果是,则继续执行步骤S612;如果否,则转到步骤S616;Step S610: determining whether the currently playing station signal strength is lower than a preset threshold; if yes, proceeding to step S612; if not, proceeding to step S616;
步骤S612:如果电台信号低于预设阈值,则需要向FM模块发送消息,指示FM模块在后台自动开启全频段搜索有效电台的工作,将在当前城市搜索到的有效频道送入频道列表分类模块;启动频道列表分类收藏模块,根据搜索返回的信息对电台进行分类(例如:音乐、交通、新闻、戏曲、农林),然后再将分类完成的频道列表保存至数据库;Step S612: If the radio signal is lower than the preset threshold, it is required to send a message to the FM module, instructing the FM module to automatically open the full-band search for the effective radio station in the background, and send the valid channel searched in the current city to the channel list classification module. ; start channel list classification collection module, classify the radio according to the information returned by the search (for example: music, traffic, news, drama, agriculture and forestry), and then save the classified channel list to the database;
步骤S614:FM模块在等待后台搜索和频道分类工作完成后,直接从频道分类列表中获取对应类型的有效频道进行播放。Step S614: After waiting for the background search and the channel classification work to be completed, the FM module directly obtains an effective channel of the corresponding type from the channel classification list for playing.
步骤S616:如果所处城市位置信息未发生变化,则继续保持当前频道的播放状态;以及如果检测出来的信号强度未低于预设阈值,则说明当前电台频率在更换城市后同样有效,则继续播放该电台。Step S616: if the location information of the city does not change, continue to maintain the playing state of the current channel; and if the detected signal strength is not lower than the preset threshold, it indicates that the current station frequency is also valid after the city is replaced, and then continues. Play the station.
在上述优选实施方式中,可以在利用WLAN或数据业务来检测城市位置信息发生变化后,即可启动电台信号检测、后台全频段搜索频道,频道分类等;但是如果用户所处位置附近无可用无线保真(WIFI)热点或者数据流量不足时,则可以使用全球定位系统(GPS)来定位检测城市位置信息,然后再依次进行后续步骤:查询电台信号→自动全频段搜索有效电台→对搜索到的频道列表进行分类排序保存至数据列表中,然后在确定城市信息发生变化且当前电台无法正常收听之后,快速切换至当前所处城市的同种类型电台上,以减少繁琐的用户操作、提升用户体验。In the above preferred embodiment, after detecting the change of the city location information by using the WLAN or the data service, the station signal detection, the background full-band search channel, the channel classification, etc. can be started; but if there is no wireless available near the user's location, When the Fidelity (WIFI) hotspot or data traffic is insufficient, the Global Positioning System (GPS) can be used to locate and detect the city location information, and then the subsequent steps are followed: querying the radio signal → automatic full-band search for effective radio stations → search for The channel list is sorted and saved to the data list, and then after determining that the city information changes and the current station cannot be properly listened to, quickly switch to the same type of station in the current city to reduce the cumbersome user operation and enhance the user experience. .
图7是根据本发明优选实施例二的按照城市信息更新FM电台的流程图。如图7所示,该方法可以包括以下处理步骤:Figure 7 is a flow chart for updating an FM station in accordance with city information in accordance with a preferred embodiment of the present invention. As shown in FIG. 7, the method may include the following processing steps:
步骤S702:终端用户启动FM模块;Step S702: The terminal user starts the FM module.
步骤S704:终端用户启动定位查询模块,利用GPS实时获取终端用户所在位置的经度与纬度信息,进而计算出当前所在的城市信息;Step S704: The terminal user starts the location query module, and uses the GPS to obtain the longitude and latitude information of the location of the terminal user in real time, and then calculates the current city information;
步骤S706:终端判断城市信息是否发生变化;如果是,则继续执行步骤S708;如果否,则转到步骤S716; Step S706: The terminal determines whether the city information changes; if yes, proceeds to step S708; if not, proceeds to step S716;
步骤S708:如果所处城市有变化,则终端用户启动电台信号查询模块去查询当前播放电台的信号强度;Step S708: If there is a change in the city, the terminal user starts the radio signal query module to query the signal strength of the currently playing station;
步骤S710:判断当前播放的电台信号强度是否低于预设阈值;如果是,则继续执行步骤S712;如果否,则转到步骤S716;Step S710: determining whether the currently playing station signal strength is lower than a preset threshold; if yes, proceeding to step S712; if not, proceeding to step S716;
步骤S712:如果电台信号低于预设阈值,则需要向FM模块发送消息,指示FM模块在后台自动开启全频段搜索有效电台的工作,将在当前城市搜索到的有效频道送入频道列表分类模块;启动频道列表分类收藏模块,根据搜索返回的信息对电台进行分类(例如:音乐、交通、新闻、戏曲、农林),然后再将分类完成的频道列表保存至数据库;Step S712: If the radio signal is lower than the preset threshold, it is required to send a message to the FM module, instructing the FM module to automatically open the full-band search for the effective radio station in the background, and send the valid channel searched in the current city to the channel list classification module. ; start channel list classification collection module, classify the radio according to the information returned by the search (for example: music, traffic, news, drama, agriculture and forestry), and then save the classified channel list to the database;
步骤S714:FM模块在等待后台搜索和频道分类工作完成后,直接从频道分类列表中获取对应类型的有效频道进行播放。Step S714: After waiting for the background search and the channel classification work to be completed, the FM module directly obtains an effective channel of the corresponding type from the channel classification list for playing.
步骤S716:如果所处城市位置信息未发生变化,则继续保持当前频道的播放状态;以及如果检测出来的信号强度未低于预设阈值,则说明当前电台频率在更换城市后同样有效,则继续播放该电台。Step S716: If the location information of the city does not change, continue to maintain the playing state of the current channel; and if the detected signal strength is not lower than the preset threshold, it indicates that the current station frequency is also valid after the city is replaced, and then continues. Play the station.
从以上的描述中,可以看出,上述实施例实现了如下技术效果(需要说明的是这些效果是某些优选实施例可以达到的效果):采用本发明实施例所提供的技术方案,终端可以根据位置定位技术获取城市信息,在用户切换城市后,电台信号识别模块获取当前电台的信号强度,如果电台信号低于预设阀值,则启动FM模块重新搜索一遍频段内的有效电台,并分类收藏至收藏列表数据库中,以及采用搜索到的同类型电台替换当前正在播放的无效电台,由此用户无需手动搜索频道即可实现同类型电台即时转换,简单实用,不会增加额外的硬件成本。From the above description, it can be seen that the foregoing embodiment achieves the following technical effects (it is required that the effects are achievable by some preferred embodiments): by using the technical solution provided by the embodiment of the present invention, the terminal may According to the location location technology, the city information is obtained. After the user switches the city, the station signal identification module acquires the signal strength of the current station. If the station signal is lower than the preset threshold, the FM module is activated to search for the effective station in the frequency band again, and classify It is stored in the favorite list database, and replaces the currently playing invalid station with the same type of station that is searched, so that the user can realize the instant conversion of the same type of radio without manually searching the channel, which is simple and practical, and does not add extra hardware cost.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。 It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种收音机播放频道的更新方法及装置具有以下有益效果:改变了现有的收音机在切换城市后无法正常收听,不能满足用户使用需求的现状,无需手动搜索频道即可实现同类型电台即时转换,简单实用,不会增加额外的硬件成本。 As described above, the method and apparatus for updating a radio broadcast channel provided by the embodiment of the present invention have the following beneficial effects: changing the existing radio cannot be normally listened after switching the city, and cannot meet the current needs of the user, without manual search. The channel can realize instant conversion of the same type of radio station, which is simple and practical, and does not add extra hardware cost.

Claims (10)

  1. 一种收音机播放频道的更新方法,包括:A method for updating a radio broadcast channel, including:
    确定终端从第一区域切换至第二区域以及所述终端在所述第一区域收听电台的信号强度在切换至所述第二区域后低于预设阈值,其中,所述终端在所述第一区域内与所述终端在所述第二区域内支持的频段存在差异;Determining that the terminal switches from the first area to the second area and that the signal strength of the terminal listening to the station in the first area is lower than a preset threshold after switching to the second area, wherein the terminal is in the There is a difference between a frequency band supported by the terminal in the second area in an area;
    在所述第二区域查找与在所述第一区域收听电台的类型相同的电台,并采用所述类型相同的电台进行更新播放。A station of the same type as the listening station in the first area is searched for in the second area, and the same type of station is used for update play.
  2. 根据权利要求1所述的方法,其中,确定所述终端从所述第一区域切换至所述第二区域包括:The method of claim 1, wherein determining that the terminal switches from the first area to the second area comprises:
    采用预设方式实时获取所述终端当前所在位置的经度信息和纬度信息;Obtaining longitude information and latitude information of the current location of the terminal in real time by using a preset manner;
    根据所述经度信息和所述纬度信息的变化情况确定所述终端从所述第一区域切换至所述第二区域。The terminal is determined to switch from the first area to the second area according to the longitude information and the change of the latitude information.
  3. 根据权利要求2所述的方法,其中,所述预设方式包括以下至少之一:无线局域网、数据业务功能、全球定位系统。The method according to claim 2, wherein the preset manner comprises at least one of the following: a wireless local area network, a data service function, and a global positioning system.
  4. 根据权利要求1所述的方法,其中,在所述第二区域查找所述类型相同的电台包括:The method of claim 1 wherein finding the stations of the same type in the second region comprises:
    在所述第二区域内进行对所述终端支持的频段进行全频段搜索;Performing a full-band search on the frequency band supported by the terminal in the second area;
    对搜索到的全部电台频道进行分类;Classify all searched radio channels;
    从分类结果中查找所述类型相同的电台。Find stations of the same type from the classification results.
  5. 根据权利要求1至4中任一项所述的方法,其中,在确定所述终端从所述第一区域切换至所述第二区域以及所述信号强度在切换至所述第二区域后低于所述预设阈值之前,还包括:The method according to any one of claims 1 to 4, wherein it is determined that the terminal switches from the first area to the second area and the signal strength is low after switching to the second area Before the preset threshold, the method further includes:
    在确定所述终端尚未从所述第一区域切换至所述第二区域或者所述信号强度在切换至所述第二区域后尚未低于所述预设阈值的情况下,继续播放所述终端在所述第一区域收听的电台。After determining that the terminal has not switched from the first area to the second area or the signal strength has not been lower than the preset threshold after switching to the second area, continuing to play the terminal A station that listens to the first area.
  6. 一种收音机播放频道的更新装置,包括: An update device for a radio broadcast channel, comprising:
    确定模块,设置为确定终端从第一区域切换至第二区域以及所述终端在所述第一区域收听电台的信号强度在切换至所述第二区域后低于预设阈值,其中,所述终端在所述第一区域内与所述终端在所述第二区域内支持的频段存在差异;a determining module, configured to determine that the terminal switches from the first area to the second area, and the signal strength of the terminal listening to the station in the first area is lower than a preset threshold after switching to the second area, where The terminal is different from the frequency band supported by the terminal in the second area in the first area;
    更新模块,设置为在所述第二区域查找与在所述第一区域收听电台的类型相同的电台,并采用所述类型相同的电台进行更新播放。And an update module configured to search for a station of the same type as the listening station in the first area in the second area, and perform update play using the same type of station.
  7. 根据权利要求6所述的装置,其中,所述确定模块包括:The apparatus of claim 6 wherein said determining module comprises:
    获取单元,设置为采用预设方式实时获取所述终端当前所在位置的经度信息和纬度信息;The obtaining unit is configured to acquire longitude information and latitude information of the current location of the terminal in real time by using a preset manner;
    确定单元,设置为根据所述经度信息和所述纬度信息的变化情况确定所述终端从所述第一区域切换至所述第二区域。a determining unit configured to determine that the terminal switches from the first area to the second area according to the longitude information and the change of the latitude information.
  8. 根据权利要求7所述的装置,其中,所述预设方式包括以下至少之一:无线局域网、数据业务功能、全球定位系统。The apparatus according to claim 7, wherein the preset manner comprises at least one of the following: a wireless local area network, a data service function, and a global positioning system.
  9. 根据权利要求6所述的装置,其中,所述更新模块包括:The apparatus of claim 6 wherein said updating module comprises:
    搜索单元,设置为在所述第二区域内进行对所述终端支持的频段进行全频段搜索;a search unit, configured to perform a full-band search on a frequency band supported by the terminal in the second area;
    分类单元,设置为对搜索到的全部电台频道进行分类;a classification unit, configured to classify all of the searched radio channels;
    查找单元,设置为从分类结果中查找所述类型相同的电台。A lookup unit that is set to look for stations of the same type from the classification results.
  10. 根据权利要求6至9中任一项所述的装置,其中,所述装置还包括:The device according to any one of claims 6 to 9, wherein the device further comprises:
    处理模块,设置为在确定所述终端尚未从所述第一区域切换至所述第二区域或者所述信号强度在切换至所述第二区域后尚未低于所述预设阈值的情况下,继续播放所述终端在所述第一区域收听的电台。 a processing module, configured to: if it is determined that the terminal has not switched from the first area to the second area, or the signal strength is not lower than the preset threshold after switching to the second area, The station that the terminal listens to in the first area continues to play.
PCT/CN2015/079316 2014-12-16 2015-05-19 Radio broadcast channel updating method and device WO2016095423A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410784178.XA CN105763277A (en) 2014-12-16 2014-12-16 Radio play channel updating method and device
CN201410784178.X 2014-12-16

Publications (1)

Publication Number Publication Date
WO2016095423A1 true WO2016095423A1 (en) 2016-06-23

Family

ID=56125769

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/079316 WO2016095423A1 (en) 2014-12-16 2015-05-19 Radio broadcast channel updating method and device

Country Status (2)

Country Link
CN (1) CN105763277A (en)
WO (1) WO2016095423A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612649A (en) * 2017-11-02 2018-01-19 深圳市路畅科技股份有限公司 A kind of update method of preset station list and a kind of radio
CN109803318A (en) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 Data packet shunt method, device, mobile terminal and storage medium
CN111464250A (en) * 2020-03-06 2020-07-28 上海博泰悦臻电子设备制造有限公司 Channel searching method, system, medium, device and vehicle of radio

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106656380A (en) * 2016-10-14 2017-05-10 上海传英信息技术有限公司 User terminal and radio station channel switching method
CN109889873B (en) * 2017-12-06 2021-07-06 中兴通讯股份有限公司 Play switching method, set top box, wearable device and storage medium
CN110855391A (en) * 2018-08-21 2020-02-28 上海博泰悦臻网络技术服务有限公司 Sound source switching method and system for vehicle-mounted radio
CN109150349A (en) * 2018-08-31 2019-01-04 湖南康通电子股份有限公司 Syndrome campus broadcasting control system and broadcast
CN109217885B (en) * 2018-09-21 2022-07-12 法法汽车(中国)有限公司 Vehicle-mounted radio channel searching device and method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1611058A (en) * 2001-12-31 2005-04-27 诺基亚有限公司 Mobile phone and method of updating radio channel settings
CN101174844A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司 Radio receiving system and method capable of automatic switching channels

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1611058A (en) * 2001-12-31 2005-04-27 诺基亚有限公司 Mobile phone and method of updating radio channel settings
CN101174844A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司 Radio receiving system and method capable of automatic switching channels

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107612649A (en) * 2017-11-02 2018-01-19 深圳市路畅科技股份有限公司 A kind of update method of preset station list and a kind of radio
CN109803318A (en) * 2019-02-12 2019-05-24 Oppo广东移动通信有限公司 Data packet shunt method, device, mobile terminal and storage medium
WO2020164520A1 (en) * 2019-02-12 2020-08-20 Oppo广东移动通信有限公司 Data packet distribution method and apparatus, mobile terminal, and storage medium
CN111464250A (en) * 2020-03-06 2020-07-28 上海博泰悦臻电子设备制造有限公司 Channel searching method, system, medium, device and vehicle of radio
CN111464250B (en) * 2020-03-06 2023-08-29 博泰车联网科技(上海)股份有限公司 Radio channel searching method, system, medium, device and vehicle

Also Published As

Publication number Publication date
CN105763277A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
WO2016095423A1 (en) Radio broadcast channel updating method and device
JP4754632B2 (en) Digital broadcast channel searching apparatus and method using position information
JP4237689B2 (en) Broadcast channel control apparatus and method using location information of mobile communication terminal
US20120270514A1 (en) Method and terminal for receiving fm radio signals
JP2006508619A (en) Broadcast media bookmark
US20090124264A1 (en) Method and mobile phone capable of automatically switching radio channels of a frequency modulation radio
CN103546223A (en) Broadcast content for vehicle audio systems
US9467241B2 (en) Radio station genre categorization
US11764889B2 (en) Radio station recommendations
CN101600085B (en) Management method of mobile digital television
US8630659B2 (en) Systems and methods of delivering content to an occupant in a vehicle
US9762339B2 (en) Terrestrial radio switch manager for smart cellular streaming
TWI538429B (en) Radio receiving device and method for switching frequencies of radio stations
US20130158858A1 (en) Navigation device and method for marking traffic conditions on navigation map
US10009451B2 (en) Radio locator application
US9166716B2 (en) Automatic rollover to streamed radio
CN104125339A (en) Mobile terminal radio channel switching method and system
KR20150008409A (en) Method and device for receiving broadcasted radio signal of television
CN102361511A (en) Method and device for automatically switching China mobile multimedia broadcasting (CMMB) equipment cities
CN113890661B (en) Radio station switching method based on digital signal broadcasting
CN104579526B (en) Intelligent reception method and device
KR101983663B1 (en) A station selecting apparatus and method for a car audio broadcasting station according to vehicle position and receiving sensitivity
CN106921453A (en) A kind of station broadcast method and apparatus
US20230126270A1 (en) Radio Head Unit with Dynamically Updated Tunable Channel Listing
US20140323070A1 (en) Automatic fm radio station update

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15868935

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15868935

Country of ref document: EP

Kind code of ref document: A1