CN101453690B - Scene state management method in mobile stream media scene service - Google Patents
Scene state management method in mobile stream media scene service Download PDFInfo
- Publication number
- CN101453690B CN101453690B CN2007101965488A CN200710196548A CN101453690B CN 101453690 B CN101453690 B CN 101453690B CN 2007101965488 A CN2007101965488 A CN 2007101965488A CN 200710196548 A CN200710196548 A CN 200710196548A CN 101453690 B CN101453690 B CN 101453690B
- Authority
- CN
- China
- Prior art keywords
- scene
- portable terminal
- scene state
- domain name
- described portable
- 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.)
- Active
Links
Images
Abstract
The invention discloses a method for managing scene state in mobile streaming media scene service. The method comprises the followings steps: 1, the command of a mobile terminal managing the scene state is set, and transmitted to the mobile terminal when a scene server transmits scene data to the mobile terminal; and 2, after the mobile terminal receives the command, and when the user makes the scene interaction, the mobile terminal manages the scene state according to the set command of managing the scene state. The invention provides a method for managing the scene state in the mobile streaming media scene service, which solves the problem that the mobile streaming media scene state can not be instantly stored and restored.
Description
Technical field
The present invention relates to mobile flow medium service, relate in particular to the scene state management method in a kind of mobile stream media scene service.
Background technology
Continuous development along with the mobile flow medium technology, enhancing with capacity of mobile terminal, the mobile flow medium service based on scene little by little occurred, this business more and more receives telecom operators, manufacturer terminal, value added service provider, equipment manufacturers and users' concern.Because this business can integrated multiple media content in one, and can carry out alternately, avoided the function singleness problem of mobile flow medium content play, will greatly promote the fast development of mobile flow medium service.
At present the user is when the mobile flow medium service that uses based on scene, and mutual by scene, the user can change the state of scene at any time, but, these states all are temporary transient, and when the user closed this mobile stream media scene service, all information of scene all can be cleared.If the user uses same mobile stream media scene service next time, then this scene has returned to its reset condition again.If the user thinks to reach once more certain scene state, then necessary progressively multi-pass operation can alternately by scene.Like this, need the instant application scenario that keeps scene state and recover very unfavorable for some.
Summary of the invention
The invention provides the scene state management method in a kind of mobile stream media scene service, to solve the problem that the mobile stream media scene state can not be preserved immediately and recover.
In order to solve the problems of the technologies described above, the invention provides the scene state management method in a kind of mobile stream media scene service, comprise the steps:
(1) administration order of portable terminal to scene state is set, when described portable terminal transmits contextual data, sends to described portable terminal in scene server;
(2) after described portable terminal is received, when the user when carrying out described scene mutual, described portable terminal manages described scene state according to the administration order to scene state that is provided with.
The method of the invention, wherein, in the step (1), described contextual data is specified by domain name and path.
The method of the invention, wherein, described portable terminal comprises the executive condition of executive condition, recovery order and the described recovery order of hold-over command, described hold-over command to the administration order of scene state.
Further, described portable terminal is then carried out described hold-over command if judge when the executive condition of described hold-over command satisfies; Described portable terminal is then carried out described recovery order if judge when the executive condition of described recovery order satisfies.
Further, when described portable terminal is carried out described hold-over command, the value of the series of elements attribute of appointment in the storage current scene state on the persistent storage medium, this value is identified by element, element property, and the scene state of described preservation is identified by ID identifier, domain name and path.
Further, when described portable terminal is preserved,, then cover the described scene state of having preserved in the past fully with described current scene state if ID identifier, domain name and the path of current scene state and the former scene state of having preserved is all identical.
Further, when described portable terminal was carried out described recovery order, the value of recovery should be replaced the value of respective element in the current scene state, element property correspondence fully, if the type with the attribute that recovers of preserving does not match, then should ignore this recoverys order.
Further, when described portable terminal is carried out described recovery order, when searching the scene state of having preserved so that recovering with assigned I D identifier, if the ID identifier of the scene state of preserving is identical, there is the specified unified resource identifiers, URIs of a plurality of couplings in domain name and path, then should recover: at first recover the least detailed pairing element property value of domain name, and then recover the pairing element property value of more detailed domain name gradually according to following principle; For identical domain name, the pairing element property value in the path that should at first recover least detailed then, and then recover the pairing element property value in more detailed path gradually.
The method of the invention, wherein, described portable terminal also comprises the executive condition of clear command and described clear command to the administration order of scene state.
Further, described portable terminal is then carried out described clear command if judge when the executive condition of described clear command satisfies, and removes the scene state of preserving, and discharges the memory space that it takies.
The invention provides the scene state management method in a kind of mobile stream media scene service, solved the problem that the mobile stream media scene state can not be preserved immediately and recover.
Description of drawings
Fig. 1 is an application example scene state management method schematic flow sheet of the present invention.
Embodiment
The present invention is provided with the administration order of portable terminal to scene state, when described portable terminal transmits contextual data (this contextual data is specified by domain name and path), sends to described portable terminal in scene server; After described portable terminal is received, when the user when carrying out described scene mutual, described portable terminal manages described scene state according to the administration order to scene state that is provided with.
Concrete, the administration order of scene state is as follows:
(1) executive condition of hold-over command and described hold-over command: portable terminal is if judge when the executive condition of described hold-over command satisfies, then carry out described hold-over command, the value of the series of elements attribute of appointment in the storage current scene state on the persistent storage medium, this value is identified by element, element property, each preservation all has an ID identifier to identify, in order to prevent the conflict of ID identifier between different enterprises, the different application, each preservation also should indicate affiliated domain name (domain-name) and path (path) simultaneously.That is to say that the scene state of each preservation is identified by ID identifier, domain name, these three in path.If ID identifier, domain name and the path of current scene state and the former scene state of having preserved is all identical when preserving, then cover the described scene state of having preserved in the past fully with described current scene state;
(2) executive condition of recovery order and described recovery order: portable terminal is then carried out described recovery order if judge when the executive condition of described recovery order satisfies; Instruction recovers the element property value of being preserved by hold-over command in assigned I D identifier, domain name, path.The value of respective element, element property correspondence should be replaced the value of respective element in the current scene state, element property correspondence fully in the scene state that recovers.If the type with the attribute that recovers of preserving does not match, then should ignore this recovery order.When searching the scene state of having preserved so that recovering with assigned I D identifier, if the ID identifier of the scene state of preserving is identical, there is the specified URI of a plurality of couplings (unified resource identifier) in domain name and path, then should recover: at first recover the least detailed pairing element property value of domain name, and then recover the pairing element property value of more detailed domain name gradually according to following principle; For identical domain name, the pairing element property value in the path that should at first recover least detailed then, and then recover the pairing element property value in more detailed path gradually;
(3) can also comprise the executive condition of clear command and described clear command: described portable terminal is then carried out described clear command if judge when the executive condition of described clear command satisfies, and removes the scene state of preserving, and discharges the memory space that it takies.
Below in conjunction with the drawings and specific embodiments technical scheme of the present invention is described in detail.
As shown in Figure 1, application example scene state management method schematic flow sheet of the present invention comprises the steps:
Step 101, when initial or carry out long-range scene when switching, portable terminal is to scene server acquisition request scene, and this scene is specified by domain name and path;
Step 102, scene designer be provided with described portable terminal to the administration order of scene state (comprise hold-over command and described hold-over command executive condition, recover the executive condition of executive condition, clear command and the described clear command of order and described recovery order), when portable terminal returns contextual data, send to described portable terminal in scene server;
Step 103, after portable terminal is received, when the user when carrying out described scene mutual, (the Document Object Model of DOM on the portable terminal, DOM Document Object Model) the Event triggered scene state changes, when judging that the condition of setting satisfies, carries out portable terminal scene status management: when satisfying, then carry out described hold-over command as if the executive condition of judging described hold-over command; When the executive condition of described recovery order satisfies, then carry out described recovery order; When the executive condition of described clear command satisfies, then carry out described clear command.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.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 (8)
1. the scene state management method in the mobile stream media scene service is characterized in that, comprises the steps:
(1) administration order of portable terminal to scene state is set, when described portable terminal transmits contextual data, described administration order sent to described portable terminal by described scene server in scene server; Wherein, described portable terminal comprises the executive condition of executive condition, recovery order and the described recovery order of hold-over command, described hold-over command to the administration order of scene state;
(2) after described portable terminal is received, when the user when carrying out described scene mutual, described portable terminal manages described scene state according to the administration order to scene state that is provided with, comprise: described portable terminal is if judge when the executive condition of described hold-over command satisfies, then carry out described hold-over command, described portable terminal is then carried out described recovery order if judge when the executive condition of described recovery order satisfies.
2. method according to claim 1 is characterized in that, in the step (1), described contextual data is specified by domain name and path.
3. method according to claim 1, it is characterized in that, when described portable terminal is carried out described hold-over command, the value of the series of elements attribute of appointment in the storage current scene state on the persistent storage medium, this value is identified by element, element property, and the scene state of described preservation is identified by ID identifier, domain name and path.
4. as method as described in the claim 3, it is characterized in that, when described portable terminal is preserved,, then cover the described scene state of having preserved in the past fully with described current scene state if ID identifier, domain name and the path of current scene state and the former scene state of having preserved is all identical.
5. as method as described in the claim 3, it is characterized in that when described portable terminal was carried out described recovery order, the value of recovery should be replaced the value of respective element in the current scene state, element property correspondence fully, if the type with the attribute that recovers of preserving does not match, then should ignore this recovery order.
6. as method as described in the claim 3, it is characterized in that, when described portable terminal is carried out described recovery order, when searching the scene state of having preserved so that recovering with assigned I D identifier, if the ID identifier of the scene state of preserving is identical, there is the specified unified resource identifiers, URIs of a plurality of couplings in domain name and path, then should recover: at first recover the least detailed pairing element property value of domain name, and then recover the pairing element property value of more detailed domain name gradually according to following principle; For identical domain name, the pairing element property value in the path that should at first recover least detailed then, and then recover the pairing element property value in more detailed path gradually.
7. method according to claim 1 is characterized in that described portable terminal also comprises the executive condition of clear command and described clear command to the administration order of scene state.
8. as method as described in the claim 7, it is characterized in that described portable terminal is then carried out described clear command if judge when the executive condition of described clear command satisfies, remove the scene state of preserving, discharge the memory space that it takies.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101965488A CN101453690B (en) | 2007-11-29 | 2007-11-29 | Scene state management method in mobile stream media scene service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101965488A CN101453690B (en) | 2007-11-29 | 2007-11-29 | Scene state management method in mobile stream media scene service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101453690A CN101453690A (en) | 2009-06-10 |
CN101453690B true CN101453690B (en) | 2011-09-21 |
Family
ID=40735660
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101965488A Active CN101453690B (en) | 2007-11-29 | 2007-11-29 | Scene state management method in mobile stream media scene service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101453690B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101789999B (en) * | 2010-02-09 | 2014-04-30 | 中兴通讯股份有限公司 | Method and device for scene management and backup restoration of mobile terminal |
CN102195927A (en) * | 2010-03-01 | 2011-09-21 | 华为终端有限公司 | Rich media scene updating method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1431660A (en) * | 2003-02-28 | 2003-07-23 | 清华大学 | Method for switching between audio and video frequency instream media broadcast on demand |
CN1468002A (en) * | 2002-06-27 | 2004-01-14 | 上海汉唐科技有限公司 | Flow media compression, transmission and storage system based on internet |
-
2007
- 2007-11-29 CN CN2007101965488A patent/CN101453690B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1468002A (en) * | 2002-06-27 | 2004-01-14 | 上海汉唐科技有限公司 | Flow media compression, transmission and storage system based on internet |
CN1431660A (en) * | 2003-02-28 | 2003-07-23 | 清华大学 | Method for switching between audio and video frequency instream media broadcast on demand |
Also Published As
Publication number | Publication date |
---|---|
CN101453690A (en) | 2009-06-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101640688A (en) | Content delivery network (CDN)-based switching method for main node controller and spare controller and CDN | |
CN106059791B (en) | Link switching method of service in storage system and storage device | |
CN102411639B (en) | Multi-copy storage management method and system of metadata | |
CN102255761B (en) | File-based configuration rollback system and configuration rollback method | |
CA2629703A1 (en) | Configuration of ip telephony and other systems | |
CN102412988A (en) | Service information system and method for realizing continuous operation by using same | |
CN102843440A (en) | Method of preventing media access control address drifting and network processing device | |
CN104852867A (en) | Data packet forwarding method, device and system | |
CN105681420A (en) | Method for realizing backup of switch operating system based on Docker | |
CN104219069A (en) | Access frequency control method, device and control system | |
CN100456701C (en) | Apparatus and method for improving reliability of communication system and communication system thereof | |
CN103152390A (en) | Method and device and nodes and system for node configuration of distributed storage system | |
CN101141282B (en) | Network management system and its management method | |
CN107229425A (en) | A kind of date storage method and device | |
CN101453690B (en) | Scene state management method in mobile stream media scene service | |
CN102437921B (en) | Memory method and network device of configuration information | |
CN102724272B (en) | A kind of backup method of TV station's service distribution data | |
CN102754390A (en) | Method, network device and system for ethernet ring protection switching | |
US9967137B2 (en) | System and method for protecting virtual circuits in dynamic multi-domain environment | |
CN103065096A (en) | Data protection method, device and system | |
CN101534218B (en) | A management method, device and system for open application architecture | |
CN105554083A (en) | Self-destruction method of intelligent terminal | |
CN104506939A (en) | Information reporting method and television terminal | |
CN101459685B (en) | Mobile stream media terminal for supporting scene status management | |
CN102413187B (en) | MPLS (Multiple Protocol Label Switching) L2VPN (Layer 2 Virtual Private Network) service information transmission 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 |