CN101072228A - Power supply sate synchronizing method and device - Google Patents

Power supply sate synchronizing method and device Download PDF

Info

Publication number
CN101072228A
CN101072228A CN 200610079179 CN200610079179A CN101072228A CN 101072228 A CN101072228 A CN 101072228A CN 200610079179 CN200610079179 CN 200610079179 CN 200610079179 A CN200610079179 A CN 200610079179A CN 101072228 A CN101072228 A CN 101072228A
Authority
CN
China
Prior art keywords
communication terminal
record sheet
state
network
starting state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200610079179
Other languages
Chinese (zh)
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.)
BenQ Corp
Original Assignee
BenQ Corp
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 BenQ Corp filed Critical BenQ Corp
Priority to CN 200610079179 priority Critical patent/CN101072228A/en
Publication of CN101072228A publication Critical patent/CN101072228A/en
Pending legal-status Critical Current

Links

Images

Abstract

Being suitable to multiple communication terminals, the method includes following steps: first communication terminal (CT) enters into start-up state from rest state; first CT broadcasts first inform signal; after receiving the first inform signal, second CT checks-up second log sheet inside second CT; when there is no data of first CT in the second log sheet, second CT adds the state of first CT into the second log sheet, and replies second inform signal to first CT; first CT updates first log sheet in first CT.

Description

