CN101094310A - Method, application, and device for changing application states in multiple current services - Google Patents

Method, application, and device for changing application states in multiple current services Download PDF

Info

Publication number
CN101094310A
CN101094310A CNA2006100904124A CN200610090412A CN101094310A CN 101094310 A CN101094310 A CN 101094310A CN A2006100904124 A CNA2006100904124 A CN A2006100904124A CN 200610090412 A CN200610090412 A CN 200610090412A CN 101094310 A CN101094310 A CN 101094310A
Authority
CN
China
Prior art keywords
application
data base
location
application data
top box
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.)
Granted
Application number
CNA2006100904124A
Other languages
Chinese (zh)
Other versions
CN100558142C (en
Inventor
陈莉
姚立哲
侯伟奕
颜俊贤
马伟
杨宜镇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006100904124A priority Critical patent/CN100558142C/en
Publication of CN101094310A publication Critical patent/CN101094310A/en
Application granted granted Critical
Publication of CN100558142C publication Critical patent/CN100558142C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The key feature of the invention is: the set-top box locates the application whose state needs to be changed. The set-top box pre-creates the location management database and application database; when receiving the state-changing command from outside, the set-top box gets the location ID and application ID according to the state-changing command; according to the database ID and application ID, enquiring the application database to get the application attribute in the application information; according to the application attribute, changing the application state.

Description

A kind of method, application and device that changes application state in a plurality of current service
Technical field
The present invention relates to the set-top box application technology, particularly relate to a kind of method, application and device that changes application state in a plurality of current service.
Background technology
Along with the development of digital television techniques, operator can provide abundant in content service to the user by server, as TV programme etc., also can to the user provide independently or with the application of service binding.Application described here just be meant between server and the user can be mutual small routine, such as the trivial games during race guess, opinion poll, the advertisement etc.
Fig. 1 has shown the basic block diagram that realizes the system of application.As shown in Figure 1, this system comprises: server, user input device, set-top box.Wherein, server is mainly used in provides service and application; User input device is mainly used in to the control command of set-top box transmission at certain application; Set-top box then mainly is responsible for the realization and the management of application.
Set-top box is to realize key in application equipment, comprising: hardware, run on operating system, the set-top box middleware on the operating system on the hardware, run on the application program on the set-top box middleware layer.In order to shield the otherness between different hardware platforms and the operating system, satisfy the requirement of professional cross-platform and operating system, and realize easily having produced the set-top box middleware under the situation of requirement of new business customization and upgrading.Generally comprise application manager, application data base creative management module, application data library module on the middleware among the present invention at least.When server provides certain when service to the user, application data base is created application data base in the application data library module, and the application message of all application in will serving is kept in the application data base.Described application message generally comprises: information such as application identities symbol, application controls symbol, apply property.After this, server or user input device just can be controlled certain application by state change order.State described here changes order and comprises information such as command type and application ID.When the command type value was " startup ", this state changed order and is actually starting command, and application manager will start and use the corresponding application of ID, and this application will be in running status, i.e. the started state.In the practical application, the command type value can also be " time-out ", " restarting ", " stopping " etc., corresponding state change order is pause command, reset command and ceases and desist order, and carries out the state of using behind the mentioned order and then should be time-out (paused) state, operation (started) state mutually and stop (destroyed) state etc.
In general, when application is activated, stops, or between starting and stopping, suspending repeatedly and when restarting, use and all will change over another state, promptly realize the change of application state from a kind of state.The basic thought of realizing application state change method is: application manager changes order according to the state from server or user input device, the inquiry application data base is determined the application message of current application, and from the application message of determining, obtain apply property, realize the change of application state again according to apply property.
In the prior art, a set-top box is only mated with a Digital Television, and the general content that only presents a service to the user of Digital Television.That is to say, can only store the application message of using in the Digital Television current service in the application data base of set-top box, can only realize at the application of current service using the change of state.
And in actual applications, set-top box may be simultaneously and a plurality of Digital Television coupling, perhaps with a Digital Television in a plurality of screens couplings, as many pictures Digital Television.That is to say that server may issue a plurality of services to a set-top box simultaneously, also may comprise a plurality of application in each service.In this case, because prior art can only realize the change of application state at the application in the service, obviously can't realize and manage the application in a plurality of services.
This shows that if server provides a plurality of services by set-top box simultaneously to the user, prior art also can't realize the change to application state in a plurality of current service.
Summary of the invention
In view of this, the present invention mainly contains three goals of the invention: (1) provides a kind of method that changes application state, can issue simultaneously to set-top box under the situation of a plurality of services at server, effectively the state of using in a plurality of current service is changed; (2) provide a kind of application process that changes application state, can issue simultaneously to set-top box under the situation of a plurality of services, can manage the life cycle of using in a plurality of current service effectively at server; (3) provide a kind of set-top box that changes application state, can issue simultaneously to set-top box under the situation of a plurality of services, effectively the state of using in a plurality of current service is changed at server.
At first goal of the invention of the present invention, the technical scheme that the present invention proposes is:
A kind of method that changes application state in a plurality of current service, be provided for the location ID of position application, establishment is used to write down the orientation management database of corresponding relation between location ID and the application data base ID, and establishment is used to write down the application data base of application message, described application data base comprises with a plurality of current service uses subdata base one to one, and use the application data base ID that subdata base is provided with indicating self for each, this method may further comprise the steps:
A, obtain location ID and use ID, again according to location ID inquiry orientation management database and determine and locate the corresponding application data base ID of ID according to change order from the state of outside;
B, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and according to the change of apply property realization application state with using ID.
Preferably, described state from the outside changes order and changes order for the state from server or user input device.
Preferably, described state changes order from user input device, and described step a is:
The state that the identification module of a1, set-top box receives from user input device changes order, and changes incident according to state change order generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of a2, set-top box listens to described state and changes incident, obtains location ID and uses ID;
A3, described application manager are according to location ID inquiry orientation management database and definite application data base ID.
Preferably, described location ID is television terminal ID, and described orientation management database is the television terminal management database;
Perhaps,
Described location ID is screen ID, and described orientation management database is the screen management database.
Preferably, described state changes order from server, and described location ID is a service ID, and described orientation management database is the Service Management database.
Preferably, the described set-top box of step a according to the state change order acquisition service ID from server with the method for using ID is:
Server sends the state change that carries service ID and application ID to set-top box and orders, and set-top box directly changes acquisition service ID and application ID the order from state.
Preferably, described orientation management database also comprises the corresponding service ID with location ID,
Described location ID is television terminal ID, and described orientation management database is the television terminal management database; Perhaps,
Described location ID is screen ID, and described orientation management database is the screen management database;
When user input device when the identification module of set-top box sends the handed over service order, this method further comprises:
Z1, identification module again service ID corresponding with location ID in the orientation management database is updated to the service ID that obtains from server in advance, and the generation event attribute comprise the location database update event of locating ID according to the definite location of handed over service order ID;
Z2, application data base creative management module listen to described location database update event, obtain corresponding application data base ID and the service ID with location ID from the orientation management database;
Z3, application data base creative management module are upgraded the pairing application subdata base of application data base ID according to application data base ID and application message, and producing the application data base update event that event attribute comprises application data base ID, described application message is the application message corresponding with service ID that obtains from server in advance;
Z4, application manager listen to the application data base update event, whether have the application that is moving in the application subdata base after judgement is upgraded according to application data base ID, if having, then do not deal with; Otherwise, the application that stops to move according to apply property.
Preferably, this method further comprises: application manager listens to event attribute and comprises that the resource of locating ID lacks incident, inquiry orientation management database is determined the corresponding application data base ID with location ID, inquire about the application subdata base corresponding, determine and stop the minimum application of application message medium priority of described application subdata base with application data base ID.
Preferably, this method further comprises:
The application controls symbol that comprises that x1, set-top box receive from server is the application message of self-starting, and application message is recorded in the application data base;
X2, application manager inquire the application controls symbol and are the application message of self-starting from application data base, start the pairing application of application message according to the apply property in the application message.
Preferably, this method further comprises:
Y1, set-top box receive from the application message of having changed the application controls symbol comprising of server, and upgrade application data base;
Y2, application data base generation state change incident, and the event attribute that described state changes incident comprises application ID and application data base ID;
Y3, application manager listen to the described state of step y2 and change incident, according to application data base ID and application ID inquiry application data base, obtain and use the corresponding application message of ID, and realize that according to the apply property in the application message application controls accords with the change of indicated application state.
Preferably, described state change order is starting command, pause command, reset command or ceases and desist order.
Preferably, described location ID is a service ID, and described orientation management database module is the Service Management database module; Perhaps,
Described location ID is television terminal ID, and described orientation management database is the television terminal management database; Perhaps,
Described location ID is screen ID, and described orientation management database is the screen management database.
At second goal of the invention of the present invention, the technical scheme that the present invention proposes is:
A kind of application process that changes application state in a plurality of current service, it is characterized in that, be provided for the location ID of position application, establishment is used to write down the orientation management database of corresponding relation between location ID and the application data base ID, establishment is used to write down the application data base of application message, described application data base comprises with a plurality of current service uses subdata base one to one, and uses the application data base ID that subdata base is provided with indicating self for each, and this method may further comprise the steps:
A, set-top box obtain location ID and use ID according to the starting command from the outside, again according to locating ID inquiry orientation management database and determining the corresponding application data base ID with location ID;
B, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and start application according to apply property with using ID;
C, set-top box are again according to obtaining location ID and use ID from ceasing and desisting order of outside, according to locating ID inquiry orientation management database and determining the corresponding application data base ID with location ID;
D, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and stop application according to apply property with using ID.
Preferably, described starting command from the outside is the starting command from user input device, and described steps A is:
The identification module of A1, set-top box receives the starting command from user input device, and changes incident according to starting command generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of A2, set-top box listens to described state and changes incident, obtains location ID and uses ID;
A3, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in steps A 1, steps A 2 and the steps A 3 is television terminal ID or screen ID;
Perhaps,
Described starting command from the outside is the starting command from server, and the described set-top box of steps A according to the method that the starting command from server obtains location ID and application ID is:
The starting command that server will carry location ID and application ID sends to set-top box, and set-top box directly obtains location ID and uses ID from starting command, and described location ID is a service ID.
Preferably, described from the ceasing and desisting order to from the ceasing and desisting order of user input device of outside, described step C is:
The identification module reception of C1, set-top box is ceased and desisted order from user input device, and changes incident according to the generation state of ceasing and desisting order, and the event attribute that described state changes incident comprises location ID and application ID;
The application manager of C2, set-top box listens to described state and changes incident, obtains location ID and uses ID;
C3, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in step C1, step C2 and the step C3 is television terminal ID or screen ID;
Perhaps,
Described starting command from the outside is for from the ceasing and desisting order of server, and the described set-top box of step C according to the method that obtains location ID from ceasing and desisting order of server and use ID is:
Server will carry location ID and use ceasing and desisting order of ID and send to set-top box, and set-top box directly obtains location ID and uses ID from cease and desist order, and described location ID is a service ID.
Preferably, further comprise between described step B and the step C:
S1, set-top box obtain to locate ID and use ID according to outside from the beginning pause command, again according to location ID inquiry orientation management database and the definite and corresponding application data base ID of location ID;
S2, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and suspend application according to apply property with using ID.
Preferably, described pause command from the outside is the pause command from user input device, and described step S1 is:
The identification module of S11, set-top box receives the pause command from user input device, and changes incident according to pause command generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of S12, set-top box listens to described state and changes incident, obtains location ID and uses ID;
S13, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in step S11, step S12 and the step S13 is television terminal ID or screen ID;
Perhaps,
Described pause command from the outside is the pause command from server, and the described set-top box of step S1 according to the method that the pause command from server obtains location ID and application ID is:
The pause command that server will carry location ID and application ID sends to set-top box, and set-top box directly obtains location ID and uses ID from pause command, and described location ID is a service ID.
Preferably, further comprise between described step S2 and the step D:
H1, set-top box obtain to locate ID and use ID according to outside from the beginning reset command, again according to location ID inquiry orientation management database and the definite and corresponding application data base ID of location ID;
H2, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and restart application according to apply property with application ID.
Preferably, described reset command from the outside is the reset command from user input device, and described step H1 is:
The identification module of H11, set-top box receives the reset command from user input device, and changes incident according to reset command generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of H12, set-top box listens to described state and changes incident, obtains location ID and uses ID;
H13, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in step H11, step H12 and the step H1 3 is television terminal ID or screen ID;
Perhaps,
Described reset command from the outside is the reset command from server, and the described set-top box of step H1 according to the method that the pause command from server obtains location ID and application ID is:
The reset command that server will carry location ID and application ID sends to set-top box, and set-top box directly obtains location ID and uses ID from reset command, and described location ID is a service ID.
Preferably, when user input device when the identification module of set-top box sends the handed over service order, this method further comprises:
Z1, identification module again service ID corresponding with location ID in the orientation management database is updated to the service ID that obtains from server in advance, and the generation event attribute comprise the location database update event of locating ID according to the definite location of handed over service order ID;
Z2, application data base creative management module listen to described location database update event, obtain the corresponding application data base ID with location ID from the orientation management database;
Z3, application data base creative management module are according to application data base ID and upgrade the pairing application subdata base of application data base ID from the application message of server acquisition in advance, and produce the application data base update event that event attribute comprises application data base ID;
Z4, application manager listen to the application data base update event, whether have the application that is moving in the application subdata base after judgement is upgraded according to application data base ID, if having, then do not deal with; Otherwise, the application that stops to move according to apply property.
Preferably, when application manager listens to event attribute when comprising that the resource of locating ID lacks incident, this method further comprises:
Application manager inquiry orientation management database is determined the corresponding application data base ID with location ID, inquires about the application subdata base corresponding with application data base ID, determines and stop the minimum application of application message medium priority of described application subdata base.
Preferably, this method further comprises:
The application controls symbol that comprises that M1, set-top box receive from server is the application message of self-starting, and application message is recorded in the application data base;
M2, application manager inquire the application controls symbol and are the application message of self-starting from application data base, start the pairing application of application message according to the apply property in the application message.
Preferably, this method further comprises:
N1, set-top box receive from the application message of having changed the application controls symbol comprising of server, and upgrade application data base;
N2, application data base generation state change incident, and the event attribute that described state changes incident comprises application ID and application data base ID;
N3, application manager listen to the described state of step N2 and change incident, according to application data base ID and application ID inquiry application data base, obtain and use the corresponding application message of ID, and realize that according to the apply property in the application message application controls accords with the change of indicated application state.
At the 3rd goal of the invention of the present invention, the technical scheme that the present invention proposes is:
A kind of set-top box that changes application state in a plurality of current service is characterized in that set-top box comprises at least: application manager, application data base creative management module, application data library module, and identification module, orientation management database module, wherein,
Application manager, the state that is used to receive from server changes order, monitor the state change incident that identification module produces, inquiry orientation management database module is also determined application data base ID, inquire about application data base and obtain apply property according to application data base ID, realize the change of application state according to apply property;
Application data base creative management module is used to create application data base;
The application data library module is used to preserve application data base;
Identification module is used to create the orientation management database, and the state that receives from user input device changes order, and the generation state changes incident;
The orientation management database module is used to preserve the orientation management database.
Preferably, this set-top box further comprises:
Explorer is used for detecting the resource operating position in real time, and the generation resource lacks incident when lacking resource;
Described application manager is further used for monitor resource and lacks incident.
In sum, a kind of method, application and device that changes application state in a plurality of current service that the present invention proposes, be provided for the location ID of position application in advance, establishment is used to write down the orientation management database of corresponding relation between location ID and the application data base ID, and establishment is used to write down the application data base of application message, described application data base comprises with a plurality of current service uses subdata base one to one, and the application data base ID of indicating self is set for each application subdata base.When needs to a plurality of current service in application state when changing, set-top box can position this application according to the location ID that receives exactly, obtain application data base ID, determine the apply property of this application from the pairing application subdata base of application data base ID, realize using the change of state according to apply property again.
Description of drawings
Fig. 1 is a basic structure schematic diagram of realizing the system of application;
Fig. 2 is the present invention program's a flow chart;
Fig. 3 is a flow chart of using the present invention program's method embodiment one;
Fig. 4 is a flow chart of using the present invention program's method embodiment two;
Fig. 5 is a flow chart of using the present invention program's method embodiment three;
Fig. 6 is the basic structure schematic diagram that the present invention realizes changing the set-top box of application state.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with the accompanying drawings and the specific embodiments.
Basic thought of the present invention is: earlier the application that will carry out the state change is positioned, and obtain apply property according to the result of location from application data base, realize the change of application state again according to apply property.
Among the present invention, set-top box can realize a plurality of services simultaneously, and a plurality of current service are promptly arranged, and each service can comprise a plurality of application again.In order to realize at first just need from a plurality of services, accurately locating to application to using the change of state.
In the practical application, set-top box realizes the change of using state is comprised two kinds of methods: first method is that set-top box changes according to the state of using from the state change order of server, and described state changes order and carries service ID and use ID; Second method is that set-top box is carried out the change of application state according to the state change order from user input device.
For second method, user input device changes order to the set-top box transmit status and comprises two kinds of situations again: first kind of situation is that set-top box provides service and application for a plurality of Digital Television simultaneously, each Digital Television all has the user input device of self, can change order to the set-top box transmit status separately, described state changes order and carries television terminal ID and use ID; Second kind of situation is that set-top box provides a plurality of services and application for picture more than or multi-screen Digital Television simultaneously, all screens can a shared user input device, this user input device can change order to the state that set-top box sends at certain screen, and described state changes order and carries screen ID and use ID.Certainly, in the practical application, a plurality of Digital Television are the shared same user input device of possibility also, and the Digital Television of a multi-screen also may be respectively each screen and is equipped with different user input devices, distinguish this state the order to change order be at which television terminal or screen as long as set-top box can change from state.
Obviously, the method for position application has three kinds from a plurality of services: (1) positions according to service ID and application ID; (2) position according to television terminal ID and application ID; (3) position according to screen ID and application ID.Because service ID, television terminal ID and screen ID can position application, so the present invention is referred to as location ID with it.
Among the present invention, set-top box provides service for a plurality of Digital Television or multi-screen Digital Television simultaneously and uses, and certain service is being used in all corresponding certain service of each Digital Television or screen in other words.The present invention has created one for each Digital Television or screen and has used subdata base, is used for writing down the application message of all application of service that this Digital Television or screen using.Described application subdata base can identify with application data base ID, and all application subdata bases have just constituted a complete application data base.In addition, because there is the application message of a plurality of application in subdata base, these application messages can identify with the application ID that is provided with.
In order according to location ID and application ID application to be positioned, the present invention also needs to create an orientation management database, is used to write down the corresponding relation between location ID and the application data base ID.When location ID was service ID, described orientation management database was the Service Management database, promptly is used to write down the corresponding relation between service ID and the application data base ID; When location ID was television terminal ID, described orientation management database was the television terminal management database, promptly is used for the corresponding relation between record television Termination ID and the application data base ID; When location ID was screen ID, described orientation management database was the screen management database, promptly is used to write down the corresponding relation between screen ID and the application data base ID.Certainly, because in the practical application, state changes order and promptly can be sent by server, also can send by user input device, can be set to Service Management database and the unified orientation management database of television terminal management database by the orientation management database, perhaps the orientation management database is set to Service Management database and the unified orientation management database of screen management database.
Fig. 2 has shown the present invention program's flow chart.As shown in Figure 2, the present invention realizes that the method that application state changes may further comprise the steps:
Step 201: set-top box changes order according to the state from the outside and obtains location ID and use ID.
State described here changes order and just is meant that the state from server changes order, or changes order from the state of user input device.
Step 202:, and determine corresponding application data base ID with location ID according to location ID inquiry orientation management database.
Step 203:, obtain the apply property in the application message corresponding, and realize the change of application state according to apply property with using ID according to application data base ID and application ID inquiry application data base.
In the practical application, application message generally comprises: the information such as application state of application identities symbol, application controls symbol, apply property, application priority, application proxy.When set-top box inquires apply property, apply property can be changed function parameters as calling application proxy state, thereby realize the change of application state.Described application proxy is that the interface provide is provided, order such as can finish startup, suspend, restart, stop.How to realize that as for application proxy various application states changes then belong to prior art, no longer are described in detail herein.
Method embodiment one
In the present embodiment, set-top box provides service for 5 Digital Television simultaneously, and 5 services promptly are provided simultaneously; Comprise 3 application in each service; Set-top box has been created application data base and service management database; Wherein, application data base comprises that 5 are used subdata base, and each is used subdata base and identifies with application data base ID number, has write down the application message of all application in each service of using; In addition, the Service Management data-base recording corresponding relation between 5 service ID and the application data base ID.In the present embodiment, the form of application data base record application message can be as shown in Table 1.
Application data base ID Use the application message of ID=1 Use the application message of ID=2 Use the application message of ID=3
1
2
...
5
Table one
In the present embodiment, Service Management database form can be as shown in Table 2.
Service ID Application data base ID
10 1
11 2
12 3
13 4
14 5
Table two
Fig. 3 has shown the flow chart of present embodiment.As shown in Figure 3, present embodiment realizes that the method that application state changes may further comprise the steps:
Step 301: server sends the state change order that carries service ID and application ID to the application manager of set-top box, and application manager is directly ordered according to the state change that receives and obtained service ID and use ID.
Step 302: application manager obtains the application data base ID corresponding with service ID according to service ID inquiry service management database.
Step 303: application manager obtains the apply property in the application message corresponding with application data base ID according to the application data base ID inquiry application data base that obtains.
Step 304: application manager calls application proxy state according to the apply property that obtains and changes function, realizes the change of application state.
In the practical application, also comprise command type in the state change order.Such as: server will carry command type for start, the service ID value is 10, use ID value is that 2 state changes and orders when sending to the application manager of set-top box, application manager inquiry service management database, obtaining with the service ID value is 10 corresponding application data base ID, and promptly value is 1 application data base ID; Application data base is 1 an application data base ID inquiry application data base according to value again, and is to obtain apply property 2 the application message from using the ID value; Afterwards, application manager calls application proxy according to the apply property that obtains and starts function, and promptly start () function realizes starting the 2nd application aims in the 10th service.
In the practical application, the command type that state changes in the order can also be for suspending, restart, stop etc., and its implementation is similar to above-mentioned startup method, repeats no more herein.
Certainly, in the practical application, server can repeatedly change order to the different state of the application manager transmission of set-top box, such as: after set-top box sends starting command, can also suspend repeatedly and reset command, send at last and cease and desist order, application manager then changes order according to the state that receives and calls pause (), resume (), destroy () function successively, reaches to change the purpose that application state changes.
Method embodiment two
In the present embodiment, set-top box provides service and application to 5 Digital Television simultaneously, and 5 services promptly are provided simultaneously; Comprise 3 application in each service; Set-top box has been created application data base and television terminal management database; Wherein, application data base comprises that 5 are used subdata base, and each is used subdata base and identifies with application data base ID number, has write down the application message of all application in each service of using; In addition, the television terminal management data-base recording television terminal ID of 5 Digital Television and the corresponding relation between the application data base ID.
In the present embodiment, the form of application data base still as shown in Table 1, the form of television terminal management database is as described in the table three.
Television terminal ID Application data base ID
1 1
2 2
3 3
4 4
5 5
Table three
Fig. 4 has shown the flow chart of present embodiment.As shown in Figure 4, present embodiment is realized the method that the application state changes be may further comprise the steps:
Step 401: the state that the identification module of set-top box receives from user input device changes order.
In the practical application, user input device can be determined by using user of the present invention voluntarily to the form that the set-top box transmit status changes order, such as being level signal or light signal, as long as the identification module of set-top box can change order by status recognition.
In general, need in the practical application television terminal ID of indicating self to be set in advance each Digital Television.When the user input device of certain Digital Television when identification module sends the level signal that comprises television terminal ID and use information such as ID or light signal, identification module just can identify television terminal ID and application ID by decoding circuit.Certainly, described level signal or light signal also comprise the Status Type that will arrive, such as: started state, pause state, destroy state etc., identification module can be determined the state that application will reach according to Status Type.
In the practical application, television terminal and user input device need be undertaken alternately by a port and set-top box, are one to one between television terminal and this port, and identification module not only can be discerned television terminal ID, also can discern corresponding port ID with it.So, in the practical application, both can come position application with the TV Termination ID, also can come position application with port id, promptly can create the Port Management database and write down corresponding relation between port id and the application data base ID.
Step 402: identification module changes order generation state according to state and changes incident, and the event attribute that described state changes incident comprises television terminal ID and uses ID.
In the practical application, identification module can comprise hardware identification module and software identification module.Wherein, the hardware identification module can identify from the level signal of user's input equipment or the information in the light signal, the software identification module then changes incident according to the information generation state that the hardware identification module identifies, the attribute of incident comprises television terminal ID, the Status Type that will reach, uses ID etc., and level signal or light signal are converted to the incident that software program can be discerned and handle in the set-top box.The incident that level signal or light signal is converted into as for how is then relevant with operating system of set-top box low layer etc., and its process more complicated no longer is described in detail herein.
Step 403: the application manager of set-top box listens to described state and changes incident, obtains television terminal ID and uses ID.
In the practical application, the application manager of set-top box can be monitored the state change incident that identification module produces, and can obtain television terminal ID and use ID from event attribute.How to realize monitoring the incident that produces in the identification module as for application manager and belong to prior art, repeat no more herein.
Step 404: application manager obtains the application data base ID corresponding with television terminal ID according to television terminal ID inquiry television terminal management database.
Step 405: application manager obtains the apply property in the application message corresponding with using ID according to the application data base ID inquiry application data base that obtains.
Step 406: application manager calls application proxy state according to apply property and changes function, realizes the change of application state.
Step 404 in the present embodiment~step 406 is similar to the step 302~step 304 among the embodiment one, repeats no more herein.
In the practical application, if set-top box provides a plurality of services and application for a multi-screen Digital Television, its method that realizes the application state change is similar to present embodiment, its difference only is that the orientation management database no longer is the television terminal management database, but the screen management database of corresponding relation between record screen ID and the application data base ID.When set-top box receive change order from the state of user input device after, application manager will be according to the screen ID query screen management database that obtains, and the acquisition application data base ID corresponding with screen ID, inquire about application data base again and obtain apply property, realize the change of application state then.
The present invention also proposes a kind of application process that can change application state, promptly the life cycle of using in a plurality of current service is managed.
The life cycle of using comprises the process that stops from starting to, and also may exist to suspend and restart between starting and stopping.In the practical application, application is started, suspends, restarts and stop and can being controlled by server, also can control, perhaps respectively by server and user input device control by user input device.
Method embodiment three
In the present embodiment, set-top box provides service and application to 5 Digital Television simultaneously, and 5 services promptly are provided simultaneously; Comprise 3 application in each service; Set-top box has been created application data base and television terminal management database; Wherein, application data base comprises that 5 are used subdata base, and each is used subdata base and identifies with application data base ID number, has write down the application message of all application in each service of using; In addition, the orientation management database, i.e. television terminal management database has write down the corresponding relation between the television terminal ID, service ID, application data base ID of 5 Digital Television.
In the present embodiment, the method for creating the television terminal management database is: the identification module of set-top box is created the television terminal management database according to the television terminal number, and each television terminal ID number is recorded in this database; Application data base is created application data base according to the television terminal number that identification module sends, and comprises the application subdata base in the described application data base, and it is corresponding one by one with television terminal ID to use subdata base ID number; The application message of using in a plurality of current service that application data base will obtain in advance is recorded in the application corresponding subdata base, the service ID that obtains in advance is recorded in the application corresponding subdata base, and the corresponding relation between application data base ID and the service ID is recorded in the television terminal management database.
In the present embodiment, the form of application data base still as shown in Table 1, and the television terminal management database is as shown in Table 4.
Television terminal ID Service ID Application data base ID
... ... ...
Table four
Fig. 5 has shown the flow process of present embodiment.As shown in Figure 5, present embodiment to the method that the life cycle of using manages is:
Step 501: the identification module of set-top box receives the starting command from user input device, and according to starting command application is started.
In this step, set-top box starts the method for using and is: set-top box changes incident according to starting command generation state, and the event attribute that described state changes incident comprises television terminal ID and uses ID; The application manager of set-top box listens to described state and changes incident, obtains television terminal ID and uses ID; Described application manager is according to television terminal ID inquiry television terminal management database and determine application data base ID; According to application data base ID and application ID inquiry application data base, obtain the apply property in the application message corresponding, and start application according to apply property with using ID.
In the practical application, server also can send to set-top box and start utility command, and its method is: the starting command that server will carry service ID and application ID sends to set-top box, and set-top box directly obtains service ID and uses ID from starting command; Application manager is according to service ID inquiry television terminal management database and determine application data base ID; According to application data base ID and application ID inquiry application data base, obtain the apply property in the application message corresponding, and start application according to apply property with using ID.
In the practical application, after application start, set-top box will be carried out the process of using, such as realizing mutual between user and the server.
Step 502: the identification module of set-top box receives the pause command from user input device, and suspends using according to pause command.
In this step, the method that set-top box realize to suspend is used is similar to step 501, and it distinguishes what only be to carry out is pause command, repeats no more herein.
Step 503: the identification module of set-top box receives the reset command from user input device, and according to starting command application is restarted.
This step is also similar substantially to step 501, just carries out reset command, repeats no more herein.
Step 504: the application manager reception is ceased and desisted order from server, and stops to use according to ceasing and desisting order.
In this step, the method that application manager stops to use is: server will carry service ID and use ceasing and desisting order of ID and send to set-top box, and set-top box directly obtains service ID and uses ID from cease and desist order; Application manager is according to service ID inquiry television terminal management database and determine application data base ID; According to application data base ID and application ID inquiry application data base, obtain the apply property in the application message corresponding, and stop to use according to apply property with using ID.
In the practical application, user input device also can send to set-top box and cease and desist order, and its method is similar to step 501, no longer is described in detail herein.
In a word, no matter server or user input device can start, suspend, restart and stop application, the life cycle of using is managed.Certainly, in the practical application, can also repeatedly application be suspended and restart, i.e. execution in step 502 and step 503 repeatedly.Then determine as for the number of times of carrying out repeatedly by the actual conditions that application is controlled.In the practical application, can to using time-out and restarting, perhaps only to using time-out, not that is to say that execution in step 503 after starting application, perhaps step 502 and step 503 are not carried out yet.
Certainly, in the practical application, set-top box also can provide a plurality of services simultaneously to the Digital Television of a multi-screen, its method is similar substantially to present embodiment, its difference only is that the orientation management database for the corresponding relation between record screen ID, service ID and the application data base ID, no longer is described in detail herein.
The method of Application Example one and embodiment two, set-top box can change according to the state of server or user input device orders the change that realizes application state in a plurality of current service.
Application Example three, set-top box can manage the life cycle of using in a plurality of current service.
In the practical application, the reason that changes application state also comprises following three kinds of situations: (1) server issues application message to set-top box, and described application message comprises the application controls symbol of more correcting one's mistakes.(2) explorer of set-top box generation resource lacks incident.(3) terminal input equipment handed over service sends the handed over service order to set-top box.
For first kind of situation, server provides in the process of service and application to the user, all application in service, the service, application messages of using etc. can be handed down to set-top box, and set-top box then is recorded in application message in the application data base.If set-top box is in the process that realizes certain application, in the process of using in operation, server issues the new application message of this application again to set-top box, and new application message comprises the application controls symbol different with former application message, then server can utilize the change application controls to accord with the state that changes application, and its method is:
The new application message that X1, set-top box will receive is recorded in the application data base, promptly upgrades application data base;
X2, application data base generation state change incident, and its event attribute comprises uses ID and application data base ID;
X3, application manager listen to state and change incident, according to application data base ID and application ID inquiry application data base, obtain and use the corresponding application message of ID, and realize that according to the apply property in the application message application controls accords with the change of indicated application state.
Such as: at server in the application message that set-top box issues, the value of the application controls of the former application message of the 1st application symbol is " self-starting " in the 2nd service, new application controls symbol value is " stopping ", and it is in 2 the application subdata base, promptly to use subdata base for the 2nd that the application message of all application in the 2nd service is kept at application data base ID value.When set-top box changed to " stopping " according to the new application message that receives with the application controls symbol, application data base changed incident with the generation state, and using the ID value in the event attribute of this state change incident is 1, and application data base ID value is 2.Application manager listens to this state and changes incident, inquire about the 2nd application subdata base according to application data base ID and application ID, obtain the apply property of the 1st application, again with the apply property of the 1st application destroy () function as the parameter call application proxy, thereby realize changing the purpose of application state, promptly stop the 1st application in the 2nd service.
In the practical application, application manager is the inquiry application data base in real time.If server has issued the application message of application controls symbol for " self-starting " to set-top box, set-top box is recorded in this application message in the application data base.When application manager inquired application controls symbol for the application message of self-starting, application manager can start corresponding application according to the apply property in this application message, promptly call application proxy start () function
For second kind of situation, explorer can detect the resource operating position in real time in the set-top box, when definite resource is not enough, influences when the user provides the effect of serving or using, can produce resource and lack incident, the event attribute of this incident comprises resource ID and location ID etc.Application manager listens to resource and lacks incident, with inquiry orientation management database and the definite and corresponding application data base ID of location ID, the minimum application of application message medium priority of described application subdata base is determined and stopped to the inquiry application subdata base corresponding with application data base ID again.
How to detect the resource operating position as for explorer, and when resource is not enough, produce resource and lack incident and then belong to prior art, repeat no more herein.
For the third situation,, can cause that also set-top box changes the state of using when user input device sends the handed over service order to set-top box.The form of handed over service order described here is identical to set-top box transmit status change order with user input device, can be level signal or light signal.The method that the handed over service order that set-top box sends according to user input device changes application state is:
Y1, set-top box identification module obtain location ID according to the handed over service order, again service ID corresponding with location ID in the orientation management database is updated to the service ID that obtains from server in advance, and the generation event attribute comprises the location database update event of locating ID.
Location ID described here is television terminal ID or screen ID, described orientation management database is television terminal management database or screen management database, and also comprising corresponding service ID in described television terminal management database or the screen management database, the form of its database is as shown in Table 5.
Television terminal ID or screen ID Service ID Application data base ID
... ... ...
Table five
In the practical application, when handed over service, server can be handed down to set-top box with all application in the service ID of serving, service is corresponding, the service and application message etc., set-top box will be upgraded service ID in television terminal management database or the screen management database according to the service ID that obtains, and produce television terminal management database or screen management database update incident.
The application data base creative management module of Y2, set-top box listens to the location database update event, obtains corresponding application data base ID and the service ID with location ID from the orientation management database.
Y3, application data base creative management module are upgraded the pairing application subdata base of application data base ID according to application data base ID and application message, and producing the application data base update event that event attribute comprises application data base ID, described application message is the application message corresponding with service ID that obtains from server in advance.
Y4, application manager listen to the application data base update event, whether have the application that is moving in the pairing application data base of application subdata base ID after judgement is upgraded according to application data base ID, if having, then do not deal with; Otherwise, the application that stops to move according to apply property.
In the practical application, an application can only be present in the service, promptly binds with service.When service is switched, also need to be stopped with the application of service binding, i.e. the state of this application is changed and is halted state.Application also can exist with a plurality of services in, promptly not with certain service binding.When service was switched, if in the service after switching this application is arranged also, then this application can continue to carry out.
Realize changing the method for application state at the present invention, the present invention also proposes a kind of set-top box that can realize changing application state.
Fig. 6 has shown the inside basic block diagram of set-top box among the present invention.As shown in Figure 6, set-top box comprises: application manager 601, application data base creative management module 602, application data library module 603, and identification module 604, orientation management database module 605, wherein,
Application manager 601, the state that is used to receive from server changes order, monitor the state change incident that identification module 604 produces, inquiry orientation management database module 605 is also determined application data base ID, according to application data base ID inquiry application data library module 603, obtain apply property, realize the change of application state according to apply property;
Application data base creative management module 602 is used to create application data base;
Application data library module 603 is used to preserve the application data base of being created by application data base creative management module 602;
Identification module 604 is used to create the orientation management database, and the state that receives and identifies from user input device changes order, and the generation state changes incident;
Orientation management database module 605 is used to preserve the orientation management database of being created by identification module 604.
The state that set-top box both can receive from server changes order, and the state that can receive again from user input device changes order.If the state that set-top box receives from server changes order, this state changes order and comprises service ID and use ID that what orientation management database module 605 was preserved is the Service Management database that is used to write down corresponding relation between service ID and the application data base ID.If the state that set-top box receives from user input device changes order, this state changes order and comprises television terminal ID or screen ID, also comprise and use ID, what then orientation management database module 605 was preserved is the television terminal management database that is used for corresponding relation between record television Termination ID and the application data base ID, perhaps preserves the screen management database that is used to write down corresponding relation between screen ID and the application data base ID.
When application manager 601 the state that carries service ID and use ID from server of receiving changes order, application manager 601 is according to the Service Management database in the service ID inquiry orientation management database module 605, and definite application data base ID corresponding with service ID; Application manager 601 according to the application data base ID inquiry application data library module of determining 603, obtains and the corresponding apply property of application ID again; Application manager 601 is realized the change of application state again according to the apply property that obtains.
The state that receives and identifies from user input device when identification module 604 changes order, and the generation state changes incident, and the event attribute that described state changes incident comprises application ID and location ID, and the location ID here may be television terminal ID or screen ID; Application manager 601 listens to the state change incident that identification module 604 produces, according to television terminal management database or the screen management database in television terminal ID or the screen ID inquiry orientation management database module 605, determine the application data base ID corresponding with television terminal or screen ID; Application manager 601 according to the application data base ID inquiry application data library module of determining 603, obtains and the corresponding apply property of application ID again; Application manager 601 is realized the change of application state again according to the apply property that obtains.
In the practical application, can also comprise an explorer in the set-top box, be used for detecting the resource operating position in real time, and the generation resource lacks incident when lacking resource; And being further used for monitor resource, described application manager 601 lacks incident.
When explorer generation resource lacks incident, application manager 601 will listen to resource and lack incident, and resource is lacked incident handle, promptly inquire about orientation management database module 605, and definite application data base ID, according to application data base ID inquiry application data library module 603, obtain apply property, realize the change of application state again according to apply property.
In sum, more than be preferred embodiment of the present invention only, be not to be used to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (25)

1, a kind of method that changes application state in a plurality of current service, it is characterized in that, be provided for the location ID of position application, establishment is used to write down the orientation management database of corresponding relation between location ID and the application data base ID, and establishment is used to write down the application data base of application message, described application data base comprises with a plurality of current service uses subdata base one to one, and uses the application data base ID that subdata base is provided with indicating self for each, and this method may further comprise the steps:
A, obtain location ID and use ID, again according to location ID inquiry orientation management database and determine and locate the corresponding application data base ID of ID according to change order from the state of outside;
B, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and according to the change of apply property realization application state with using ID.
2, method according to claim 1 is characterized in that, described state from the outside changes order and changes order for the state from server or user input device.
3, method according to claim 1 is characterized in that, described state changes order from user input device, and described step a is:
The state that the identification module of a1, set-top box receives from user input device changes order, and changes incident according to state change order generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of a2, set-top box listens to described state and changes incident, obtains location ID and uses ID;
A3, described application manager are according to location ID inquiry orientation management database and definite application data base ID.
4, method according to claim 3 is characterized in that, described location ID is television terminal ID, and described orientation management database is the television terminal management database;
Perhaps,
Described location ID is screen ID, and described orientation management database is the screen management database.
5, method according to claim 1 is characterized in that, described state changes order from server, and described location ID is a service ID, and described orientation management database is the Service Management database.
6, method according to claim 5 is characterized in that, the described set-top box of step a changes order acquisition service ID according to the state from server and with the method for using ID is:
Server sends the state change that carries service ID and application ID to set-top box and orders, and set-top box directly changes acquisition service ID and application ID the order from state.
7, method according to claim 1 is characterized in that, described orientation management database also comprises the corresponding service ID with location ID,
Described location ID is television terminal ID, and described orientation management database is the television terminal management database; Perhaps,
Described location ID is screen ID, and described orientation management database is the screen management database;
When user input device when the identification module of set-top box sends the handed over service order, this method further comprises:
Z1, identification module again service ID corresponding with location ID in the orientation management database is updated to the service ID that obtains from server in advance, and the generation event attribute comprise the location database update event of locating ID according to the definite location of handed over service order ID;
Z2, application data base creative management module listen to described location database update event, obtain corresponding application data base ID and the service ID with location ID from the orientation management database;
Z3, application data base creative management module are upgraded the pairing application subdata base of application data base ID according to application data base ID and application message, and producing the application data base update event that event attribute comprises application data base ID, described application message is the application message corresponding with service ID that obtains from server in advance;
Z4, application manager listen to the application data base update event, whether have the application that is moving in the application subdata base after judgement is upgraded according to application data base ID, if having, then do not deal with; Otherwise, the application that stops to move according to apply property.
8, method according to claim 1, it is characterized in that, this method further comprises: application manager listens to event attribute and comprises that the resource of locating ID lacks incident, inquiry orientation management database is determined the corresponding application data base ID with location ID, inquire about the application subdata base corresponding, determine and stop the minimum application of application message medium priority of described application subdata base with application data base ID.
9, method according to claim 1 is characterized in that, this method further comprises:
The application controls symbol that comprises that x1, set-top box receive from server is the application message of self-starting, and application message is recorded in the application data base;
X2, application manager inquire the application controls symbol and are the application message of self-starting from application data base, start the pairing application of application message according to the apply property in the application message.
10, method according to claim 1 is characterized in that, this method further comprises:
Y1, set-top box receive from the application message of having changed the application controls symbol comprising of server, and upgrade application data base;
Y2, application data base generation state change incident, and the event attribute that described state changes incident comprises application ID and application data base ID;
Y3, application manager listen to the described state of step y2 and change incident, according to application data base ID and application ID inquiry application data base, obtain and use the corresponding application message of ID, and realize that according to the apply property in the application message application controls accords with the change of indicated application state.
According to each described method of claim 1 to 10, it is characterized in that 11, described state change order is starting command, pause command, reset command or ceases and desist order.
12, according to Claim 8 or 9 described methods, it is characterized in that described location ID is a service ID, described orientation management database module is the Service Management database module; Perhaps,
Described location ID is television terminal ID, and described orientation management database is the television terminal management database; Perhaps,
Described location ID is screen ID, and described orientation management database is the screen management database.
13, a kind of application process that changes application state in a plurality of current service, it is characterized in that, be provided for the location ID of position application, establishment is used to write down the orientation management database of corresponding relation between location ID and the application data base ID, establishment is used to write down the application data base of application message, described application data base comprises with a plurality of current service uses subdata base one to one, and uses the application data base ID that subdata base is provided with indicating self for each, and this method may further comprise the steps:
A, set-top box obtain location ID and use ID according to the starting command from the outside, again according to locating ID inquiry orientation management database and determining the corresponding application data base ID with location ID;
B, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and start application according to apply property with using ID;
C, set-top box are again according to obtaining location ID and use ID from ceasing and desisting order of outside, according to locating ID inquiry orientation management database and determining the corresponding application data base ID with location ID;
D, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and stop application according to apply property with using ID.
14, method according to claim 13 is characterized in that, described starting command from the outside is the starting command from user input device, and described steps A is:
The identification module of A1, set-top box receives the starting command from user input device, and changes incident according to starting command generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of A2, set-top box listens to described state and changes incident, obtains location ID and uses ID;
A3, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in steps A 1, steps A 2 and the steps A 3 is television terminal ID or screen ID;
Perhaps,
Described starting command from the outside is the starting command from server, and the described set-top box of steps A according to the method that the starting command from server obtains location ID and application ID is:
The starting command that server will carry location ID and application ID sends to set-top box, and set-top box directly obtains location ID and uses ID from starting command, and described location ID is a service ID.
15, method according to claim 14 is characterized in that, described from the ceasing and desisting order to from the ceasing and desisting order of user input device of outside, described step C is:
The identification module reception of C1, set-top box is ceased and desisted order from user input device, and changes incident according to the generation state of ceasing and desisting order, and the event attribute that described state changes incident comprises location ID and application ID;
The application manager of C2, set-top box listens to described state and changes incident, obtains location ID and uses ID;
C3, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in step C1, step C2 and the step C3 is television terminal ID or screen ID;
Perhaps,
Described starting command from the outside is for from the ceasing and desisting order of server, and the described set-top box of step C according to the method that obtains location ID from ceasing and desisting order of server and use ID is:
Server will carry location ID and use ceasing and desisting order of ID and send to set-top box, and set-top box directly obtains location ID and uses ID from cease and desist order, and described location ID is a service ID.
16, method according to claim 15 is characterized in that, further comprises between described step B and the step C:
S1, set-top box obtain to locate ID and use ID according to outside from the beginning pause command, again according to location ID inquiry orientation management database and the definite and corresponding application data base ID of location ID;
S2, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and suspend application according to apply property with using ID.
17, method according to claim 16 is characterized in that, described pause command from the outside is the pause command from user input device, and described step S1 is:
The identification module of S11, set-top box receives the pause command from user input device, and changes incident according to pause command generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of S12, set-top box listens to described state and changes incident, obtains location ID and uses ID;
S13, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in step S11, step S12 and the step S13 is television terminal ID or screen ID;
Perhaps,
Described pause command from the outside is the pause command from server, and the described set-top box of step S1 according to the method that the pause command from server obtains location ID and application ID is:
The pause command that server will carry location ID and application ID sends to set-top box, and set-top box directly obtains location ID and uses ID from pause command, and described location ID is a service ID.
18, method according to claim 17 is characterized in that, further comprises between described step S2 and the step D:
H1, set-top box obtain to locate ID and use ID according to outside from the beginning reset command, again according to location ID inquiry orientation management database and the definite and corresponding application data base ID of location ID;
H2, according to application data base ID with use ID inquiry application data base, obtain the apply property in the application message corresponding, and restart application according to apply property with application ID.
According to right 18 described methods, it is characterized in that 19, described reset command from the outside is the reset command from user input device, described step H1 is:
The identification module of H11, set-top box receives the reset command from user input device, and changes incident according to reset command generation state, and the event attribute that described state changes incident comprises location ID and uses ID;
The application manager of H12, set-top box listens to described state and changes incident, obtains location ID and uses ID;
H13, described application manager are according to location ID inquiry orientation management database and definite application data base ID;
The ID of location described in step H11, step H12 and the step H13 is television terminal ID or screen ID;
Perhaps,
Described reset command from the outside is the reset command from server, and the described set-top box of step H1 according to the method that the pause command from server obtains location ID and application ID is:
The reset command that server will carry location ID and application ID sends to set-top box, and set-top box directly obtains location ID and uses ID from reset command, and described location ID is a service ID.
20, according to each described method of claim 13 to 19, it is characterized in that, when user input device when the identification module of set-top box sends the handed over service order, this method further comprises:
Z1, identification module again service ID corresponding with location ID in the orientation management database is updated to the service ID that obtains from server in advance, and the generation event attribute comprise the location database update event of locating ID according to the definite location of handed over service order ID;
Z2, application data base creative management module listen to described location database update event, obtain the corresponding application data base ID with location ID from the orientation management database;
Z3, application data base creative management module are according to application data base ID and upgrade the pairing application subdata base of application data base ID from the application message of server acquisition in advance, and produce the application data base update event that event attribute comprises application data base ID;
Z4, application manager listen to the application data base update event, whether have the application that is moving in the application subdata base after judgement is upgraded according to application data base ID, if having, then do not deal with; Otherwise, the application that stops to move according to apply property.
According to each described method of claim 13 to 19, it is characterized in that 21, when application manager listens to event attribute when comprising that the resource of locating ID lacks incident, this method further comprises:
Application manager inquiry orientation management database is determined the corresponding application data base ID with location ID, inquires about the application subdata base corresponding with application data base ID, determines and stop the minimum application of application message medium priority of described application subdata base.
22, according to each described method of claim 13 to 19, it is characterized in that this method further comprises:
The application controls symbol that comprises that M1, set-top box receive from server is the application message of self-starting, and application message is recorded in the application data base;
M2, application manager inquire the application controls symbol and are the application message of self-starting from application data base, start the pairing application of application message according to the apply property in the application message.
23, according to each described method of claim 13 to 19, it is characterized in that this method further comprises:
N1, set-top box receive from the application message of having changed the application controls symbol comprising of server, and upgrade application data base;
N2, application data base generation state change incident, and the event attribute that described state changes incident comprises application ID and application data base ID;
N3, application manager listen to the described state of step N2 and change incident, according to application data base ID and application ID inquiry application data base, obtain and use the corresponding application message of ID, and realize that according to the apply property in the application message application controls accords with the change of indicated application state.
24, a kind of set-top box that changes application state in a plurality of current service is characterized in that set-top box comprises at least: application manager, application data base creative management module, application data library module, and identification module, orientation management database module, wherein,
Application manager, the state that is used to receive from server changes order, monitor the state change incident that identification module produces, inquiry orientation management database module is also determined application data base ID, inquire about application data base and obtain apply property according to application data base ID, realize the change of application state according to apply property;
Application data base creative management module is used to create application data base;
The application data library module is used to preserve application data base;
Identification module is used to create the orientation management database, and the state that receives from user input device changes order, and the generation state changes incident;
The orientation management database module is used to preserve the orientation management database.
25, set-top box according to claim 24 is characterized in that, this set-top box further comprises:
Explorer is used for detecting the resource operating position in real time, and the generation resource lacks incident when lacking resource;
Described application manager is further used for monitor resource and lacks incident.
CNB2006100904124A 2006-06-23 2006-06-23 A kind of method, application and device that changes application state in a plurality of current service Expired - Fee Related CN100558142C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100904124A CN100558142C (en) 2006-06-23 2006-06-23 A kind of method, application and device that changes application state in a plurality of current service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100904124A CN100558142C (en) 2006-06-23 2006-06-23 A kind of method, application and device that changes application state in a plurality of current service

Publications (2)

Publication Number Publication Date
CN101094310A true CN101094310A (en) 2007-12-26
CN100558142C CN100558142C (en) 2009-11-04

Family

ID=38992320

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100904124A Expired - Fee Related CN100558142C (en) 2006-06-23 2006-06-23 A kind of method, application and device that changes application state in a plurality of current service

Country Status (1)

Country Link
CN (1) CN100558142C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149017A (en) * 2010-07-20 2011-08-10 华为终端有限公司 Management method for set top box applications and set top box
CN103702195A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Process control method and device for application program
CN105677477A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Method and device for optimizing application program resources and electronic equipment
CN106533703A (en) * 2016-12-08 2017-03-22 武汉斗鱼网络科技有限公司 Method and system for remotely controlling startup of application program
CN107196987A (en) * 2016-03-15 2017-09-22 中国移动通信集团河南有限公司 The switching method and server of a kind of pair of centring system
CN108508775A (en) * 2018-05-03 2018-09-07 山东比特智能科技股份有限公司 A kind of housekeeping method, apparatus and system
CN112565031A (en) * 2020-11-30 2021-03-26 福州汇思博信息技术有限公司 Parameter configuration method and terminal for PPP connection

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149017A (en) * 2010-07-20 2011-08-10 华为终端有限公司 Management method for set top box applications and set top box
CN103702195A (en) * 2013-12-27 2014-04-02 乐视致新电子科技(天津)有限公司 Process control method and device for application program
CN103702195B (en) * 2013-12-27 2017-12-08 乐视致新电子科技(天津)有限公司 The course control method and device of a kind of application program
CN105677477A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Method and device for optimizing application program resources and electronic equipment
CN105677477B (en) * 2015-12-30 2019-10-15 北京金山安全软件有限公司 Method and device for optimizing application program resources and electronic equipment
CN107196987A (en) * 2016-03-15 2017-09-22 中国移动通信集团河南有限公司 The switching method and server of a kind of pair of centring system
CN106533703A (en) * 2016-12-08 2017-03-22 武汉斗鱼网络科技有限公司 Method and system for remotely controlling startup of application program
CN108508775A (en) * 2018-05-03 2018-09-07 山东比特智能科技股份有限公司 A kind of housekeeping method, apparatus and system
CN112565031A (en) * 2020-11-30 2021-03-26 福州汇思博信息技术有限公司 Parameter configuration method and terminal for PPP connection

Also Published As

Publication number Publication date
CN100558142C (en) 2009-11-04

Similar Documents

Publication Publication Date Title
CN100558142C (en) A kind of method, application and device that changes application state in a plurality of current service
KR101986481B1 (en) Method for automatic monitoring end to end performance of end-user and apparatus for using the same
CN105357273B (en) SOCKET communications and management of process general-purpose platform and method under asynchronous communication model
CN109766201A (en) Task distribution method, server, client and system
CN104980898A (en) Information pushing method, system and equipment
CN102571940A (en) Remote application installation system, method, intelligent terminal and application server
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN110781149A (en) Method, device, equipment and storage medium for managing live broadcast room information
CN102780933A (en) Method and television for acquiring user information
US8301750B2 (en) Apparatus, system, and method for facilitating communication between an enterprise information system and a client
CN103716230A (en) Message sending method, device and server
US20090222679A1 (en) Method for providing information for power management of devices on a network
CN101360009A (en) Set-top box application management method and system
CN113391559A (en) Smart home equipment control method and terminal equipment
CN106550021A (en) The method for pushing and device of PUSH message
US8335795B2 (en) Data storing system and data processing method of informational household appliance
CN104468505A (en) Safety audit log playing method and device
CN108985397B (en) Method and device for inquiring Bond information and computer storage medium
US20030126135A1 (en) Remote resource management of local devices
CN110471868A (en) Improve method, system, equipment and the medium of SOA interface response speed
CN105045629A (en) Diskless workstation equipment startup method and system
CN104657152A (en) Data transmission management method and electronic equipment
CN110308938A (en) Plug the management method and device of peripheral hardware event
CN112486583A (en) System, method, apparatus and storage medium for configuring parameters
CN112532524B (en) Message processing method and device

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

Granted publication date: 20091104

Termination date: 20170623

CF01 Termination of patent right due to non-payment of annual fee