CN112666877A - Control system of Internet of things - Google Patents

Control system of Internet of things Download PDF

Info

Publication number
CN112666877A
CN112666877A CN202110133041.8A CN202110133041A CN112666877A CN 112666877 A CN112666877 A CN 112666877A CN 202110133041 A CN202110133041 A CN 202110133041A CN 112666877 A CN112666877 A CN 112666877A
Authority
CN
China
Prior art keywords
gateway
control instruction
server
instruction
intelligent internet
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
Application number
CN202110133041.8A
Other languages
Chinese (zh)
Other versions
CN112666877B (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.)
Atz Iot Technology Guangdong Co ltd
Original Assignee
Atz Iot Technology Guangdong 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 Atz Iot Technology Guangdong Co ltd filed Critical Atz Iot Technology Guangdong Co ltd
Priority to CN202110133041.8A priority Critical patent/CN112666877B/en
Publication of CN112666877A publication Critical patent/CN112666877A/en
Application granted granted Critical
Publication of CN112666877B publication Critical patent/CN112666877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Abstract

The application discloses control system of thing networking relates to thing networking technology field, can solve among the prior art gateway broken string and restart the back can't carry out the problem of control according to the control command that the user sent. The system mainly comprises: the system comprises a controller, a gateway and intelligent Internet of things equipment; the controller generates and sends a control instruction according to the input of a user; the gateway receives and caches the control instruction sent by the controller, and the control instruction is identified by a first state; the intelligent Internet of things equipment reports a first instruction issuing request to the gateway; the gateway receives a first instruction issuing request reported by the intelligent Internet of things equipment and issues a control instruction; the intelligent Internet of things equipment receives a control instruction issued by the gateway, generates and sends a first state modification request. The method and the device are applied to the process of controlling the issuing of the control command in the Internet of things.

Description