Method that a kind of power supply status is synchronous and device thereof
Technical field
The invention provides the synchronous method of a kind of power supply status, especially refer to a kind ofly reach the synchronous method of power supply status by the instruction of controlling simple and easy service discovery protocol, Simple Object Access Protocol, general purpose event notification architecture.
Background technology
UPnP (UPnP) is a kind of point to point network syndeton at various computers, smart machine and wireless device, except family, office and other carried out transfer of data and control between Anywhere, this open network structure can also realize that with the internet network is connected by TCP/IP.
UPnp comprises a series of standard and relevant promotion projects of being formulated by Upnp forum, the Upnp structure comprises two roles: control end points (Control Point) and electric power controller (PM-enable device), any equipment all can be served as one or two role.Control end points and electric power controller all participate in a series of UPnP network jobs, for example addressing, discovery, description, control, incident and statement etc.
With reference to figure 1.Fig. 1 is the schematic diagram of UPnP (UPnP) power-supply management system 10.UPnP power-supply management system 10 comprises a plurality of communication terminals 12,13,14,15A, 15B, 15C.Wherein communication terminal 12 comprises control end points (Control Point), plays the part of the role of client (Client) in network; Communication terminal 13 comprises electric power controller (PM-enable device) and power management applications with communication terminal 14, plays the part of the role of server in network; Communication terminal 15A, 15B, 15C comprise control end points, electric power controller and power management applications, communication terminal 15A, 15B, 15C are mixed type power management communication terminal (Hybrid PM Node), not only can play the part of client but also can play the part of the role of server in network.Wherein, electric power controller has the ability of Remote Wake Up (Wake-On-LAN), and when power supply state changing, the control end points can and inform that power supply status changes to the electric power controller registration.In addition, the control end points can be controlled the power supply state changing of electric power controller.Power supply status can be divided into resting state and starting state (Active) usually, and wherein resting state can be divided into sleep state (Sleeping) and off-mode (Power off) again.
With reference to figure 2.Fig. 2 is the schematic diagram of the embodiment of explanation power supply status.As shown in Figure 2,5 communication terminal 21-25 are arranged on this network, communication terminal 21-25 is all mixed type power management communication terminal, and communication terminal 21-25 comprises record sheet S1-S5 respectively, and record sheet S1-S5 is used for being recorded in the communication terminal that is in starting state in this network.Original communication terminal 21-25 is in starting state, and then the content of record sheet S1-S5 all comprises 1,2,3,4,5.
With reference to figure 3.Fig. 3 is the schematic diagram of the embodiment of explanation power supply status synchronous protocol.As shown in Figure 3,5 communication terminal 21-25 (same Fig. 2) are arranged on this network, communication terminal 21-25 comprises record sheet S1-S5 respectively.Original communication terminal 21-25 is in starting state, and then the content of record sheet S1-S5 all comprises 1,2,3,4,5; If communication terminal 23 enters resting state, communication terminal 23 can send bye-bye and be notified to other communication terminal, then can to change content be 1,2,4,5 for record sheet S1, S2, S4, S5, because communication terminal 23 enters the content (keeping 1,2,3,4,5) that resting state can't upgrade record sheet S3.If this moment, communication terminal 25 also entered resting state, communication terminal 25 can send bye-bye and be notified to other communication terminal, then can to change content be 1,2,4 for record sheet S1, S2, S4, because communication terminal 25 enters the content (keeping 1,2,4,5) that resting state can't upgrade record sheet S5.If communication terminal 23 enters starting state once more by resting state, communication terminal 23 can send hello according to the information in the record sheet S3 and be notified to other communication terminal, then other is in the communication terminal 21 of starting state, 22,24 can upgrade record sheet S1, S2, the content of S4 is 1,2,3,4, communication terminal 23 sends the synchronous synchronization notice of initiate mode of restore database more then, the content of upgrading record sheet S3 simultaneously is 1,2,3,4 (content of record sheet S3 through after the synchronization notice by 1,2,3,4,5 are updated to 1,2,3,4), reach synchronous purpose.
With reference to figure 4.Fig. 4 is the schematic diagram of the nonsynchronous embodiment of explanation power supply status.As shown in Figure 3,5 communication terminal 21-25 (same Fig. 2) are arranged on this network, it comprises record sheet S1-S5 respectively.Suppose originally to have only on the network 4 communication terminal 22-25 to be in starting state, wherein communication terminal 23 enters resting state by starting state, communication terminal 23 can send bye-bye and be notified to other communication terminal, then the content of record sheet S3 is 2,3,4,5, and the content of record sheet S2, S4, S5 can change to 2,4,5; If communication terminal 25 also enters resting state, then communication terminal 25 is notified to other communication terminal according to the content transmission bye-bye of record sheet S5, and the content of record sheet S2, S4 changes to 2,4, and the content of record sheet S5 keeps 2,4,5.If this stylish adding communication terminal 21, communication terminal 21 can be notified by broadcasting alive on network, have only this moment communication terminal 22,24 to be in starting state and can receive this alive notice, communication terminal 22,24 sends registration notification to communication terminal 21 more then, and the content update with record sheet S1, S2, S4 is 1,2,4 simultaneously.When communication terminal 25 is got back to starting state once more, communication terminal 25 can send hello and be notified to communication terminal 22,24 according to the record of record sheet S5, then broadcast alive again and be notified to the communication terminal 21,22,24,25 that all is in starting state, when communication terminal 21 is perceived existing of communication terminal 25, can send registration notification to communication terminal 25.Communication terminal 25 sends the synchronous requirement of initiate mode of restore database more then, requirement is 2,4,5 (this moment, communication terminal 25 possibilities were not because network delay or processor delay are received the registration notification that communication terminal 21 sends as yet) with the content update of all record sheets (S2, S3 and S5).Can find the content different with actual state (power supply status is asynchronous) of record sheet S5 and record sheet S1, S2, S4 in such cases.
Above-mentioned alive notice, hello notice, registration notification and the synchronization notice of mentioning is if the order difference that sends may cause the nonsynchronous situation of power supply status.
Because each network terminal on the network can freely select to enter resting state or starting state, and be stored in lane database be used for being recorded in the record sheet of the power supply status of the communication terminal that is in starting state in this network also will be along with change, though but the agreement of recovering synchronous is arranged in the prior art, but the order difference for fear of sending alive notice, hello notice, registration notification and synchronization notice can cause power supply status asynchronous in some cases.
Summary of the invention
The present invention makes a plurality of communication terminals carry out the synchronous method of power supply status, each communication terminal has record sheet, this record sheet is recorded in the power supply status that is in the communication terminal of starting state in this network, and this method comprises: first communication terminal enters starting state from resting state; First communication terminal is broadcasted first notification signal; After the second communication terminal is received this first notification signal, check the power supply status of relevant first communication terminal in the second communication terminal, optionally reply second notification signal of this first communication terminal and upgrade the second interior record sheet of this second communication terminal; And this first communication terminal upgrades first record sheet in this first communication terminal.
The present invention is a kind of communication terminal, is used for communicating by letter at a plurality of communication terminals of network and other, and each communication terminal all might be starting state or resting state, and this communication terminal comprises internal memory, dispensing device, receiving system and processor.Internal memory is used for storing a record sheet, and this record sheet is recorded in the communication terminal that is in starting state in the network.When this communication terminal when resting state enters starting state, processor drives dispensing device and broadcast the communication terminal of a notification signal to other in network, after the communication terminal at starting state is received the notification signal of this broadcasting in this network, check within it in portion's record sheet, the power supply status of relevant first communication terminal, optionally reply another notification signal of communication terminal, above-mentioned receiving system reception notification signal and be updated in record sheet in the internal memory.
Description of drawings
Fig. 1 is the schematic diagram of UPnP power-supply management system.
Fig. 2 is the schematic diagram of the embodiment of explanation power supply status.
Fig. 3 is the schematic diagram of the embodiment of explanation prior art power supply status synchronous protocol.
Fig. 4 is the schematic diagram of the nonsynchronous embodiment of explanation prior art power supply status.
Fig. 5 illustrates the schematic diagram that recovers the synchronous embodiment of power supply status for the present invention.
Fig. 6 is the schematic diagram of the flow process of power supply status method for synchronous of the present invention.
Embodiment
Fig. 5 illustrates the schematic diagram that recovers the synchronous embodiment of power supply status for the present invention.As shown in Figure 5,5 communication terminal 21-25 (same Fig. 2) are arranged on this network, communication terminal 21-25 comprises record sheet S1-S5 respectively.Suppose originally had only 4 communication terminal 22-25 on the network, wherein communication terminal 23 is in resting state, communication terminal 23 can send bye-bye and be notified to other communication terminal, and then the content of record sheet S3 is 2,3,4,5, and the content of record sheet S2, S4, S5 can change to 2,4,5.If communication terminal 25 enters resting state, then communication terminal 25 can send bye-bye and be notified to other communication terminal, and the content of record sheet S2, S4 can change to 2,4, and the content of record sheet S5 keeps 2,4,5; Sometimes the reason of communication terminal 25 deviated from network is because power supply such as pulls out at factor, and communication terminal 25 can't send bye-bye and was notified to other communication terminal this moment, so the content of record sheet S2, S4 and S5 can keep 2,4,5.If this stylish adding communication terminal 21, owing to have only communication terminal 22,24 to be in starting state, communication terminal 21 can send vaild notice to communication terminal 22,24, communication terminal 22,24 sends registration notification to communication terminal 21 more then, and (or the content of record sheet S1 changes to 1,2,4 simultaneously the content of record sheet S1, S2, S4 to be changed to 1,2,4; The content of record sheet S2, S4 changes to 1,2,4,5).If communication terminal 25 enters starting state once more, communication terminal 25 broadcasting alive information earlier is in the communication terminal 21 of starting state to other, 22,24, when communication terminal 21,22,24 when receiving the alive information of communication terminal 25 broadcasting, communication terminal 21,22,24 inspection record table S1, S2, whether the content of S4 has the starting state of communication terminal 25, if the communication terminal 21 inner not states of communication terminal 25, then communication terminal 21 can send signal to communication terminal 25 and registers, the content of record sheet S1 can be updated to 1,2,4,5, if communication terminal 22, once there was the state of communication terminal 25 in 24 record sheet, then only upgrade the information in the record sheet, can not send signal again and register; This moment, communication terminal 25 sent hello information to other communication terminal 21,22,24 that is in starting state according to the content of record sheet S5 again, and the content of record sheet S1, S2, S4 can be updated to 1,2,4,5.At last, communication terminal 25 sends syncPMDB information and gives communication terminal 21,22,24, and the content of upgrading record sheet S5 is 1,2,4,5.Thus, be in record sheet S1, the S2 of the communication terminal 21,22,24,25 of starting state, the content of S4, S5 is all 1,2,4,5, guarantees the purpose of database synchronization.
With reference to figure 6.Fig. 6 is the schematic diagram of the flow process 60 of power supply status method for synchronous of the present invention.Flow process 60 comprises following step:
Step 602: first communication terminal enters starting state from resting state.
Step 604: this first communication terminal is broadcasted first notification signal.
Step 606: the second communication terminal is received this first notification signal, the second communication terminal is upgraded second record sheet, and the second communication terminal is optionally replied second notification signal of this first communication terminal according to second record sheet, and this first communication terminal upgrades first record sheet; Whether second communication terminal decision herein replys this second notification signal is according to the state information whether this first communication terminal is arranged in this second record sheet, then do not reply this second notification signal if there is data fully, if the state information of this first communication terminal is arranged, then upgrade the content in this second record sheet, do not do answer in addition.
Step 608: this first communication terminal sends the 3rd notice signal respectively according to the communication terminal that is positioned at starting state in this first record sheet.
Step 610: this first communication terminal sends the restore database synchronizing information.Upgrade first record sheet.
Whether step 612: checking has communication terminal the inconsistent phenomenon of power supply status to occur.If program proceeds to step 614; Otherwise program proceeds to step 606.
Step 614: wait a period of time.
Step 616: judge whether the inconsistent communication terminal of this power supply status is in this resting state.If program proceeds to step 618; Otherwise program proceeds to step 606.
Step 618: this communication terminal is removed from this network.
Step 620: the inconsistent phenomenon of power supply status is removed.
Wherein, the resting state in the step 602 comprises two parts, and one is sleep state (sleeping), and another is off-mode (power off).In the step 604, it is to broadcast alive information by simple and easy service discovery protocol (SSDP) that this first communication terminal is broadcasted this first notification signal.In the step 606, it is to register to this first communication terminal by simple and easy service discovery protocol (SSDP) that this second communication terminal sends this second notification signal; This moment, this second communication terminal was upgraded the power supply status record that is in the communication terminal of starting state at present in this network in this second record sheet.In the step 608, it is that (General EventNotification Architecture GENA) sends hello information to the communication terminal that is in this starting state in this network by the general purpose event notification architecture that this first communication terminal sends the 3rd notice signal.In the step 610, it is that (Simple Object AccessProtocol SOAP) sends syncPMDB information and gives other communication terminal by Simple Object Access Protocol that this first communication terminal sends the restore database synchronizing information; This moment, this first communication terminal upgraded the power supply status record that is in the communication terminal of starting state at present in this network in this first record sheet.
Above-described embodiment only is used for illustrating the present invention, does not limit to scope of the present invention.Mentioning this first communication terminal in the literary composition and enter starting state from resting state, be not limited to this first communication terminal and come by sleep state is awake, also can be that this first communication terminal newly adds this network.As long as the step according to flow process 60 sends notice and upgrades record sheet, can reach the purpose of database synchronization, all belong to scope of the present invention.
As from the foregoing, the invention provides the synchronous method of a kind of power supply status, when this first communication terminal is come by sleep state is awake, or newly add this network, this first communication terminal can be by simple and easy service discovery protocol (Simple Service Discovery Protocol, SSDP) broadcast this first notification signal (alive information), after this second communication terminal is received this first notification signal, reply this second notification signal (registration notification) of this first communication terminal and upgrade this second record sheet by simple and easy service discovery protocol (SSDP); This first communication terminal sends the 3rd notice signal (hello information) by general purpose event notification architecture (GENA) then, and this first communication terminal sends restore database synchronizing information (syncPMDB information) and upgrades this first record sheet by Simple Object Access Protocol (SOAP) at last.Can reach the purpose of database synchronization according to the step of flow process 60.In addition, method provided by the present invention need not to revise the storehouse of present general plug-and-play protocol, and with on the market electric power controller compatibility, be a kind of not only simply but also practical methods.
The above only is optimum embodiment of the present invention, done in the scope of with good grounds claims of the present invention be equal to and replace and improve, all should belong to covering scope of the present invention.

