CN109547958A - State synchronization method, apparatus and system - Google Patents
State synchronization method, apparatus and system Download PDFInfo
- Publication number
- CN109547958A CN109547958A CN201811544477.0A CN201811544477A CN109547958A CN 109547958 A CN109547958 A CN 109547958A CN 201811544477 A CN201811544477 A CN 201811544477A CN 109547958 A CN109547958 A CN 109547958A
- Authority
- CN
- China
- Prior art keywords
- shared device
- status information
- state
- user terminal
- server
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/35—Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/20—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for washing or drying articles, e.g. clothes, motor cars
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention provides a kind of state synchronization method, apparatus and system, is related to appliance field, and this method is in user terminal, this method comprises: establishing locality connection with shared device;Via locality connection, the status information of shared device is read;And status information is sent to server associated with shared device, so that the state synchronized of the shared device of storage is state indicated by status information by server.The status information of shared device is sent to server so that server timely updates the last state of shared device by user terminal by this method, is facilitated other users when need to use, can be reserved or be controlled shared device by user terminal.
Description
Technical field
The present invention relates to appliance fields, more particularly to a kind of state synchronization method, apparatus and system.
Background technique
Currently, shared device becomes the business model to become more and more popular, such as commercial clothes washer, shared hair dryer, altogether
Dryer etc. is enjoyed, same article can provide service in different time under the authorization of server appointment for different users.However,
Only when the status information of shared device was in the free time, the shared device is just can be used in user;If according to currently depositing
The status information of the shared device of storage thinks that the shared device is currently being used by another user, then is not available this and shared sets
It is standby.However, the status information for the related shared device that server may store is not newest due to communication failure, that is,
It says, it is possible to shared device is currently at idle state, and server still thinks that the shared device is in by use state, this
Sample, which will lead to the shared device, can not reserve use for a long time, result in waste of resources.
By taking commercial clothes washer as an example, user can be paid by the APP on its mobile terminal come access server to the server
After taking, washing machine work is controlled by the server, to complete clothing processing operation (for example, washing, rinsing, dry, getting rid of
It does).However, commercial clothes washer may break from server due to various, cause it can not be by its state
It is synchronized to server, causes the state about the commercial clothes washer stored on server to be in working condition always, Jin Erwu
Method receives new task, and the commercial clothes washer has actually been in idle condition, and is subjected to new task.In this way, user can
The washing machine can not be reserved or be used online by server, cause great inconvenience.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of state synchronization method, apparatus and system, shared device can be realized
State be synchronized to server in time.
To achieve the goals above, the embodiment of the present invention provides a kind of state synchronization method, is used in user terminal, the party
Method includes: to establish locality connection with shared device;Via locality connection, the status information of shared device is read;And by state
Information is sent to server associated with shared device, so that the state synchronized of the shared device of storage is state by server
State indicated by information.
Optionally, before status information to be sent to server associated with shared device, this method further include: obtain
Take the identification information of shared device;The status information of shared device and identification information are sent to server, so as to server root
It is state indicated by status information by the state synchronized of the shared device of storage after determining shared device according to identification information.
Optionally, the identification information of shared device is obtained, comprising: the mark letter for obtaining shared device is operated by barcode scanning
Breath;Alternatively, obtaining the identification information of shared device by the binding information with user terminal.
Optionally, status information includes: in work, or, in the free time.
Optionally, locality connection is one of following: bluetooth connection, infrared connection and NFC connection.
Correspondingly, the embodiment of the present invention also provides a kind of state synchronization method, it is used in shared device, this method comprises:
The connection request of user terminal is received, and establishes locality connection with user terminal;And it is sent out via locality connection to user terminal
Current status information is sent, so that status information can be sent to server associated with shared device by user terminal,
So that the state synchronized about shared device of storage is state indicated by status information by server.
Optionally, current status information is sent to user terminal via locality connection, further includes: connect via locality connection
Receive the operation requests of user terminal;Corresponding operation is executed according to operation requests, and the current status information of shared device is anti-
It is fed to user terminal, so that status information can be sent to server associated with shared device by user terminal.
Optionally, locality connection is one of following: bluetooth connection, infrared connection and NFC connection.
Optionally, status information includes: in work, or, in the free time.
Correspondingly, the embodiment of the present invention also provides a kind of state synchronizing apparatus, in user terminal, which to include:
Link block, for establishing locality connection with shared device;Read module, for reading shared device via locality connection
Status information;Sending module, for status information to be sent to server associated with shared device, so that server will be deposited
The state synchronized of the shared device of storage is state indicated by status information.
Correspondingly, the embodiment of the present invention also provides a kind of state synchronizing apparatus, in shared device, which to include:
Receiving module establishes locality connection for receiving the connection request of user terminal, and with user terminal;And feedback module, it uses
In sending current status information to user terminal via locality connection, so that status information can be sent to by user terminal
Server associated with shared device, so that the state synchronized about shared device of storage is status information institute by server
The state of instruction.
The embodiment of the present invention also provides a kind of state synchronous system, which includes: user terminal, the user terminal are used for
Execute the above-mentioned state synchronization method in user terminal;Shared device, the shared device are above-mentioned for sharing for executing
State synchronization method in equipment;And server, the state synchronized of the shared device for that will store are that status information is signified
The state shown.
Correspondingly, another embodiment of the present invention also provides a kind of machine readable storage medium, the machine readable storage medium
On be stored with computer program, when computer program is executed by processor, so that processor executes above-mentioned state synchronization method.
Through the above technical solutions, the status information of shared device can be read via locality connection by user terminal, and
The status information is synchronized to server associated by shared device.Compared with the prior art about shared device in middle server
State acquisition invariably rely on shared device and be sent to server or server and read from shared device, this case provides newly
The synchronizing information mode via user terminal, and then can guarantee server in about shared device state can be obtained effectively and
When update, be not in the situation for causing user that can not reserve shared device online because of asynchronous.
The other feature and advantage of the embodiment of the present invention will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is to further understand for providing to the embodiment of the present invention, and constitute part of specification, under
The specific embodiment in face is used to explain the present invention embodiment together, but does not constitute the limitation to the embodiment of the present invention.Attached
In figure:
Fig. 1 is the flow chart for the state synchronization method that one embodiment of the invention provides;
Fig. 2 be another embodiment of the present invention provides state synchronization method flow chart;
Fig. 3 is the structural schematic diagram for the state synchronizing apparatus in user equipment that one embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the state synchronizing apparatus in shared device that one embodiment of the invention provides;With
And
Fig. 5 is the structural schematic diagram for the state synchronizing apparatus in server that one embodiment of the invention provides;
Fig. 6 is the structural schematic diagram for the state synchronous system that one embodiment of the invention provides.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the embodiment of the present invention.It should be understood that this
Locate described specific embodiment and be merely to illustrate and explain the present invention embodiment, is not intended to restrict the invention embodiment.
The embodiment of the present invention can be implemented in the following two kinds implement scene.It, can be with as a kind of possible implement scene
Including user terminal, shared device and server;Wherein, led between user terminal and shared device by locality connection
Letter is communicated between user terminal and server by being wirelessly connected;Pass through wireless connection between shared device and server
It is communicated.
It may include: user terminal, household electrical appliance and server as alternatively possible implement scene;Wherein, user
It is communicated between terminal and household electrical appliance by locality connection, is led between user terminal and server by being wirelessly connected
Letter;It is communicated between household electrical appliance and server by being wirelessly connected.
Fig. 1 is the flow chart for the state synchronization method that one embodiment of the invention provides.The embodiment of the present invention is with the first reality
It applies and is illustrated for scene.
Step S101: the connection request of shared device reception user terminal.
User is sent by user terminal to shared device first when being reserved by user terminal or using shared device
Connection request, request establish locality connection with shared device.Such as: after bluetooth discovery shared device, send connection request.
Shared device can be such as various types washing machine, presses, dryer, dryer, hair dryer, micro-wave oven etc.
Can electrical equipment for users to use, certain present invention is not limited in shared device, and technical solution of the present invention can be used in other
Instrument it is also possible.For ease of description, being illustrated so that shared device is washing machine as an example below.User terminal can be use
The equipment that family mobile phone, tablet computer, computer etc. have information processing and communication function.Server can be related to shared device
Connection, user can via its user terminal by that server carrying out a series of payments, certification after, shared device is carried out
Operation, so that shared device is completed to corresponding operating.
Step S102: user terminal and shared device establish locality connection.
User terminal can be connect with the locality connection that shared device is established for such as bluetooth connection, infrared connection and NFC
Etc..It may include user terminal to shared device transmission connection foundation request that this, which establishes locally-attached process, shares set later
Standby establish to the connection requests to respond, and the agreement established according to specific locality connection is different, during which may also relate to for several times
Handshake operation, finally, the locality connection of achievable user terminal and shared device are established.
Step S103, shared device send current status information to user terminal via locality connection.
After user terminal and shared device establish locality connection, shared device actively sends itself current status information
To user terminal.
As a kind of possible implementation, user terminal and shared device are before disconnecting locality connection, every default
Time, itself current status information is all actively sent to user terminal by shared device, so that user terminal can be real-time
Get the current status information of shared device.
As alternatively possible implementation, after establishing locality connection, user terminal can be sent by locality connection and be grasped
Instruct (for example, washing instruction, rinsing instruction etc.) to shared device, shared device executes corresponding according to the operational order
Operation.Optionally, server can also be received directly after carrying out some authorization identifying processing to user terminal from user's end
The operational order at end, and the operational order is sent to shared device by the connection between the server and shared device, altogether
It enjoys equipment and corresponding operation is executed according to the operational order.By taking shared device is washing machine as an example, such as user terminal is via this
Ground connects to washing machine and sends dehydrating operations request, and when washing machine receives dehydrating operations request, execution dehydrating operations simultaneously will
The information for being currently at dewatering state feeds back to user terminal.
As the third possible implementation, user terminal sends the request of read status information to shared device, altogether
Enjoying equipment can be after the request for receiving the read status information by sending the current shape of the shared device to user terminal
State information is to respond the request.
Optionally, status information includes: in work, or, in the free time.
Step S104: the status information of user terminal reading shared device.
After user terminal receives the current status information of shared device transmission, shared device is worked as in read status information
State belonging to preceding.
By taking shared device is washing machine as an example, for example, its status information may include idle state, working condition (for example, can
Be embodied as soaking state, washing state, rinse state, dewatering state, oven-dried condition etc.), malfunction be (for example, can wrap
Containing specific fault code) etc..
Step S105: status information is sent to server associated with shared device by user terminal.
After user terminal reads the status information of shared device, the status information read is sent to and shared device
Associated server, so that server is after receiving status information, to the status information of the pre-stored shared device
It is updated.
For example, user terminal can be via mobile communications network, such as 3G, 4G, 5G network or other cordless communication networks
It is sent to server etc. by status information, is set to what is stored before in it about shared by the server by utilizing status information
Standby state is updated.
Optionally, status information is sent to via mobile communications network or cordless communication network and sets with shared by user terminal
Standby associated server.
The state synchronized of the shared device of storage is state indicated by status information by step S106, server.
Server is after the status information for receiving user terminal transmission, using the status information to storage about shared
The state of equipment is updated.
As a kind of possible implementation, server can determine the shape of the shared device after receiving status information
Whether the state that state information is reflected is the free time, and in the case where it is idle, which carries out some awards to user terminal
Weigh authentication processing.After completing authorization identifying, server can send certain authorizations for shared device to user terminal to be recognized
Demonstrate,prove key.Later, which can obtain the control authority to the shared device using authorization identifying key, and pass through this
Ground connection sends operational order (for example, washing instruction, rinsing instruction etc.) to shared device, so that shared device is according to being somebody's turn to do
Operational order executes corresponding operation.
Optionally, server can also be received directly after carrying out some authorization identifying processing to user terminal to use by oneself
The operational order of family terminal, and shared set is controlled by the connection between the server and shared device according to the operational order
It is standby, so that shared device executes corresponding operation according to the operational order.
Through the above technical solutions, shared set can be read by user terminal via the locality connection established with shared device
Standby status information, and the status information is synchronized to server associated by shared device.Service in compared with the prior art
State acquisition in device about shared device invariably relies on shared device and is sent to server or server from shared device
It reads, this case provides the new synchronizing information mode via user terminal, and then can guarantee in server about shared device
State effectively and timely updated, be not in cause user that can not reserve shared device online because of asynchronous
Situation.
It should be added that step S101 and step S103 can be individually used for realizing the state synchronized of shared device side
Method;Step S102, step S105 and step S106 can be individually used for realizing the state synchronization method of subscriber terminal side.
As alternatively possible implementation, the application state synchronization method shown in FIG. 1 can also be applied in household
In electric appliance, by taking washing machine as an example;Washing machine and user terminal establish locality connection, pass through locality connection;Household is washed
Current status information is sent to user terminal by clothing machine;The status information of user terminal reading washing machine;User terminal
The status information read is sent to the server of washing machine, research staff can be according to the letter being collected into server
The habit etc. of breath analysis user provides certain support to the improvement during subsequent development.
Since a server may be associated with multiple shared devices, above-mentioned user terminal reads the shape of shared device
State is inevitable also along with the reading of the identification information of shared device, and specific state synchronization method is as shown in Figure 2.
Step S201: the connection request of shared device reception user terminal.
Step S202: user terminal and shared device establish locality connection.
Step S201 and step S202 is identical as step S101 and step S102 performed in above-mentioned Fig. 1, herein no longer
It repeats.
Step S203, user terminal obtain the identification information and status information of shared device.
User terminal can obtain the identification information of shared device in several ways, as a kind of possible realization side
Formula, user are pasted onto the two dimensional code on shared device surface using user terminal scanning to obtain the identification information of shared device;Make
For alternatively possible implementation, user terminal, can be by the mark of user terminal when establishing locality connection with shared device
The identification information of information and shared device is bound by locality connection;Therefore, user terminal can be direct by binding information
Obtain the identification information of shared device.
User obtains step S103 and step performed in the status information and above-mentioned Fig. 1 of shared device in step S203
S104 is identical, and details are not described herein again.
Step S204: identification information and status information are sent to server associated with shared device by user terminal.
After user terminal gets identification information and the status information of shared device, the identification information and state that will acquire
Information is sent to server associated with shared device, so that server identifies that corresponding share sets according to identification information
It is standby, then will be under shared device corresponding to state information updating to the identification information.
Step S205, server identifies corresponding shared device according to identification information, then state information updating extremely should
Under shared device corresponding to identification information.
The embodiment of the invention provides a kind of new synchronizing information modes via user terminal, and then can guarantee server
Corresponding shared device is identified according to identification information, and according to the state of the corresponding shared device of state information updating, so that
The state of shared device can be obtained it is accurate and effective, timely update, be not in cause user online because of asynchronous
Reserve the situation of shared device.
It should be added that step S202- step S104 can be individually used for realizing the state synchronized of subscriber terminal side
Method.
The method flow shown in Fig. 2 and method flow shown in FIG. 1 the difference is that, not only may be implemented in
User begins to use the status information for carrying out shared device before shared device to the transmission of server, can also grasp in user
During making shared device, by the status information of shared device, (status information for example may include soaking state, washing shape
State, rinse state, dewatering state, oven-dried condition etc.) it is sent to server, so that server real-time update shared device
Status information.
Fig. 3 is the structural schematic diagram for the state synchronizing apparatus in user equipment that one embodiment of the invention provides.Such as
Shown in Fig. 3, which is located in user terminal, which includes: link block 301, read module 302 and sending module 303.
Wherein,
Link block 301, for establishing locality connection with shared device.
Read module 302, for reading the status information of shared device via locality connection
Sending module 303, for status information to be sent to server associated with shared device, so that server will
The state synchronized of the shared device of storage is state indicated by status information.
Optionally, read module 302 are also used to obtain the identification information of shared device;Sending module 303, be also used to by
The status information and identification information of shared device are sent to server, so that server determines shared device according to identification information
It afterwards, is state indicated by status information by the state synchronized of the shared device of storage.
Optionally, read module 302 are also used to operate the identification information for obtaining shared device by barcode scanning;Alternatively, also using
In the identification information by obtaining shared device with the binding information of user terminal.
Optionally, status information includes: in work, or, in the free time.
Optionally, status information is sent to associated with shared device via mobile communications network or cordless communication network
Server.
Optionally, locality connection is one of following: bluetooth connection, infrared connection and NFC connection.
It should be noted that explanation of the aforesaid state synchronous method embodiment for operation performed by user terminal
It is also applied for the state synchronizing apparatus for user terminal of the embodiment, details are not described herein again.
Fig. 4 is the structural schematic diagram for the state synchronizing apparatus in shared device that one embodiment of the invention provides.Such as
Shown in Fig. 4, which is located in shared device, which includes: receiving module 401 and feedback module 402.Wherein,
Receiving module 401 establishes locality connection for receiving the connection request of user terminal, and with user terminal.
Feedback module 402, for sending current status information to user terminal via locality connection, so that user is whole
End status information can be sent to server associated with shared device, so as to server by storage about shared device
State synchronized be status information indicated by state.
Optionally, receiving module 401 are also used to receive the operation requests of user terminal via locality connection;And feedback
Device 402 is also used to execute corresponding operation according to operation requests and by the current status information feedback of shared device to user
Terminal, so that status information can be sent to server associated with shared device by user terminal.
Optionally, status information includes: in work, or, in the free time.
It should be noted that explanation of the aforesaid state synchronous method embodiment for operation performed by shared device
Be also applied for the embodiment is used for state synchronizing apparatus described in shared device, and details are not described herein again.
Fig. 5 is the structural schematic diagram for the state synchronizing apparatus in server that one embodiment of the invention provides.Such as Fig. 5
Shown, the embodiment of the present invention also provides a kind of state synchronizing apparatus, is used in server associated with shared device, the device
Including receiving unit 501 and synchronization unit 502.Wherein,
Receiving unit 501, for receiving the status information of shared device from user terminal.
Synchronization unit 502, the state synchronized about shared device for will be stored in the server are status information
Indicated state.
It should be noted that explanation of the aforesaid state synchronous method embodiment for operation performed by server
Suitable for the state synchronizing apparatus for server of the embodiment, details are not described herein again.
Fig. 6 provides a kind of state synchronous system for one embodiment of the invention.As shown in fig. 6, the state synchronous system includes
User terminal 601, shared device 602 and server 603.Wherein, it is same that state shown in Fig. 3 embodiment is provided in user terminal
Walk device;State synchronizing apparatus shown in Fig. 4 embodiment is provided in shared device;Fig. 5 embodiment institute is provided in server
The state synchronizing apparatus shown.
Correspondingly, one embodiment of the invention also provides a kind of state synchronizing apparatus, which includes processor
And memory, above-mentioned apparatus or unit etc. store in memory as program unit, are stored in storage by processor execution
Above-mentioned apparatus or unit in device realize corresponding function.
Correspondingly, it is stored thereon with computer program the embodiment of the invention also provides a kind of machine readable storage medium,
The state synchronization method as described in preceding method embodiment is realized when the program is executed by processor.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie
The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element
There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application
Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art,
Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement,
Improve etc., it should be included within the scope of the claims of this application.
Claims (11)
1. a kind of state synchronization method, in user terminal, which comprises
Locality connection is established with shared device;
Via the locality connection, the status information of the shared device is read;And
The status information is sent to server associated with the shared device, so that the server is by the institute of storage
The state synchronized for stating shared device is state indicated by the status information.
2. state synchronization method according to claim 1, which is characterized in that
Before the status information is sent to server associated with the shared device, the method also includes:
Obtain the identification information of the shared device;
The status information of the shared device and the identification information are sent to the server, so as to the server according to
It is the status information institute by the state synchronized of the shared device of storage after the identification information determines the shared device
The state of instruction.
3. state synchronization method according to claim 2, which is characterized in that the mark letter for obtaining the shared device
Breath, comprising:
The identification information of the shared device is obtained by barcode scanning operation;Alternatively,
By the binding information with the user terminal, the identification information of the shared device is obtained.
4. state synchronization method according to claim 1 to 3, which is characterized in that the status information includes: work
In, or, in the free time.
5. a kind of state synchronization method, in shared device, which comprises
The connection request of user terminal is received, and establishes locality connection with the user terminal;And
Current status information is sent to the user terminal via the locality connection, so that the user terminal can incite somebody to action
The status information is sent to server associated with the shared device, so as to the server by storage about described
The state synchronized of shared device is state indicated by the status information.
6. state synchronization method according to claim 5, which is characterized in that it is described via the locality connection to the use
Family terminal sends current status information, further includes:
The operation requests of the user terminal are received via the locality connection;
Corresponding operation is executed according to the operation requests, and by the current status information feedback of the shared device to the use
Family terminal, so that the status information can be sent to service associated with the shared device by the user terminal
Device.
7. state synchronization method according to claim 5 or 6, which is characterized in that the status information includes: in work,
Or, in the free time.
8. a kind of state synchronizing apparatus, in user terminal, described device to include:
Link block, for establishing locality connection with shared device;
Read module, for reading the status information of the shared device via the locality connection;
Sending module, for the status information to be sent to server associated with the shared device, so as to the clothes
The state synchronized of the shared device of storage is state indicated by the status information by business device.
9. a kind of state synchronizing apparatus, in shared device, described device to include:
Receiving module establishes locality connection for receiving the connection request of user terminal, and with the user terminal;And
Feedback module, for sending current status information to the user terminal via the locality connection, so that described
The status information can be sent to server associated with the shared device by user terminal, so that the server will
The state synchronized about the shared device of storage is state indicated by the status information.
10. a kind of state synchronous system, feature exist, which includes:
User terminal, the user terminal are same for executing state described in any one of the claims 1-4 claim
One step process;
Shared device, the shared device are same for executing state described in any one of the claims 5-7 claim
One step process;And
Server, the state synchronized of the shared device for that will store are state indicated by the status information.
11. a kind of machine readable storage medium, computer program, the computer journey are stored on the machine readable storage medium
When sequence is executed by processor, so that state described in any one of the processor execution the claims 1-4 and 5-7 is same
One step process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811544477.0A CN109547958B (en) | 2018-12-17 | 2018-12-17 | State synchronization method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811544477.0A CN109547958B (en) | 2018-12-17 | 2018-12-17 | State synchronization method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109547958A true CN109547958A (en) | 2019-03-29 |
CN109547958B CN109547958B (en) | 2022-09-23 |
Family
ID=65855022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811544477.0A Active CN109547958B (en) | 2018-12-17 | 2018-12-17 | State synchronization method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109547958B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111125038A (en) * | 2019-12-31 | 2020-05-08 | 成都驰通数码系统有限公司 | Intelligent data synchronization method and system based on cloud storage |
CN114078293A (en) * | 2020-08-20 | 2022-02-22 | 青岛海信电子产业控股股份有限公司 | Shared oven and baking method |
WO2024045859A1 (en) * | 2022-08-30 | 2024-03-07 | 广东美的制冷设备有限公司 | Shared-device control method, device, client, server, and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060101064A1 (en) * | 2004-11-08 | 2006-05-11 | Sharpcast, Inc. | Method and apparatus for a file sharing and synchronization system |
JP2011204177A (en) * | 2010-03-26 | 2011-10-13 | Park 24 Co Ltd | System, method and program for reserving car sharing |
US20160224649A1 (en) * | 2015-01-30 | 2016-08-04 | Dropbox, Inc. | Idle state triggered constrained synchronization of shared content items |
CN206193934U (en) * | 2016-11-08 | 2017-05-24 | 雷镭 | Self -service management system of washing machine |
CN106757972A (en) * | 2015-11-24 | 2017-05-31 | 无锡小天鹅股份有限公司 | The control method and washing machine of washing machine |
CN107274587A (en) * | 2017-06-16 | 2017-10-20 | 惠州Tcl家电集团有限公司 | The display methods and device, clothes washing system and storage medium of free time laundry machine information |
CN108134722A (en) * | 2017-12-27 | 2018-06-08 | 惠州Tcl家电集团有限公司 | Control method for washing machine, mobile terminal, system and readable storage medium storing program for executing |
CN207567506U (en) * | 2017-10-18 | 2018-07-03 | 淘洗洗智能科技(上海)有限公司 | A kind of intelligent sharing washing machine |
-
2018
- 2018-12-17 CN CN201811544477.0A patent/CN109547958B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060101064A1 (en) * | 2004-11-08 | 2006-05-11 | Sharpcast, Inc. | Method and apparatus for a file sharing and synchronization system |
JP2011204177A (en) * | 2010-03-26 | 2011-10-13 | Park 24 Co Ltd | System, method and program for reserving car sharing |
US20160224649A1 (en) * | 2015-01-30 | 2016-08-04 | Dropbox, Inc. | Idle state triggered constrained synchronization of shared content items |
CN106757972A (en) * | 2015-11-24 | 2017-05-31 | 无锡小天鹅股份有限公司 | The control method and washing machine of washing machine |
CN206193934U (en) * | 2016-11-08 | 2017-05-24 | 雷镭 | Self -service management system of washing machine |
CN107274587A (en) * | 2017-06-16 | 2017-10-20 | 惠州Tcl家电集团有限公司 | The display methods and device, clothes washing system and storage medium of free time laundry machine information |
CN207567506U (en) * | 2017-10-18 | 2018-07-03 | 淘洗洗智能科技(上海)有限公司 | A kind of intelligent sharing washing machine |
CN108134722A (en) * | 2017-12-27 | 2018-06-08 | 惠州Tcl家电集团有限公司 | Control method for washing machine, mobile terminal, system and readable storage medium storing program for executing |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111125038A (en) * | 2019-12-31 | 2020-05-08 | 成都驰通数码系统有限公司 | Intelligent data synchronization method and system based on cloud storage |
CN111125038B (en) * | 2019-12-31 | 2023-04-07 | 成都驰通数码系统有限公司 | Intelligent data synchronization method and system based on cloud storage |
CN114078293A (en) * | 2020-08-20 | 2022-02-22 | 青岛海信电子产业控股股份有限公司 | Shared oven and baking method |
WO2024045859A1 (en) * | 2022-08-30 | 2024-03-07 | 广东美的制冷设备有限公司 | Shared-device control method, device, client, server, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109547958B (en) | 2022-09-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10404832B2 (en) | Management of gateway device using virtual gateway device | |
CN104137587B (en) | A kind of method and terminal device for sending, receiving user data | |
CN109547958A (en) | State synchronization method, apparatus and system | |
CN103297468B (en) | Operating method, cluster server for group's resource | |
CN108769009A (en) | Data communications method, smart machine and intelligent gateway | |
CN106797400A (en) | System and method for making it possible to access third party's service via service layer | |
CN110169100B (en) | Method for managing configuration file, embedded universal integrated circuit card and terminal | |
US20200137572A1 (en) | Method and apparatus for managing bundles of smart secure platform | |
CN106471465A (en) | Service enabler function | |
CN112219384B (en) | Method and apparatus for installing and managing configuration files using a messaging service | |
CN111406397A (en) | Method and apparatus for managing events in a communication system | |
CN110417871A (en) | A kind of smart machine upgrade method | |
Chatzopoulos et al. | Offloading computations to mobile devices and cloudlets via an upgraded NFC communication protocol | |
CN111007733B (en) | Method and device for integrating smart home terminal APP with smart device | |
CN110113164A (en) | A kind of IOT device management method and device based on block chain | |
CN110233874A (en) | Information transferring method and device for internet of things equipment | |
Khan et al. | Getting virtualized wireless sensor networks' IaaS ready for PaaS | |
CN104469770B (en) | Towards WLAN authentication methods, platform and the system of third-party application | |
CN107018131B (en) | Method for establishing end-to-end data communication between health card and server based on gateway | |
CN113992721B (en) | Intelligent terminal control method, system, equipment and storage medium | |
CN107211236A (en) | The link resource management of service layer | |
CN108713199A (en) | Right management method, system, mobile terminal, shared charging equipment and server | |
Parák et al. | Challenges in achieving iaas cloud interoperability across multiple cloud management frameworks | |
CN105074661A (en) | Electronic apparatus and script generation device | |
Song et al. | PMDC: Programmable mobile device clouds for convenient and efficient service provisioning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190708 Address after: 214028 No. 18 Changjiang South Road, Wuxi National High-tech Development Zone, Jiangsu Province Applicant after: Wuxi Little Swan Electric Co.,Ltd. Address before: 214028 No. 18 Changjiang South Road, Wuxi National High-tech Development Zone, Jiangsu Province Applicant before: WUXI LITTLE SWAN Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |