CN103974124B - Method and system for downloading and managing broadcast applications and based on android platform - Google Patents
Method and system for downloading and managing broadcast applications and based on android platform Download PDFInfo
- Publication number
- CN103974124B CN103974124B CN201310037445.2A CN201310037445A CN103974124B CN 103974124 B CN103974124 B CN 103974124B CN 201310037445 A CN201310037445 A CN 201310037445A CN 103974124 B CN103974124 B CN 103974124B
- Authority
- CN
- China
- Prior art keywords
- broadcasted application
- information
- application
- broadcasted
- management information
- 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.)
- Expired - Fee Related
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a system for downloading and managing broadcast applications and based on an android platform. The method includes acquiring broadcast application management information; based on the broadcast application management information, extracting control information related to the broadcast applications; based on current running state information of the broadcast applications, the control information related to the broadcast applications and preset rule generating control instructions, distributing installing or life circle management instruments to a package manager and an activity manager of the android platform; enabling control instruments of other types to directly control corresponding broadcast applications. An own application management module of the android platform is fully utilized, and compatibility with non-broadcast applications is realized; applications are managed through a terminal system and a user, dynamic management and control routes, on the applications run by a terminal, of a front end (server) are increased, big terminal platform difference and high difference adaptability during running are provided, application types of which the android platform is supportive are enriched, and application fields of the android platform are widened.
Description
Technical field
The present invention relates to the download of application and management domain, the especially download of the broadcasted application on Android platform and management
Field is and in particular to a kind of downloaded and the method and system managing broadcasted application based on Android platform.
Background technology
Android platform, due to its characteristic of increasing income, has been widely used in smart mobile phone, panel computer etc. mobile at present
On equipment.The occupation rate of ARIXTRA significantly leading others operating system in intelligent mobile terminal operating system in the market, and
And still there is growth trend.
With the popularization of Android platform, many television operation systems also begin to use Android platform at present, or in peace
Operating system software is developed further, in field of broadcast televisions, terminal set top box or intelligent television application are pacified on Zhuo Pingtai
Zhuo Pingtai becomes a kind of trend.
Broadcast networking technology development at present is very rapid.With the propulsion of national " integration of three networks ", broadcasting network, communication network and
The integrated advantage of the Internet day by day manifests, and the broadcast television service of various new occurs like the mushrooms after rain, radio network
Data transfer is had any different the obvious characteristic in communication network and internet.
Radio network takes the mode of broadcast to carry out data transmission, and transmitted data rates are fast, and the user of particular demographic receives
Content there is no difference.Broadcasted application is associated with broadcasting service, and each broadcasting channel has corresponding with its broadcasting channel
Broadcasted application, after switching channels, may have new broadcasted application corresponding with new broadcasting channel, therefore, broadcasted application with work as
Front broadcasting channel contact closely, contacts closely with the program in current play channel, that is, with front end (server end) contact closely,
Need to accept front end (server) control, the control of user can also be accepted simultaneously.
Traditional broadcast program, same content all watched by all platforms, for different user, does not have any difference.
And broadcasted application, be in the face of the diversity of terminal, the platform of different service abilities runs different applications, be to not needing to broadcast
The platform of application keeps compatible;Will in the face of terminal operating when environment diversity, when different user appreciates same program, corresponding
Selection and state can be different.So broadcasted application will be in the face of more acute compatibility issue, platform variability issues
With operation diverse problems.
Broadcasted application and broadcast program have closely contact it is desirable to program conversion, break for commercialsy etc. when should to broadcast
The response speed requirement such as start, switch, exiting faster with having.So there has also been to the download of broadcasted application software kit, installation
More harsh and diversified requirement.Broadcasted application is the application being closely related with broadcast program.For example live talent competition,
Audience can be voted to player by device of voting at present, and televiewer can be thrown to player by sending note
Ticket.If there are broadcasted application, then ballot application interface can be ejected on television interfaces, user by modes such as remote controls is
Can be the dri er liked, vote information passes back to program scene automatically, produces voting results.If user midway zapping,
New channel is playing TV play, then ballot application close, captions application interface eject, user can select close captions or
Person continues to retain captions.If program is to the time spot, captions application is automatically switched off, and shopping application ejects, and user utilizes distant
The modes such as control device, can directly choose advertised product, user can close shopping application simultaneously, only appreciate television advertising.
Existing Android platform has abundant, comprehensive support to wired and wireless bilateral network application, has perfect
Application management module, but to broadcasted application, prior art can't effectively effectively be supported to it.
Content of the invention
The present invention mainly proposes the method and system that a kind of Android platform is downloaded and managed broadcasted application, realizes Android platform
The support downloaded with management to broadcasted application.
For achieving the above object, the invention provides a kind of based on Android platform download with control broadcasted application side
Method, methods described comprises:
Step 101) obtain broadcasted application management information;
Step 102) control information related to broadcasted application is extracted based on broadcasted application management information, and described broadcast should
The subset being broadcasted application management information with related control information;
Step 103) based on the current running state information of broadcasted application, extract the control related to described broadcasted application
Information and default rule generate control instruction;
Step 104) when control instruction is installation or life cycle management, this instruction is distributed to the bag of Android platform
Manager and active manager, carry out corresponding operating by package manager and active manager to broadcasted application;When control instruction is
During other type instruction, directly corresponding broadcasted application is controlled according to this command operating;
Wherein, described preset rules are:For producing the condition that during each control instruction, each broadcasted application must is fulfilled for
Set, described control instruction comprises:" destruction " or " killing ".
Above-mentioned steps 101) comprise further:
Step 101-1) obtain by way of radio network, bilateral network or radio network and bilateral network share and treat
The broadcasted application software kit installed;
Step 101-2) broadcasted application management information is obtained by radio network, bilateral network;
Wherein, if described broadcasted application management information, described broadcasted application management information are obtained by broadcast channel
For application information table, if described broadcasted application management information, described broadcasted application management information are obtained by bilateral network
Application information table for XML format encapsulation.
Above-mentioned steps 101) comprise further:
Step 101-a) respective broadcast application management information is obtained by radio network, bilateral network;
Step 101-b) extract relevant broadcasts application software package informatin, this software package informatin from broadcasted application management information
Downloading mode including relevant broadcasts application and corresponding download information, if download broadcasted application software by broadcast approach
Bag, download information can comprise the ID of primitive network ID, transmitting stream ID and transmission connection business, realizes to broadcasted application software kit
Download;If downloading broadcasted application software kit by bilateral network approach, download information can comprise broadcasted application software
The URL information of bag;
Step 101-c) according to broadcasted application software kit information acquisition broadcasted application software kit to be installed;
Wherein, if described broadcasted application management information, described broadcasted application management information are obtained by broadcast channel
For application information table AIT, if described broadcasted application management information, described broadcasted application pipe are obtained by bilateral network
Application information table AIT that reason information encapsulates for XML format.
Comprise the steps of when broadcasted application management information is obtained by bilateral network:
Terminal pre-saves the address of download server, for executing from clothes during start or running status when terminal
Broadcast control information downloaded by business device;
Terminal passes through udp protocol to the download information downloading server request XML signaling file;
Download server returns version number and the download path of XML signaling file by udp protocol;If terminal does not still have
The version of the XML signaling file that the XML signaling fileversion number of XML signaling file or terminal preservation is returned with download server
Number difference, then enter the management information that broadcasted application is downloaded in next step execution, otherwise stops execution and downloads broadcasted application management
The step of information;
Terminal sends the request downloading XML signaling file, then download server to download server by http protocol
The XML signaling file comprising application management information is returned by http protocol.
Comprise the steps of when terminal obtains application management information by broadcast channel:
Lock onto target frequency, that is, identify the information of target frequency in channel;
The broadcast data code stream of locking frequency is demultiplexed, filters out the target code stream of Program Association Table PAT;
Parsing Program Association Table PAT, obtains the positional information of Program Map Table PMT, and the bag mark according to current channel
Symbol pid, filters out the Program Map Table PMT of target;
Parsing Program Map Table PMT, obtain stream type identification field information, according to the stream type identification information obtaining and should
With the table identifier of information table AIT, filter out intended application information table AIT, that is, obtain the management information of broadcasted application.
Above-mentioned package manager and active manager broadcasted application is installed respectively and life cycle management operation.
When the package manager that Android platform is distributed in instruction carries out installation process, also the broadcasted application software downloaded is entered
Row such as pretreatment:Decompression or form conversion.
Based on said method the invention provides a kind of based on Android platform download with control broadcasted application system, institute
The system of stating comprises:
Data obtaining module, for obtaining broadcasted application package data and broadcasted application management information, or based on acquisition
Broadcasted application management information extract broadcasted application package data;
Control information extraction module, for extracting the control letter related to broadcasted application based on broadcasted application management information
Breath, and the related control information of described broadcasted application is the subset of broadcasted application management information;
Directive generation module, for the running state information current based on broadcasted application, extract with to broadcasted application phase
The control information closed and default rule generate control instruction;
Instruction execution distribution performing module, for when control instruction is installation or life cycle management, this being instructed
Distribute to package manager and the active manager of Android platform, by package manager and active manager, broadcasted application is carried out accordingly
Operation;When control instruction is other type instruction, directly corresponding broadcasted application is controlled according to this command operating;
Wherein, described preset rules are:For producing the set of circumstances must being fulfilled for during each control instruction, described
Control instruction comprises:" destruction " or " killing ";Described broadcasted application management information is corresponding to a broadcasted application, for controlling
With one broadcasted application of management;Or shared by multiple broadcasted application, control multiple broadcasted application simultaneously;Or comprise common portion and
Privately owned part, common portion is used for controlling multiple applications, and privately owned part is respectively intended to control multiple applications.
Said system also comprises:Broadcasted application running status maintenance module, for gathering and safeguarding current time each is wide
Broadcast the running state information of application, and the status information that described broadcasted application running status maintenance module is safeguarded exports to finger
Make generation module.
The package manager of above-mentioned Android platform and active manager are also by receive user operation and system operatio to broadcast
Application is controlled.
It is an advantage of the current invention that using multiple download broadcasted application software kits and management information approach, meeting broadcast should
With the diversified demand to application software package and management information;Take full advantage of the application management module of ARIXTRA itself, it is right to reduce
The change of Android platform itself, realizes modularization management, realizes the module of the inventive method after Android platform upgrading to ARIXTRA
The continuation of platform is supported, reduces software development complexity, reduces the information content safeguarded during system operation, reduces system fortune simultaneously
The calculating of the system taking during row broadcasted application and storage resource, compatible non-broadcasting application simultaneously;By terminal system and user
While application is managed, extend dynamic management and the controlling soil moist of the application to terminal operating for the front end (server),
When having stronger terminal platform diversity and running, the adaptability of diversity, enriches the application type of Android platform support,
Widen the suitable application area of Android platform.
Brief description
The Android platform that Fig. 1 present invention provides downloads the method flow diagram with management broadcasted application;
The extraction download information from broadcasted application management information that Fig. 2 present invention provides is realized Android platform and is downloaded and management
The method flow diagram of broadcasted application;
The second management cell schematics that Fig. 3 present invention provides;
What Fig. 4 present invention provided obtains broadcasted application management information by bilateral network passage;
What Fig. 5 present invention provided obtains broadcasted application management information by broadcast channel;
Fig. 6 is preset rules provided in an embodiment of the present invention;
Fig. 7 is the preset rules that the embodiment of the present invention 2 provides.
Specific embodiment
The present invention will be described in detail with specific embodiment below in conjunction with the accompanying drawings.
In described below, the application management module of Android platform is referred to as the first management module.Referring to Fig. 1, it is this
Bright Android platform of realizing downloads the method flow diagram with management broadcasted application.
101:Obtain broadcasted application software kit.Including by radio network, bilateral network or radio network and Two-way Network
The mode that network shares obtains broadcasted application software kit.Preferably, download first with radio network, if radio network is downloaded lost
Lose, then downloaded by bilateral network.So can make the broadcasted application software kit i.e. can be quick-downloading, also can carry mistake at the fast speed
After losing, many a downloads successfully ensure.
102:Obtain broadcasted application management information.Obtain respective broadcast application pipe including by radio network, bilateral network
Reason information, described broadcasted application management information can correspond to a broadcasted application, for controlling and managing a broadcasted application;
Can also be shared by multiple broadcasted application, control multiple broadcasted application simultaneously;Common portion and privately owned part can also be comprised, public
Partly it is used for controlling multiple applications altogether, privately owned part is respectively intended to control multiple applications.Described broadcasted application management information is removed can
To include outside the attribute information of application, can also include whether to start immediately, whether can be in terminal storage, the need of slow
Deposit, control and the management information of other application even will be hung up or kill to self-starting of whether starting shooting whether.These information can carry
High broadcast channel content and the degree of association of broadcasted application, make broadcasted application have more preferable Consumer's Experience effect.
103:First pipe is carried out to broadcasted application 105 by the application management module (the first management module) of Android platform
Reason.The application management module that the application management module of described Android platform carries for Android platform, can be by active manager
(activity manager) and package manager (packet manager) form, and realize system and user to operation on platform
The management of broadcasted application 105, including the installation of application, life cycle management etc..Manage in the application management module of Android platform
While reason broadcasted application 105, non-broadcasting application 106 is normally managed, that is, for the application management mould of Android platform
Block, broadcasted application 105 and non-broadcasting application 106 are as broad as long.Therefore, this Android platform downloads the method with management broadcasted application
Can preferably compatible existing application, and reduce the change to Android platform itself, realize modularization management, realize this
The continuation to Android platform after Android platform upgrading of the module of bright method is supported.Utilize the existing manager of Android platform simultaneously
As much as possible application is managed, it is possible to reduce software development complexity, reduce the information content safeguarded during system operation,
The calculating of system taking when simultaneously reducing system operation broadcasted application and storage resource.
104:Second management is carried out to described broadcasted application by described broadcasted application management information.Described second management bag
Include the maintenance of broadcasted application operation information, using described broadcasted application management information and operation information, the broadcast of terminal operating is answered
With being managed.The current broadcasted application title run, version, attribute and associated therewith are included to safeguarding of operation information
The information such as broadcasting channel, the management to application is included to the installation applied, life cycle management etc..
Before package manager interaction, necessary process can be carried out to the software kit downloaded, including decompression, form turns
Change, virtual machine technique or by the technology such as interface module, enable Android platform to support described broadcasted application.
Referring to Fig. 2, from broadcasted application management information, extraction download information realizes Android platform download and management broadcast is answered
Method flow diagram.
201:Obtain broadcasted application management information.Obtain respective broadcast application pipe including by radio network, bilateral network
Reason information, described broadcasted application management information can correspond to a broadcasted application, for controlling and managing a broadcasted application;
Can also be shared by multiple broadcasted application, control multiple broadcasted application simultaneously;Common portion and privately owned part can also be comprised, public
Partly it is used for controlling multiple applications altogether, privately owned part is respectively intended to control multiple applications.Described broadcasted application management information is removed can
To include outside the attribute information of application, can also include whether to start immediately, whether can be in terminal storage, the need of slow
Deposit, control and the management information of other application even will be hung up or kill to self-starting of whether starting shooting whether.
Described broadcasted application management information also includes relevant broadcasts application software package download information, including relevant broadcasts application
Downloading mode and corresponding download information, if downloading broadcasted application software kit by broadcast approach, download information can wrap
The ID of ID containing primitive network, transmitting stream ID and transmission connection business, realizes the download to broadcasted application software kit;If by double
Download broadcasted application software kit to internet channel, then download information can comprise the information such as the URL of broadcasted application software kit.Pass through
Parsing to described broadcasted application management information, can obtain relevant broadcasts application software package download information.
If obtaining described broadcasted application management information by broadcast channel, described broadcasted application management information is application
Information table (AIT), if obtain described broadcasted application management information, described broadcasted application management letter by bilateral network
Cease the application information table (AIT) for XML format encapsulation.
202:Second management is carried out to described broadcasted application by described broadcasted application management information.Described second management bag
Include extraction and the maintenance of broadcasted application operation information, using described broadcasted application management information and operation information and preset rules
The broadcasted application of terminal operating is managed.To operation information safeguard include the current broadcasted application title run, version,
The information such as attribute and broadcasting channel associated therewith, to application management include application download in advance, pre-cooling, pressure
Close etc..
203:Described broadcasted application software package informatin is extracted from broadcasted application management information.Including relevant broadcasts application
Downloading mode and corresponding download information, if downloading broadcasted application software kit by broadcast approach, download information can comprise
The ID of primitive network ID, transmitting stream ID and transmission connection business, realizes the download to broadcasted application software kit;If by two-way
Internet channel downloads broadcasted application software kit, then download information can comprise the information such as the URL of broadcasted application software kit.By right
The parsing of described broadcasted application management information, can obtain relevant broadcasts application software package download information.Using this kind of mode, can
To be operated the software download of broadcasted application and management it is only necessary to be safeguarded one with unified described broadcasted application management information
Cover described broadcasted application management information, the consumption of transmission can be saved, facilitate the management of broadcasted application.
204:Obtain broadcasted application software kit.If downloading broadcasted application software kit by broadcast approach, download information can
To comprise the ID of primitive network ID, transmitting stream ID and transmission connection business, realize the download to broadcasted application software kit;If logical
Cross bilateral network approach and download broadcasted application software kit, then download information can comprise the information such as the URL of broadcasted application software kit.
By the parsing to described broadcasted application management information, relevant broadcasts application software package download information can be obtained.Using this kind of
Mode, can be operated to the software download of broadcasted application and management with unified described broadcasted application management information, only need
Safeguard a set of described broadcasted application management information, the consumption of transmission can be saved, facilitate the management of broadcasted application.
205:By the application management module of Android platform, described application is carried out with the application management of Android platform.Described peace
The application management module that the application management module of Zhuo Pingtai carries for Android platform, can be by active manager (activity
Manager) form with package manager (packet manager), realize system and user to the broadcasted application run on platform
Management, including the installation of application, life cycle management etc..Same in management broadcasted application in the application management module of Android platform
When, non-broadcasting application is normally managed, that is, for the application management module of Android platform, broadcasted application and non-broadcasting should
With as broad as long.Therefore, this Android platform download with manage broadcasted application method can preferably compatible existing application, and
And the change to Android platform itself for the minimizing, realize modularization management, the module realizing the inventive method is upgraded in Android platform
Continuation to Android platform is supported afterwards.Using the existing manager of Android platform is as much as possible, application is managed simultaneously,
Software development complexity can be reduced, reduce the information content safeguarded during system operation, reduce system operation broadcasted application simultaneously
The calculating of the system of Shi Zhanyong and storage resource.
Using this kind of mode, can be with unified described broadcasted application management information to the software download of broadcasted application and pipe
Reason is operated it is only necessary to be safeguarded a set of described broadcasted application management information, can save the consumption of transmission, facilitate broadcasted application
Management.
Referring to Fig. 3, the second invention manages module diagram.
301:Second management module includes extracting the control information module related to broadcasted application, directive generation module, in advance
If rule and broadcasted application running status maintenance module.Described second management module accepts described broadcasted application management information, with
The application management mould of Android platform is controlled to broadcasted application soon jointly, and broadcasted application running status maintenance module obtains simultaneously
And safeguard broadcasted application running status.
Extract the control information module 303 related to broadcasted application and accept broadcasted application management information 302, and from information
Obtain the related control information of broadcasted application.
Directive generation module 304 obtains the broadcasted application correlation that the related control information module 303 of broadcasted application obtains
The broadcasted application running state information of control information, preset rules 305 and broadcasted application running status maintenance module 306, generates
Job sequence.Described response control job sequence refers to call Android platform for assuring to manage with life cycle management control instruction
Application management module 307, by Android platform application management module 307 interface response, control broadcasted application, for other control
Job sequence processed, is directly responded by broadcasted application 308, directly broadcasted application 308 is controlled.
Meanwhile, broadcasted application running status maintenance module 306 obtains the state of broadcasted application 308, safeguards and updates broadcast
The state of application 308, and broadcasted application status data is supplied to directive generation module 304.
Described broadcasted application management information 302 includes all information, rather than job sequence, so can make various terminals
Platform generates personalized job sequence according to the feature of respective platform and run time behaviour, strengthens broadcasted application to terminal platform
The adaptability of diversity when diversity and operation.
The application management module that the application management module of described Android platform carries for Android platform, can be by activity management
Device (activity manager) and package manager (packet manager) composition, realize mounting platform operating system and user
Management to the application running on platform, including the abnormality processing of application, memory management, installs software kit, life cycle management
Deng.While the application management module management broadcasted application of Android platform, other application is normally managed, that is, for
The application management module of Android platform, the management of broadcasted application other application is as broad as long.Therefore, the method can compatible non-broadcasting
Application, and reduce the change to Android platform itself, realize modularization management, the module realizing the inventive method is put down in ARIXTRA
After platform upgrading, the continuation of Android platform is supported, using the existing manager of Android platform is as much as possible, application is carried out simultaneously
Management, it is possible to reduce software development complexity, reduce system operation when safeguard information content, simultaneously reduce system operation broadcast
The calculating of the system taking during application and storage resource.
Before package manager interaction, necessary process can be carried out to the software kit downloaded, including decompression, form turns
Change, virtual machine technique or by the technology such as interface module, enable Android platform to support described broadcasted application.
Referring to Fig. 4, broadcasted application management information is obtained by bilateral network passage.
Terminal 401 pre-saves the address of download server 402, during start or running status 403, execution
Step 404:Ask the download information of XML signaling file by udp protocol to download server 402;
Step 405:Download server 402 returns version number and the download path of XML signaling file by udp protocol;As
Fruit terminal 401 does not still have XML signaling file or the XML signaling fileversion number of terminal 401 preservation to return with download server 402
The version number of the XML signaling file returning is different, execution
Step 406:Terminal 401 sends, to download server 402, the request downloading XML signaling file by http protocol;
Step 407:Download server 402 returns XML signaling file by http protocol.
Referring to Fig. 5, broadcasted application management information is obtained by broadcast channel.
In this embodiment, according to PSI/SI protocol specification, the broadcasted application management information obtaining from broadcast channel is should
With information table (AIT), application information table (AIT) is corresponding with specific broadcast channel.One frequency band may transmit multiplex broadcasting program,
But a channel only passes through a frequency band transmission data.When user watches certain broadcast program, can determine this broadcasting channel
The information such as frequency and symbol rate, in the case, the step obtaining application information table (AIT) corresponding with target broadcast channel is excellent
Elect as:
Step 501:Lock onto target frequency, that is, identify the information of target frequency in channel;;
Step 502:The broadcast data code stream of locking frequency is demultiplexed, filters out the target code stream of PAT;
Step 503:Parsing Program Association Table PAT (Program Association Table), obtains the position letter of PMT
Breath, and the PID Packet Identifier pid (Packet IDdentifier) according to current channel, filter out target program map pmt table
(Program Map Table);Program Association Table PAT defines all business in TS, and business information to be searched must be from PAT
Begin, it includes a complete list of all business in TS, each business has one to have service number and right in PAT
Answer the entry of pid value, corresponding PMT bag can be found according to the PID of business, by provide in pat table;Pid can find
PMT, obtains the PID of the related data of all business in current transmission data flow, and then obtains relevant information.
Step 504:Parsing PMT, obtains stream_type (stream type mark) field information, obtains according in step 504
Stream_type (stream type mark) information and AIT table_id (table identifier), filter out intended application information table
AIT(application information table).
If meeting a series of conditions referring to Fig. 6 preset rules, produce fixing control instruction.A kind of possible pre-
If regular embodiment:
If met
Condition 601:When user selects new broadcasting service, such as change television channel, automatically parse new broadcast service
Business;And meet
Condition 602:If now there being the current application related to old broadcasting service running;And meet
Condition 603:Current application is not bound with old broadcasting service;And meet
Condition 604:Current application is not controlled by new broadcasting service;
Then produce the control instruction destroying current application.
Referring to the alternatively possible preset rules of Fig. 7 it is:
If met
Condition 701:This business has broadcasted application management information to update, and does not change channel and TV programme change, example
As being changed into advertisement or talent competition from TV play, now broadcasted application management information can accordingly update;And meet
Condition 702:Broadcasted application is had to run;And meet
Condition 703:Broadcasted application management information after this broadcasted application is not updated controls;
Then produce the control instruction killing this broadcasted application.
Referring to a kind of specific embodiment of possible directive generation module of Fig. 3 it is:
Step 1:When broadcasting service corresponding broadcasted application management information updates, the TV programme of such as same channel are from electricity
Regard drastic change as, during advertisement, broadcasted application management information 302 updates, extract the control information module 303 related to broadcasted application and carry
Take and keep in the information related to new broadcasting service;
Step 2:Directive generation module 304 is currently running from broadcasted application running status maintenance module 306 acquisition
The information of application APP1;
Step 3:Directive generation module 304 obtains APP1 not from the extraction control information module 303 related to broadcasted application
Controlled by new broadcasting service corresponding broadcasted application management information;
Step 4:From preset rules 305 inquiry, directive generation module 304 learns that the corresponding control command of this thing is to kill to work as
Front application;
Step 5:Directive generation module 304 sends to the first management module 307 and kills the control instruction of APP1, and APP1 is subject to the
The order of one management module 307, switchs to backstage operation suspension state, in case being waken up in the future;
Step 6:Directive generation module 304 obtains broadcast phase from the extraction control information module 303 related to broadcasted application
Close application APP2, and the Mode Control Code of APP2 is AUTOSTART;
Step 7:From preset rules 305 inquiry, directive generation module 304 learns that the corresponding control command of this thing is to start to work as
Front application;
Step 8:Directive generation module 304 sends the control instruction starting APP2 to the first management module.
Referring to a kind of specific embodiment of possible directive generation module of Fig. 3 can also be:
Step 1:When broadcasting service update, such as user when news channel is switched to series channel, broadcasted application pipe
Reason information 302 updates, and extracts the control information module 303 related to broadcasted application and extracts and keep in and new broadcasting service correlation
Information;
Step 2:Directive generation module 304 is currently running from broadcasted application running status maintenance module 306 acquisition
The information of application APP3;
Step 3:Directive generation module 304 obtains APP1 not from the extraction control information module 303 related to broadcasted application
Controlled by new broadcasting service corresponding broadcasted application management information;
Step 4:From preset rules 305 inquiry, directive generation module 304 learns that the corresponding control command of this thing is to destroy to work as
Front application;
Step 5:Directive generation module 304 directly sends to broadcast related application APP3 and destroys order, and release APP3 takies
Resource.
Step 6:Directive generation module 304 obtains broadcast phase from the extraction control information module 303 related to broadcasted application
Close application APP4, and the Mode Control Code of APP4 is AUTOSTART;
Step 7:From preset rules 305 inquiry, directive generation module 304 learns that the corresponding control command of this thing is to start to work as
Front application;
Step 8:Directive generation module 304 sends the control instruction starting APP4 to the first management module.
In a word, the present invention proposes the method and system that a kind of Android platform is downloaded and managed broadcasted application, realizes ARIXTRA and puts down
Platform is to the download of broadcasted application and management;It is an advantage of the current invention that taking full advantage of the application management module of ARIXTRA itself, lead to
Cross terminal system and while application is managed user, extend front end (server) dynamic to the application of terminal operating
Management and controlling soil moist, carry out the second management to user, enrich the application type of Android platform support, have widened Android platform
Suitable application area.
It should be noted last that, above example is only in order to illustrate technical scheme and unrestricted.Although ginseng
According to embodiment, the present invention is described in detail, it will be understood by those within the art that, the technical side to the present invention
Case is modified or equivalent, and without departure from the spirit and scope of technical solution of the present invention, it all should be covered in the present invention
Right in the middle of.
Claims (10)
1. a kind of method downloaded with controlling broadcasted application based on Android platform, methods described comprises:
Step 101) obtain broadcasted application management information;
Step 102) control information related to broadcasted application is extracted based on broadcasted application management information, and described broadcasted application phase
The control information closed is the subset of broadcasted application management information;
Step 103) based on the current running state information of broadcasted application, extract the control information related to described broadcasted application
And default rule generates control instruction;
Step 104) when control instruction is to install or during life cycle management, assure reason by what Android platform was distributed in this instruction
Device and active manager, carry out corresponding operating by package manager and active manager to broadcasted application;When control instruction is other
During type instruction, directly corresponding broadcasted application is controlled according to this command operating;
Wherein, described preset rules are:For producing the set of circumstances that during each control instruction, each broadcasted application must is fulfilled for,
Described control instruction comprises:" destruction " or " killing ".
2. downloading and control the method for broadcasted application it is characterised in that institute based on Android platform according to claim 1
State step 101) comprise further:
Step 101-1) obtain by way of radio network, bilateral network or radio network and bilateral network share to be installed
Broadcasted application software kit;
Step 101-2) broadcasted application management information is obtained by radio network, bilateral network;
Wherein, if obtaining described broadcasted application management information by broadcast channel, described broadcasted application management information is should
With information table, if obtaining described broadcasted application management information by bilateral network, described broadcasted application management information is XML
The application information table of form encapsulation.
3. downloading and control the method for broadcasted application it is characterised in that institute based on Android platform according to claim 1
State step 101) comprise further:
Step 101-a) respective broadcast application management information is obtained by radio network, bilateral network;
Step 101-b) extract relevant broadcasts application software package informatin from broadcasted application management information, this software kit information includes
The downloading mode of relevant broadcasts application and corresponding download information, if broadcasted application software kit is downloaded by broadcast approach, under
Information carrying breath can comprise the ID of primitive network ID, transmitting stream ID and transmission connection business, realizes under broadcasted application software kit
Carry;If downloading broadcasted application software kit by bilateral network approach, download information can comprise broadcasted application software kit
URL information;
Step 101-c) according to broadcasted application software kit information acquisition broadcasted application software kit to be installed;
Wherein, if obtaining described broadcasted application management information by broadcast channel, described broadcasted application management information is should
Use information table AIT, if obtaining described broadcasted application management information by bilateral network, described broadcasted application management information is
Application information table AIT of XML format encapsulation.
4. the method downloaded with controlling broadcasted application based on Android platform according to Claims 2 or 3, its feature exists
In, when by bilateral network obtain broadcasted application management information when comprise the steps of:
Terminal pre-saves the address of download server, for executing from server during start or running status when terminal
Download broadcasted application management information;
Terminal passes through udp protocol to the download information downloading server request XML signaling file;
Download server returns version number and the download path of XML signaling file by udp protocol;If terminal does not still have XML
The version number of the XML signaling file that the XML signaling fileversion number of signaling file or terminal preservation is returned with download server
Difference, then enter the management information that broadcasted application is downloaded in next step execution, otherwise stops execution and downloads broadcasted application management letter
The step of breath;
Terminal sends, to download server, the request downloading XML signaling file by http protocol, and then download server is passed through
Http protocol returns the XML signaling file comprising application management information.
5. the method downloaded with controlling broadcasted application based on Android platform according to Claims 2 or 3, its feature exists
In, when terminal by broadcast channel obtain application management information when comprise the steps of:
Lock onto target frequency, that is, identify the information of target frequency in channel;
The broadcast data code stream of locking frequency is demultiplexed, filters out the target code stream of Program Association Table PAT;
Parsing Program Association Table PAT, obtains the positional information of Program Map Table PMT, and the PID Packet Identifier according to current channel
Pid, filters out the Program Map Table PMT of target;
Parsing Program Map Table PMT, obtains stream type identification field information, according to the stream type identification information obtaining and application letter
The table identifier of breath Table A IT, filters out intended application information table AIT, that is, obtains the management information of broadcasted application.
6. downloading and control the method for broadcasted application it is characterised in that institute based on Android platform according to claim 1
State package manager and active manager broadcasted application is installed respectively and life cycle management operation.
7. downloading with the method controlling broadcasted application it is characterised in that working as based on Android platform according to claim 6
When instruction is distributed to the package manager of Android platform and carried out installation process, also the broadcasted application software downloaded is located as follows in advance
Reason:Decompression or form conversion.
8. a kind of downloading and the system controlling broadcasted application based on Android platform, described system comprises:
Data obtaining module is for obtaining broadcasted application package data and broadcasted application management information or wide based on obtain
Broadcast application management information and extract broadcasted application package data;
Control information extraction module, for the control information related to broadcasted application is extracted based on broadcasted application management information, and
The related control information of described broadcasted application is the subset of broadcasted application management information;
Directive generation module, for the running state information current based on broadcasted application, extract related to broadcasted application
Control information and default rule generate control instruction;
Instruction execution distribution performing module, for when control instruction is installation or life cycle management, this instruction being distributed
Package manager to Android platform and active manager, are accordingly grasped to broadcasted application by package manager and active manager
Make;When control instruction is other type instruction, directly corresponding broadcasted application is controlled according to this command operating;
Wherein, described preset rules are:For producing the set of circumstances must being fulfilled for during each control instruction, described control
Instruction comprises:" destruction " or " killing ";Described broadcasted application management information is corresponding to a broadcasted application, for controlling and managing
One broadcasted application of reason;Or shared by multiple broadcasted application, control multiple broadcasted application simultaneously;Or comprise common portion and privately owned
Part, common portion is used for controlling multiple applications, and privately owned part is respectively intended to control multiple applications.
9. downloading and control the system of broadcasted application it is characterised in that institute based on Android platform according to claim 8
System of stating also comprises:Broadcasted application running status maintenance module, for gathering and safeguarding the fortune of each broadcasted application of current time
Row status information, and the status information safeguarded of described broadcasted application running status maintenance module exports and generates mould to instruction
Block.
10. according to claim 8 based on Android platform download with control broadcasted application system it is characterised in that
The package manager of described Android platform and active manager are carried out to broadcasted application also by receive user operation and system operatio
Control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310037445.2A CN103974124B (en) | 2013-01-30 | 2013-01-30 | Method and system for downloading and managing broadcast applications and based on android platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310037445.2A CN103974124B (en) | 2013-01-30 | 2013-01-30 | Method and system for downloading and managing broadcast applications and based on android platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103974124A CN103974124A (en) | 2014-08-06 |
CN103974124B true CN103974124B (en) | 2017-02-08 |
Family
ID=51243084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310037445.2A Expired - Fee Related CN103974124B (en) | 2013-01-30 | 2013-01-30 | Method and system for downloading and managing broadcast applications and based on android platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103974124B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104244082A (en) * | 2014-09-28 | 2014-12-24 | 深圳国微技术有限公司 | Digital video broadcasting transport stream playing method and system and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127846A (en) * | 2006-07-14 | 2008-02-20 | Lg电子株式会社 | Method of controlling data broadcast and data broadcast receiver |
CN102131103A (en) * | 2011-01-27 | 2011-07-20 | 苏州汉辰数字多媒体有限公司 | GoogleTV-based 'Internet television' management platform for radio and TV |
WO2012102134A1 (en) * | 2011-01-25 | 2012-08-02 | ソニー株式会社 | Reception device, reception method, supply device, supply method, program, and broadcast system |
CN102830996A (en) * | 2012-08-08 | 2012-12-19 | 广东欧珀移动通信有限公司 | Fast boot method of handheld device |
CN102855148A (en) * | 2012-08-02 | 2013-01-02 | 广东欧珀移动通信有限公司 | Android-based startup management method |
-
2013
- 2013-01-30 CN CN201310037445.2A patent/CN103974124B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101127846A (en) * | 2006-07-14 | 2008-02-20 | Lg电子株式会社 | Method of controlling data broadcast and data broadcast receiver |
WO2012102134A1 (en) * | 2011-01-25 | 2012-08-02 | ソニー株式会社 | Reception device, reception method, supply device, supply method, program, and broadcast system |
CN102131103A (en) * | 2011-01-27 | 2011-07-20 | 苏州汉辰数字多媒体有限公司 | GoogleTV-based 'Internet television' management platform for radio and TV |
CN102855148A (en) * | 2012-08-02 | 2013-01-02 | 广东欧珀移动通信有限公司 | Android-based startup management method |
CN102830996A (en) * | 2012-08-08 | 2012-12-19 | 广东欧珀移动通信有限公司 | Fast boot method of handheld device |
Non-Patent Citations (2)
Title |
---|
"Android操作系统与数字电视中间件的对比分析";陈德林,赵良福,王颖;《 广播与电视技术》;20120131;第87-91页 * |
"中国数字电视的统一业务平台";崔俊生,邓向冬;《 广播与电视技术 》;20100430;第386-391页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103974124A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103999450B (en) | Receiving device, method of reseptance, program and information processing system | |
CN104012102B (en) | Receiving device, method of reseptance, sending device and sending method | |
CN103765912B (en) | Reception device, method of reseptance and information processing system | |
CN102843589A (en) | Intelligent advertisement insertion system and intelligent advertisement insertion method | |
CN101827250B (en) | Implementation method and system of interactive business of mobile terminal television | |
CN107210828A (en) | Broadcast singal dispensing device, broadcast receiver, broadcast singal sending method and broadcast signal received method | |
CN103841453B (en) | Method for achieving OTT playing through IPTV non-intelligent set top box | |
CN104091287B (en) | A kind of task implementation method and device based on data-driven | |
CN101212643B (en) | One-way CATV network based interactive VOD system and method | |
CN104221395A (en) | Information processing device, information processing method, and information processing system | |
JP2003502920A (en) | Automatic control of broadcast and interactive application execution to maintain synchronization with broadcast programs | |
MX2015004730A (en) | Apparatus and method for processing an interactive service. | |
CN101207805A (en) | Method and system for transmitting flow media by P2P set-top box technique | |
CN101980522A (en) | Method for realizing video advertisement based on digital set top box boot | |
CN105100832A (en) | Multimedia resource pushing method and device | |
CN101431655A (en) | Method for implementing zone control of digital television | |
CN103248712B (en) | A kind of electronic multimedia screen radio hookup management method and system | |
DE112013004029T5 (en) | Apparatus and method for processing an interactive service | |
CN102196314A (en) | System and method for realizing streaming media transmission by using peer-to-peer (P2P) set-top box | |
CN102821015A (en) | Method and system for realizing mutual control of multimedia terminals in home | |
CN109120963A (en) | A kind of multi-screen display method based on single display screen, storage medium and system | |
US8732762B2 (en) | Information providing apparatus, information acquisition terminal, broadcast reception terminal, information providing system, information providing method and program | |
CN100410878C (en) | Apparatus and method for making conditional execution decision related to received services and creating information and message related to the received services and relative products thereof | |
CN103974124B (en) | Method and system for downloading and managing broadcast applications and based on android platform | |
CN101035246B (en) | Bidirectional service trigger method and digital TV system with the bidirectional service trigger |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170208 Termination date: 20200130 |