Summary of the invention
The technical problem that institute of the present invention desire solves is to provide a kind of Service Privileges control method, terminal and system based on sub-network, the problem of the Service Privileges confusion that causes when being intended to avoid a plurality of control appliances to operate a controlled plant simultaneously.
The present invention proposes a kind of Service Privileges control method based on sub-network, may further comprise the steps:
The service order that carries identify label that the controlled plant receiving control apparatus sends;
According to the identify label in the described service order, and the priority list that presets carries out the priority evaluation to described control appliance;
The service order of the control appliance that execution priority is the highest.
Preferably, also comprise before the step of the service order that carries identify label of described controlled plant receiving control apparatus transmission:
Controlled plant is created the described priority list that comprises control appliance identify label and priority corresponding relation.
Preferably, described according to the identify label in the service order, and the priority list that presets specifically comprises the step that described control appliance carries out the priority evaluation:
Controlled plant is searched from described priority list and described control appliance identify label corresponding priorities;
Identify the highest control appliance of each control appliance medium priority that sends service order according to described priority.
Preferably, the step of the service order that carries identify label of described controlled plant receiving control apparatus transmission specifically comprises:
The service order that carries identify label that controlled plant sends by general plug-and-play protocol UPNP receiving control apparatus.
Preferably, described control appliance is a portable terminal; Described controlled plant is a set-top box.
The present invention proposes a kind of Service Privileges control terminal based on sub-network, comprising:
Receiver module is used for the service order that carries identify label that receiving control apparatus sends;
Priority is identified module, is used for the identify label according to described service order, and the priority list that presets carries out the priority evaluation to described control appliance;
Control service module, be used for the service order of the highest control appliance of execution priority.
Preferably, described terminal also comprises:
Creation module is connected with described receiver module, is used to create the described priority list that comprises control appliance identify label and priority corresponding relation.
Preferably, described priority identifies that module comprises:
Search the unit, be used for searching and described control appliance identify label corresponding priorities from described priority list;
Identify the unit, be used for identifying the highest control appliance of each control appliance medium priority that sends service order according to described priority.
The present invention also proposes a kind of Service Privileges control system based on sub-network, comprises control appliance and the controlled plant that is connected by described sub-network with described control appliance, wherein:
Described control appliance is used for sending the service order that carries this control appliance identify label to controlled plant;
Described controlled plant is used to receive described service order, and according to the identify label in the described service order, and the priority list that presets carries out the priority evaluation to described control appliance; And the service order of the highest control appliance of execution priority.
Preferably, described control appliance is a portable terminal; Described controlled plant is a set-top box.
The present invention proposes a kind of Service Privileges control method, terminal and system based on sub-network, corresponding relation by control appliance identify label and priority, when existing a plurality of control appliances when controlled plant sends service order, controlled plant carries out priority according to the identify label of control appliance to each control appliance to be identified, and the service order of the highest control appliance of execution priority, thereby avoided the problem of Service Privileges confusion.
Embodiment
Solution for embodiment of the invention mainly is: by the corresponding relation of control appliance identify label and priority, when existing a plurality of control appliances when controlled plant sends service order, controlled plant carries out priority according to the identify label of control appliance to each control appliance to be identified, and the service order of the highest control appliance of execution priority.
As shown in Figure 1, one embodiment of the invention proposes a kind of Service Privileges control method based on sub-network, comprising:
Step S101, the service order that carries identify label that the controlled plant receiving control apparatus sends;
Step S102, according to the identify label in the service order, and the priority list that presets carries out the priority evaluation to control appliance;
Step S103, the service order of the control appliance that execution priority is the highest.
Present embodiment method running environment is based on the sub-network system on UPNP sub-network or other interconnection and interflow agreement, with the UPNP sub-network is example, present embodiment controlled plant and control appliance are connected in this UPNP sub-network, and control appliance sends the service order that carries this control appliance identify label by UPNP to controlled plant.
In the present embodiment, control appliance can be portable terminal, and controlled plant can be set-top box.
Present embodiment is that set-top box, control appliance are that mobile phone is that example describes with the controlled plant, is that set-top box, control appliance are the situation of mobile phone but be not limited to controlled plant.
When a plurality of mobile phones send service order requirement set-top box execution service order to set-top box, the identify label of each mobile phone that the service order that set-top box then sends according to each mobile phone carries, search the priority list that presets that is stored in the set-top box, write down the corresponding relation of each handset identities sign in this priority list with the priority of Service Privileges, by searching this priority list, then can draw that the highest mobile phone of mobile phone medium priority that all have sent service order, thereby, set-top box is accepted the control of the highest mobile phone of this priority, be the highest mobile phone of this priority the service of corresponding its service order is provided, and the service order of mobile phone before interrupting carrying out, require a certain shelves of program request TV programme such as the highest mobile phone of current priority, set-top box is just carried out the service order of this mobile phone, leave original TV programme shelves, transfer to the TV programme shelves of the mobile phone institute program request of current override level.
Need to prove that the priority list that presets can be preset at controlled plant such as on the set-top box, also can be imported voluntarily by the editing interface on the controlled plant by the user.With the sub-network of setting up between each kinsfolk's mobile phone and the set-top box in the one family is example, and the priority of each mobile phone is set in the priority list on set-top box in advance, the identify label of the corresponding mobile phone of each priority.Afterwards, set-top box just can provide service for it according to the service order that the priority of each mobile phone is accepted corresponding mobile phone.
As shown in Figure 2, step S102 comprises:
Step S1021, controlled plant search from priority list and control appliance identify label corresponding priorities;
Step S1022 identifies the highest control appliance of each control appliance medium priority that sends service order according to priority.
As shown in Figure 3, another embodiment of the present invention proposes a kind of Service Privileges control method based on sub-network, on the basis of the foregoing description, wherein, also comprises before step S101:
Step S100, controlled plant is created the priority list that comprises control appliance identify label and priority corresponding relation.
In the present embodiment, can create the priority list that comprises control appliance identify label and priority corresponding relation by controlled plant, then, this priority list that presets is stored on the controlled plant, this priority list can be set directly at controlled plant such as on the set-top box, also can be imported voluntarily by the editing interface on the controlled plant by the user.
Present embodiment is by the corresponding relation of control appliance identify label and priority, when existing a plurality of control appliances when controlled plant sends service order, controlled plant carries out priority according to the identify label of control appliance to each control appliance to be identified, the service order of the control appliance that execution priority is the highest, thus the problem of Service Privileges confusion avoided.
As shown in Figure 4, one embodiment of the invention proposes a kind of Service Privileges control terminal based on sub-network, comprising:receiver module 401, priority are identifiedmodule 402 andcontrol service module 403, wherein,
Receiver module 401 is used for the service order that carries identify label that receiving control apparatus sends;
Priority is identifiedmodule 402, is used for the identify label according to service order, and the priority list that presets carries out the priority evaluation to control appliance;
Control service module 403, be used for the service order of the highest control appliance of execution priority.
The present embodiment terminal can be set-top box, and control appliance can be portable terminal, such as mobile phone.
Present embodiment is that set-top box, control appliance are that mobile phone is that example describes with the terminal, is that set-top box, control appliance are the situation of mobile phone but be not limited to terminal.
When a plurality of mobile phones send service order requirement set-top box execution service order to set-top box, the identify label of each mobile phone that the service order that set-top box then sends according to each mobile phone carries, search the priority list that presets that is stored in the set-top box, write down the corresponding relation of each handset identities sign in this priority list with the priority of Service Privileges, by searching this priority list, then can draw that the highest mobile phone of mobile phone medium priority that all have sent service order, thereby, set-top box is accepted the control of the highest mobile phone of this priority, be the highest mobile phone of this priority the service of corresponding its service order is provided, and the service order of mobile phone before interrupting carrying out, require a certain shelves of program request TV programme such as the highest mobile phone of current priority, set-top box is just carried out the service order of this mobile phone, leave original TV programme shelves, transfer to the TV programme shelves of the mobile phone institute program request of current override level.
Need to prove that the priority list that presets can be preset at controlled plant such as on the set-top box, also can be imported voluntarily by the editing interface on the controlled plant by the user.With the sub-network of setting up between each kinsfolk's mobile phone and the set-top box in the one family is example, and the priority of each mobile phone is set in the priority list on set-top box in advance, the identify label of the corresponding mobile phone of each priority.Afterwards, set-top box just can provide service for it according to the service order that the priority of each mobile phone is accepted corresponding mobile phone.
As shown in Figure 5, in the present embodiment, priority identifies thatmodule 402 comprises:
Search unit 4021, be used for searching and described control appliance identify label corresponding priorities from priority list;
Identify unit 4022, be used for identifying the highest control appliance of each control appliance medium priority that sends service order according to priority.
As shown in Figure 6, another embodiment of the present invention proposes a kind of Service Privileges control terminal based on sub-network, and on the basis of the foregoing description, this terminal also comprises:
Creation module 400 is connected withreceiver module 401, is used to create the priority list that comprises control appliance identify label and priority corresponding relation.
In the present embodiment, can create the priority list that comprises control appliance identify label and priority corresponding relation by thecreation module 400 of terminal, then, this priority list that presets is stored on the controlled plant, this priority list can be set directly at controlled plant such as on the set-top box, also can be imported voluntarily by the editing interface on the controlled plant by the user.
As shown in Figure 7, one embodiment of the invention proposes a kind of Service Privileges control system based on sub-network, comprisescontrol appliance 701 and the controlledplant 702 that is connected by sub-network withcontrol appliance 701, wherein:
Control appliance 701 is used for sending the service order that carries thesecontrol appliance 701 identify labels to controlledplant 702;
Controlled plant 702 is used to receive service order, and according to the identify label in the service order, and the priority list that presets carries out the priority evaluation to described control appliance; And the service order of the highest control appliance of execution priority.
In the present embodiment,control appliance 701 is preferably portable terminal, and such as mobile phone, controlledplant 702 is preferably set-top box.
Present embodiment is that set-top box,control appliance 701 are that mobile phone is that example describes with controlledplant 702, is the situation of mobile phone but be not limited to controlledplant 702 for set-top box,control appliance 701.
When a plurality of mobile phones send service order requirement set-top box execution service order to set-top box, the identify label of each mobile phone that the service order that set-top box then sends according to each mobile phone carries, search the priority list that presets that is stored in the set-top box, write down the corresponding relation of each handset identities sign in this priority list with the priority of Service Privileges, by searching this priority list, then can draw that the highest mobile phone of mobile phone medium priority that all have sent service order, thereby, set-top box is accepted the control of the highest mobile phone of this priority, be the highest mobile phone of this priority the service of corresponding its service order is provided, and the service order of mobile phone before interrupting carrying out, require a certain shelves of program request TV programme such as the highest mobile phone of current priority, set-top box is just carried out the service order of this mobile phone, leave original TV programme shelves, transfer to the TV programme shelves of the mobile phone institute program request of current override level.
Need to prove that the priority list that presets can be preset at controlled plant such as on the set-top box, also can be imported voluntarily by the editing interface on the controlled plant by the user.With the sub-network of setting up between each kinsfolk's mobile phone and the set-top box in the one family is example, and the priority of each mobile phone is set in the priority list on set-top box in advance, the identify label of the corresponding mobile phone of each priority.Afterwards, set-top box just can provide service for it according to the service order that the priority of each mobile phone is accepted corresponding mobile phone.
The embodiment of the invention is by the corresponding relation of control appliance identify label and priority, when existing a plurality of control appliances when controlled plant sends service order, controlled plant carries out priority according to the identify label of control appliance to each control appliance to be identified, the service order of the control appliance that execution priority is the highest, thus the problem of Service Privileges confusion avoided.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.