CN106921452A - A kind of station broadcast method and apparatus - Google Patents
A kind of station broadcast method and apparatus Download PDFInfo
- Publication number
- CN106921452A CN106921452A CN201510992628.9A CN201510992628A CN106921452A CN 106921452 A CN106921452 A CN 106921452A CN 201510992628 A CN201510992628 A CN 201510992628A CN 106921452 A CN106921452 A CN 106921452A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- program
- radio
- radio station
- radio signals
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04H—BROADCAST COMMUNICATION
- H04H20/00—Arrangements for broadcast or for distribution combined with broadcast
- H04H20/53—Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers
- H04H20/61—Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast
- H04H20/62—Arrangements specially adapted for specific applications, e.g. for traffic information or for mobile receivers for local area broadcast, e.g. instore broadcast for transportation systems, e.g. in vehicles
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of station broadcast method and apparatus, including:Vehicle-mounted multimedia equipment is when it is determined that the Current location area of vehicle changes, the preset relation between signal frequency according to band of position radio signals corresponding with program of radio station, it is determined that the signal frequency of the current program of radio station broadcasted corresponding radio signals in the band of position after change;The signal frequency according to determining is scanned for, the radio signals that switching broadcast search is arrived, to realize the continuity of radio programmes.When the Current location area for finding vehicle changes, the signal frequency of the program of radio station currently broadcasted corresponding radio signals in the band of position after change can be determined according to the preset relation between the signal frequency of band of position radio signals corresponding with program of radio station, and then according to the signal frequency of the new radio signals for searching, the new radio signals that switching broadcast search is arrived, this can guarantee that the continuity of radio programmes, lift Consumer's Experience.
Description
Technical field
The present invention relates to station broadcast technical field, more particularly to a kind of station broadcast method and apparatus.
Background technology
With the continuous improvement of people's living standard, automobile turns into the necessity in general public life.Often
The user of driving has so one custom:Music is listened in driving, or station broadcast is listened in driving.
In actual life, the vehicle-mounted multimedia equipment that automobile passes through to configure is realized listening station broadcast or music
Purpose.But, in actual applications, vehicle-mounted multimedia equipment searches for radio station by frequency of radio station, and will
Program of radio station is searched to be broadcasted, however, due to same radio station in the different areas frequency of radio station not
Together, during driving, often there is the program of radio station broadcasted suddenly without being converted into
Other program of radio station, cause the Consumer's Experience poor.
The content of the invention
In view of this, a kind of station broadcast method and apparatus is the embodiment of the invention provides, it is existing for solving
Because change caused program of radio station of position plays discontinuous problem in technology.
A kind of station broadcast method, including:
Vehicle-mounted multimedia equipment when it is determined that the Current location area of vehicle changes, according to the band of position with
Preset relation between the signal frequency of the corresponding radio signals of program of radio station, it is determined that the current institute for broadcasting
State the signal frequency of program of radio station corresponding radio signals in the band of position after change;
Vehicle-mounted multimedia equipment is scanned for according to the signal frequency for determining, the institute that switching broadcast search is arrived
Radio signals are stated, to realize broadcasting the continuity of the program of radio station of selection.
Alternatively, vehicle-mounted multimedia equipment is described before it is determined that the band of position of Current vehicle changes
Method also includes:
Vehicle-mounted multimedia equipment determines vehicle present position, and search is covered at least on the position
One radio signals, wherein, the corresponding signal frequency of the different radio signals is different;
The vehicle-mounted multimedia equipment is according to the mapping relations between radio signals and program of radio station list, it is determined that searching
The corresponding program of radio station list of each described radio signals that rope is arrived, and the program of radio station list for determining is shown
Show in the display of the vehicle-mounted multimedia equipment;
The vehicle-mounted multimedia equipment receives the program of radio station of user's selection, and broadcasts the radio station section of selection
Mesh.
Alternatively, vehicle-mounted multimedia equipment determines vehicle present position, including:
Vehicle-mounted multimedia equipment sets up communication connection with in-vehicle navigation apparatus, and receives the in-vehicle navigation apparatus
Vehicle present position is obtained by LBS positioning methods.
Alternatively, vehicle-mounted multimedia equipment determines vehicle present position, including:
Vehicle-mounted multimedia equipment sets up communication connection with mobile terminal device, and receives the mobile terminal device
Vehicle present position is obtained by GPS/ architecture modes.
Alternatively, the vehicle-mounted multimedia equipment broadcasts the program of radio station of selection, including:
The vehicle-mounted multimedia equipment receives the program of radio station correspondence of the selection that mobile terminal device sends
Radio signals;
The vehicle-mounted multimedia equipment it is determined that the radio signals for receiving intensity great-than search to choosing
During the intensity of the corresponding radio signals of the program of radio station selected, using the radio signals for receiving, extensively
Broadcast the program of radio station of selection.
Alternatively, methods described also includes:
The vehicle-mounted multimedia equipment is it is determined that the intensity of the radio signals for receiving is less than and searches choosing
During the intensity of the corresponding radio signals of the program of radio station selected, switching is believed using the radio station for searching
Number, continue to broadcast the program of radio station of selection.
Alternatively, the mapping relations set up in the following manner between radio signals and program of radio station list:
Determine each radio station in the program of radio station list of different time and each radio station in diverse location
Radio signals;
Positional information, radio signals and the radio signals are set up between the program of radio station list of different time
Mapping relations.
A kind of station broadcast equipment, including:
Determining unit, for when it is determined that the Current location area of vehicle changes, according to the band of position with
Preset relation between the signal frequency of the corresponding radio signals of program of radio station, it is determined that the current institute for broadcasting
State the signal frequency of program of radio station corresponding radio signals in the band of position after change;
Switch unit, for being scanned for according to the signal frequency for determining, the institute that switching broadcast search is arrived
Radio signals are stated, to realize broadcasting the continuity of the program of radio station of selection.
Alternatively, the station broadcast equipment also includes:Position determination unit, search unit, display unit
And radio unit, wherein:
The position determination unit, for before it is determined that the band of position of Current vehicle changes, it is determined that
Vehicle present position;
The search unit, for searching at least one radio signals covered on the position, wherein,
The corresponding signal frequency of the different radio signals is different;
The display unit, for according to the mapping relations between radio signals and program of radio station list, it is determined that searching
The corresponding program of radio station list of each described radio signals that rope is arrived, and the program of radio station list for determining is shown
Show in the display of the vehicle-mounted multimedia equipment;
The radio unit, for receiving the program of radio station of user's selection, and broadcasts the radio station section of selection
Mesh.
Alternatively, the position determination unit determines vehicle present position, including:
Set up with in-vehicle navigation apparatus and communicated to connect, and receive the in-vehicle navigation apparatus and positioned by LBS
Mode obtains vehicle present position.
Alternatively, the position determination unit determines vehicle present position, including:
Set up with mobile terminal device and communicated to connect, and receive the mobile terminal device by GPS/ base stations
Positioning method obtains vehicle present position.
Alternatively, the radio unit broadcasts the program of radio station of selection, including:
Receive the corresponding radio signals of the program of radio station of the selection that mobile terminal device sends;
It is determined that the radio signals for receiving intensity great-than search to selection the program of radio station pair
During the intensity of the radio signals answered, using the radio signals for receiving, the radio station section of selection is broadcasted
Mesh.
Alternatively, the switch unit, is additionally operable to it is determined that the intensity of the radio signals for receiving is less than
When searching the intensity of the corresponding radio signals of the program of radio station of selection, switching is described using what is searched
Radio signals, continue to broadcast the program of radio station of selection.
Alternatively, the display unit sets up reflecting between radio signals and program of radio station list in the following manner
Penetrate relation:
Determine each radio station in the program of radio station list of different time and each radio station in diverse location
Radio signals;
Positional information, radio signals and the radio signals are set up between the program of radio station list of different time
Mapping relations.
The present invention has the beneficial effect that:
The embodiment of the present invention vehicle-mounted multimedia equipment when it is determined that the Current location area of vehicle changes, root
According to the preset relation between the signal frequency of band of position radio signals corresponding with program of radio station, it is determined that currently
The signal frequency of the program of radio station broadcasted corresponding radio signals in the band of position after change;
The signal frequency according to determining is scanned for, the radio signals that switching broadcast search is arrived, to realize
Broadcast the continuity of the program of radio station of selection.So, vehicle-mounted multimedia equipment is finding the current of vehicle
When the band of position changes, can be according to the signal of band of position radio signals corresponding with program of radio station frequently
Preset relation between rate determines the band of position of the program of radio station currently broadcasted after change
The signal frequency of interior corresponding radio signals, and then according to the signal frequency of the new radio signals for searching,
The new radio signals that switching broadcast search is arrived, this ensures that the continuity of radio programmes, lifting
Consumer's Experience.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, institute in being described to embodiment below
The accompanying drawing for needing to use is briefly introduced, it should be apparent that, drawings in the following description are only of the invention
Some embodiments, for one of ordinary skill in the art, are not paying the premise of creative labor
Under, other accompanying drawings can also be obtained according to these accompanying drawings.
A kind of Fig. 1 schematic flow sheets of station broadcast method for the embodiment of the present invention is provided;
A kind of Fig. 2 schematic flow sheets of station broadcast method for the embodiment of the present invention is provided;
Fig. 3 is the schematic diagram of vehicle-mounted multimedia equipment display program list provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of station broadcast equipment provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of station broadcast equipment provided in an embodiment of the present invention.
Specific embodiment
In order to realize the purpose of the present invention, a kind of station broadcast method and apparatus is the embodiment of the invention provides,
Vehicle-mounted multimedia equipment when it is determined that the Current location area of vehicle changes, according to the band of position and radio station
Preset relation between the signal frequency of the corresponding radio signals of program, it is determined that the current electricity broadcasted
The signal frequency of platform program corresponding radio signals in the band of position after change;According to the letter for determining
Number frequency is scanned for, the radio signals that switching broadcast search is arrived, to realize broadcasting the electricity of selection
The continuity of platform program.So, vehicle-mounted multimedia equipment changes in the Current location area for finding vehicle
When, can be according to the preset relation between the signal frequency of band of position radio signals corresponding with program of radio station
To determine corresponding radio signals in the currently band of position of the program of radio station broadcasted after change
Signal frequency, and then according to the signal frequency of the new radio signals for searching, switching broadcast search is arrived
New radio signals, this ensures that the continuity of radio programmes, lifts Consumer's Experience.
Each embodiment of the invention is described in further detail with reference to Figure of description.Obviously, institute
The embodiment of description is only a part of embodiment of the invention, rather than whole embodiments.Based on the present invention
In embodiment, it is all that those of ordinary skill in the art are obtained under the premise of creative work is not made
Other embodiments, belong to the scope of protection of the invention.
A kind of Fig. 1 schematic flow sheets of station broadcast method for the embodiment of the present invention is provided.Methods described can be with
It is as follows.
Step 101:Vehicle-mounted multimedia equipment when it is determined that the current band of position of vehicle changes, according to
Preset relation between the signal frequency of band of position radio signals corresponding with program of radio station, it is determined that currently just
In the signal frequency of the program of radio station broadcasted corresponding radio signals in the band of position after change.
Step 102:The vehicle-mounted multimedia equipment is scanned for according to the signal frequency for determining, is switched
The radio signals that broadcast search is arrived, to realize broadcasting the continuity of the program of radio station of selection.
In a step 102, due to regional limitation, same radio station different zones frequency of radio station not
Together, then when vehicle enters another region from a region, the broadcast listened to originally may be caused
Break, in order to ensure the continuity of station broadcast, the vehicle-mounted multimedia equipment is it is determined that the current position of vehicle
Put when region changes, it is necessary to further determine that the current program of radio station broadcasted after change
The signal frequency of corresponding radio signals in the band of position, and then realize broadcasting the program of radio station of selection
Continuity.
It should be noted that vehicle-mounted multimedia equipment described in the embodiment of the present invention is not integrated in vapour
Equipment on car, but the independent equipment with automobile, the vehicle-mounted multimedia equipment can be by automobile cigarette lighter
Set up and the control device of automobile between and be connected, and by automobile cigarette lighter for it provides electric energy;Can also pass through
Wireless connection is set up between wireless mode and the control device of automobile, so, can both have been applied in storage automobile
On, it is also possible to apply on the intelligent automobile of new research and development.The vehicle-mounted multimedia equipment possesses navigation, electricity
Various functions such as platform broadcast, audio and video playing.Additionally, vehicle mounted multimedia described in the embodiment of the present invention
The operating system of equipment can be android system.Android system be a kind of freedom based on Linux and
The operating system of open source code, the operating system of described vehicle-mounted multimedia equipment in the embodiment of the present invention
Support the versions of Android 5.0, it is possible to which the interface provided using the versions of Android 5.0 is set with mobile terminal
Communication connection is set up between the other equipment that standby, automobile is carried.
Either how to change in the band of position of vehicle, vehicle-mounted multimedia equipment can also provide station broadcast
Method, vehicle-mounted multimedia equipment is covered at least according to vehicle present position, search on the position
One radio signals, the corresponding signal frequency of the different radio signals is different;According to radio signals and electricity
Mapping relations between platform programme, it is determined that the corresponding program of radio station of each for searching radio signals
It is single, and the program of radio station list that will be determined is including in the display of the vehicle-mounted multimedia equipment;It is described
Vehicle-mounted multimedia equipment receives the program of radio station of user's selection, and broadcasts the program of radio station of selection.It is this
Mode can be performed, or after the band of position changes when the band of position not yet changes
Perform.
It is described below in detail how vehicle-mounted multimedia equipment realizes station broadcast according to vehicle present position.
Fig. 2 is a kind of schematic flow sheet of station broadcast method provided in an embodiment of the present invention.Methods described can
With as described below.
Step 201:Vehicle-mounted multimedia equipment determines vehicle present position, and searches on the position
At least one radio signals of covering.
Wherein, the corresponding signal frequency of the different radio signals is different.
In step 201, because the broadcasting station applied in practice is typically using frequency modulation broadcasting, in not same district
Domain, the frequency of radio station in same broadcasting station is different, then in motion, diverse location is covered vehicle
The radio signals of lid are also different.
In order to ensure the quality in driver's broadcast listening radio station, by vehicle-mounted multimedia equipment according to the current institute of vehicle
In the radio signals that location finding is covered on the position, radio signals more than one here can be many
It is individual.
Specifically, vehicle-mounted multimedia equipment determines Current vehicle position, including:
First way:
Vehicle-mounted multimedia equipment sets up communication connection with in-vehicle navigation apparatus, and receives the in-vehicle navigation apparatus
Vehicle present position is obtained by LBS positioning methods.
In actual applications, in-vehicle navigation apparatus are more and more, vehicle-mounted multimedia equipment in the embodiment of the present invention
Communication connection can be set up between in-vehicle navigation apparatus, the positioning function using in-vehicle navigation apparatus determines car
Present position.
Additionally, vehicle-mounted multimedia equipment described in the embodiment of the present invention can also possess navigation feature, this
Sample, vehicle-mounted multimedia equipment can utilize the navigation feature positioning vehicle present position of itself.
The second way:
Vehicle-mounted multimedia equipment sets up communication connection with mobile terminal device, and receives the mobile terminal device
Vehicle present position is obtained by GPS/ architecture modes.
In actual applications, different navigation softwares can be installed in mobile terminal device, also possesses positioning work(
Can, then vehicle-mounted multimedia equipment can be set up logical between mobile terminal device in embodiments of the present invention
Letter, vehicle present position is determined using the positioning function of mobile terminal device.
It should be noted that the base of mobile terminal device can be utilized using the positioning function of mobile terminal device
In location-based service (LBS) functional realiey positioning;The GPS location inside mobile terminal device can also be utilized
Module realizes positioning;The architecture mode that mobile terminal device is supported can also be utilized to realize positioning, this
In be not specifically limited.
Step 202:The vehicle-mounted multimedia equipment is closed according to the mapping between radio signals and program of radio station list
System, it is determined that the corresponding program of radio station list of each for searching radio signals, and the electricity that will be determined
Platform programme is displayed in the display of the vehicle-mounted multimedia equipment.
In step 202., the vehicle-mounted multimedia equipment can prestore radio signals and program of radio station list
Between mapping relations, or the user radio signals and program of radio station list that are marked according to personal habits it
Between mapping relations, do not limit here.
Alternatively, the mapping relations set up in the following manner between radio signals and program of radio station list:
Determine each radio station in the program of radio station list of different time and each radio station in diverse location
Radio signals;
Positional information, radio signals and the radio signals are set up between the program of radio station list of different time
Mapping relations.
For example:Traffic In Beijing broadcasting station, it may be predetermined that saved in the radio station of different time in the broadcasting station
Mesh list, and the radio station is in the radio signals of diverse location, you can set up positional information, radio signals and institute
State mapping relations of the radio signals between the program of radio station list of different time.
Table 1 is the signal table of the mapping relations between the program of radio station list and radio signals in A radio station:
Table 1
From table 1 it follows that it is different in the corresponding frequency of radio station of diverse location coordinate, in different time sections,
The content of the program of radio station that radio station is reported is different, and in same time period, radio station is on different frequency of radio station
The program of radio station content reported is identical.
Specifically, after the vehicle-mounted multimedia equipment determines vehicle present position in a step 101, can
With the mapping relations according to above-mentioned record, the corresponding program of radio station of radio signals covered on the position is determined
It is single, and the program of radio station list of determination is shown to user.
Fig. 3 is the schematic diagram of vehicle-mounted multimedia equipment display program list provided in an embodiment of the present invention.
From figure 3, it can be seen that vehicle-mounted multimedia equipment display program list can be shown by the way of list,
Can also be shown using other modes, do not limited here.
It should be noted that in display, the program of radio station list that can often select user is included whole
Before list, user is facilitated to search.
Step 203:The vehicle-mounted multimedia equipment receives the program of radio station of user's selection, and broadcasts selection
The program of radio station.
In step 203, it is assumed that the vehicle-mounted multimedia equipment is connect by the display of vehicle-mounted multimedia equipment
Receive the program of radio station of user's selection, then broadcast the program of radio station of selection.
Assuming that the vehicle-mounted multimedia equipment is set up with mobile terminal device in step 201 communicate to connect,
The corresponding program of radio station single-shot of each described radio signals that will can also be searched is given mobile terminal and is set
It is standby, the program of radio station list is included in mobile terminal device.
Alternatively, it is now, described vehicle-mounted if user determines the program of radio station of selection by mobile terminal device
Multimedia equipment receives the corresponding radio signals of the program of radio station of the selection that mobile terminal device sends.
Now, the electricity of the radio signals that vehicle-mounted multimedia equipment will be received and the selection for searching
The intensity of the corresponding radio signals of platform program is compared;
The vehicle-mounted multimedia equipment it is determined that the radio signals for receiving intensity great-than search to choosing
During the intensity of the corresponding radio signals of the program of radio station selected, using the radio signals for receiving, extensively
Broadcast the program of radio station of selection.
The vehicle-mounted multimedia equipment is it is determined that the intensity of the radio signals for receiving is not more than searches
During the intensity of the corresponding radio signals of the program of radio station of selection, using the radio signals for searching,
Broadcast the program of radio station of selection.
During the program of radio station for broadcasting selection, once finding, broadcast station signal quality is not poor
When, the radio signals that will be received again radio station corresponding with the program of radio station of the selection for searching
The intensity of signal is compared.
The vehicle-mounted multimedia equipment is it is determined that the intensity of the radio signals for receiving is less than and searches choosing
During the intensity of the corresponding radio signals of the program of radio station selected, switching is believed using the radio station for searching
Number, continue to broadcast the program of radio station of selection.
By scheme provided in an embodiment of the present invention, vehicle-mounted multimedia equipment is it is determined that the present position-region of vehicle
It is pre- between the signal frequency according to band of position radio signals corresponding with program of radio station when domain changes
If relation, it is determined that the current program of radio station broadcasted in the band of position after change corresponding radio station
The signal frequency of signal;The signal frequency according to determining is scanned for, and it is described that switching broadcast search is arrived
Radio signals, to realize broadcasting the continuity of the program of radio station of selection.So, vehicle-mounted multimedia equipment
When the Current location area for finding vehicle changes, can be corresponding with program of radio station according to the band of position
Preset relation between the signal frequency of radio signals exists determining the program of radio station currently broadcasted
The signal frequency of corresponding radio signals in the band of position after change, and then according to the new radio station for searching
The signal frequency of signal, the new radio signals that switching broadcast search is arrived, this ensures that broadcasting station is saved
Purpose continuity, lifts Consumer's Experience.
Fig. 4 is a kind of structural representation of station broadcast equipment provided in an embodiment of the present invention.The equipment bag
Include:Determining unit 41 and switch unit 42, wherein:
Determining unit 41, for when it is determined that the Current location area of vehicle changes, according to the band of position
Preset relation between the signal frequency of radio signals corresponding with program of radio station, it is determined that currently broadcasting
The signal frequency of the program of radio station corresponding radio signals in the band of position after change;
Switch unit 42, for being scanned for according to the signal frequency for determining, switching broadcast search is arrived
The radio signals, to realize broadcasting the continuity of the program of radio station of selection.
In another embodiment of the invention, the station broadcast equipment also includes:Position determination unit 43,
Search unit 44, display unit 45 and radio unit 46, as shown in figure 5, for the embodiment of the present invention is provided
A kind of station broadcast equipment structural representation, wherein:
The position determination unit 43, for before it is determined that the band of position of Current vehicle changes, really
Determine vehicle present position;
The search unit 44, for searching at least one radio signals covered on the position, wherein,
The corresponding signal frequency of the different radio signals is different;
Shown display unit 45, for according to the mapping relations between radio signals and program of radio station list, it is determined that
The corresponding program of radio station list of each described radio signals for searching, and the program of radio station list that will be determined
It is displayed in the display of the vehicle-mounted multimedia equipment;
Shown radio unit 46, for receiving the program of radio station of user's selection, and broadcasts the radio station of selection
Program.
In another embodiment of the invention, the position determination unit 43 determines vehicle present position,
Including:
Set up with in-vehicle navigation apparatus and communicated to connect, and receive the in-vehicle navigation apparatus and positioned by LBS
Mode obtains vehicle present position.
In another embodiment of the invention, the position determination unit 43 determines vehicle present position,
Including:
Set up with mobile terminal device and communicated to connect, and receive the mobile terminal device by GPS/ base stations
Positioning method obtains vehicle present position.
In another embodiment of the invention, the radio unit 46 broadcasts the program of radio station of selection,
Including:
Receive the corresponding radio signals of the program of radio station of the selection that mobile terminal device sends;
It is determined that the radio signals for receiving intensity great-than search to selection the program of radio station pair
During the intensity of the radio signals answered, using the radio signals for receiving, the radio station section of selection is broadcasted
Mesh.
In another embodiment of the invention, the switch unit 42, is additionally operable to described in it is determined that receiving
When the intensity of radio signals is less than the intensity of the program of radio station corresponding radio signals for searching selection, cut
Change using the radio signals for searching, continue to broadcast the program of radio station of selection.
In another embodiment of the invention, the display unit 45 sets up radio signals in the following manner
With the mapping relations between program of radio station list:
Determine each radio station in the program of radio station list of different time and each radio station in diverse location
Radio signals;
Positional information, radio signals and the radio signals are set up between the program of radio station list of different time
Mapping relations.
It should be noted that station broadcast equipment provided in an embodiment of the present invention can be by software mode reality
It is existing, function is integrated in vehicle-mounted multimedia equipment;Can also be realized by hardware mode, in vehicle-mounted many matchmakers
Increase switch unit in body equipment, do not limit here.
Vehicle-mounted multimedia equipment, can be according to position area when the Current location area for finding vehicle changes
Preset relation between the signal frequency of domain radio signals corresponding with program of radio station is current wide to determine
The signal frequency of the program of radio station broadcast corresponding radio signals in the band of position after change, Jin Ergen
According to the signal frequency of the new radio signals for searching, the new radio signals that switching broadcast search is arrived, so
It is ensured that the continuity of radio programmes, lifts Consumer's Experience.
Another embodiment of the present invention provides a kind of method for obtaining vehicle-mounted multimedia equipment process list, described
Equipment has Android operation system in installing, and the Android operation system can be Android 5.0 editions
The version of this or Android below 5.0 is (for example:Android 4.2 or Android 4.4 etc.).
A kind of method of acquisition process list that the present embodiment is provided, including:
Step S101:Executive process viewing command, and obtain the output result of process viewing command.
In specific implementation process, the process viewing command is the PS orders under Linux, it is described enter
The output result of journey viewing command is the output result of PS orders, wherein the whole comprising current operation is entered
The progress information of journey.
LinuxIn system, process is monitored and controlled it may first have to it is to be understood that current process
Situation, that is, need to check current process, and PS orders are exactly most basic while being also very powerful
Process viewing command.State which process is currently running and runs is may determine that using PS orders, enter
Whether journey terminates, process occupies excessive resource etc. either with or without ossified, which process.It is most of in a word
Information all can be by performing what PS orders were obtained.
And Andorid is to be based onLinuxExploitation, PS orders are also supported, so in the present embodiment, leading to
Execution PS orders are crossed, and obtains the standard output result of PS orders, you can obtain the situation of current process.
Comprising large number of rows and many column informations in the standard output result of PS, each of which row one process of correspondence,
Be classified as a field per each in a line, for correspondence process is described a feature (for example:Process name
Title, process user, process ID, etc.), but substantial amounts of reality is included in the standard output result of PS
The unwanted information in border is (for example:The progress information of some invalid system process), and the core of the application
Part is to construct in the version with Andoid below 5.0 as object RunningApprocessInfo
Process list, so needing further to perform step S102-S105.
Step S102:Based on a filtering rule, to output result in whole progress informations filter.
In specific implementation process, the principle of filtering is the progress information for leaving consumer process, rejects some nothings
The progress information of the system process of effect, while need to retain some system process (for example again:System is pre-installed
App progress information).Specific filtering rule is as follows:
(1) if the process user in the first progress information (i.e.:User) opened with the first preset characters string
The user of head, then retain first progress information;Wherein, the first progress information is complete in output result
Any progress information in portion's progress information, the first preset characters string is " u0_ " or " u1_ " or " app_ ".
If that is, the title of the user of a certain progress information be " u0_ ", " u1_ ", " app_ " beginning,
Then corresponding process is the process of user App processes or most of built-in App certainly, so needing to retain
The progress information.
(2) if the process user in the first progress information (i.e.:User) it is system, and first enters
It is comprising the first preset characters but also pre- not comprising second not comprising the second preset characters in the process title of journey breath
If character string, then retain first progress information;Wherein, the first progress information is complete in output result
Any progress information in portion's progress information, the first preset characters are " ", and the second preset characters are "/", second
Preset characters string is " system_ ".That is, the progress information for being system for user, then exclude
Fall into journey title containing "/" (for example:/ system/) and " system_ " is (for example:system_server)
With there is no the progress information of " " in process title.For example:The entitled com.android.systemui of process
Progress information meet the requirements, retain;Process is entitled/the process letter of system/bin/su or zygote
Breath is not inconsistent requirement, excludes.
(3) if the process user of the first progress information (i.e.:User it is not) system nor with
The user of one preset characters string beginning, and in the process title of the first progress information comprising the first preset characters but
Not comprising the second preset characters, then retain first progress information;Wherein, the first progress information is output
Any progress information in whole progress informations in result, the first preset characters string be " u0_ " or " u1_ ",
Or " app_ ", the first preset characters are " ", and the second preset characters are "/".If that is, process is believed
User in breath be other situations (for example:Root, nfc etc.), then exclude in process name containing "/" but
There is no the progress information of " ".For example:The progress information of the entitled com.android.phone of process meets
It is required that, retain;The progress information of the entitled radio of process is not inconsistent requirement, excludes.
Step S103:Every progress information after filtering is parsed, the every process letter after being filtered
Whole fields that breath is included.
As a kind of optional embodiment, when step S103 is performed, String.split can be directly used
Method, parses to every progress information after filtering.But, String.split inside has used canonical
Expression formula is realized, less efficient.After tested, using String.split parsing needs for up to more than 200
Millisecond.
As a kind of preferred embodiment, when step S103 is performed, because the output result of PS orders is
One field for arranging, it is possible to every progress information after scanning filtering, writes down every after filtering and enters
Each in journey information becomes the position for turning to nonblank character from NUL (i.e.:Opening for field is determined
Beginning position), and each is become from NUL turn to position of nonblank character and save as array array;Using number
The index of group, intercepts each and becomes the character string turned to after the position of nonblank character from NUL, so as to obtain
The whole fields included in every progress information after must filtering.After tested, parse what is needed using this method
Time only needs more than 70 milliseconds, and efficiency is higher, can meet actual demand.
Step S104:Predetermined word is extracted in the whole fields included from every progress information after the filtering
Section.
, it is necessary to construct the object in Andorid below 5.0 in version in specific implementation process
RunningApprocessInfo, so the preset field extracted as object herein
The field included in RunningApprocessInfo, including:Process title is (i.e.:processName)、
Process user is (i.e.:User), process ID is (i.e.:Pid), ID is (i.e.:Uid), process is used
Bag list of file names (i.e.:PkgList), process material information is (i.e.:importance).
In specific implementation process, process can be extracted from the first row in every progress information after filtering
User is (i.e.:User) field;Process can be extracted from the secondary series in every progress information after filtering
ID is (i.e.:Pid) field;Can from the last first row in every progress information after filtering, extract into
Journey title is (i.e.:ProcessName) field.
In specific implementation process, android.os.Process.getUidForName functions can be called, obtained
The ID in every progress information after must filtering is (i.e.:Uid) field.
In specific implementation process, the bag where every progress information after filtering being based on, it is determined that filtering
The bag list of file names that the process in every progress information afterwards is used is (i.e.:PkgList) field.That is,
PkgList acquiescences are exactly the bag where this process.
Step S105:Based on the preset field in every progress information after filtering, a process list is constructed.
In specific implementation process, as shown in Table 1, the process list and object RunningApprocessInfo
The process list of offer is identical, including following field:Process title is (i.e.:ProcessName) field,
Process user is (i.e.:User) field, process ID be (i.e.:Pid) field, ID be (i.e.:uid)
The bag list of file names that field, process are used is (i.e.:PkgList) field, process material information be (i.e.:
Importance) field.
Table one
In the present embodiment, by step S101~step S105, realize in the versions of Android 5.0
In system, obtain as the RunningApprocessInfo objects in Android below 5.0 in version
The technique effect of process list.Security classes App can obtain information and compare with the technical scheme in basic embodiment
Comprehensive process list, so as to ensure that the effect of process cleaning and checking and killing virus.And overall process is not utilized
The AppStaksManager interfaces that the versions of Android 5.0 are provided, without the manually opened authority of user, also not
With worry, other App close authority, and the probability of process list is successfully obtained so as to substantially increase.Meanwhile,
Technical scheme compatibility Android versions below 5.0 in the present embodiment.
As a kind of optional embodiment, after step S105, also include:Carried out based on process list
Process is cleared up.
In specific implementation process, after process list is obtained, can be based on entering for being recorded in the process list
Journey information, it is determined that needing the process of cleaning, go forward side by side traveling Cheng Qingli, so as to improve android system
The speed of service.In due to the present embodiment, can in the system of the versions of Android 5.0, obtain and
The same process list of RunningApprocessInfo objects of the Android below 5.0 in version, the process
Included than more comprehensive progress information in list, so carrying out process cleaning, Ke Yibao based on the process list
The effect of card process cleaning, and improve the efficiency of process cleaning.
As a kind of optional embodiment, after step S105, also include:It is right based on process list
Application permission is managed, or carries out checking and killing virus, or the prison of some programs is performed using Initiative Defense module
Pipe function.
In specific implementation process, after process list is obtained, can continue to obtain a blacklist, and judge
Whether each process in process list is documented in blacklist, if a certain process is documented in the blacklist
In, it is determined that the corresponding application program of the process is Virus, and the Virus is purged, from
And ensure system safety.Due to including the relevant information than more comprehensive process in the process list, so base
Technical scheme in the present embodiment obtains information and carries out checking and killing virus than more comprehensive process list, it is ensured that
The effect of checking and killing virus, improves checking and killing virus efficiency.
In specific implementation process, it is possible to use based on process list, monitoring application obtain operator's informaiton,
APN operations, informing advertisement operation, the operation of acquisition handset identity code, establishment shortcut, phone are dialed
Operation, short message insert or delete operation, contact person's insert or delete operation, URL access operation, subprocess
Invade operation, operated using loading operation, command operation, derivative operation, activation equipment manager.
In specific implementation process, when an application program is installed, can determine to pacify based on process list
The application program of dress, and judge whether the application program installed is safe, so as to the application to installing
Program is further processed.
For example, cloud server can be level of security black, grey, the white three kinds of levels of setting of application program
Not, different degrees of danger are represented respectively, and set corresponding treatment rule.For example, black application is forbidden installing,
Ash application is voluntarily selected by user, and white application then can footpath row installation.Of course, it is possible to be further simplified as ash,
White two kinds, or it is reduced to black, white two kinds.This high in the clouds control of server familiar to the person skilled in the art
Technology, will disclose in follow-up further summary.Anyway, the present invention will be from the machine remote layout bank interface
The middle feedback for obtaining cloud server about these treatment rules applied, is made accordingly using feedback result
Subsequent treatment.Specifically, when black application identities are returned for current goal application, can stop immediately
The installation of the intended application;When white application is designated or ash is applied, then can let pass installation.For interactivity
Consideration, when complete it is long-range judge after, the present invention will to the relevant judged result of user interface pop-up prompting user,
And corresponding treatment advice is shown, ask the user whether to determine to current new clothes application construction Initiative Defense ring
Border, after user therefrom determines to carry out the mark of Initiative Defense to current new clothes intended application, that is, determines the mesh
Mark application.
Similarly, after user determines the intended application, the present invention can by the installation kit of the intended application deposit to
In described assigned catalogue.In addition, subsequently will be for the fixed intended application construction actively for the present invention
The consideration of environment is defendd, the present invention can immediately stop the installation of the intended application, and the operation for stopping installing both may be used
Can also occur after before user determines the intended application with invention.
If additionally, current application belongs to black application, and user remains desirable to install the application, then can still permit
Family allowable retains this on the premise of Initiative Defense environment is set up and has installed application program, or allows corresponding
New clothes application continues to install.
According to it is described it is a kind of obtain process list method and device, executive process viewing command, and obtain into
The output result of journey viewing command;Based on a filtering rule, to output result in whole progress informations carry out
Filtering;Every progress information after filtering is parsed, what every progress information after being filtered was included
Whole fields;Preset field is extracted in the whole fields included from every progress information after filtering;It was based on
The preset field in every progress information after filter, constructs a process list.Wherein, the U predetermined word
Section is the progress information that object RunningApprocessInfo is provided in version in Andoid below 5.0
In field.The present invention obtains the progress information of whole processes of current operation based on PS orders, and passes through
Filtering, finally constructs in the version with Andoid below 5.0 as object RunningApprocessInfo
Process list, so as to obtain more comprehensive progress information, and without the manually opened authority of user, enter
And solve in the prior art in the versions of Android 5.0, it is necessary to the manually opened authority ability of user with imitating
Obtain the incomplete technical problem of information in process list, and the process list for getting.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment),
Or computer program product.Therefore, the present invention can using complete hardware embodiment, complete software embodiment,
Or the form of the embodiment in terms of combination software and hardware.And, the present invention can use at one or more it
In include computer-usable storage medium (the including but not limited to disk storage of computer usable program code
Device, CD-ROM, optical memory etc.) on implement computer program product form.
The present invention is with reference to method according to embodiments of the present invention, device (equipment) and computer program product
Flow chart and/or block diagram describe.It should be understood that can by computer program instructions realize flow chart and/or
Flow in each flow and/or square frame and flow chart and/or block diagram and/or square frame in block diagram
With reference to.These computer program instructions to all-purpose computer, special-purpose computer, Embedded Processor can be provided
Or the processor of other programmable data processing devices is producing a machine so that by computer or other
The instruction of the computing device of programmable data processing device produce for realizing in one flow of flow chart or
The device of the function of being specified in one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or the treatment of other programmable datas to set
In the standby computer-readable memory for working in a specific way so that storage is in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow of flow chart or multiple
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and series of operation steps is performed on computer or other programmable devices to produce computer implemented place
Reason, so as to the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple one square frame of flow and/or block diagram or multiple square frames.
, but those skilled in the art once know base although preferred embodiments of the present invention have been described
This creative concept, then can make other change and modification to these embodiments.So, appended right will
Ask and be intended to be construed to include preferred embodiment and fall into having altered and changing for the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this hair to the present invention
Bright spirit and scope.So, if it is of the invention these modification and modification belong to the claims in the present invention and
Within the scope of its equivalent technologies, then the present invention is also intended to comprising these changes and modification.
Claims (10)
1. a kind of station broadcast method, it is characterised in that including:
Vehicle-mounted multimedia equipment when it is determined that the Current location area of vehicle changes, according to the band of position with
Preset relation between the signal frequency of the corresponding radio signals of program of radio station, it is determined that the current institute for broadcasting
State the signal frequency of program of radio station corresponding radio signals in the band of position after change;
Vehicle-mounted multimedia equipment is scanned for according to the signal frequency for determining, the institute that switching broadcast search is arrived
Radio signals are stated, to realize broadcasting the continuity of the program of radio station of selection.
2. station broadcast method as claimed in claim 1, it is characterised in that vehicle-mounted multimedia equipment exists
Before determining that the band of position of Current vehicle changes, methods described also includes:
Vehicle-mounted multimedia equipment determines vehicle present position, and search is covered at least on the position
One radio signals, wherein, the corresponding signal frequency of the different radio signals is different;
The vehicle-mounted multimedia equipment is according to the mapping relations between radio signals and program of radio station list, it is determined that searching
The corresponding program of radio station list of each described radio signals that rope is arrived, and the program of radio station list for determining is shown
Show in the display of the vehicle-mounted multimedia equipment;
The vehicle-mounted multimedia equipment receives the program of radio station of user's selection, and broadcasts the radio station section of selection
Mesh.
3. station broadcast method as claimed in claim 2, it is characterised in that vehicle-mounted multimedia equipment is true
Determine vehicle present position, including:
Vehicle-mounted multimedia equipment sets up communication connection with in-vehicle navigation apparatus, and receives the in-vehicle navigation apparatus
Vehicle present position is obtained by LBS positioning methods.
4. station broadcast method as claimed in claim 2, it is characterised in that vehicle-mounted multimedia equipment is true
Determine vehicle present position, including:
Vehicle-mounted multimedia equipment sets up communication connection with mobile terminal device, and receives the mobile terminal device
Vehicle present position is obtained by GPS/ architecture modes.
5. station broadcast method as claimed in claim 4, it is characterised in that the vehicle mounted multimedia sets
The standby program of radio station for broadcasting selection, including:
The vehicle-mounted multimedia equipment receives the program of radio station correspondence of the selection that mobile terminal device sends
Radio signals;
The vehicle-mounted multimedia equipment it is determined that the radio signals for receiving intensity great-than search to choosing
During the intensity of the corresponding radio signals of the program of radio station selected, using the radio signals for receiving, extensively
Broadcast the program of radio station of selection.
6. station broadcast method as claimed in claim 5, it is characterised in that methods described also includes:
The vehicle-mounted multimedia equipment is it is determined that the intensity of the radio signals for receiving is less than and searches choosing
During the intensity of the corresponding radio signals of the program of radio station selected, switching is believed using the radio station for searching
Number, continue to broadcast the program of radio station of selection.
7. station broadcast method as claimed in claim 2, it is characterised in that set up in the following manner
Mapping relations between radio signals and program of radio station list:
Determine each radio station in the program of radio station list of different time and each radio station in diverse location
Radio signals;
Positional information, radio signals and the radio signals are set up between the program of radio station list of different time
Mapping relations.
8. a kind of station broadcast equipment, it is characterised in that including:
Determining unit, for when it is determined that the Current location area of vehicle changes, according to the band of position with
Preset relation between the signal frequency of the corresponding radio signals of program of radio station, it is determined that the current institute for broadcasting
State the signal frequency of program of radio station corresponding radio signals in the band of position after change;
Switch unit, for being scanned for according to the signal frequency for determining, the institute that switching broadcast search is arrived
Radio signals are stated, to realize broadcasting the continuity of the program of radio station of selection.
9. station broadcast equipment as claimed in claim 8, it is characterised in that the station broadcast equipment
Also include:Position determination unit, search unit, display unit and radio unit, wherein:
The position determination unit, for before it is determined that the band of position of Current vehicle changes, it is determined that
Vehicle present position;
The search unit, for searching at least one radio signals covered on the position, wherein,
The corresponding signal frequency of the different radio signals is different;
The display unit, for according to the mapping relations between radio signals and program of radio station list, it is determined that searching
The corresponding program of radio station list of each described radio signals that rope is arrived, and the program of radio station list for determining is shown
Show in the display of the vehicle-mounted multimedia equipment;
The radio unit, for receiving the program of radio station of user's selection, and broadcasts the radio station section of selection
Mesh.
10. station broadcast equipment as claimed in claim 9, it is characterised in that the position determination unit
Determine vehicle present position, including:
Set up with in-vehicle navigation apparatus and communicated to connect, and receive the in-vehicle navigation apparatus and positioned by LBS
Mode obtains vehicle present position.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510992628.9A CN106921452A (en) | 2015-12-24 | 2015-12-24 | A kind of station broadcast method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510992628.9A CN106921452A (en) | 2015-12-24 | 2015-12-24 | A kind of station broadcast method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106921452A true CN106921452A (en) | 2017-07-04 |
Family
ID=59457385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510992628.9A Pending CN106921452A (en) | 2015-12-24 | 2015-12-24 | A kind of station broadcast method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106921452A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111417068A (en) * | 2020-03-26 | 2020-07-14 | 深圳市微测检测有限公司 | Vehicle auxiliary navigation positioning method, device and equipment and readable storage medium |
CN112700649A (en) * | 2021-01-15 | 2021-04-23 | 集瑞联合重工有限公司 | Vehicle audio control method, vehicle audio device and vehicle |
CN112865821A (en) * | 2019-11-28 | 2021-05-28 | 上海博泰悦臻电子设备制造有限公司 | Cross-regional radio listening method, system, medium and device based on cloud server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1610284A (en) * | 2003-10-23 | 2005-04-27 | 三星电子株式会社 | Apparatus and method for maintaining broadcast channel using position information of mobile communication terminal |
CN1801633A (en) * | 2005-01-04 | 2006-07-12 | 行毅科技股份有限公司 | Acoustics apparatus capable of automatic change for vehicle |
CN102118208A (en) * | 2009-12-31 | 2011-07-06 | 上海博泰悦臻电子设备制造有限公司 | Frequency modulation broadcast receiving terminal and frequency modulation broadcast receiving method |
CN104777963A (en) * | 2014-01-14 | 2015-07-15 | 安凯(广州)微电子技术有限公司 | Control method and system of Bluetooth loudspeaker box FM (Frequency Modulation) playing function |
-
2015
- 2015-12-24 CN CN201510992628.9A patent/CN106921452A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1610284A (en) * | 2003-10-23 | 2005-04-27 | 三星电子株式会社 | Apparatus and method for maintaining broadcast channel using position information of mobile communication terminal |
CN1801633A (en) * | 2005-01-04 | 2006-07-12 | 行毅科技股份有限公司 | Acoustics apparatus capable of automatic change for vehicle |
CN102118208A (en) * | 2009-12-31 | 2011-07-06 | 上海博泰悦臻电子设备制造有限公司 | Frequency modulation broadcast receiving terminal and frequency modulation broadcast receiving method |
CN104777963A (en) * | 2014-01-14 | 2015-07-15 | 安凯(广州)微电子技术有限公司 | Control method and system of Bluetooth loudspeaker box FM (Frequency Modulation) playing function |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112865821A (en) * | 2019-11-28 | 2021-05-28 | 上海博泰悦臻电子设备制造有限公司 | Cross-regional radio listening method, system, medium and device based on cloud server |
CN111417068A (en) * | 2020-03-26 | 2020-07-14 | 深圳市微测检测有限公司 | Vehicle auxiliary navigation positioning method, device and equipment and readable storage medium |
CN112700649A (en) * | 2021-01-15 | 2021-04-23 | 集瑞联合重工有限公司 | Vehicle audio control method, vehicle audio device and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102006373B (en) | Vehicle-mounted service system and method based on voice command control | |
CN101404828B (en) | Dual standby mode mobile terminal and communication mode control method thereof | |
CN101038177B (en) | GPS navigation apparatus | |
CN106126203B (en) | A kind of OTA start accelerated methods and system | |
KR102087010B1 (en) | Data communication method and apparatus using a wireless communication | |
CN106155869A (en) | The running background control method of terminal applies and device thereof | |
CN106915314A (en) | A kind of method and apparatus for switching broadcasting between multi-medium data and traffic information | |
CN102202082A (en) | Vehicle-mounted communication system and method | |
CN103997771A (en) | System and method for achieving application and message triggering based on wireless access recognition technology | |
CN106921452A (en) | A kind of station broadcast method and apparatus | |
CN105871492A (en) | Information pushing method, terminal and server | |
CN105187628A (en) | Incoming call no disturbing method and mobile terminal | |
CN108834122A (en) | A kind of bluetooth recognition method, apparatus, equipment and storage medium | |
CN105763277A (en) | Radio play channel updating method and device | |
CN105847559A (en) | Cell phone mode switching method and cell phone mode switching device | |
CN102541415A (en) | Mode switching method for vehicle-mounted electronic system | |
CN106921693A (en) | The acquisition methods and vehicle-mounted multimedia equipment of a kind of multi-medium data | |
CN106921453A (en) | A kind of station broadcast method and apparatus | |
CN106126023A (en) | Quick sharing method, quick sharing apparatus and terminal | |
CN105007530A (en) | Method and device for customizing and automatically playing radio program | |
CN103600700A (en) | Audio/video control method and system based on dual-computer interaction mode | |
CN103067825A (en) | Voice frequency changing-over management system in vehicle-mounted entertainment system and control method thereof | |
CN106549723A (en) | Vehicle-mounted radio and its control method | |
CN104506736A (en) | Mobile terminal and control method thereof | |
CN105278832B (en) | A kind of terminal and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170704 |