Control system of Internet of things
Technical Field
The application relates to the technical field of Internet of things, in particular to a control system of the Internet of things.
Background
The internet of things refers to the fact that any object is connected with a network through information sensing equipment according to an agreed protocol, information exchange and communication are conducted on the object through an information transmission medium, namely the object and the object are related, and therefore functions of intelligent identification, positioning, tracking, supervision and the like are achieved. Generally, an internet of things control system comprises a gateway, and the gateway is used for realizing signal transmission among a server, a controller and intelligent internet of things equipment in the internet of things system.
In the related art, if the gateway is in a disconnected state, the gateway cannot cache the control instruction sent by the server, and the intelligent internet of things device cannot receive the control instruction issued by the gateway. Once the gateway is networked again, the gateway cannot acquire a control instruction, so that the intelligent internet of things equipment cannot be controlled according to the control instruction sent by the user.
Disclosure of Invention
The application provides a control system of thing networking to solve among the prior art network cut-off and can't carry out the problem of controlling according to the control command that the user sent after restarting.
In a first aspect, the present application provides a control system of an internet of things, where the method includes: the system comprises a controller, a gateway and intelligent Internet of things equipment; the controller generates and sends a control instruction according to user input, wherein the control instruction is used for indicating the intelligent internet of things equipment to operate according to preset parameters; the gateway receives and caches a control instruction sent by the controller, and the control instruction is identified by a first state; the intelligent Internet of things equipment reports a first instruction issuing request to the gateway; the gateway receives the first instruction issuing request reported by the intelligent Internet of things equipment and issues the control instruction; and the intelligent internet of things equipment receives the control instruction issued by the gateway, generates and sends a first state modification request, and the first state modification request is used for requesting the gateway to modify the identifier of the control instruction into a second state.
With reference to the first aspect, in a first possible implementation manner of the first aspect, before the gateway issues the control instruction, the system further includes a server; the server receives a control command sent by the controller, writes the control command into a buffer queue, and marks the control command in a third state; the gateway reports a second instruction issuing request to the server; the server receives a second instruction issuing request reported by the gateway and issues the control instruction; the gateway receives and caches a control instruction issued by the server, identifies the control instruction by a 'first state', generates and sends a second state modification request, and the second state modification request is used for requesting the server to modify the identification of the control instruction into the 'first state'; and the server responds to a second state modification request sent by the gateway and modifies the identifier of the control instruction into a first state.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the writing, by the server, the control instruction into a buffer queue includes: and the server writes the control commands into a buffer queue in sequence according to the sending time of the control commands.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the issuing, by the server, the control instruction includes: the server acquires the connection state of the gateway and the server; and if the server judges that the connection state of the gateway and the server is a continuous connection state, serially issuing the control commands in the buffer queue in sequence. If the server judges that the connection state of the gateway and the server is a response connection state, acquiring and sequentially issuing the control instruction marked by a third state; wherein the response connection state is: a connection state in which an accumulated connection time is less than a preset time from the time when the server establishes a communication connection with the gateway; the continuous connection state is as follows: and a connection state in which the accumulated connection time is longer than a second preset time from the time when the server establishes communication connection with the gateway.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the intelligent internet of things device receives the control instruction, the system further includes: the intelligent Internet of things equipment executes the control command; and the intelligent internet of things equipment generates and sends instruction execution feedback information to the gateway and/or the server according to the execution result of the control instruction.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the intelligent internet of things device executes the control instruction, the system further includes: if the intelligent internet of things equipment does not successfully execute the control command, generating a third command issuing request, wherein the third command issuing request is used for indicating the gateway to issue the control command again; and if the intelligent internet of things equipment successfully executes the control command, generating a command deleting request, wherein the command deleting request is used for indicating the gateway and/or the server to delete the control command.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the intelligent internet of things device executes the control instruction, the system further includes: and if the intelligent Internet of things equipment successfully executes the control command, the intelligent Internet of things equipment is operated according to the control command until a new control command is successfully executed again.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the reporting, by the intelligent internet of things device, a first instruction issuing request to the gateway includes generating, by the intelligent internet of things device, the first instruction issuing request according to a first preset time interval; and the intelligent Internet of things equipment sends the first instruction issuing request to the gateway.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the reporting, by the gateway, the second instruction issue request to the server includes: the gateway generates the second instruction issuing request according to a second preset time interval; the gateway sends the second instruction issuing request to the server.
With reference to the first aspect, in a first possible implementation manner of the first aspect, after the controller generates and sends the control instruction according to the user input, the system further includes: the gateway sets the callback function carried by the control instruction; the intelligent equipment sends the first state modification request according to the callback function; and/or the server sets the callback function carried by the control instruction; the gateway sends the second state modification request according to the callback function; the callback function is used for recording the identification of the control instruction through a command state, and the callback function is also used for establishing an information transmission link.
In the embodiment of the application, a control instruction is generated and sent by a controller according to user input, a gateway device receives and caches the control instruction sent by the controller, the control instruction is identified by a 'first state', the control instruction sent by the controller is received and cached by the gateway, and an intelligent internet of things device reports a first instruction issuing request to the gateway; the gateway receives the first instruction issuing request reported by the intelligent Internet of things equipment and issues the control instruction; and the intelligent internet of things equipment receives the control instruction issued by the gateway, generates and sends a first state modification request, and the first state modification request is used for requesting the gateway to modify the identifier of the control instruction into a second state. Therefore, whether the control instruction is issued to the intelligent internet of things equipment or not is judged through the identification of the control instruction in the gateway, whether the intelligent internet of things equipment has a network disconnection or power failure condition in the operation process or not is judged, the gateway responds to a first instruction issuing request reported by the intelligent internet of things equipment, the identification of the issued control instruction is in a first state, as long as the intelligent internet of things equipment does not receive the control instruction, a first state modification request cannot be generated, the identification of the control instruction in the gateway is still in the first state, and when the intelligent internet of things equipment reports a gateway connection request again, the control instruction can be issued again, so that the situation that the intelligent internet of things equipment cannot receive the control instruction sent by a user due to the network disconnection or power failure condition is avoided. After the intelligent internet of things equipment generates and sends the first modification request, the gateway modifies the identifier of the control instruction after receiving the first state modification request, so that the control instruction cannot be repeatedly issued.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic structural diagram of a control system of a first internet of things provided in the present application;
fig. 2 is a schematic structural diagram of a control system of a second internet of things provided in the embodiment of the present application;
fig. 3 is a schematic flowchart of a method for issuing a control instruction according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a control system of a third internet of things provided in the embodiment of the present application.
Detailed Description
Referring to fig. 1, a schematic structural diagram of a control system of a first internet of things provided in the embodiment of the present application is shown. The system comprises: the controller, the gateway and the intelligent internet of things device specifically comprise the following steps of 101 to 105:
step 101: the controller generates and transmits a control command according to user input.
In this embodiment of the application, the control instruction is used to instruct the intelligent internet of things device to operate according to preset parameters. For example, the control instruction instructs the air conditioner to be in the cooling mode and the temperature to be 23 degrees celsius.
The controller refers to an electronic device capable of controlling the smart internet of things device, and includes but is not limited to a mobile phone, a remote controller, a third party console, and the like. The controller has an input device capable of receiving user input, including but not limited to a keyboard, keys, a voice receiving device, a gateway connection, and the like.
For example, the remote controller may be a key remote controller, an infrared remote controller, a bluetooth remote controller, an NFC remote controller, or a voice remote controller, and the type of the remote controller is not limited in this embodiment. The user input means input by a user through a key or voice according to the input device of the remote controller.
Illustratively, an application program for controlling the intelligent internet of things device is installed on the mobile phone, and a user receives user input through an input device of the mobile phone and generates a control instruction. The input devices of the handset may include, but are not limited to, a keypad, a display screen, a voice receiving device, and a camera.
Illustratively, the third party console is an artificial intelligence assistant that receives user input and generates control instructions by receiving the user input to the artificial intelligence assistant.
The controller can generate a control instruction according to the user input and send the control instruction. In order to send the control instruction, the controller needs to be connected with the gateway device, and therefore, the controller has connection functions of infrared, bluetooth, WIFI, NFC and the like, so as to transfer the control instruction.
Step 102: the gateway receives and caches the control instruction sent by the controller, and the control instruction is identified by a first state.
In the embodiment of the application, the gateway receives the control instruction sent by the controller and writes the control instruction into the buffer queue. Because the memory occupied by the control instructions is small and the memory occupied by different control instructions is basically the same, the sequence of the control instructions sent by the controller can be considered as the same as the sequence of the control instructions received by the gateway. And writing the control instructions into the buffer queue in sequence according to the sequence of receiving the control instructions. Because network faults and networks exist in the network transmission process, the internet of things executing instructions corresponding to the control instructions are stored in sequence according to the sending time of the control instructions, and the actual requirements of users are met. The control instruction refers to an instruction which can be executed by the intelligent internet of things device.
It can be understood that corresponding analysis algorithms are respectively set according to the usage scenarios of the intelligent internet of things devices, corresponding preset scenario algorithms are selected according to the types of the intelligent internet of things devices controlled by the control instructions, or the attributes of the instruction control parameters, or the environmental parameters of the locations of the intelligent internet of things devices, and the control instructions are analyzed according to the preset scenario algorithms. It should be noted that, in the parsing process, the control instruction may further be encrypted and decrypted by a preset encoding and decoding manner, and in this embodiment, the timing of encryption and decryption and the specific algorithm used are not limited.
It can be understood that the first state represents that the control command is buffered in the gateway, that is, the first state is used to instruct the control command to be sent to the current gateway device.
Step 103: and the intelligent Internet of things equipment reports a first instruction issuing request to the gateway.
Before reporting the gateway connection request, the intelligent internet of things device and the gateway may be in a connected state or a non-connected state. The first instruction issuing request is used for requesting the gateway to issue a new control instruction if the gateway is in a connected state, and requesting the gateway to issue a control instruction which is not issued to the intelligent internet of things device if the gateway is in a non-connected state.
Reporting a first instruction issuing request, specifically comprising: the intelligent internet of things equipment generates the first instruction issuing request according to a first preset time interval; and the intelligent Internet of things equipment sends the first instruction issuing request to the gateway. Illustratively, the first preset time interval is 30 seconds, and the intelligent internet of things device reports a first instruction issuing request to the gateway every 30 seconds to ensure that the intelligent internet of things device is in a connection state with the network, so that the intelligent internet of things device can receive the control instruction.
It can be understood that the first instruction issuing request may be generated and reported when it is detected that there is no control instruction that is not issued currently, the first instruction issuing request may be generated and reported when the intelligent internet of things device requests the gateway to issue the control instruction and the control instruction that can be issued is not found, or the first instruction issuing request may be generated and reported every time a preset time interval passes.
Step 104: and the gateway receives the first instruction issuing request reported by the intelligent Internet of things equipment and issues the control instruction.
And searching the latest control instruction which is not issued according to the first instruction issuing request, and issuing the control instruction to the intelligent Internet of things equipment so that the intelligent Internet of things equipment can execute the control instruction, and the equipment state of the intelligent Internet of things equipment can meet the requirement of a user.
Step 105: and the intelligent Internet of things equipment receives the control command issued by the gateway, generates and sends a first state modification request.
In this embodiment of the application, the first state modification request is used to request the gateway to modify the identifier of the control command to a "second state". And the second state is used for indicating that the control command is issued to the intelligent Internet of things equipment. After receiving the control instruction, the intelligent internet of things device generates a first state modification request so as to be convenient for maintaining the control instruction after receiving the control instruction, and the intelligent internet of things device runs according to the control instruction.
It should be noted that all information transmitted between the controller and the gateway, and between the gateway and the intelligent internet of things device can be encrypted and decrypted by a preset encoding and decoding mode. In the embodiment of the present application, the time for encryption and decryption and the specific algorithm used are not limited. It can be understood that corresponding analysis algorithms are respectively set according to the usage scenarios of the intelligent internet of things devices, corresponding preset scenario algorithms are selected according to the types of the intelligent internet of things devices controlled by the control instructions, or the attributes of the instruction control parameters, or the environmental parameters of the locations of the intelligent internet of things devices, and the control instructions are analyzed according to the preset scenario algorithms.
In the embodiment of the application, a control instruction is generated and sent by a controller according to user input, a gateway device receives and caches the control instruction sent by the controller, the control instruction is identified by a 'first state', the control instruction sent by the controller is received and cached by the gateway, and an intelligent internet of things device reports a first instruction issuing request to the gateway; the gateway receives the first instruction issuing request reported by the intelligent Internet of things equipment and issues the control instruction; and the intelligent internet of things equipment receives the control instruction issued by the gateway, generates and sends a first state modification request, and the first state modification request is used for requesting the gateway to modify the identifier of the control instruction into a second state. Therefore, whether the control instruction is issued to the intelligent internet of things equipment or not is judged through the identification of the control instruction in the gateway, whether the intelligent internet of things equipment has a network disconnection or power failure condition in the operation process or not is judged, the gateway responds to a first instruction issuing request reported by the intelligent internet of things equipment, the identification of the issued control instruction is in a first state, as long as the intelligent internet of things equipment does not receive the control instruction, a first state modification request cannot be generated, the identification of the control instruction in the gateway is still in the first state, and when the intelligent internet of things equipment reports a gateway connection request again, the control instruction can be issued again, so that the situation that the intelligent internet of things equipment cannot receive the control instruction sent by a user due to the network disconnection or power failure condition is avoided. After the intelligent internet of things equipment generates and sends the first modification request, the gateway modifies the identifier of the control instruction after receiving the first state modification request, so that the control instruction cannot be repeatedly issued.
Further, as shown in fig. 2, for a structural schematic diagram of a second internet-of-things control system provided in the embodiment of the present application, before the gateway issues the control instruction carrying the first callback function in step 104, the system further includes a server; specifically, the method comprises steps 201 to 205:
step 201: and the server receives the control command sent by the controller, writes the control command into a buffer queue and marks the control command in a third state.
In an embodiment of the application, the third status is used to indicate that the control instruction has been received by the server. After receiving the control command, the server writes the control command into a buffer queue, and specifically, the server sequentially writes the control command into the buffer queue according to the sending time of the control command. Because network faults and networks exist in the network transmission process, the control instructions are stored in sequence according to the sending time of the control instructions, and the actual requirements of users are better met. The server may be a cloud service of the gateway, or a cloud service of a third party.
Step 202: and the gateway reports a second instruction issuing request to the server.
Reporting a first instruction issuing request, specifically comprising: the gateway generates the second instruction issuing request according to a second preset time interval; the gateway sends the second instruction issuing request to the server. Illustratively, the second preset time interval is 60 seconds, and the intelligent internet of things device reports a second instruction issuing request to the server every 60 seconds to ensure that the gateway and the server are in a connection state, and the gateway can acquire the latest control instruction in the server.
Step 203: and the server receives a second instruction issuing request reported by the gateway and issues the control instruction.
And searching the latest control instruction which is not issued according to the second instruction issuing request, and issuing the control instruction to the gateway so that the gateway can conveniently acquire the latest control instruction, and the gateway can issue the latest control instruction to the intelligent Internet of things equipment.
As shown in fig. 3, a flowchart of a method for issuing a control instruction according to an embodiment of the present application is shown, where issuing the control instruction with a second callback function specifically includes: 31, A32 and A33.
Step A31; and the server acquires the connection state of the gateway and the server.
Step A32: and if the server judges that the connection state of the gateway and the server is a continuous connection state, serially issuing the control commands in the buffer queue in sequence.
Step A33: and if the server judges that the connection state of the gateway and the server is a response connection state, acquiring and sequentially issuing the control instruction marked by the third state.
In this embodiment, the response connection state is: a connection state in which an accumulated connection time is less than a preset time from the time when the server establishes a communication connection with the gateway; the continuous connection state is as follows: and a connection state in which the accumulated connection time is longer than a second preset time from the time when the server establishes communication connection with the gateway.
It should be understood that the response connection status means that the gateway and the server have just established a connection, that is, there may be a control command that has been issued by the server but has not been received by the gateway, and therefore all the control commands identified in the "third status" need to be issued in sequence to avoid missing execution of part of the control commands. The continuous connection state is that the gateway and the server are always in a connection state within a period of time, the server continuously issues the control instruction within the period of time of the connection state, information interaction is continuously performed between the server and the gateway, and the problem that the command state of the second callback function is inaccurate due to the fact that information feedback is not immediate may exist, so that the control instruction carrying the second callback function is sequentially and serially issued in the continuous connection state in the buffer queue.
Step 204: and the gateway receives and caches the control instruction issued by the server, marks the control instruction by a first state, and generates and sends a second state modification request.
In this embodiment of the application, the second state modification request is used to request the server to modify the identifier of the control command to "the first state". And after receiving the control instruction, the gateway modifies the identifier of the control instruction into a first state to indicate that the control instruction is issued to the gateway.
Step 205: and the server responds to a second state modification request sent by the gateway and modifies the identification of the control command into a first state.
It should be noted that all information transmitted between the controller and the server and between the server and the gateway can be encrypted and decrypted by a preset encoding and decoding mode. In the embodiment of the present application, the time for encryption and decryption and the specific algorithm used are not limited. It can be understood that corresponding analysis algorithms are respectively set according to the usage scenarios of the intelligent internet of things devices, corresponding preset scenario algorithms are selected according to the types of the intelligent internet of things devices controlled by the control instructions, or the attributes of the instruction control parameters, or the environmental parameters of the locations of the intelligent internet of things devices, and the control instructions are analyzed according to the preset scenario algorithms to generate the internet of things execution instructions. It should be noted that, in the parsing process, the control instruction may further be encrypted and decrypted by a preset encoding and decoding manner, and in this embodiment, the timing of encryption and decryption and the specific algorithm used are not limited.
It can be seen from the above embodiments that the control instruction can reach the intelligent internet of things device after passing through the controller, the server and the gateway, and in the use process of the internet of things, because the server needs to provide services for a plurality of gateways, the two-way network power supply device of the server device generally has a low probability of failure. However, the gateway is usually used in a small scale, the number of connected intelligent internet of things devices is small, and a two-way network power supply device is not usually arranged for the gateway. In order to avoid missing execution of the control instruction by the intelligent internet of things device due to network disconnection and power failure of the gateway, in the embodiment of the application, whether the control instruction is issued to the gateway by the server is judged according to the identification of the control instruction, so that the control instruction is not issued repeatedly.
Further, as shown in fig. 4, for a structural schematic diagram of a control system of a third internet of things provided in this embodiment of the application, after the intelligent internet of things device receives the control instruction issued by the gateway in step 105, the system further includes: step 401 to step 404:
step 401: and the intelligent Internet of things equipment executes the control command.
Step 402: and the intelligent internet of things equipment generates and sends instruction execution feedback information to the gateway and/or the server according to the execution result of the control instruction.
Step 403: and if the intelligent Internet of things equipment does not successfully execute the control command, generating a third command issuing request.
Step 404: and if the intelligent internet of things equipment successfully executes the control command, generating a command deleting request.
And if the intelligent Internet of things equipment successfully executes the control command, the intelligent Internet of things equipment is operated according to the control command until a new control command is successfully executed again. The third instruction issuing request is used for instructing the gateway to issue the control instruction again. The command deleting request is used for instructing the gateway and/or the server to delete the control command.
In the embodiment of the application, the issuing process of the control command is to enable the intelligent internet of things device to receive all the control commands, not repeatedly receive the control commands, send command feedback information, repeat the control commands which are not successfully executed by the request, and delete the control commands which are successfully executed.
Further, after the controller sends the control command, the control system of the internet of things further comprises: the gateway sets the callback function carried by the control instruction; the intelligent equipment sends the first state modification request according to the callback function; and/or the server sets the callback function carried by the control instruction; and the gateway sends the second state modification request according to the callback function. The callback function is used for recording the identification of the control instruction through a command state, and the callback function is also used for establishing an information transmission link.
In the embodiment of the application, the first state modification request or the second state modification request is fed back according to the callback function to indicate that the control instruction of the identifier needs to be modified. An exemplary callback function instruction is "callbackUrl". The first state may be represented by a random character, an english word with a specific meaning, or a chinese word with a specific meaning.
In a specific implementation, the present invention further provides a computer storage medium, where the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments of the calling method provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the … … embodiment, since it is basically similar to the method embodiment, the description is simple, and the relevant points can be referred to the description in the method embodiment.
The above-described embodiments of the present invention should not be construed as limiting the scope of the present invention.

