CN105357243B - A kind of method and apparatus with internet of things equipment remote interaction - Google Patents

A kind of method and apparatus with internet of things equipment remote interaction Download PDF

Info

Publication number
CN105357243B
CN105357243B CN201410419241.XA CN201410419241A CN105357243B CN 105357243 B CN105357243 B CN 105357243B CN 201410419241 A CN201410419241 A CN 201410419241A CN 105357243 B CN105357243 B CN 105357243B
Authority
CN
China
Prior art keywords
things equipment
internet
control instruction
processing module
entity
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
Application number
CN201410419241.XA
Other languages
Chinese (zh)
Other versions
CN105357243A (en
Inventor
金慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Corp
Original Assignee
TCL 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 TCL Corp filed Critical TCL Corp
Priority to CN201410419241.XA priority Critical patent/CN105357243B/en
Publication of CN105357243A publication Critical patent/CN105357243A/en
Application granted granted Critical
Publication of CN105357243B publication Critical patent/CN105357243B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of and internet of things equipment remote interaction method and apparatus, it is intended to solve existing remote control terminal and interact slack technical problem with internet of things equipment.The method includes:Virtual internet of things equipment processing module is created, the virtual internet of things equipment processing module has data process method identical with the processing module of entity internet of things equipment;Control instruction input by user is sent to virtual internet of things equipment processing module;Virtual internet of things equipment processing module sends control instruction to server;The handling result of gained after virtual internet of things equipment processing module processing control instruction is shown to user.On the one hand, it ensure that the correctness of user's control instruction processing;On the other hand, method provided by the invention slows down the processing delay of control instruction, can quickly respond the input of user, improve the fluency with the internet of things equipment remote interaction of entity.

Description

A kind of method and apparatus with internet of things equipment remote interaction
Technical field
The invention belongs to Internet of Things field more particularly to a kind of and internet of things equipment remote interaction method and apparatus.
Background technology
As the product based on technology of Internet of things continues to develop and popularizes, demand of the people to Internet of Things quality of the life is no longer The only interconnection of terminal and terminal, but focus on the participation of people, the experience of user.Intelligent air purifier is as a The internet of things equipment for pursuing high-quality healthy living, is liked, the purposes of such product is mainly net by more and more users Change room air, therefore, application scenarios are often that user just needs first to open or be arranged only when not reaching equipment and placing ground Change function.For example, user is far away from thousands of miles away, can be established and Intelligent air by remote control terminals such as mobile phone, computer, Pad The interaction of the internet of things equipment such as gas purifier.
The interactive process of the internet of things equipment such as existing remote control terminal and Intelligent air purifier includes:User passes through remote The input control instruction of process control end, server receive these control instructions by network communication module, then send out control instruction The device controller of internet of things equipment is given, control instruction is given to the processor of internet of things equipment by device controller again, processing By handling result backtracking after the processing of device completion control instruction, finally, remote control terminal receives handling result and is shown to use Family.
Above-mentioned existing interactive process only considered communication logic between remote control terminal and internet of things equipment and by Dynamic formula information receiving and transmitting mechanism often causes message delay, data wrong however, in remote, multifrequency time data exchange process Accidentally situations such as, does not conform to the actual conditions so as to cause the slow in reacting of user interface, picture bounce, state, influences human-computer interaction Fluency.Although communication speed can be accelerated by changing communication module, electric appliance processing module performance or band width in physical, It is that this scheme still has effect unobvious, and defect of high cost, that flexibility is low and deployment is slow.
Invention content
The purpose of the present invention is to provide a kind of and internet of things equipment remote interaction method and apparatus, it is intended to solve existing Remote control terminal slack technical problem is interacted with internet of things equipment.
The invention is realized in this way a method of with internet of things equipment remote interaction, the method includes:
Virtual internet of things equipment processing module is created, the virtual internet of things equipment processing module has and entity Internet of Things The identical data process method of processing module of equipment;
Control instruction input by user is sent to the virtual internet of things equipment processing module;
The virtual internet of things equipment processing module sends the control instruction to server, and the server is used for institute It states control instruction and is sent to the entity internet of things equipment;
The processing of gained after the virtual internet of things equipment processing module handles the control instruction is shown to the user As a result.
Another object of the present invention is to provide a kind of and internet of things equipment remote interaction device, described device includes:
Creation module, for creating virtual internet of things equipment processing module, the virtual internet of things equipment processing module tool There is data process method identical with the processing module of entity internet of things equipment;
First sending module, for sending control instruction input by user to the virtual internet of things equipment processing module;
Virtual internet of things equipment processing module, for sending the control instruction to server, the server is used for will The control instruction is sent to the entity internet of things equipment;
Display module, for showing that the virtual internet of things equipment processing module handles the control instruction to the user The handling result of gained afterwards.
It was found from the embodiments of the present invention, on the one hand, since the virtual internet of things equipment processing module created has Therefore data process method identical with the processing module of entity internet of things equipment is handled when to the virtual internet of things equipment Module send control instruction input by user when, return handling result under most application scenarios with entity Internet of Things The handling result that the processing module of equipment returns is identical, ensure that the correctness of user's control instruction processing;On the other hand, After virtual internet of things equipment processing module processing control instruction, handling result is shown to user, due to virtual internet of things equipment Processing module is in client, after needing server that control instruction is handed to the processing of entity internet of things equipment with the prior art, then Handling result is compared by the return of former communication line by entity internet of things equipment, method provided by the invention slows down control instruction Processing delay, the input of user can be quickly responded, improve the fluency with the internet of things equipment remote interaction of entity.
Description of the drawings
Fig. 1 is the implementation process schematic diagram with the method for internet of things equipment remote interaction that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram provided by Embodiment 2 of the present invention with the method for internet of things equipment remote interaction;
Fig. 3 is the implementation process schematic diagram with the method for internet of things equipment remote interaction that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram with the device of internet of things equipment remote interaction that the embodiment of the present invention four provides;
Fig. 5 is the structural schematic diagram with the device of internet of things equipment remote interaction that the embodiment of the present invention five provides;
Fig. 6 is the structural schematic diagram with the device of internet of things equipment remote interaction that the embodiment of the present invention six provides;
Fig. 7 is the structural schematic diagram with the device of internet of things equipment remote interaction that the embodiment of the present invention seven provides;
Fig. 8-a are the structural schematic diagrams with the device of internet of things equipment remote interaction that the embodiment of the present invention eight provides;
Fig. 8-b are the structural schematic diagrams with the device of internet of things equipment remote interaction that the embodiment of the present invention nine provides.
Specific implementation mode
In order to make the purpose of the present invention, technical solution and advantageous effect be more clearly understood, below in conjunction with attached drawing and implementation Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair It is bright, it is not intended to limit the present invention.
The embodiment of the present invention provides a kind of and internet of things equipment remote interaction method, the method includes:It creates virtual Internet of things equipment processing module, the virtual internet of things equipment processing module have the processing module phase with entity internet of things equipment Same data process method;Control instruction input by user is sent to the virtual internet of things equipment processing module;It is described virtual Internet of things equipment processing module sends the control instruction to server, and the server is for the control instruction to be sent to The entity internet of things equipment;After showing that the virtual internet of things equipment processing module handles the control instruction to the user The handling result of gained.The embodiment of the present invention also provides the device with internet of things equipment remote interaction accordingly.Individually below into Row is described in detail.
Attached drawing 1 is please referred to, is the realization stream with the method for internet of things equipment remote interaction that the embodiment of the present invention one provides Journey mainly includes the following steps that S101 to step S104:
S101 creates virtual internet of things equipment processing module, and the virtual internet of things equipment processing module has and entity The identical data process method of processing module of internet of things equipment.
In embodiments of the present invention, virtual internet of things equipment processing module there is the processing mould with entity internet of things equipment The identical data process method of block and identical handling result state output function.It means that although virtual Internet of Things is set Module to be processed is virtual, but when virtual internet of things equipment processing module receives control instruction, the handling result meeting of output The handling result exported when receiving identical control instruction with the processing module of entity internet of things equipment is identical;For a user, good Than being to have issued control instruction to entity internet of things equipment and handled by entity internet of things equipment.
Specifically, virtual internet of things equipment processing module object can be created when user logs in from client every time.By In the structure of virtual internet of things equipment processing module object be fixed, therefore it may only be necessary to instantiate at virtual internet of things equipment This object of reason module.It should be noted that client can be mounted in smart mobile phone, PC or tablet computer Etc. in terminals for the application program to entity internet of things equipment remote control, typically, which provides human-computer interaction circle Face (User Interface, UI), user can be instructed by UI input controls, and the processing of control instruction is viewed from UI As a result.
S102 sends control instruction input by user to virtual internet of things equipment processing module.
As previously mentioned, the UI of client is instructed for user's input control.Control instruction input by user, which is sent to, to be located at The virtual internet of things equipment processing module of client.
S103, virtual internet of things equipment processing module send control instruction to server, and the server is used for will be described Control instruction is sent to entity internet of things equipment.
In embodiments of the present invention, virtual internet of things equipment processing module sends control by network to long-range server Instruction.After long-range server receives the control instruction, which is sent to entity internet of things equipment, for example, intelligence Air purifier.Control instruction is sent to the processing module of entity internet of things equipment, example by the controller in entity internet of things equipment Such as, central processing unit;The processing module of entity internet of things equipment handles control instruction.
S104 shows the handling result of gained after virtual internet of things equipment processing module processing control instruction to user.
As previously described, because virtual internet of things equipment processing module is with identical as the processing module of entity internet of things equipment Data process method, therefore, virtual internet of things equipment processing module can by itself handle control instruction after gained processing As a result it directly returns to the UI of client, is shown to user.
It should be noted that the handling result returned according to control instruction in entity internet of things equipment is set with virtual Internet of Things Module to be processed handle gained after the control instruction handling result it is identical when, display module is shown virtually by UI to user Internet of things equipment processing module itself handles the handling result of gained after control instruction.
It was found from the method with internet of things equipment remote interaction that the embodiments of the present invention provide, on the one hand, due to void Quasi- internet of things equipment processing module has data process method identical with the processing module of entity internet of things equipment, therefore, when When sending control instruction input by user to the virtual internet of things equipment processing module, the handling result returned is absolutely mostly The handling result returned with the processing module of entity internet of things equipment under number application scenarios is identical, ensure that user's control refers to Enable the correctness of processing;On the other hand, after virtual internet of things equipment processing module processing control instruction, by handling result to user It has been shown that, since virtual internet of things equipment processing module is in client, needs server to hand to control instruction with the prior art After the processing of entity internet of things equipment, then handling result is returned by former communication line by entity internet of things equipment and is compared, the present invention The method of offer slows down the processing delay of control instruction, can quickly respond the input of user, improve the object with entity The fluency of networked devices remote interaction.
Attached drawing 2 is please referred to, is the realization stream provided by Embodiment 2 of the present invention with the method for internet of things equipment remote interaction Journey mainly includes the following steps that S201 to step S205:
S201 creates virtual internet of things equipment processing module, and the virtual internet of things equipment processing module has and entity The identical data process method of processing module of internet of things equipment.
In embodiments of the present invention, virtual internet of things equipment processing module there is the processing mould with entity internet of things equipment The identical data process method of block and identical handling result state output function.It means that although virtual Internet of Things is set Module to be processed is virtual, but when virtual internet of things equipment processing module receives control instruction, the handling result meeting of output The handling result exported when receiving identical control instruction with the processing module of entity internet of things equipment is identical;For a user, good Than being to have issued control instruction to entity internet of things equipment and handled by entity internet of things equipment.
Specifically, virtual internet of things equipment processing module object can be created when user logs in from client every time.By In the structure of virtual internet of things equipment processing module object be fixed, therefore it may only be necessary to instantiate at virtual internet of things equipment This object of reason module.It should be noted that client can be mounted in smart mobile phone, PC or tablet computer Etc. in terminals for the application program to entity internet of things equipment remote control, typically, which provides human-computer interaction circle Face (User Interface, UI), user can be instructed by UI input controls, and the processing of control instruction is viewed from UI As a result.
S202, virtual internet of things equipment processing module carry out state synchronized by heartbeat mechanism, with entity internet of things equipment.
Specifically, it is same to carry out state by heartbeat mechanism with entity internet of things equipment for virtual internet of things equipment processing module Step includes the following steps S2021 to step S2025
S2021 determines whether entity internet of things equipment is online.
It specifically can be by one broadcast message of Web broadcast, if obtaining the response of some entity internet of things equipment, really The fixed entity internet of things equipment is online.
S2022, however, it is determined that entity internet of things equipment is online, then sends a synchronous regime to the entity internet of things equipment Request, to obtain the state synchronized with entity internet of things equipment for the first time.
S2023 is periodically polled entity internet of things equipment and pulls the state of the entity internet of things equipment.
Specifically, (poll) entity internet of things equipment is periodically polled and pulls the state of the entity internet of things equipment It can send synchronous regime request by setting a timer to entity internet of things equipment when timer timing is full, pull The state of the entity internet of things equipment.
S2024 will pull the state and virtual internet of things equipment processing module processing gained of gained entity internet of things equipment State vs.
S2025, if pulling the state and virtual internet of things equipment processing module processing gained of gained entity internet of things equipment State has differences, then updates virtual internet of things equipment processing module processing institute to pull the state of gained entity internet of things equipment The state of obtaining.
If the state and virtual internet of things equipment processing module processing gained state that pull gained entity internet of things equipment are deposited In difference, then the state for pulling gained entity internet of things equipment is subject to, update virtual internet of things equipment processing module processing institute The state of obtaining replaces virtual internet of things equipment processing module to handle gained shape to pull the state of gained entity internet of things equipment State.
S2026 repeats the above steps S2023 extremely by sending heartbeat (Heartbeat) message to entity internet of things equipment Step S2025 can keep the state synchronized of virtual internet of things equipment processing module and entity internet of things equipment.
S203 sends control instruction input by user to virtual internet of things equipment processing module.
As previously mentioned, the UI of client is instructed for user's input control.Control instruction input by user, which is sent to, to be located at The virtual internet of things equipment processing module of client.
S204, virtual internet of things equipment processing module send control instruction to server, and the server is used for will be described Control instruction is sent to entity internet of things equipment.
In embodiments of the present invention, virtual internet of things equipment processing module sends control by network to long-range server Instruction.After long-range server receives the control instruction, which is sent to entity internet of things equipment, for example, intelligence Air purifier.Control instruction is sent to the processing module of entity internet of things equipment, example by the controller in entity internet of things equipment Such as, central processing unit;The processing module of entity internet of things equipment handles control instruction.
S205 shows the handling result of gained after virtual internet of things equipment processing module processing control instruction to user.
As previously described, because virtual internet of things equipment processing module is with identical as the processing module of entity internet of things equipment Data process method, therefore, virtual internet of things equipment processing module can by handle control instruction after gained handling result It directly returns to the UI of client, is shown to user.
It should be noted that the handling result returned according to control instruction in entity internet of things equipment is set with virtual Internet of Things Module to be processed handle gained after the control instruction handling result it is identical when, display module is shown virtually by UI to user Internet of things equipment processing module itself handles the handling result of gained after control instruction.
It was found from the method with internet of things equipment remote interaction that the embodiments of the present invention provide, on the one hand, due to void Quasi- internet of things equipment processing module has data process method identical with the processing module of entity internet of things equipment, therefore, when When sending control instruction input by user to the virtual internet of things equipment processing module, the handling result returned is absolutely mostly The handling result returned with the processing module of entity internet of things equipment under number application scenarios is identical, ensure that user's control refers to Enable the correctness of processing;On the other hand, after virtual internet of things equipment processing module processing control instruction, by handling result to user It has been shown that, since virtual internet of things equipment processing module is in client, needs server to hand to control instruction with the prior art After the processing of entity internet of things equipment, then handling result is returned by former communication line by entity internet of things equipment and is compared, the present invention The method of offer slows down the processing delay of control instruction, can quickly respond the input of user, improve the object with entity The fluency of networked devices remote interaction.
Attached drawing 3 is please referred to, is the realization stream with the method for internet of things equipment remote interaction that the embodiment of the present invention three provides Journey mainly includes the following steps that S301 to step S307:
S301 creates virtual internet of things equipment processing module, and the virtual internet of things equipment processing module has and entity The identical data process method of processing module of internet of things equipment.
In embodiments of the present invention, virtual internet of things equipment processing module there is the processing mould with entity internet of things equipment The identical data process method of block and identical handling result state output function.It means that although virtual Internet of Things is set Module to be processed is virtual, but when virtual internet of things equipment processing module receives control instruction, the handling result meeting of output The handling result exported when receiving identical control instruction with the processing module of entity internet of things equipment is identical;For a user, good Than being to have issued control instruction to entity internet of things equipment and handled by entity internet of things equipment.
Specifically, virtual internet of things equipment processing module object can be created when user logs in from client every time.By In the structure of virtual internet of things equipment processing module object be fixed, therefore it may only be necessary to instantiate at virtual internet of things equipment This object of reason module.It should be noted that client can be mounted in smart mobile phone, PC or tablet computer Etc. in terminals for the application program to entity internet of things equipment remote control, typically, which provides human-computer interaction circle Face (User Interface, UI), user can be instructed by UI input controls, and the processing of control instruction is viewed from UI As a result.
S302 sends control instruction input by user to virtual internet of things equipment processing module.
As previously mentioned, the UI of client is instructed for user's input control.Control instruction input by user, which is sent to, to be located at The virtual internet of things equipment processing module of client.
S303, virtual internet of things equipment processing module send control instruction to server, and the server is used for will be described Control instruction is sent to entity internet of things equipment.
In embodiments of the present invention, virtual internet of things equipment processing module sends control by network to long-range server Instruction.After long-range server receives the control instruction, which is sent to entity internet of things equipment, for example, intelligence Air purifier.Control instruction is sent to the processing module of entity internet of things equipment, example by the controller in entity internet of things equipment Such as, central processing unit;The processing module of entity internet of things equipment handles control instruction.
S304, the processing knot that virtual internet of things equipment processing module receiving entity internet of things equipment is returned according to control instruction Fruit.
S305, the handling result that virtual internet of things equipment processing module returns to entity internet of things equipment according to control instruction The handling result comparison of gained after control instruction is handled with virtual internet of things equipment processing module.
S306, if the handling result that entity internet of things equipment is returned according to control instruction handles mould with virtual internet of things equipment Block handles the handling result difference of gained after control instruction, then virtual internet of things equipment processing module returns to entity to display module Otherwise the handling result that internet of things equipment is returned according to control instruction does not return to entity internet of things equipment according to control instruction Handling result execute action.
S307 shows the handling result of gained after virtual internet of things equipment processing module processing control instruction to user.
As previously described, because virtual internet of things equipment processing module is with identical as the processing module of entity internet of things equipment Data process method, therefore, virtual internet of things equipment processing module can by itself handle control instruction after gained processing As a result it directly returns to the UI of client, is shown to user.
It should be noted that the handling result returned according to the control instruction in entity internet of things equipment and virtual Internet of Things After net equipment processing module processing control instruction when the handling result difference of gained, display module shows entity by UI to user The handling result that internet of things equipment is returned according to control instruction.
It was found from the method with internet of things equipment remote interaction that the embodiments of the present invention provide, on the one hand, due to void Quasi- internet of things equipment processing module has data process method identical with the processing module of entity internet of things equipment, therefore, when When sending control instruction input by user to the virtual internet of things equipment processing module, the handling result returned is absolutely mostly The handling result returned with the processing module of entity internet of things equipment under number application scenarios is identical, ensure that user's control refers to Enable the correctness of processing;On the other hand, after virtual internet of things equipment processing module processing control instruction, by handling result to user It has been shown that, since virtual internet of things equipment processing module is in client, needs server to hand to control instruction with the prior art After the processing of entity internet of things equipment, then handling result is returned by former communication line by entity internet of things equipment and is compared, the present invention The method of offer slows down the processing delay of control instruction, can quickly respond the input of user, improve the object with entity The fluency of networked devices remote interaction.
Attached drawing 4 is please referred to, is the showing with the structure of the device of internet of things equipment remote interaction of providing of the embodiment of the present invention four It is intended to.For convenience of description, it illustrates only and the relevant part of the embodiment of the present invention.Attached drawing 4 is exemplary remote with internet of things equipment The device of journey interaction can be the terminal for remote control internet of things equipment, such as smart mobile phone, PC or tablet electricity A function module in brain etc. or these terminals.Attached drawing 4 is exemplary main with the device of internet of things equipment remote interaction Including creation module 401, the first sending module 402, virtual internet of things equipment processing module 403 and display module 404, specifically It is bright as follows:
Creation module 401, for creating virtual internet of things equipment processing module 403, the virtual internet of things equipment processing Module has data process method identical with the processing module of entity internet of things equipment;
First sending module 402 refers to for sending control input by user to virtual internet of things equipment processing module 403 It enables;
Virtual internet of things equipment processing module 403, for sending the control instruction to server, the server is used for The control instruction is sent to the entity internet of things equipment;
Display module 404, for showing that the virtual internet of things equipment processing module 403 handles the control to the user The handling result of gained after system instruction.
It should be noted that in the exemplary embodiment with the device of internet of things equipment remote interaction of the figures above 4, respectively The division of function module is merely illustrative of, can be as needed in practical application, for example, the configuration requirement of corresponding hardware or The convenient of the realization of software considers, and above-mentioned function distribution is completed by different function modules, i.e., is set described with Internet of Things The internal structure of the device of standby remote interaction is divided into different function modules, to complete all or part of work(described above Energy.Moreover, in practical application, the corresponding function module in the present embodiment can be by corresponding hardware realization, can also be by Corresponding hardware executes corresponding software and completes, for example, the first sending module above-mentioned, can have execution aforementioned to described Virtual internet of things equipment processing module sends the hardware of control instruction input by user, such as the first transmitter, can also be energy Corresponding computer program is enough executed to complete the general processor or other hardware devices of aforementioned function;It is aobvious as the aforementioned again Show module, can be to the user show that the virtual internet of things equipment processing module handles the control instruction after gained The hardware of handling result, such as display can also be to be able to carry out corresponding computer program to complete the one of aforementioned function As processor or other hardware devices (each embodiment that this specification provides can all apply foregoing description principle).
The exemplary virtual internet of things equipment processing module of attached drawing 4 403 may include synchronous submodule 501, as shown in Fig. 5 The device with internet of things equipment remote interaction that the embodiment of the present invention five provides.Synchronous submodule 501 is used for the first sending module Before 402 send control instruction input by user to virtual internet of things equipment processing module 403, pass through heartbeat mechanism and physical objects Networked devices carry out state synchronized.
The exemplary synchronous submodule of attached drawing 5 501 can include determining that unit 601, third transmission unit 602, state obtain Unit 603, state vs' unit 604, state updating unit 605 and heartbeat transmission unit 606, the present invention is real as shown in Fig. 6 The device with internet of things equipment remote interaction of the offer of example six is provided, wherein:
Determination unit 601, for determining whether the entity internet of things equipment is online;
Third transmission unit 602, if determining that the entity internet of things equipment is online for the determination unit 601, to The entity internet of things equipment sends a synchronous regime request, with obtain for the first time virtual internet of things equipment processing module 403 with The state synchronized of the entity internet of things equipment;
State acquiring unit 603, for the entity internet of things equipment to be periodically polled and pulls the entity Internet of Things The state of net equipment;
State vs' unit 604, for by state and the virtual Internet of Things for pulling gained entity internet of things equipment Net equipment processing module handles 403 gained state vs;
State updating unit 605, if for the state for pulling gained entity internet of things equipment and the virtual Internet of Things The processing gained state of net equipment processing module 403 has differences, then updates institute with the state for pulling gained entity internet of things equipment State the virtual processing of internet of things equipment processing module 403 gained state;
Heartbeat transmission unit 606, for by sending heartbeat message to the entity internet of things equipment, the state to obtain Unit 603, state vs' unit 604 and state updating unit 605 sequentially repeat respective function.
The exemplary virtual internet of things equipment processing module of attached drawing 4 403 may include receiving unit 701, Comparative result unit 702 and result treatment unit 703, the dress with internet of things equipment remote interaction that the embodiment of the present invention seven as shown in Fig. 7 provides It sets, wherein:
Receiving unit 701, for showing the virtual internet of things equipment processing module to the user in display module 404 After the 403 processing control instructions before the handling result of gained, receives the entity internet of things equipment and referred to according to the control Enable the handling result returned;
Comparative result unit 702, the processing knot for returning to the entity internet of things equipment according to the control instruction Fruit handles the handling result comparison of gained after the control instruction with the virtual internet of things equipment processing module 403;
Result treatment unit 703, if the processing knot returned according to the control instruction for the entity internet of things equipment The handling result of gained is different after fruit handles the control instruction from the virtual internet of things equipment processing module 403, then to institute It states display module 404 and returns to the handling result that the entity internet of things equipment is returned according to the control instruction, otherwise, not to institute It states entity internet of things equipment and action is executed according to the handling result that the control instruction returns.
Attached drawing 4 or 7 exemplary display module 404 of attached drawing may include the first display unit 801 and the second display unit 802, the embodiment of the present invention eight as shown in attached drawing 8-a or attached drawing 8-b or embodiment nine provide with internet of things equipment remote interaction Device, wherein:
First display unit 801, the processing knot for being returned according to the control instruction in the entity internet of things equipment When fruit and the virtual internet of things equipment processing module 403 handle the handling result difference of gained after the control instruction, to institute It states user and shows the handling result that the entity internet of things equipment is returned according to the control instruction;
Second display unit 802, the processing knot for being returned according to the control instruction in the entity internet of things equipment When the handling result of gained is identical after fruit handles the control instruction with the virtual internet of things equipment processing module 403, to institute State the handling result that user shows gained after the virtual internet of things equipment processing module 403 itself handles the control instruction.
It should be noted that the contents such as information exchange, implementation procedure between each module/unit of above-mentioned apparatus, due to The method of the present invention embodiment is based on same design, and the technique effect brought is identical as the method for the present invention embodiment, particular content The narration in the method for the present invention embodiment is can be found in, details are not described herein again.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
It is provided for the embodiments of the invention and has been carried out in detail with the method and apparatus of internet of things equipment remote interaction above It introduces, principle and implementation of the present invention are described for specific case used herein, the explanation of above example It is merely used to help understand the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to this The thought of invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not answered It is interpreted as limitation of the present invention.

Claims (10)

1. a kind of and internet of things equipment remote interaction method, which is characterized in that the method includes:
Virtual internet of things equipment processing module is created, the virtual internet of things equipment processing module has and entity internet of things equipment The identical data process method of processing module;
Control instruction input by user is sent to the virtual internet of things equipment processing module;
The virtual internet of things equipment processing module sends the control instruction to server, and the server is used for the control System instruction is sent to the entity internet of things equipment;
The handling result of gained after the virtual internet of things equipment processing module handles the control instruction is shown to the user.
2. the method as described in claim 1, which is characterized in that described sent to the virtual internet of things equipment processing module is used Before the control instruction of family input, further include:
The virtual internet of things equipment processing module carries out state synchronized by heartbeat mechanism, with the entity internet of things equipment.
3. method as claimed in claim 2, which is characterized in that the virtual internet of things equipment processing module passes through heartbeat machine System carries out state synchronized with the entity internet of things equipment, includes the following steps S2021 to step S2026:
S2021 determines whether the entity internet of things equipment is online;
S2022 sends a synchronous regime to the entity internet of things equipment and asks if the entity internet of things equipment is online It asks, to obtain the state synchronized with the entity internet of things equipment for the first time;
S2023 is periodically polled the entity internet of things equipment and pulls the state of the entity internet of things equipment;
S2024 handles the state for pulling gained entity internet of things equipment with the virtual internet of things equipment processing module Gained state vs;
S2025, if the state for pulling gained entity internet of things equipment is handled with the virtual internet of things equipment processing module Gained state has differences, then handles mould with the state update virtual internet of things equipment for pulling gained entity internet of things equipment Block processing gained state;
S2026, by sending heartbeat message to the entity internet of things equipment, repeat the above steps S2023 to step S2025.
4. the method as described in claim 1, which is characterized in that described to be shown at the virtual internet of things equipment to the user After control instruction described in reason resume module before the handling result of gained, further comprise:
The virtual internet of things equipment processing module receives the place that the entity internet of things equipment is returned according to the control instruction Manage result;
The processing that the virtual internet of things equipment processing module returns to the entity internet of things equipment according to the control instruction As a result the handling result comparison of gained after the control instruction is handled with the virtual internet of things equipment processing module;
If the handling result that the entity internet of things equipment is returned according to the control instruction at the virtual internet of things equipment The handling result for managing gained after control instruction described in resume module is different, then the virtual internet of things equipment processing module is to display Module returns to the handling result that the entity internet of things equipment is returned according to the control instruction, otherwise, not to the physical objects Networked devices execute action according to the handling result that the control instruction returns.
5. method as described in claim 1 or 4, which is characterized in that described to show that the virtual Internet of Things is set to the user Module to be processed handles the handling result of gained after the control instruction, including:
At the handling result that the entity internet of things equipment is returned according to the control instruction with the virtual internet of things equipment After control instruction described in reason resume module when the handling result difference of gained, display module shows the physical objects to the user The handling result that networked devices are returned according to the control instruction;
At the handling result that the entity internet of things equipment is returned according to the control instruction with the virtual internet of things equipment When the handling result of gained is identical after control instruction described in reason resume module, display module shows the virtual object to the user Networked devices processing module itself handles the handling result of gained after the control instruction.
6. a kind of with internet of things equipment remote interaction device, which is characterized in that described device includes:
Creation module, for creating virtual internet of things equipment processing module, the virtual internet of things equipment processing module have with The identical data process method of processing module of entity internet of things equipment;
First sending module, for sending control instruction input by user to the virtual internet of things equipment processing module;
Virtual internet of things equipment processing module, for sending the control instruction to server, the server is used for will be described Control instruction is sent to the entity internet of things equipment;
Display module, for institute after showing the virtual internet of things equipment processing module processing control instruction to the user The handling result obtained.
7. device as claimed in claim 6, which is characterized in that the virtual internet of things equipment processing module further includes:
Synchronous submodule, it is input by user to the virtual internet of things equipment processing module transmission for first sending module Before control instruction, state synchronized is carried out by heartbeat mechanism and the entity internet of things equipment.
8. device as claimed in claim 7, which is characterized in that the synchronous submodule includes:
Determination unit, for determining whether the entity internet of things equipment is online;
Third transmission unit, if determining that the entity internet of things equipment is online for the determination unit, to the physical objects Networked devices send a synchronous regime request, to obtain virtual internet of things equipment processing module and the entity Internet of Things for the first time The state synchronized of equipment;
State acquiring unit, for the entity internet of things equipment to be periodically polled and pulls the entity internet of things equipment State;
State vs' unit, for that described will pull at state and the virtual internet of things equipment of gained entity internet of things equipment Manage state vs obtained by resume module;
State updating unit, if at for the state for pulling gained entity internet of things equipment and the virtual internet of things equipment State has differences obtained by reason resume module, then updates the virtual Internet of Things with the state for pulling gained entity internet of things equipment Equipment processing module processing gained state;
Heartbeat transmission unit, for by sending heartbeat message, the state acquiring unit, shape to the entity internet of things equipment State comparison unit and state updating unit sequentially repeat respective function.
9. device as claimed in claim 6, which is characterized in that the virtual internet of things equipment processing module includes:
Receiving unit, for showing that the virtual internet of things equipment processing module handles institute to the user in the display module It states after control instruction before the handling result of gained, receives the place that the entity internet of things equipment is returned according to the control instruction Manage result;
Comparative result unit, handling result for returning to the entity internet of things equipment according to the control instruction with it is described Virtual internet of things equipment processing module handles the handling result comparison of gained after the control instruction;
Result treatment unit, if the handling result returned according to the control instruction for the entity internet of things equipment with it is described Virtual internet of things equipment processing module handles the handling result difference of gained after the control instruction, then is returned to the display module The handling result that the entity internet of things equipment is returned according to the control instruction is returned otherwise not set the entity Internet of Things The standby handling result returned according to the control instruction executes action.
10. the device as described in claim 6 or 9, which is characterized in that the display module includes:
First display unit, handling result for being returned according to the control instruction in the entity internet of things equipment with it is described When virtual internet of things equipment processing module handles the handling result difference of gained after the control instruction, institute is shown to the user State the handling result that entity internet of things equipment is returned according to the control instruction;
Second display unit, handling result for being returned according to the control instruction in the entity internet of things equipment with it is described Virtual internet of things equipment processing module handle gained after the control instruction handling result it is identical when, show institute to the user State the handling result that virtual internet of things equipment processing module itself handles gained after the control instruction.
CN201410419241.XA 2014-08-22 2014-08-22 A kind of method and apparatus with internet of things equipment remote interaction Active CN105357243B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410419241.XA CN105357243B (en) 2014-08-22 2014-08-22 A kind of method and apparatus with internet of things equipment remote interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410419241.XA CN105357243B (en) 2014-08-22 2014-08-22 A kind of method and apparatus with internet of things equipment remote interaction

Publications (2)

Publication Number Publication Date
CN105357243A CN105357243A (en) 2016-02-24
CN105357243B true CN105357243B (en) 2018-10-09

Family

ID=55333103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410419241.XA Active CN105357243B (en) 2014-08-22 2014-08-22 A kind of method and apparatus with internet of things equipment remote interaction

Country Status (1)

Country Link
CN (1) CN105357243B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111869A (en) * 2017-11-30 2018-06-01 深圳市赛亿科技开发有限公司 A kind of remote access method and system of Internet of Things smart machine
CN111625095A (en) * 2020-05-28 2020-09-04 重庆跃途科技有限公司 Training evaluation system and method based on VR and Internet of things fusion technology

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306020A (en) * 2011-06-27 2012-01-04 中国科学院深圳先进技术研究院 Virtual modeling thing internet and cloud computing combining method and system
CN102385362A (en) * 2011-09-14 2012-03-21 无锡市星亿涂装环保设备有限公司 Remote control method, device and system
CN103019201A (en) * 2012-12-03 2013-04-03 广东威创视讯科技股份有限公司 Remote control method and device based on three-dimensional virtual scene

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004289816A (en) * 2003-03-06 2004-10-14 Matsushita Electric Ind Co Ltd Remote control apparatus, remote control method and remotely controlled apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306020A (en) * 2011-06-27 2012-01-04 中国科学院深圳先进技术研究院 Virtual modeling thing internet and cloud computing combining method and system
CN102385362A (en) * 2011-09-14 2012-03-21 无锡市星亿涂装环保设备有限公司 Remote control method, device and system
CN103019201A (en) * 2012-12-03 2013-04-03 广东威创视讯科技股份有限公司 Remote control method and device based on three-dimensional virtual scene

Also Published As

Publication number Publication date
CN105357243A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN103327117B (en) Cross-system running method and device for application programs
CN108062246A (en) For the resource regulating method and device of deep learning frame
CN110351378A (en) A kind of control method and system of internet of things equipment
US10599402B2 (en) Techniques to configure a web-based application for bot configuration
CN105093945A (en) System and method for safely controlling smart household apparatuses based on smart cloud
CN106293765A (en) A kind of layout updates method and device
CN108057249A (en) A kind of business data processing method and device
CN113505520A (en) Method, device and system for supporting heterogeneous federated learning
CN111552550A (en) Task scheduling method, device and medium based on GPU (graphics processing Unit) resources
CN110471746A (en) A kind of distributed transaction callback method, apparatus and system
Liu et al. The SOLIDS 6G mobile network architecture: driving forces, features, and functional topology
CN108829868A (en) data display method and device, storage medium and electronic device
CN114157701A (en) Task testing method, device, equipment and storage medium
CN105357243B (en) A kind of method and apparatus with internet of things equipment remote interaction
CN114285695B (en) Communication method, device, apparatus, system and storage medium
CN103634385A (en) System, method and server for data synchronizing
CN113572822A (en) Cloud terminal simulation control method and device, storage medium and electronic equipment
CN108874651A (en) The remote debugging method and device of smart machine
CN108052377A (en) Input processing method based on cloud, device, server and storage medium
CN109783201A (en) Method for interchanging data and its system
CN107690799B (en) A kind of method, apparatus, server and computer readable storage medium that data are synchronous
CN115361382B (en) Data processing method, device, equipment and storage medium based on data group
CN110022323A (en) A kind of method and system of the cross-terminal real-time, interactive based on WebSocket and Redux
CN110413287A (en) The dispositions method and device of software
CN109224451A (en) Development of games method, equipment and storage medium based on block chain subchain

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant