CN110161870B - Internet of things equipment control method and system - Google Patents

Internet of things equipment control method and system Download PDF

Info

Publication number
CN110161870B
CN110161870B CN201910405178.7A CN201910405178A CN110161870B CN 110161870 B CN110161870 B CN 110161870B CN 201910405178 A CN201910405178 A CN 201910405178A CN 110161870 B CN110161870 B CN 110161870B
Authority
CN
China
Prior art keywords
user interface
acquisition request
target internet
interface code
things equipment
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
CN201910405178.7A
Other languages
Chinese (zh)
Other versions
CN110161870A (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.)
Zhongke Wuqi Nanjing Technology Co ltd
Original Assignee
Jeejio Beijing Technology Co ltd
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 Jeejio Beijing Technology Co ltd filed Critical Jeejio Beijing Technology Co ltd
Priority to CN201910405178.7A priority Critical patent/CN110161870B/en
Publication of CN110161870A publication Critical patent/CN110161870A/en
Application granted granted Critical
Publication of CN110161870B publication Critical patent/CN110161870B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention relates to a method and a system for controlling equipment of the Internet of things, wherein the method comprises the following steps: the control terminal receives a target Internet of things equipment access request and sends the target Internet of things equipment access request to the cloud server; the Web process in the cloud server sends the user interface code to the control terminal; the control terminal receives the user interface code and sends an acquisition request of required data to the cloud server; the cloud service end Web process receives the acquisition request, forwards the acquisition request to the cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process; executing the acquisition request by the corresponding application program in the target Internet of things equipment to obtain required data, and sending the required data to the cloud server; the cloud service end VPN process receives the required data, forwards the required data to the cloud service end Web process, and sends the required data to the control terminal; the control terminal executes the user interface code to display the desired data.

Description