Claims (20)

1. method that power supply status is synchronous, be applicable to a plurality of communication terminals, described a plurality of communication terminal forms network and can intercom mutually, each communication terminal optionally is in resting state and starting state, and each communication terminal has record sheet, described record sheet is recorded in the power supply status that is in the communication terminal of starting state in the described network, and described method comprises:
First communication terminal enters described starting state from described resting state;
Described first communication terminal is broadcasted first notification signal in described network;
The second communication terminal is checked second record sheet that described second communication terminal is interior after receiving described first notification signal, when not having the described first communication terminal data in described second record sheet, in described second record sheet, add the described first communication terminal state and reply described first communication terminal, second notification signal; And
Described first communication terminal upgrades first record sheet in described first communication terminal.
2. method according to claim 1, it is that described first communication terminal enters described starting state from sleep state that wherein said first communication terminal enters described starting state from described resting state.
3. method according to claim 1, it is that described first communication terminal enters described starting state from off-mode that wherein said first communication terminal enters described starting state from described resting state.
4. method according to claim 1 also comprises:
Described first communication terminal sends the 3rd notice signal to the communication terminal that is in described starting state in described network according to described first record sheet.
5. method according to claim 4, wherein said first communication terminal sends described the 3rd notice signal to the communication terminal that is in described starting state in described network according to described first record sheet, and described first communication terminal sends hello information to the communication terminal that is in described starting state in described network by the general purpose event notification architecture.
6. method according to claim 4 also comprises:
Described first communication terminal sends the initiate mode synchronizing information of restore database and gives other communication terminal.
7. method according to claim 6, wherein said first communication terminal sends the initiate mode synchronizing information of restore database and gives other communication terminal, and first communication terminal sends the restore database synchronizing information by Simple Object Access Protocol and gives other communication terminal.
8. method according to claim 1, wherein said first communication terminal are broadcasted described first notification signal in described network be that described first communication terminal is broadcasted effective information by simple and easy service discovery protocol in described network.
9. method according to claim 1, wherein said second communication terminal adds the described first communication terminal state and replys described first communication terminal at described second record sheet, and described second notification signal is that described second communication terminal is upgraded described second record sheet and registered to described first communication terminal.
10. method according to claim 9, it is that described second communication terminal is registered to described first communication terminal by simple and easy service discovery protocol that wherein said second communication terminal is registered to described first communication terminal.
11. method according to claim 1 also comprises:
Whether check has communication terminal the inconsistent phenomenon of power supply status to occur;
Judge whether the inconsistent communication terminal of described power supply status is in described resting state;
When described communication terminal is in described resting state, described communication terminal is removed from described network; And
The inconsistent phenomenon of power supply status is removed.
12. method according to claim 1, wherein said second communication terminal adds the described first communication terminal state in described second record sheet, described second communication terminal is upgraded the power supply status that is in the communication terminal of starting state at present in described network.
13. it is that described first communication terminal upgrades the power supply status that is in the communication terminal of starting state at present in described network that method according to claim 1, wherein said first communication terminal are upgraded described first record sheet.
14. method according to claim 1, described method also comprises:
Third communication terminal is checked the 3rd record sheet that described third communication terminal is interior after receiving described first notification signal, when first communication terminal is in resting state described in described the 3rd record sheet, in described the 3rd record sheet, upgrade the described first communication terminal state.
15. a communication terminal is applicable to network, described network comprises a plurality of communication terminals, and described a plurality of communication terminals can intercom mutually, and each communication terminal optionally is in resting state and starting state, and described communication terminal comprises:
Internal memory is used for the store recording table, and described record sheet is recorded in the described network in the communication terminal of starting state;
Dispensing device;
Receiving system; And
Processor, when described communication terminal when described resting state enters described starting state, described processor drives described dispensing device and broadcast first notification signal in described network;
Wherein when second communication terminal in the described network was received described first notification signal and replied described communication terminal second notification signal, described receiving system received described second notification signal and upgrades described record sheet.
16. communication terminal according to claim 15, wherein after described receiving system received described second notification signal, described processor drove described dispensing device and transmits the 3rd notice signal to the communication terminal that is in described starting state in described network.
17. communication terminal according to claim 15, wherein after described dispensing device transmitted described the 3rd notice signal, described processor drove described dispensing device and sends the initiate mode synchronizing information of restore database to other communication terminal.
18. communication terminal according to claim 15, it is an electric power controller.
19. communication terminal according to claim 15, it is a mixed type power management communication terminal.
20. communication terminal according to claim 15, wherein said second communication terminal is checked second record sheet in the described second communication terminal, when not having the described first communication terminal data in second record sheet, in described second record sheet, add the described first communication terminal state and reply described second notification signal of described first communication terminal.
CN 200610079179 2006-05-12 2006-05-12 Power supply sate synchronizing method and device Pending CN101072228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610079179 CN101072228A (en) 2006-05-12 2006-05-12 Power supply sate synchronizing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610079179 CN101072228A (en) 2006-05-12 2006-05-12 Power supply sate synchronizing method and device