Claims (10)

1. A control system of an Internet of things, the system comprising: the system comprises a controller, a gateway and intelligent Internet of things equipment;
the controller generates and sends a control instruction according to user input, wherein the control instruction is used for indicating the intelligent Internet of things equipment to operate according to preset parameters;
the gateway receives and caches a control instruction sent by the controller, and the control instruction is identified by a first state;
the intelligent Internet of things equipment reports a first instruction issuing request to the gateway;
the gateway receives the first instruction issuing request reported by the intelligent Internet of things equipment and issues the control instruction;
and the intelligent Internet of things equipment receives the control instruction issued by the gateway, generates and sends a first state modification request, and the first state modification request is used for requesting the gateway to modify the identifier of the control instruction into a second state.
2. The system of claim 1, wherein before the gateway issues the control command, the system further comprises a server;
the server receives a control instruction sent by the controller, writes the control instruction into a buffer queue, and marks the control instruction in a third state;
the gateway reports a second instruction issuing request to the server;
the server receives a second instruction issuing request reported by the gateway and issues the control instruction;
the gateway receives and caches a control instruction issued by the server, identifies the control instruction by a 'first state', generates and sends a second state modification request, and the second state modification request is used for requesting the server to modify the identification of the control instruction into the 'first state';
and the server responds to a second state modification request sent by the gateway and modifies the identification of the control instruction into a first state.
3. The system of claim 2, wherein the server writes the control instructions to a buffer queue, comprising:
and the server writes the control instructions into a buffer queue in sequence according to the sending time of the control instructions.
4. The system of claim 2, wherein the server issues the control command, comprising:
the server acquires the connection state of the gateway and the server;
if the server judges that the connection state of the gateway and the server is a continuous connection state, serially issuing the control instructions in the buffer queue in sequence;
if the server judges that the connection state of the gateway and the server is a response connection state, acquiring and sequentially issuing the control instruction marked by a third state;
wherein the response connection state is: a connection state in which an accumulated connection time is less than a preset time from the time when the server establishes a communication connection with the gateway; the continuous connection state is as follows: and the connection state that the accumulated connection time is greater than a second preset time from the time when the server establishes the communication connection with the gateway.
5. The system of claim 1, wherein after the intelligent internet of things device receives the control instruction, the system further comprises:
the intelligent Internet of things equipment executes the control instruction;
and the intelligent Internet of things equipment generates and sends instruction execution feedback information to the gateway and/or the server according to the execution result of the control instruction.
6. The system of claim 5, wherein after the intelligent internet of things device executes the control instruction, the system further comprises:
if the intelligent internet of things equipment does not successfully execute the control instruction, generating a third instruction issuing request, wherein the third instruction issuing request is used for indicating the gateway to issue the control instruction again;
and if the intelligent Internet of things equipment successfully executes the control instruction, generating an instruction deleting request, wherein the instruction deleting request is used for indicating the gateway and/or the server to delete the control instruction.
7. The system of claim 5, wherein after the intelligent internet of things device executes the control instruction, the system further comprises:
and if the intelligent Internet of things equipment successfully executes the control instruction, the intelligent Internet of things equipment is operated according to the control instruction until a new control instruction is successfully executed again.
8. The system of claim 1, wherein the reporting, by the intelligent internet of things device, of the first instruction issuing request to the gateway includes:
the intelligent internet of things equipment generates the first instruction issuing request according to a first preset time interval;
and the intelligent Internet of things equipment sends the first instruction issuing request to the gateway.
9. The system of claim 2, wherein the gateway reporting the second command issuing request to the server includes:
the gateway generates the second instruction issuing request according to a second preset time interval;
and the gateway sends the second instruction issuing request to the server.
10. The system of claim 1, wherein after the controller generates and sends the control command according to the user input, the system further comprises:
the gateway sets the callback function carried by the control instruction;
the intelligent equipment sends the first state modification request according to the callback function;
and/or the presence of a gas in the gas,
the server sets the callback function carried by the control instruction;
the gateway sends the second state modification request according to the callback function;
the callback function is used for recording the identification of the control instruction through a command state, and the callback function is also used for establishing an information transmission link.
CN202110133041.8A 2021-02-01 2021-02-01 Control system of Internet of things Active CN112666877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110133041.8A CN112666877B (en) 2021-02-01 2021-02-01 Control system of Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110133041.8A CN112666877B (en) 2021-02-01 2021-02-01 Control system of Internet of things