Internet of things equipment control method and system
Technical Field
The embodiment of the invention relates to the field of computer internet, in particular to a method and a system for controlling equipment of the internet of things.
Background
The internet of things is an information carrier such as the internet and a traditional telecommunication network, and all common objects capable of performing independent functions are enabled to realize an interconnected network. On the internet of things, everyone can use the electronic tag to link the real object on the internet, and the specific position of the real object can be found out on the internet of things. The internet of things equipment such as machines, network cameras and the like can be managed and controlled in a centralized mode through the internet of things, and meanwhile, the internet of things equipment such as household equipment and automobiles can be controlled remotely, positions can be searched, articles can be prevented from being stolen, and the like.
Because of the limitations and variety of internet of things device user interfaces, various devices such as displays, keyboards, mice, or touch screens may not have a user interface mechanism, although they have some peripheral interfaces and may satisfy some common functions, they may not be suitable for configuring or controlling internet of things devices. For example, smart speakers or MP3 players are used to output sound, but there are certain difficulties in relying solely on sound feedback to configure or control internet of things device activity. For another example, interface mechanisms such as simple display screens and buttons on the air quality detector are advantageous for viewing the air pollution index, but it is difficult or impossible to attempt to change the Wifi password of the device access network using these original interface mechanisms. Therefore, for the internet of things devices, an internet of things device control method is urgently needed to control the internet of things devices.
Disclosure of Invention
In view of this, in order to solve the technical problems or some technical problems, embodiments of the present invention provide a method and a system for controlling an internet of things device.
In a first aspect, an embodiment of the present invention provides an internet of things device control method, which is applied to an internet of things device control system, where the system includes a control terminal, a cloud server, and an internet of things device, and the method includes:
the method comprises the steps that a control terminal receives a target Internet of things equipment access request input by a user and sends the target Internet of things equipment access request to a cloud server;
the Web process in the cloud server sends a user interface code corresponding to the target Internet of things equipment access request to the control terminal, so that the control terminal executes the user interface code;
the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to the cloud server;
the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process;
the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code, and the data required for executing the user interface code is sent to a cloud server;
the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal;
and the control terminal executes the user interface codes to display the required data for executing the user interface codes.
In a possible implementation manner, the receiving, by the cloud server Web process, the acquisition request and forwarding the acquisition request to the cloud server VPN process includes:
the cloud server Web process receives the acquisition request, and searches a VPN subnet address of the target Internet of things device in a local database;
and the cloud server Web process forwards the acquisition request to the cloud server VPN process according to the VPN subnet address.
In one possible embodiment, the obtaining request executed by the corresponding application in the target internet of things device to obtain the data required for executing the user interface code includes:
receiving the acquisition request by a VPN client process in the target Internet of things equipment, wherein the VPN client process is used for receiving the request from the cloud server;
the VPN client process in the target Internet of things equipment forwards the acquisition request to a Web server process in the target Internet of things equipment;
the Web server process in the target Internet of things equipment forwards the acquisition request to a corresponding application program;
and executing the acquisition request by the corresponding application program in the target Internet of things equipment to obtain the required data for executing the user interface code.
In one possible implementation, the forwarding, by the Web server process in the target internet of things device, the obtaining request to the corresponding application includes:
extracting key fields from the acquisition request by a Web server process in the target Internet of things equipment;
and forwarding the acquisition request to a corresponding application program according to the key field.
In one possible embodiment, the obtaining request executed by the corresponding application in the target internet of things device to obtain the data required for executing the user interface code includes:
corresponding application programs in the target Internet of things equipment analyze fields related to the corresponding application programs from the acquisition requests;
and executing the acquisition request according to the field related to the user interface code to obtain the required data for executing the user interface code.
In a possible implementation manner, the sending the data required for executing the user interface code to a cloud server includes:
corresponding application programs in the target Internet of things equipment forward the data required by executing the user interface codes to a Web server process in the target Internet of things equipment;
the Web server process in the target Internet of things equipment forwards the required data for executing the user interface code to a VPN client process in the target Internet of things equipment;
and the VPN client process in the target Internet of things equipment sends the required data for executing the user interface code to a cloud server.
In a second aspect, an embodiment of the present invention provides an internet of things device control system, where the system includes: the system comprises a control terminal, a cloud server and Internet of things equipment;
the method comprises the steps that a control terminal receives a target Internet of things equipment access request input by a user and sends the target Internet of things equipment access request to a cloud server;
the Web process in the cloud server sends the user interface code corresponding to the target Internet of things equipment access request to the control terminal so that the control terminal can execute the user interface code;
the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to the cloud server;
the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process;
the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code, and the data required for executing the user interface code is sent to a cloud server;
the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal;
and the control terminal executes the user interface codes to display the required data for executing the user interface codes.
In a possible implementation manner, the cloud server Web process forwards the acquisition request to the cloud server VPN process specifically by the following means:
the cloud server Web process receives the acquisition request, and searches a VPN subnet address of the target Internet of things device in a local database;
and the cloud server Web process forwards the acquisition request to the cloud server VPN process according to the VPN subnet address.
In one possible embodiment, the data required for executing the user interface code is obtained by the corresponding application program in the target internet of things device by specifically:
receiving the acquisition request by a VPN client process in the target Internet of things equipment, wherein the VPN client process is used for receiving the request from the cloud server;
the VPN client process in the target Internet of things equipment forwards the acquisition request to a Web server process in the target Internet of things equipment;
the Web server process in the target Internet of things equipment forwards the acquisition request to a corresponding application program;
and executing the acquisition request by the corresponding application program in the target Internet of things equipment to obtain the required data for executing the user interface code.
In a possible implementation manner, the Web server process in the target internet of things device forwards the acquisition request to the corresponding application program specifically by the following means:
extracting key fields from the acquisition request by a Web server process in the target Internet of things equipment;
the method for controlling the Internet of things equipment provided by the embodiment of the invention can be convenient for a user to safely and remotely control the target Internet of things equipment at the control terminal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the description below are only some of the embodiments described in the present application, and it is also possible for those skilled in the art to obtain other drawings based on the drawings.
FIG. 1 is a schematic diagram illustrating an exemplary application scenario according to an exemplary embodiment of the present application;
fig. 2 is an interaction flow diagram of an internet of things device control method according to an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
In the application, as shown in fig. 1, in the application scenario diagram shown in fig. 1, the control terminal is a mobile phone, and may also be other terminals, for example, a computer, a PDA, and a tablet. The internet of things equipment is a network camera, and the cloud server can be a specific server or a server cluster.
According to the technical scheme, the control terminal receives a target Internet of things equipment access request input by a user and sends the target Internet of things equipment access request to a cloud server; the Web process in the cloud server sends the user interface code corresponding to the target Internet of things equipment access request to the control terminal so that the control terminal can execute the user interface code; the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to the cloud server; the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process; the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code, and the data required for executing the user interface code is sent to a cloud server; the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal; and the control terminal executes the user interface codes to display the required data for executing the user interface codes. Therefore, the user can conveniently and safely remotely control the target Internet of things equipment at the control terminal.
For further explanation of the present application, the following examples are provided to illustrate the present application:
as shown in fig. 2, an interactive flow diagram of the method for controlling an internet of things device according to the present application may specifically include the following steps:
s201, a control terminal receives a target Internet of things equipment access request input by a user;
in the application, a user wants to access a webcam driven by Jeejio, and the user can access a website by using a control terminal: https:// jeejio. Com/zlei/webcam/monitor/pic _ now/, for example, the above-mentioned website is accessed using a mobile phone as shown in fig. 1, in this URL, "webcam" is an alias of the user to the webcam; "monitor" is the name of an application running on the webcam; the "pic _ now" is a "sub-page" in the "minor" app, and the control terminal may receive a target internet of things device access request input by the user, where the target internet of things device access request may be a URL as described above.
S202, the control terminal sends the target Internet of things equipment access request to a cloud server;
the control terminal sends the target internet of things device access request to a cloud server, for example, the URL (https:// jeejio. Com/zlei/webcam/monitor/pic _ now /) can be sent to the cloud server, specifically to a Web process in the cloud server.
S203, the Web process in the cloud service end sends the user interface code corresponding to the target Internet of things equipment access request to the control terminal, so that the control terminal executes the user interface code;
after the Web process in the cloud service end receives the target Internet of things equipment access request, the Web process in the cloud service end sends a user interface code corresponding to the target Internet of things equipment access request to the control terminal, so that the control terminal executes the user interface code.
For example, a Web process in the cloud service side sends an HTML5 user interface code corresponding to the target internet of things device access request to the mobile phone shown in fig. 1. The HTML5 user interface code is written specifically for the network camera 'monitor' app. Typically, this code is part of a third party application developed by a third party developer. The third party application needs to have its user interface code on the server side during installation so that any control device can retrieve it when accessing the relevant application.
S204, the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to the cloud server;
the control terminal receives the user interface code, and since the control terminal needs to acquire data from the target internet of things device in the process of executing the user interface code, an acquisition request for executing the data of the user interface code needs to be sent to the cloud server.
For example, as shown in fig. 1, the cell phone browser needs to obtain more data from the webcam during the execution of the HTML5 user interface code. For example, part of the HTML5 code needs to access the latest image captured by the web camera, with a URL https:// jeejio. Com/zlei/webcam/monitor/data _ now. This is to require the webcam to execute a piece of code and return the required image.
S205, the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process;
the cloud service end Web process receives the acquisition request, forwards the acquisition request to the cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process, wherein the specific implementation mode is as follows:
the cloud service end Web process receives the acquisition request, searches a VPN subnet address of the target Internet of things equipment in a local database, forwards the acquisition request to the cloud service end VPN process according to the VPN subnet address, and sends the acquisition request to the target Internet of things equipment.
For example, as shown in fig. 1, when the cloud server Web process receives the acquisition request, it needs to first search the database for this specific device, i.e. the webcam of zlei, which is located on the VPN subnet of 10.0.0.1. Then the cloud service end Web process forwards the URL request to the cloud service end VPN process which is in charge of the VPN. These VPNs are secure tunnels that allow the cloud service to interact with the internet of things devices. Where a generic VPN proxy service is not provided here. The VPNs cannot be used for general network access of third-party application programs, can only be used for the cloud service side and the Internet of things device to communicate with each other, and are security tunnels for the interconnection of the cloud service side and the Internet of things device, as shown in FIG. 1, a webcam device of zlei is located at a position with a VPN address of 10.0.0.17, and therefore, URL https:// jeejio. Com/zlei/webcam/monitor/data _ now of an initial control side can be expressed as http://10.0.0.17/monitor/data _ now.
S206, the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain the required data for executing the user interface code;
the corresponding application program in the target internet of things device executes the acquisition request to obtain the required data for executing the user interface code, and the specific implementation mode is as follows:
receiving the acquisition request by a VPN client process in the target Internet of things equipment, wherein the VPN client process is used for receiving the request from the cloud server; the VPN client process in the target Internet of things equipment forwards the acquisition request to a Web server process in the target Internet of things equipment; the Web server process in the target Internet of things equipment forwards the acquisition request to a corresponding application program; and executing the acquisition request by the corresponding application program in the target Internet of things equipment to obtain the required data for executing the user interface code.
The Web server process in the target internet of things device forwards the acquisition request to the corresponding application program, and the specific implementation manner is as follows:
extracting key fields from the acquisition request by a Web server process in the target Internet of things equipment; and forwarding the acquisition request to a corresponding application program according to the key field.
In addition, the corresponding application program in the target internet of things device executes the acquisition request to obtain the required data for executing the user interface code, and the specific implementation manner is as follows:
corresponding application programs in the target Internet of things equipment analyze fields related to the corresponding application programs from the acquisition requests; and executing the acquisition request according to the field related to the user interface code to obtain the required data for executing the user interface code.
For example, as shown in fig. 1, a VPN client process is running on the network camera, and is configured to receive a request from the cloud server, and then forward the request to a local Web server process named "httpd" running on the network camera, where all communications related to the cloud server need to be routed through the "httpd" running on the internet of things device. Therefore, the httpd process needs to forward the request sent by the cloud server to a specific third-party application program running on the network camera. The "minor" field in the URL is used to index the response app, which is used to find "app 1" and its corresponding process.
The "minor" app on the webcam device is an application developed by a third party, which will eventually receive the request sent, and the only part of the URL related to the "minor" app is "data _ now". The "minor" app, upon receiving the "data _ now" request, will execute the request by capturing the current image and send the response to the local "httpd".
S207, the corresponding application program in the target Internet of things equipment sends the data required for executing the user interface code to a cloud server;
the corresponding application program in the target internet of things equipment sends the required data for executing the user interface code to the cloud server, and the specific implementation mode is as follows:
the corresponding application program in the target Internet of things equipment forwards the data required for executing the user interface code to a Web server process in the target Internet of things equipment; the Web server process in the target Internet of things equipment forwards the required data for executing the user interface code to a VPN client process in the target Internet of things equipment; and the VPN client process in the target Internet of things equipment sends the required data for executing the user interface code to a cloud server.
For example, as shown in fig. 1, the app sends a response to a local "httpd", the local "httpd" forwards the response to the VPN client process running on the network camera, and the VPN client process running on the network camera sends the response to the cloud server.
S208, the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal;
and the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal.
For example, as shown in fig. 1, the VPN client process on the network camera forwards the response to the VPN process operated by the cloud server, the VPN process operated by the cloud server forwards the response to the Web process operated by the cloud server, and the Web process operated by the cloud server sends the response to the mobile phone.
S209, the control terminal executes the user interface code to display the required data for executing the user interface code.
And the control terminal receives the data required for executing the user interface code, executes the user interface code to display the data required for executing the user interface code, and finishes controlling the target Internet of things equipment.
For example, as shown in fig. 1, when the mobile phone receives the data required for executing the user interface code, the HTML5 code running in the mobile phone will continue to be executed, and finally the current image captured by the network camera is displayed.
According to the method, the VPN tunnel between the cloud server and the Internet of things equipment ensures that the message can safely reach the Internet of things equipment through the wide area network, and the message is communicated based on the URL.
According to the technical scheme provided by the embodiment of the application, the control terminal receives a target Internet of things equipment access request input by a user and sends the target Internet of things equipment access request to the cloud server; the Web process in the cloud server sends the user interface code corresponding to the target Internet of things equipment access request to the control terminal so that the control terminal can execute the user interface code; the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to the cloud server; the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process; the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code, and the data required for executing the user interface code is sent to a cloud server; the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal; and the control terminal executes the user interface codes to display the required data for executing the user interface codes. Therefore, the user can conveniently and safely remotely control the target Internet of things equipment at the control terminal.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Corresponding to the embodiment of the control method of the internet of things, the application also provides a control system of the internet of things:
an internet of things device control system, the system comprising: the system comprises a control terminal, a cloud server and Internet of things equipment;
the method comprises the steps that a control terminal receives a target Internet of things equipment access request input by a user and sends the target Internet of things equipment access request to a cloud server;
the Web process in the cloud server sends a user interface code corresponding to the target Internet of things equipment access request to the control terminal, so that the control terminal executes the user interface code;
the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to the cloud server;
the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process;
the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code, and the data required for executing the user interface code is sent to a cloud server;
the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal;
and the control terminal executes the user interface codes to display the required data for executing the user interface codes.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. The method for controlling the equipment in the Internet of things is characterized by being applied to a system for controlling the equipment in the Internet of things, wherein the system comprises a control terminal, a cloud server and the equipment in the Internet of things, and the method comprises the following steps:
the method comprises the steps that a control terminal receives a target Internet of things equipment access request input by a user and sends the target Internet of things equipment access request to a cloud server;
the Web process in the cloud server sends the user interface code corresponding to the target Internet of things equipment access request to the control terminal so that the control terminal can execute the user interface code;
the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to a cloud server;
the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process;
the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code, and the data required for executing the user interface code is sent to a cloud server;
the corresponding application program in the target internet of things device executes the acquisition request to obtain data required for executing the user interface code, and the data comprises:
receiving the acquisition request by a VPN client process in the target Internet of things equipment, wherein the VPN client process is used for receiving the request from the cloud server;
the VPN client process in the target Internet of things equipment forwards the acquisition request to a Web server process in the target Internet of things equipment;
the Web server process in the target Internet of things equipment forwards the acquisition request to a corresponding application program;
the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code;
the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal;
and the control terminal executes the user interface codes to display the required data for executing the user interface codes.
2. The method according to claim 1, wherein the cloud server Web process receives the acquisition request and forwards the acquisition request to a cloud server VPN process, and the method comprises:
the cloud server Web process receives the acquisition request, and searches a VPN subnet address of the target Internet of things device in a local database;
and the cloud service end Web process forwards the acquisition request to the cloud service end VPN process according to the VPN subnet address.
3. The method of claim 1, wherein forwarding the acquisition request to a corresponding application by a Web server process in the target internet of things device comprises:
extracting key fields from the acquisition request by a Web server process in the target Internet of things equipment;
and forwarding the acquisition request to a corresponding application program according to the key field.
4. The method of claim 1, wherein executing the get request by the corresponding application in the target internet of things device to obtain data required for executing the user interface code comprises:
corresponding application programs in the target Internet of things equipment analyze fields related to the corresponding application programs from the acquisition requests;
and executing the acquisition request according to the field related to the user interface code to obtain the required data for executing the user interface code.
5. The method of claim 1, wherein sending the data required for executing the user interface code to a cloud server comprises:
the corresponding application program in the target Internet of things equipment forwards the data required for executing the user interface code to a Web server process in the target Internet of things equipment;
the Web server process in the target Internet of things equipment forwards the required data for executing the user interface code to a VPN client process in the target Internet of things equipment;
and the VPN client process in the target Internet of things equipment sends the required data for executing the user interface code to a cloud server.
6. An internet of things device control system, the system comprising: the system comprises a control terminal, a cloud server side and Internet of things equipment;
the method comprises the steps that a control terminal receives a target Internet of things equipment access request input by a user and sends the target Internet of things equipment access request to a cloud server;
the Web process in the cloud server sends the user interface code corresponding to the target Internet of things equipment access request to the control terminal so that the control terminal can execute the user interface code;
the control terminal receives the user interface code and sends an acquisition request for executing the required data of the user interface code to the cloud server;
the cloud service end Web process receives the acquisition request, forwards the acquisition request to a cloud service end VPN process, and sends the acquisition request to the target Internet of things equipment through the cloud service end VPN process;
the corresponding application program in the target Internet of things equipment executes the acquisition request to obtain data required for executing the user interface code, and the data required for executing the user interface code is sent to a cloud server;
the cloud service end VPN process receives the required data of the user interface code, forwards the required data of the user interface code to the cloud service end Web process, and sends the required data of the user interface code to the control terminal;
the control terminal executes the user interface code to display the required data for executing the user interface code;
the corresponding application program in the target internet of things device obtains the required data for executing the user interface code in the following way:
receiving the acquisition request by a VPN client process in the target Internet of things equipment, wherein the VPN client process is used for receiving the request from the cloud server;
the VPN client process in the target Internet of things equipment forwards the acquisition request to a Web server process in the target Internet of things equipment;
the Web server process in the target Internet of things equipment forwards the acquisition request to a corresponding application program;
and executing the acquisition request by the corresponding application program in the target Internet of things equipment to obtain the required data for executing the user interface code.
7. The system according to claim 6, wherein the cloud server Web process forwards the acquisition request to the cloud server VPN process specifically by:
the cloud server Web process receives the acquisition request, and searches a VPN subnet address of the target Internet of things device in a local database;
and the cloud service end Web process forwards the acquisition request to the cloud service end VPN process according to the VPN subnet address.
8. The system of claim 6, wherein the Web server process in the target internet of things device forwards the acquisition request to the corresponding application program by specifically:
extracting key fields from the acquisition request by a Web server process in the target Internet of things equipment;
and forwarding the acquisition request to a corresponding application program according to the key field.
CN201910405178.7A 2019-05-16 2019-05-16 Internet of things equipment control method and system Active CN110161870B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910405178.7A CN110161870B (en) 2019-05-16 2019-05-16 Internet of things equipment control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910405178.7A CN110161870B (en) 2019-05-16 2019-05-16 Internet of things equipment control method and system

Publications (2)

Publication Number Publication Date
CN110161870A CN110161870A (en) 2019-08-23
CN110161870B true CN110161870B (en) 2022-12-16

Family

ID=67634848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910405178.7A Active CN110161870B (en) 2019-05-16 2019-05-16 Internet of things equipment control method and system

Country Status (1)

Country Link
CN (1) CN110161870B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553948A (en) * 2022-02-11 2022-05-27 支付宝(杭州)信息技术有限公司 Service processing method and device
CN117556578B (en) * 2024-01-09 2024-03-26 中科物栖(南京)科技有限公司 Method, device, equipment and storage medium for graphically generating Internet of things application

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753606B (en) * 2008-12-03 2013-01-09 北京天融信科技有限公司 Method for realizing WEB reverse proxy
CN105915577A (en) * 2015-12-18 2016-08-31 美的集团股份有限公司 Internet of things control system, terminal, gateway, remote control terminal and method
CN105898893B (en) * 2016-05-31 2020-09-22 北京乐美无限科技有限公司 Full-duplex communication method for mobile terminal and Internet of things equipment
CN106339919A (en) * 2016-08-22 2017-01-18 深圳易马达科技有限公司 Scooter rental system based on internet of things and scooter rental method thereof
CN107066255A (en) * 2017-03-03 2017-08-18 海尔优家智能科技(北京)有限公司 A kind of the Internet of Things apparatus control method and device of shared Internet of Things apparatus logic
CN109561054B (en) * 2017-09-26 2020-12-01 华为技术有限公司 Data transmission method, controller and access device
CN107697762B (en) * 2017-09-30 2019-05-14 上海江菱机电有限公司 Overhauling elevator method and system based on Internet of Things
KR101876183B1 (en) * 2017-11-20 2018-08-02 수상에스티(주) Security-enhanced residential gateway device based on internet of things
CN108111869A (en) * 2017-11-30 2018-06-01 深圳市赛亿科技开发有限公司 A kind of remote access method and system of Internet of Things smart machine

Also Published As

Publication number Publication date
CN110161870A (en) 2019-08-23

Similar Documents

Publication Publication Date Title
CN107508903B (en) Webpage content access method and terminal equipment
CN103354542A (en) Enabling web clients to provide web services
CN104506510A (en) Method and device for equipment authentication and authentication service system
KR102469179B1 (en) Interactive user interface for profile management
CN109644154B (en) Location-based access control for human dialog entities
JP2014517416A (en) Selective link for message accounts
CN107153599B (en) Method and equipment for recording and playing back user operation
US9948729B1 (en) Browsing session transfer using QR codes
CN112231603A (en) File downloading method, server, client and storage medium
CN106254319B (en) Light application login control method and device
CN112015314A (en) Information display method and device, electronic equipment and medium
JP2017204271A (en) Service linking method and system among servers to identify users registered using user identification systems different from each other
CN110161870B (en) Internet of things equipment control method and system
CN104462570A (en) Webpage content obtaining method and device
CN109522462B (en) Cloud query method, device, equipment and storage medium based on block chain
CN105205072A (en) Webpage information display method and system
CN111711556A (en) Routing method, device, system, equipment and storage medium of virtual private network
CN110213348B (en) Internet of things equipment control method and system
CN115576458A (en) Application window display method, device, equipment and medium
CN113037769B (en) Network resource access method and device
CN113452670B (en) Phishing blocking method, device, equipment and medium based on SDN network
US20240232885A1 (en) Devices, methods, computer-readable media, and systems for authenticating users
US20150149596A1 (en) Sending mobile applications to mobile devices from personal computers
CN116582691A (en) Video data loading method and device, storage medium and electronic equipment
CN116896537A (en) Offline pushing method based on instant messaging, electronic equipment and readable storage medium

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: Building 613A, Building 5, Qilin Artificial Intelligence Industrial Park, No. 266 Chuangyan Road, Qilin Technology Innovation Park, Nanjing City, Jiangsu Province, 211135

Patentee after: Zhongke Wuqi (Nanjing) Technology Co.,Ltd.

Address before: Room 1248, 12 / F, research complex building, Institute of computing technology, Chinese Academy of Sciences, No. 6, South Road, Haidian District, Beijing 100086

Patentee before: JEEJIO (BEIJING) TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address