Publications (1)

Publication Number Publication Date
CN101072228A true CN101072228A (en) 2007-11-14

Family

ID=38899216

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610079179 Pending CN101072228A (en) 2006-05-12 2006-05-12 Power supply sate synchronizing method and device

Country Status (1)

Country Link
CN (1) CN101072228A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009135393A1 (en) * 2008-05-09 2009-11-12 国网信息通信有限公司 Synchronous control method and system for multi-computer

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009135393A1 (en) * 2008-05-09 2009-11-12 国网信息通信有限公司 Synchronous control method and system for multi-computer
CN101291251B (en) * 2008-05-09 2011-04-06 国网信息通信有限公司 Synchronized control method and system for multicomputer
US8554864B2 (en) 2008-05-09 2013-10-08 State Grid Information & Telecommunication Co., Ltd. System and method to synchronously display 3D object information on plural screens of plural computers

Similar Documents

Publication Publication Date Title
US20060075269A1 (en) Distributed link-layer wake-up agent system, method, and device for universal plug and play function with low power proxy
CN101820435B (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
CN101167339B (en) Expanding universal plug and play capabilities in power constrained environment
US7624290B2 (en) Power-save control for network master device
CN1835496B (en) Communication apparatus and method of controlling same
KR101800750B1 (en) Wake-up control method, device and terminal equipment
US8082458B2 (en) Configuring an operating state of a terminal device
EP2219320B1 (en) System and method for managing data between control point and at least one device in digital living network alliance system
US20060075100A1 (en) System, device, software and method for providing enhanced UPnP support on devices
CN101023691A (en) System and method for providing UPnP announcements convergence
TW202008845A (en) Communication between terminal and base station, network access method for terminal, and device
CN110519299A (en) A kind of internet intelligent terminal system and its application method for supporting multi-protocols adaptation
CN102348198A (en) Wireless terminal and remote parameter setting method thereof
CN103037483A (en) Network server and method for connecting same and application server
US10440551B2 (en) Technique for determining the presence of a peripheral device in a service area of a local network
CN106231661A (en) Internet-of-things terminal and data uploading method, Internet of Things server
CN104737596A (en) Putting a piece of equipment connected to a multi-link network on standby
US20160241458A1 (en) Management of network connections
US20040249923A1 (en) Efficient home network management system and method
CN101072228A (en) Power supply sate synchronizing method and device
EP2510647B1 (en) Network based remote power management
US6560635B1 (en) System and method for locally caching remote query replies in an electronic network
CN101202825A (en) Method and system for looking up TV program information
US20070280300A1 (en) Method of power state synchronization and related device
US10057643B2 (en) UPnP communication system and method for active standby mode

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20071114