Publications (2)

Publication Number Publication Date
CN112666877A true CN112666877A (en) 2021-04-16
CN112666877B CN112666877B (en) 2022-11-29

Family

ID=75415124

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110133041.8A Active CN112666877B (en) 2021-02-01 2021-02-01 Control system of Internet of things

Country Status (1)

Country Link
CN (1) CN112666877B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium
CN114785766A (en) * 2022-04-29 2022-07-22 青岛海信智慧生活科技股份有限公司 Control method of intelligent equipment, terminal and server
WO2023151704A1 (en) * 2022-02-14 2023-08-17 深圳绿米联创科技有限公司 Device control method and apparatus, and electronic device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
US20150381737A1 (en) * 2014-06-30 2015-12-31 Davra Networks Limited Gateway device and a gateway system for an internet-of-things environment
CN106773749A (en) * 2016-11-15 2017-05-31 山东大学 Internet of things equipment control method, control end and system
CN107623613A (en) * 2017-09-13 2018-01-23 微赫智能科技(上海)有限公司 Intelligent household system
CN107911286A (en) * 2017-12-14 2018-04-13 上海斐讯数据通信技术有限公司 A kind of intelligent things equipment message Notification Method and router based on router
JP6440810B1 (en) * 2017-12-01 2018-12-19 三菱電機株式会社 Data collection system, control device, control program, gateway device, and gateway program
US20190132412A1 (en) * 2016-06-13 2019-05-02 Convida Wireless, Llc System and methods for service layer cache management
CN110535965A (en) * 2019-09-03 2019-12-03 北京元安物联技术有限公司 A kind of data processing method and device, storage medium
CN110557448A (en) * 2019-08-29 2019-12-10 宁波智轩物联网科技有限公司 Control method and system for smart home
CN111010429A (en) * 2019-12-04 2020-04-14 浪潮云信息技术有限公司 Method and system for managing equipment running state based on platform of Internet of things
CN111163181A (en) * 2020-04-01 2020-05-15 金陵科技学院 Lightweight intelligent agricultural heterogeneous Internet of things management system
CN112235313A (en) * 2020-10-22 2021-01-15 新华三信息安全技术有限公司 Cloud security resource pool, intelligent home gateway and Internet of things security protection system

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
US20150381737A1 (en) * 2014-06-30 2015-12-31 Davra Networks Limited Gateway device and a gateway system for an internet-of-things environment
US20190132412A1 (en) * 2016-06-13 2019-05-02 Convida Wireless, Llc System and methods for service layer cache management
CN106773749A (en) * 2016-11-15 2017-05-31 山东大学 Internet of things equipment control method, control end and system
CN107623613A (en) * 2017-09-13 2018-01-23 微赫智能科技(上海)有限公司 Intelligent household system
JP6440810B1 (en) * 2017-12-01 2018-12-19 三菱電機株式会社 Data collection system, control device, control program, gateway device, and gateway program
CN107911286A (en) * 2017-12-14 2018-04-13 上海斐讯数据通信技术有限公司 A kind of intelligent things equipment message Notification Method and router based on router
CN110557448A (en) * 2019-08-29 2019-12-10 宁波智轩物联网科技有限公司 Control method and system for smart home
CN110535965A (en) * 2019-09-03 2019-12-03 北京元安物联技术有限公司 A kind of data processing method and device, storage medium
CN111010429A (en) * 2019-12-04 2020-04-14 浪潮云信息技术有限公司 Method and system for managing equipment running state based on platform of Internet of things
CN111163181A (en) * 2020-04-01 2020-05-15 金陵科技学院 Lightweight intelligent agricultural heterogeneous Internet of things management system
CN112235313A (en) * 2020-10-22 2021-01-15 新华三信息安全技术有限公司 Cloud security resource pool, intelligent home gateway and Internet of things security protection system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703844A (en) * 2021-07-27 2021-11-26 厦门市思芯微科技有限公司 Instruction issuing method, system and device and computer readable storage medium
WO2023151704A1 (en) * 2022-02-14 2023-08-17 深圳绿米联创科技有限公司 Device control method and apparatus, and electronic device and storage medium
CN114785766A (en) * 2022-04-29 2022-07-22 青岛海信智慧生活科技股份有限公司 Control method of intelligent equipment, terminal and server
CN114785766B (en) * 2022-04-29 2023-10-24 青岛海信智慧生活科技股份有限公司 Control method, terminal and server of intelligent equipment

