CN110161870A - A kind of internet of things equipment control method and system - Google Patents
A kind of internet of things equipment control method and system Download PDFInfo
- Publication number
- CN110161870A CN110161870A CN201910405178.7A CN201910405178A CN110161870A CN 110161870 A CN110161870 A CN 110161870A CN 201910405178 A CN201910405178 A CN 201910405178A CN 110161870 A CN110161870 A CN 110161870A
- Authority
- CN
- China
- Prior art keywords
- things equipment
- cloud server
- code
- user interfaces
- acquisition request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 176
- 230000008569 process Effects 0.000 claims abstract description 154
- 239000000284 extract Substances 0.000 claims description 5
- 230000004044 response Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 101100264195 Caenorhabditis elegans app-1 gene Proteins 0.000 description 1
- 238000003915 air pollution Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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 present embodiments relate to a kind of internet of things equipment control method and systems, which comprises controlling terminal receives target internet of things equipment access request, and target internet of things equipment access request is sent to cloud server terminal;Code for user interfaces is sent to controlling terminal by Web process in cloud server terminal;Controlling terminal receives code for user interfaces, the acquisition request of data needed for sending to cloud server terminal;Cloud server terminal Web process receives acquisition request, will acquire request and is forwarded to cloud server terminal VPN process, will acquire request by cloud server terminal VPN process and be sent to target internet of things equipment;Corresponding application programs execute acquisition request and required data are sent to cloud server terminal to obtain required data in target internet of things equipment;Required data are sent to controlling terminal by cloud server terminal Web process by required data forwarding to cloud server terminal Web process by data needed for cloud server terminal VPN process receives;Controlling terminal executes code for user interfaces, to show required data.
Description
Technical field
The present embodiments relate to computer internet field more particularly to a kind of internet of things equipment control method and it is
System.
Background technique
Internet of Things is the information carriers such as internet, conventional telecommunications net, allows all common objects that can exercise standalone feature
Realize the network to interconnect.On Internet of Things, everyone can applying electronic label by true object surf the Internet be coupled,
Their specific location can be found on Internet of Things.It can be to machine, the first-class internet of things equipment of network shooting by Internet of Things
Managed concentratedly, controlled, at the same the internet of things equipment such as household equipment, automobile can also be remotely controlled and searching position,
Prevent article stolen etc..
Since internet of things equipment user interface has limitation and diversity, such as display, keyboard, mouse or touch
The plurality of devices such as screen may not have user interface mechanisms, although they are there are some Peripheral Interfaces and can satisfy certain common
Function, but they may be not particularly suited for configuring or controlling internet of things equipment.For example, smart speakers or MP3 are played
Device be for exporting sound, but rely solely on sound feedback come configure or control internet of things equipment activity be exist it is certain tired
Difficult.For another example, the interface mechanisms such as the simple display screen on air quality detector and button are conducive to check air pollution index,
But the Wifi password that equipment access network is changed in desired trial using these original interface mechanisms would become hard to or can not
It is able to achieve.Therefore for these internet of things equipment, it is badly in need of a kind of internet of things equipment control method at present to control these Internet of Things
Equipment.
Summary of the invention
In consideration of it, to solve above-mentioned technical problem or partial technical problems, the embodiment of the present invention provides a kind of Internet of Things and sets
Standby control method and system.
In a first aspect, the embodiment of the present invention provides a kind of internet of things equipment control method, it is applied to internet of things equipment and controls
System, the system comprises controlling terminal, cloud server terminal, internet of things equipment, which comprises
Controlling terminal receives the target internet of things equipment access request of user's input, and the target internet of things equipment is visited
Ask that request is sent to cloud server terminal;
Web process sends code for user interfaces corresponding with the target internet of things equipment access request in cloud server terminal
To controlling terminal, so that controlling terminal executes the code for user interfaces;
Controlling terminal receives the code for user interfaces, sends needed for executing the code for user interfaces to cloud server terminal
The acquisition request of data;
Cloud server terminal Web process receives the acquisition request, and the acquisition request is forwarded to cloud server terminal VPN process,
The acquisition request is sent to the target internet of things equipment by cloud server terminal VPN process;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user interface generation
The required data of code, and the required data for executing the code for user interfaces are sent to cloud server terminal;
Cloud server terminal VPN process receives the required data of the code for user interfaces, by the institute of the code for user interfaces
It needs data forwarding to cloud server terminal Web process, is sent the required data of the code for user interfaces by cloud server terminal Web process
To controlling terminal;
Controlling terminal executes the code for user interfaces, to show the required number for executing the code for user interfaces
According to.
In a possible embodiment, the cloud server terminal Web process receives the acquisition request, by the acquisition
Request is forwarded to cloud server terminal VPN process, comprising:
Cloud server terminal Web process receives the acquisition request, searches the target internet of things equipment in the local database
VPN subnet address;
Cloud server terminal Web process according to the VPN subnet address, by the acquisition request be forwarded to cloud server terminal VPN into
Journey.
In a possible embodiment, the corresponding application programs execution acquisition is asked in the target internet of things equipment
It asks, to obtain executing the required data of the code for user interfaces, comprising:
VPN client process receives the acquisition request in target internet of things equipment, and the VPN client process is for connecing
Receive the request from cloud server terminal;
The acquisition request is forwarded to Web in target internet of things equipment by VPN client process in target internet of things equipment
Server processes;
The acquisition request is forwarded to corresponding application programs by Web server process in target internet of things equipment;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user interface generation
The required data of code.
In a possible embodiment, Web server process asks the acquisition in the target internet of things equipment
It asks and is forwarded to corresponding application programs, comprising:
Web server process extracts critical field from the acquisition request in target internet of things equipment;
The acquisition request is forwarded to corresponding application programs according to the critical field.
In a possible embodiment, the corresponding application programs execution acquisition is asked in the target internet of things equipment
It asks, to obtain executing the required data of the code for user interfaces, comprising:
Corresponding application programs parse field relevant to itself from the acquisition request in target internet of things equipment;
According to the field relevant to itself, the acquisition request is executed, to obtain executing the code for user interfaces
Required data.
In a possible embodiment, described to be sent to the required data for executing the code for user interfaces
Cloud server terminal, comprising:
Corresponding application programs are by the required data forwarding for executing the code for user interfaces in target internet of things equipment
The Web server process into target internet of things equipment;
Web server process is by the required data forwarding for executing the code for user interfaces in target internet of things equipment
The VPN client process into target internet of things equipment;
VPN client process sends the required data for executing the code for user interfaces in target internet of things equipment
To cloud server terminal.
Second aspect, the embodiment of the present invention provide a kind of internet of things equipment control system, the system comprises: control is eventually
End, cloud server terminal, internet of things equipment;
Controlling terminal receives the target internet of things equipment access request of user's input, and the target internet of things equipment is visited
Ask that request is sent to cloud server terminal;
Web process sends code for user interfaces corresponding with the target internet of things equipment access request in cloud server terminal
To controlling terminal, so that controlling terminal executes the code for user interfaces;
Controlling terminal receives the code for user interfaces, sends needed for executing the code for user interfaces to cloud server terminal
The acquisition request of data;
Cloud server terminal Web process receives the acquisition request, and the acquisition request is forwarded to cloud server terminal VPN process,
The acquisition request is sent to the target internet of things equipment by cloud server terminal VPN process;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user interface generation
The required data of code, and the required data for executing the code for user interfaces are sent to cloud server terminal;
Cloud server terminal VPN process receives the required data of the code for user interfaces, by the institute of the code for user interfaces
It needs data forwarding to cloud server terminal Web process, is sent the required data of the code for user interfaces by cloud server terminal Web process
To controlling terminal;
Controlling terminal executes the code for user interfaces, to show the required number for executing the code for user interfaces
According to.
In a possible embodiment, the cloud server terminal Web process will acquire request especially by following manner
It is forwarded to cloud server terminal VPN process:
Cloud server terminal Web process receives the acquisition request, searches the target internet of things equipment in the local database
VPN subnet address;
Cloud server terminal Web process according to the VPN subnet address, by the acquisition request be forwarded to cloud server terminal VPN into
Journey.
In a possible embodiment, in the target internet of things equipment corresponding application programs especially by with lower section
Formula obtains executing the required data of the code for user interfaces:
VPN client process receives the acquisition request in target internet of things equipment, and the VPN client process is for connecing
Receive the request from cloud server terminal;
The acquisition request is forwarded to Web in target internet of things equipment by VPN client process in target internet of things equipment
Server processes;
The acquisition request is forwarded to corresponding application programs by Web server process in target internet of things equipment;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user interface generation
The required data of code.
In a possible embodiment, in the target internet of things equipment Web server process especially by following
The acquisition request is forwarded to corresponding application programs by mode:
Web server process extracts critical field from the acquisition request in target internet of things equipment;
Internet of things equipment control method provided in an embodiment of the present invention, can facilitate user safely long-range in controlling terminal
Control target internet of things equipment.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to required attached in embodiment description
Figure is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments as described in this application, for
For those of ordinary skill in the art, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of exemplary application schematic diagram of a scenario shown in one exemplary embodiment of the application;
Fig. 2 is a kind of interaction flow signal of internet of things equipment control method shown in one exemplary embodiment of the application
Figure.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In order to facilitate understanding of embodiments of the present invention, it is further explained below in conjunction with attached drawing with specific embodiment
Bright, embodiment does not constitute the restriction to the embodiment of the present invention.
In this application, a kind of exemplary application schematic diagram of a scenario as shown in Figure 1, in application scenarios as shown in Figure 1
In schematic diagram, controlling terminal is mobile phone, naturally it is also possible to be other terminals, such as can be computer, PDA, plate, the application couple
The specific manifestation form of controlling terminal is without limitation.Internet of things equipment is IP Camera, and cloud server terminal can be a certain specific
Server or server cluster.
Technical solution provided by the present application, controlling terminal receive the target internet of things equipment access request of user's input, and
The target internet of things equipment access request is sent to cloud server terminal;Web process will be with the target Internet of Things in cloud server terminal
The corresponding code for user interfaces of net equipment access request is sent to controlling terminal, so that controlling terminal executes the user interface generation
Code;Controlling terminal receives the code for user interfaces, and the required data for executing the code for user interfaces are sent to cloud server terminal
Acquisition request;Cloud server terminal Web process receives the acquisition request, by the acquisition request be forwarded to cloud server terminal VPN into
The acquisition request is sent to the target internet of things equipment by cloud server terminal VPN process by journey;Phase in target internet of things equipment
Application program is answered to execute the acquisition request, to obtain executing the required data of the code for user interfaces, and by the execution
The required data of the code for user interfaces are sent to cloud server terminal;Cloud server terminal VPN process receives the code for user interfaces
Required data, by the required data forwarding of the code for user interfaces to cloud server terminal Web process, by cloud server terminal Web into
The required data of the code for user interfaces are sent to controlling terminal by journey;Controlling terminal executes the code for user interfaces, with
Show the required data for executing the code for user interfaces.In this way, can facilitate user controlling terminal safely
Long-range control target internet of things equipment.
In order to be further illustrated to the application, the following example is provided, the application is illustrated:
As shown in Fig. 2, being a kind of interaction flow schematic diagram of the application internet of things equipment control method, specifically can wrap
Include following steps:
S201, controlling terminal receive the target internet of things equipment access request of user's input;
In this application, user wants access to the IP Camera driven by Jeejio, and controlling terminal can be used in user
Access network address: https: //jeejio.com/zlei/webcam/monitor/pic_now/, such as using as shown in Figure 1
The above-mentioned network address of mobile phone access, in this URL, " webcam " is the alias that user rises to IP Camera;" monitor " be
The title of the application program run on IP Camera;" pic_now " is one " subpage frame " in " minitor " app,
Controlling terminal can receive the target internet of things equipment access request of user's input, which can be with
Be as above described URL.
The target internet of things equipment access request is sent to cloud server terminal by S202, controlling terminal;
The target internet of things equipment access request is sent to cloud server terminal by controlling terminal, such as can will be above-mentioned described
URL (https: //jeejio.com/zlei/webcam/monitor/pic_now/) be sent to cloud server terminal, specifically send out
Web process is sent into cloud server terminal.
S203, Web process will user interface generation corresponding with the target internet of things equipment access request in cloud server terminal
Code is sent to controlling terminal, so that controlling terminal executes the code for user interfaces;
After Web process receives above-mentioned described target internet of things equipment access request in cloud server terminal, cloud server terminal
Code for user interfaces corresponding with the target internet of things equipment access request is sent to controlling terminal by middle Web process, so that
Controlling terminal executes the code for user interfaces.
Such as Web process will HTML5 user interface generation corresponding with target internet of things equipment access request in cloud server terminal
Code is sent to mobile phone as shown in Figure 1.Wherein, HTML5 code for user interfaces is exclusively for IP Camera " monitor "
What app write.In general, this code is a part for the third party application developed by third party developer.Third party answers
It is needed for its code for user interfaces to be placed in server-side during the installation process with program, so that any control equipment is related in access
It can be retrieved when application program.
S204, controlling terminal receive the code for user interfaces, send to cloud server terminal and execute the code for user interfaces
Required data acquisition request;
Controlling terminal receives the code for user interfaces, since controlling terminal is in the process for executing the code for user interfaces
It is middle to need to obtain data from target internet of things equipment, it is therefore desirable to the institute for executing the code for user interfaces is sent to cloud server terminal
Need the acquisition request of data.
Such as shown in Figure 1, mobile phone browser needs during executing HTML5 code for user interfaces from network shooting
Head obtains more data.For example, part HTML5 code needs to access the latest image of IP Camera capture, URL is
https://jeejio.com/zlei/webcam/monitor/data_now.This is that IP Camera is required to execute one section of generation
Code simultaneously returns to required image.
S205, cloud server terminal Web process receive the acquisition request, the acquisition request are forwarded to cloud server terminal VPN
The acquisition request is sent to the target internet of things equipment by cloud server terminal VPN process by process;
Cloud server terminal Web process receives the acquisition request, and the acquisition request is forwarded to cloud server terminal VPN process,
The acquisition request is sent to the target internet of things equipment by cloud server terminal VPN process, specific implementation is as follows:
Cloud server terminal Web process receives the acquisition request, searches the target internet of things equipment in the local database
VPN subnet address, cloud server terminal Web process is forwarded to cloud server terminal according to the VPN subnet address, by the acquisition request
The acquisition request is sent to the target internet of things equipment by cloud server terminal VPN process by VPN process.
Such as shown in Figure 1, cloud server terminal Web process receives the acquisition request, it is necessary first to search in the database
This specific equipment, the i.e. IP Camera of zlei, it is located on the VPN subnet of 10.0.0.1.Then cloud server terminal Web into
URL request can be transmitted to the cloud server terminal VPN process for being responsible for this VPN by journey.These VPN are that cloud server terminal is allowed to set with Internet of Things
The standby secure tunnel connected each other.Wherein, general VPN agency service is not provided here.These VPN cannot be used for third party and answer
It is accessed with the universal network of program, is simply possible to use in cloud server terminal and is in communication with each other with internet of things equipment, be the peace that the two connects each other
Full tunnel, as shown in Figure 1, the network shooting head apparatus of zlei is located at the place that the address VPN is 10.0.0.17, it is therefore, initial to control
The URL https at end processed: //jeejio.com/zlei/webcam/monitor/data_now can be expressed as http: //
10.0.0.17/monitor/data_now。
S206, corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user
The required data of interface code;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user interface generation
The required data of code, specific implementation are as follows:
VPN client process receives the acquisition request in target internet of things equipment, and the VPN client process is for connecing
Receive the request from cloud server terminal;The acquisition request is forwarded to target by VPN client process in target internet of things equipment
Web server process in internet of things equipment;The acquisition request is forwarded to phase by Web server process in target internet of things equipment
Answer application program;Corresponding application programs execute the acquisition request in target internet of things equipment, are connect with obtaining executing the user
The required data of mouth code.
Wherein, the acquisition request is forwarded to corresponding application programs by Web server process in target internet of things equipment, is had
Body implementation is as follows:
Web server process extracts critical field from the acquisition request in target internet of things equipment;According to the pass
The acquisition request is forwarded to corresponding application programs by key field.
In addition, corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user
The required data of interface code, specific implementation are as follows:
Corresponding application programs parse field relevant to itself from the acquisition request in target internet of things equipment;Root
According to the field relevant to itself, the acquisition request is executed, to obtain executing the required data of the code for user interfaces.
Such as shown in Figure 1, running a VPN client process on IP Camera, it comes from cloud service for receiving
Then the request at end forwards the request to the local Web server process of entitled " httpd " that runs on IP Camera,
All communications relevant to cloud server terminal are required via " httpd " process run on internet of things equipment.Therefore, httpd into
The request that journey needs to send cloud server terminal is transmitted to the specific third party application run on IP Camera.In URL
" minitor " field be used to index response app, the field be used to search " app 1 " and the process corresponding to it.
" minitor " app on network shooting head apparatus is the application program of third party's exploitation, it eventually receives and sends
Request, and uniquely part relevant to " minitor " app is " data_now " in URL." minitor " app is received
Request can be executed by capture present image after " data_now " request, and send responses to local " httpd ".
S207, corresponding application programs are by the required data for executing the code for user interfaces in target internet of things equipment
It is sent to cloud server terminal;
Corresponding application programs send the required data for executing the code for user interfaces in target internet of things equipment
To cloud server terminal, specific implementation is as follows:
Corresponding application programs are by the required data forwarding for executing the code for user interfaces in target internet of things equipment
The Web server process into target internet of things equipment;Web server process executes the use for described in target internet of things equipment
The required data forwarding of family interface code VPN client process into target internet of things equipment;VPN visitor in target internet of things equipment
The required data for executing the code for user interfaces are sent to cloud server terminal by family end process.
Such as shown in Figure 1, app is sent responses to local " httpd ", local " httpd " forwards the response to net
Response is sent to cloud clothes by the VPN client process run on network camera, the VPN client process run on IP Camera
Business end.
S208, cloud server terminal VPN process receive the required data of the code for user interfaces, by the code for user interfaces
Required data forwarding to cloud server terminal Web process, by cloud server terminal Web process by the required data of the code for user interfaces
It is sent to controlling terminal;
Cloud server terminal VPN process receives the required data of the code for user interfaces, by the institute of the code for user interfaces
It needs data forwarding to cloud server terminal Web process, is sent the required data of the code for user interfaces by cloud server terminal Web process
To controlling terminal.
Such as shown in Figure 1, the VPN client process on IP Camera forwards the response to cloud server terminal operation
The VPN process of VPN process, cloud server terminal operation forwards the response to the Web process of cloud server terminal operation, is run by cloud server terminal
Web process response is sent to mobile phone terminal.
S209, controlling terminal execute the code for user interfaces, to show the institute for executing the code for user interfaces
Need data.
Controlling terminal receives the required data for executing the code for user interfaces, executes the code for user interfaces,
To show the required data for executing the code for user interfaces, the control to target internet of things equipment is completed.
Such as shown in Figure 1, mobile phone terminal receives the required data for executing the code for user interfaces, transported in mobile phone terminal
Capable HTML5 code will continue to execute, and finally show the present image of IP Camera capture.
Have above-mentioned it is found that the vpn tunneling between cloud server terminal and internet of things equipment ensure that message can pass through wide area network
Safety reaches internet of things equipment, and is all based on URL and is communicated.
By the above-mentioned description to technical solution provided by the embodiments of the present application, controlling terminal receives the target of user's input
Internet of things equipment access request, and the target internet of things equipment access request is sent to cloud server terminal;Web in cloud server terminal
Code for user interfaces corresponding with the target internet of things equipment access request is sent to controlling terminal by process, so that control is eventually
End executes the code for user interfaces;Controlling terminal receives the code for user interfaces, sends to cloud server terminal and executes the use
The acquisition request of the required data of family interface code;Cloud server terminal Web process receives the acquisition request, by the acquisition request
It is forwarded to cloud server terminal VPN process, the acquisition request is sent to the target Internet of Things by cloud server terminal VPN process and is set
It is standby;Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the code for user interfaces
Required data, and the required data for executing the code for user interfaces are sent to cloud server terminal;Cloud server terminal VPN process
The required data for receiving the code for user interfaces, by the required data forwarding of the code for user interfaces to cloud server terminal Web
The required data of the code for user interfaces are sent to controlling terminal by cloud server terminal Web process by process;Controlling terminal executes
The code for user interfaces, to show the required data for executing the code for user interfaces.In this way, which use can be facilitated
Family safely remotely controls target internet of things equipment in controlling terminal.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists
When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic or disk
Etc. the various media that can store program code.
Corresponding with the embodiment of preceding networking control method, present invention also provides Internet of Things network control systems:
A kind of internet of things equipment control system, which is characterized in that the system comprises: controlling terminal, cloud server terminal, Internet of Things
Net equipment;
Controlling terminal receives the target internet of things equipment access request of user's input, and the target internet of things equipment is visited
Ask that request is sent to cloud server terminal;
Web process sends code for user interfaces corresponding with the target internet of things equipment access request in cloud server terminal
To controlling terminal, so that controlling terminal executes the code for user interfaces;
Controlling terminal receives the code for user interfaces, sends needed for executing the code for user interfaces to cloud server terminal
The acquisition request of data;
Cloud server terminal Web process receives the acquisition request, and the acquisition request is forwarded to cloud server terminal VPN process,
The acquisition request is sent to the target internet of things equipment by cloud server terminal VPN process;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the user interface generation
The required data of code, and the required data for executing the code for user interfaces are sent to cloud server terminal;
Cloud server terminal VPN process receives the required data of the code for user interfaces, by the institute of the code for user interfaces
It needs data forwarding to cloud server terminal Web process, is sent the required data of the code for user interfaces by cloud server terminal Web process
To controlling terminal;
Controlling terminal executes the code for user interfaces, to show the required number for executing the code for user interfaces
According to.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure
Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate
The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description.
These functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.
Professional technician can use different methods to achieve the described function each specific application, but this realization
It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can be executed with hardware, processor
The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory
(ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium well known to interior.
Above-described specific embodiment has carried out further the purpose of the present invention, technical scheme and beneficial effects
It is described in detail, it should be understood that being not intended to limit the present invention the foregoing is merely a specific embodiment of the invention
Protection scope, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.
Claims (10)
1. a kind of internet of things equipment control method, which is characterized in that it is applied to internet of things equipment control system, the system comprises
Controlling terminal, cloud server terminal, internet of things equipment, which comprises
Controlling terminal receives the target internet of things equipment access request of user's input, and target internet of things equipment access is asked
It asks and is sent to cloud server terminal;
Code for user interfaces corresponding with the target internet of things equipment access request is sent to control by Web process in cloud server terminal
Terminal processed, so that controlling terminal executes the code for user interfaces;
Controlling terminal receives the code for user interfaces, and the required data for executing the code for user interfaces are sent to cloud server terminal
Acquisition request;
Cloud server terminal Web process receives the acquisition request, the acquisition request is forwarded to cloud server terminal VPN process, by cloud
The acquisition request is sent to the target internet of things equipment by server-side VPN process;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the code for user interfaces
Required data, and the required data for executing the code for user interfaces are sent to cloud server terminal;
Cloud server terminal VPN process receives the required data of the code for user interfaces, by the required number of the code for user interfaces
According to cloud server terminal Web process is forwarded to, the required data of the code for user interfaces are sent to control by cloud server terminal Web process
Terminal processed;
Controlling terminal executes the code for user interfaces, to show the required data for executing the code for user interfaces.
2. the method according to claim 1, wherein the cloud server terminal Web process receives the acquisition request,
The acquisition request is forwarded to cloud server terminal VPN process, comprising:
Cloud server terminal Web process receives the acquisition request, searches the VPN of the target internet of things equipment in the local database
Subnet address;
Cloud server terminal Web process is forwarded to cloud server terminal VPN process according to the VPN subnet address, by the acquisition request.
3. the method according to claim 1, wherein corresponding application programs execute in the target internet of things equipment
The acquisition request, to obtain executing the required data of the code for user interfaces, comprising:
VPN client process receives the acquisition request in target internet of things equipment, and the VPN client process is come for receiving
From in the request of cloud server terminal;
The acquisition request is forwarded to Web service in target internet of things equipment by VPN client process in target internet of things equipment
Device process;
The acquisition request is forwarded to corresponding application programs by Web server process in target internet of things equipment;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the code for user interfaces
Required data.
4. according to the method described in claim 3, it is characterized in that, Web server process will in the target internet of things equipment
The acquisition request is forwarded to corresponding application programs, comprising:
Web server process extracts critical field from the acquisition request in target internet of things equipment;
The acquisition request is forwarded to corresponding application programs according to the critical field.
5. according to the method described in claim 3, it is characterized in that, corresponding application programs execute in the target internet of things equipment
The acquisition request, to obtain executing the required data of the code for user interfaces, comprising:
Corresponding application programs parse field relevant to itself from the acquisition request in target internet of things equipment;
According to the field relevant to itself, the acquisition request is executed, to obtain executing the institute of the code for user interfaces
Need data.
6. according to the method described in claim 3, it is characterized in that, described execute described needed for the code for user interfaces
Data are sent to cloud server terminal, comprising:
Corresponding application programs are by the required data forwarding for executing the code for user interfaces to mesh in target internet of things equipment
Mark Web server process in internet of things equipment;
Web server process is by the required data forwarding for executing the code for user interfaces to mesh in target internet of things equipment
Mark VPN client process in internet of things equipment;
The required data for executing the code for user interfaces are sent to cloud by VPN client process in target internet of things equipment
Server-side.
7. a kind of internet of things equipment control system, which is characterized in that the system comprises: controlling terminal, cloud server terminal, Internet of Things
Equipment;
Controlling terminal receives the target internet of things equipment access request of user's input, and target internet of things equipment access is asked
It asks and is sent to cloud server terminal;
Code for user interfaces corresponding with the target internet of things equipment access request is sent to control by Web process in cloud server terminal
Terminal processed, so that controlling terminal executes the code for user interfaces;
Controlling terminal receives the code for user interfaces, and the required data for executing the code for user interfaces are sent to cloud server terminal
Acquisition request;
Cloud server terminal Web process receives the acquisition request, the acquisition request is forwarded to cloud server terminal VPN process, by cloud
The acquisition request is sent to the target internet of things equipment by server-side VPN process;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the code for user interfaces
Required data, and the required data for executing the code for user interfaces are sent to cloud server terminal;
Cloud server terminal VPN process receives the required data of the code for user interfaces, by the required number of the code for user interfaces
According to cloud server terminal Web process is forwarded to, the required data of the code for user interfaces are sent to control by cloud server terminal Web process
Terminal processed;
Controlling terminal executes the code for user interfaces, to show the required data for executing the code for user interfaces.
8. system according to claim 7, which is characterized in that the cloud server terminal Web process is especially by following manner
It will acquire request and be forwarded to cloud server terminal VPN process:
Cloud server terminal Web process receives the acquisition request, searches the VPN of the target internet of things equipment in the local database
Subnet address;
Cloud server terminal Web process is forwarded to cloud server terminal VPN process according to the VPN subnet address, by the acquisition request.
9. system according to claim 7, which is characterized in that corresponding application programs are specific in the target internet of things equipment
Obtain executing the required data of the code for user interfaces in the following manner:
VPN client process receives the acquisition request in target internet of things equipment, and the VPN client process is come for receiving
From in the request of cloud server terminal;
The acquisition request is forwarded to Web service in target internet of things equipment by VPN client process in target internet of things equipment
Device process;
The acquisition request is forwarded to corresponding application programs by Web server process in target internet of things equipment;
Corresponding application programs execute the acquisition request in target internet of things equipment, to obtain executing the code for user interfaces
Required data.
10. system according to claim 9, which is characterized in that Web server process has in the target internet of things equipment
The acquisition request is forwarded to corresponding application programs in the following manner by body:
Web server process extracts critical field from the acquisition request in target internet of things equipment;
The acquisition request is forwarded to corresponding application programs according to the critical field.
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 true CN110161870A (en) | 2019-08-23 |
CN110161870B 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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117556578A (en) * | 2024-01-09 | 2024-02-13 | 中科物栖(南京)科技有限公司 | Method, device, equipment and storage medium for graphically generating Internet of things application |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753606A (en) * | 2008-12-03 | 2010-06-23 | 北京天融信科技有限公司 | Method for realizing WEB reverse proxy |
CN105898893A (en) * | 2016-05-31 | 2016-08-24 | 北京乐美无限科技有限公司 | Method for realizing full-duplex communication between mobile terminal and IOT equipment |
CN105915577A (en) * | 2015-12-18 | 2016-08-31 | 美的集团股份有限公司 | Internet of things control system, terminal, gateway, remote control terminal and method |
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 |
CN107697762A (en) * | 2017-09-30 | 2018-02-16 | 上海江菱机电有限公司 | Overhauling elevator method and system 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 |
KR101876183B1 (en) * | 2017-11-20 | 2018-08-02 | 수상에스티(주) | Security-enhanced residential gateway device based on internet of things |
CN109561054A (en) * | 2017-09-26 | 2019-04-02 | 华为技术有限公司 | A kind of data transmission method, controller and access device |
-
2019
- 2019-05-16 CN CN201910405178.7A patent/CN110161870B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101753606A (en) * | 2008-12-03 | 2010-06-23 | 北京天融信科技有限公司 | 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 |
CN105898893A (en) * | 2016-05-31 | 2016-08-24 | 北京乐美无限科技有限公司 | Method for realizing full-duplex communication between mobile terminal and IOT 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 |
CN109561054A (en) * | 2017-09-26 | 2019-04-02 | 华为技术有限公司 | A kind of data transmission method, controller and access device |
CN107697762A (en) * | 2017-09-30 | 2018-02-16 | 上海江菱机电有限公司 | 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 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117556578A (en) * | 2024-01-09 | 2024-02-13 | 中科物栖(南京)科技有限公司 | Method, device, equipment and storage medium for graphically generating Internet of things application |
CN117556578B (en) * | 2024-01-09 | 2024-03-26 | 中科物栖(南京)科技有限公司 | Method, device, equipment and storage medium for graphically generating Internet of things application |
Also Published As
Publication number | Publication date |
---|---|
CN110161870B (en) | 2022-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528432B (en) | The construction method and device of test scene data bury a test method | |
CN102521284B (en) | Page screenshot processing method and device based on mobile terminal browser | |
EP3389230A2 (en) | System for providing dialog content | |
CN104820643B (en) | Method and apparatus for establishing connection between user equipment and smart machine | |
CN104462570B (en) | Web page contents acquisition methods and device | |
CN110990741B (en) | Page display method and device, electronic equipment, server and storage medium | |
US20210337015A1 (en) | Method and system of application development for multiple device client platforms | |
CN110716850B (en) | Page testing method, device and system and storage medium | |
CN105187480B (en) | Profile acquisition method, apparatus and system | |
JP2014517416A (en) | Selective link for message accounts | |
CN105205072B (en) | The methods of exhibiting and system of webpage information | |
CN107509051A (en) | Long-range control method, device, terminal and computer-readable recording medium | |
CN107181779A (en) | Processing method, the device and system of access request | |
CN109905380A (en) | Node control method and relevant apparatus in a kind of distributed system | |
CN108228444A (en) | A kind of test method and device | |
EP3607440A1 (en) | Credential-based proactive discovery of remote micro-services by spreadsheet applications | |
CN104335524A (en) | Common web accessible data store for client side page processing | |
CN112565406B (en) | Gray release method, gray release system and electronic equipment | |
CN105873006A (en) | Device identification method and device | |
CN108345606A (en) | The acquisition methods and device of web page resources | |
CN109726545A (en) | A kind of information display method, equipment, computer readable storage medium and device | |
EP3805938B1 (en) | Server node selection method and terminal device | |
CN108616896A (en) | Operator's recognition methods, device and internent access system | |
CN106209584A (en) | User profile processing method based on the Internet, client and server | |
CN110161870A (en) | A kind of internet of things equipment control method and system |
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 |