Also Published As

Publication number Publication date
CN112666877B (en) 2022-11-29

Similar Documents

Publication Publication Date Title
CN112666877B (en) Control system of Internet of things
JP6952787B2 (en) Session reestablishment methods and devices, AMF, SMF and terminals
KR20080068110A (en) A method for processing data synchronization and client terminal, server and data synchronization system thereof
JP4940304B2 (en) Database management in wireless communication systems
US20170338944A1 (en) ROBUST EVENT HANDLING IN AN ELECTRONIC SUBSCRIBER IDENTITY MODULE (eSIM) NOTIFICATION SERVICE
US20230079314A1 (en) Service server switching control method and apparatus, electronic device, and storage medium
US20230300106A1 (en) Data processing method, network element device and readable storage medium
JP2019523605A (en) Network policy update trigger method, management function entity and core network device
CN105245556A (en) Intelligent mobile phone remote control method and device
KR20140060132A (en) Method and apparatus for providing a web service in a wireless communication system
CN113556359B (en) Communication protocol conversion method, device, system and gateway device
CN112131014B (en) Decision engine system and business processing method thereof
CN103034632A (en) Information transmitting method and a system
CN100524298C (en) Databases synchronization
CN103379015A (en) Website server and IM client data transmission method, apparatus and system
JP2002372543A (en) Management system and management method of analyzing device
US20190238644A1 (en) User identification for digital experience controls
KR101442161B1 (en) Server and method for performing session connection between applications of devices, and the devcies
KR20020085985A (en) A translation system of rich media on real time
CN103888535A (en) Position information processing method and system based on wechat platform
CN109814904B (en) HMI configuration synchronization system and method
WO2023231725A1 (en) Information transmission method and apparatus, storage medium, and electronic device
CN112202728B (en) Method and system for mobile terminal to call module through routing protocol
KR102235894B1 (en) Message syncronization method and apparatus for performing the same
CN115883259B (en) Mobile equipment management and control method and device

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