CN109120675A - Internet of things equipment control method, system, computer equipment and storage medium - Google Patents
Internet of things equipment control method, system, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109120675A CN109120675A CN201810804976.2A CN201810804976A CN109120675A CN 109120675 A CN109120675 A CN 109120675A CN 201810804976 A CN201810804976 A CN 201810804976A CN 109120675 A CN109120675 A CN 109120675A
- Authority
- CN
- China
- Prior art keywords
- internet
- things
- equipment
- service feature
- feature code
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012544 monitoring process Methods 0.000 claims abstract description 137
- 230000006870 function Effects 0.000 claims description 24
- 230000009471 action Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 16
- 230000001133 acceleration Effects 0.000 claims description 14
- 230000008569 process Effects 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 238000012790 confirmation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 230000007958 sleep Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
This application involves a kind of internet of things equipment control method, system, computer equipment and storage mediums.The described method includes: the encryption service feature code of generation is periodically broadcast to terminal device;Internet of things equipment receives the terminal device and is instructed according to the monitoring that the service feature code generates, and judges to send whether the terminal device of the monitoring instruction is predetermined terminal, executes instruction if so, being generated according to monitoring instruction and updates service feature code;The internet of things equipment executes instruction execution policer operation according to described, and the implementing result or state of monitoring instruction are fed back to the terminal device.It can be improved the safety of internet of things equipment control using this method.
Description
Technical Field
The application relates to the technical field of internet of things, in particular to a method and a system for controlling internet of things equipment, computer equipment and a storage medium.
Background
At present, smart phones are popularized, most of smart phones have a Bluetooth function, and accordingly, internet of things devices with the Bluetooth communication function are also widely used in commercial use. These internet of things devices with bluetooth communication function are divided into several types:
1. the terminal and the equipment need to be paired by Bluetooth to establish connection for communication.
2. The terminal and the equipment use the Bluetooth broadcast technology to broadcast mutually for communication.
Devices operating using bluetooth pairing require pairing and maintaining connectivity, which requires relatively high power consumption and is time consuming.
The terminal and the equipment have great safety risk in a mode of carrying out communication by mutual broadcasting through a Bluetooth broadcasting technology.
Disclosure of Invention
Therefore, it is necessary to provide a method, a system, a computer device and a storage medium for controlling an internet of things device, which can solve the problem in the prior art that communication is achieved through bluetooth pairing or mutual bluetooth broadcasting and is not high in security.
An Internet of things equipment control method, the method comprising:
generating an encrypted service feature code and periodically broadcasting the encrypted service feature code to the terminal equipment in a Bluetooth broadcasting mode;
the Internet of things equipment receives a monitoring instruction generated by the terminal equipment according to the service feature code, judges whether the terminal equipment sending the monitoring instruction has an operation authority, and generates an execution instruction and updates the service feature code according to the monitoring instruction if the terminal equipment sending the monitoring instruction has the operation authority;
and the Internet of things equipment executes monitoring operation according to the execution instruction and feeds back an execution result or state of the monitoring instruction to the terminal equipment.
The Internet of things equipment control method comprises the following steps:
the terminal equipment starts a Bluetooth function according to the detected specific action of the operator;
the method comprises the steps that terminal equipment receives a service feature code generated according to preset logic and periodically broadcasted by Internet of things equipment in a Bluetooth broadcasting mode;
the terminal equipment sends a monitoring instruction generated according to the service feature code to the Internet of things equipment, wherein the monitoring instruction is used for indicating the Internet of things equipment to generate an execution instruction corresponding to the monitoring instruction;
and the terminal equipment receives the result or the state of the monitoring operation executed by the Internet of things equipment according to the execution instruction.
An internet of things device control system, comprising:
the Internet of things equipment is used for generating an encrypted service feature code according to preset logic, broadcasting the encrypted service feature code in a Bluetooth broadcasting mode, and executing a specific monitoring action according to a received monitoring instruction;
and the terminal equipment is used for generating a monitoring instruction according to the service feature code, sending the monitoring instruction to the Internet of things equipment, and receiving an execution result or state of the monitoring instruction fed back by the Internet of things equipment.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
generating an encrypted service feature code and periodically broadcasting the encrypted service feature code to the terminal equipment in a Bluetooth broadcasting mode;
the Internet of things equipment receives a monitoring instruction generated by the terminal equipment according to the service feature code, judges whether the terminal equipment sending the monitoring instruction has an operation authority, and generates an execution instruction and updates the service feature code according to the monitoring instruction if the terminal equipment sending the monitoring instruction has the operation authority;
and the Internet of things equipment executes monitoring operation according to the execution instruction and feeds back an execution result or state of the monitoring instruction to the terminal equipment.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
the terminal equipment starts a Bluetooth function according to the detected specific action of the operator;
the method comprises the steps that terminal equipment receives a service feature code generated according to preset logic and periodically broadcasted by Internet of things equipment in a Bluetooth broadcasting mode;
the terminal equipment sends a monitoring instruction generated according to the service feature code to the Internet of things equipment, wherein the monitoring instruction is used for indicating the Internet of things equipment to generate an execution instruction corresponding to the monitoring instruction;
and the terminal equipment receives the result or the state of the monitoring operation executed by the Internet of things equipment according to the execution instruction.
According to the method and the system for controlling the Internet of things equipment, the computer equipment and the storage medium, the safety of the terminal equipment in controlling the Internet of things equipment is greatly improved by continuously updating the service feature codes; by the method for determining the priority according to the distance between the Internet of things equipment and the terminal equipment, priority sequencing can be performed on the plurality of Internet of things equipment to be controlled, user experience is improved, the plurality of terminal equipment are prevented from performing the same operation on the same Internet of things equipment, and conflicts are avoided.
Drawings
Fig. 1 is an application environment diagram of an internet of things device control method in one embodiment;
fig. 2 is a schematic flow chart of a method for controlling an internet of things device in one embodiment;
fig. 3 is a schematic flow chart of a control method of the internet of things device in another embodiment;
FIG. 4 is a block diagram of an IOT device control system in one embodiment;
FIG. 5 is a block diagram of a computer device in one embodiment;
fig. 6 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The method for controlling the internet of things equipment can be applied to the application environment shown in fig. 1. The terminal 102 communicates with the device 104, the device 104 is a device having a wired/wireless network function and a bluetooth broadcast function, and may have one or more sensors/actuators, and is configured to complete a signal acquisition or monitoring action, such as a networked door lock or a networked water meter having a bluetooth broadcast function, and the like, the device 104 broadcasts a generated variable and encrypted service feature code in a bluetooth broadcast manner, after receiving the service feature code, the terminal 102 generates a corresponding monitoring instruction according to the service feature code and sends the monitoring instruction to the device 104 through a wired or wireless network, and finally receives an execution result or an operation state fed back by the device 104. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In an embodiment, as shown in fig. 2, an internet of things device control method is provided, which is described by taking the method applied to the terminal in fig. 1 as an example, and includes the following steps:
generating an encrypted service feature code and periodically broadcasting the encrypted service feature code to terminal equipment in a Bluetooth broadcasting mode;
the Internet of things equipment receives a monitoring instruction generated by the terminal equipment according to the service feature code, judges whether the terminal equipment sending the monitoring instruction has an operation authority, and generates an execution instruction and updates the service feature code according to the monitoring instruction if the terminal equipment sending the monitoring instruction has the operation authority;
and the Internet of things equipment executes monitoring operation according to the execution instruction and feeds back an execution result or state of the monitoring instruction to the terminal equipment.
Step 202, periodically broadcasting the generated encrypted service feature code to the terminal device in a bluetooth broadcasting manner.
The terminal equipment generates the encrypted service feature code according to preset logic, wherein the preset logic is different according to different specific Internet of things equipment, for example, the Internet of things equipment is a door lock, and then the service feature code is requested to be changed when the door lock is closed every time; if the Internet of things equipment is a water meter, requesting to change the service feature code when a water valve is closed each time; if the internet of things device is a payment device, the service feature code is requested to be changed each time the payment service is completed.
And 204, the internet of things equipment receives the monitoring instruction generated by the terminal equipment according to the service feature code, judges whether the terminal equipment sending the monitoring instruction has the operation authority, and generates an execution instruction and updates the service feature code according to the monitoring instruction if the terminal equipment sending the monitoring instruction has the operation authority.
After receiving the service feature code, the terminal device generates a monitoring instruction corresponding to the service feature code, wherein the monitoring instruction comprises identification information, position coordinates and a code of session information capable of identifying the terminal device, then the terminal device sends the monitoring instruction to the internet of things device, after receiving the monitoring instruction sent by the terminal device, the internet of things device performs authentication confirmation on the terminal device sending the monitoring instruction, judges whether the terminal device has an operation authority or not according to some identification information in the monitoring instruction, and if the terminal device does not have the operation authority, the internet of things device does not process the monitoring instruction after receiving the monitoring instruction of the terminal device; the identification information corresponds to the unique identification of the terminal equipment, and the unique identification of the terminal equipment can be prestored in the Internet of things equipment.
If the authentication of the terminal device is confirmed, after the internet of things device receives the monitoring instruction, an execution instruction is generated according to the monitoring instruction sent by the terminal device, and then the operation requested by the monitoring instruction is executed.
After authentication confirmation, the Internet of things equipment can automatically update the service feature code, so that the Internet of things equipment is prevented from being attacked safely according to the fixed service feature code, and the control safety of the Internet of things equipment is greatly improved; the fixed and unchangeable service feature code easily causes denial of service attack or the encryption algorithm is cracked, thereby causing potential safety hazard.
And step 206, the internet of things equipment executes the monitoring operation according to the execution instruction, and feeds back an execution result or state of the monitoring instruction to the terminal equipment.
The internet of things equipment triggers the switch according to the generated execution instruction, and performs some corresponding operations on the equipment per se, for example, the execution instruction is to open a door or close a door, and then after the operation execution is completed, the internet of things equipment acquires an execution state or result, feeds the execution result back to the terminal equipment, and displays the execution result on the terminal equipment to prompt an operator to complete the operation.
In this embodiment, the service feature code is directly broadcast in a bluetooth broadcast manner through the internet of things device, and the terminal device can receive the service feature code without pairing with the internet of things device and perform an operation according to the service feature code. And after the internet of things equipment processes the monitoring instruction, the service feature code is immediately updated, so that denial of service attack or decryption algorithm is prevented, and the safety is improved.
In an embodiment, based on the above embodiments, the present embodiment provides an internet of things device control method, including:
periodically broadcasting the generated encrypted service feature code to the terminal equipment in a Bluetooth broadcasting mode;
the Internet of things equipment receives a monitoring instruction generated by the terminal equipment according to the service feature code, judges whether the terminal equipment sending the monitoring instruction has an operation authority, and generates an execution instruction and updates the service feature code according to the monitoring instruction if the terminal equipment sending the monitoring instruction has the operation authority;
and the Internet of things equipment executes monitoring operation according to the execution instruction and feeds back an execution result or state of the monitoring instruction to the terminal equipment.
The Internet of things equipment can enter a sleep state or be awakened according to preset logic. After the Internet of things equipment is awakened, the business feature code is sent in a Bluetooth broadcasting mode to automatically enter a dormant state, and the energy consumption of the Internet of things equipment is saved.
The Internet of things equipment is awakened until a certain condition is met, wherein the condition can be that the Internet of things equipment senses a sensing signal. If the conditions are met, the Internet of things equipment is awakened, the work is restarted, and the Internet of things equipment enters a dormant state after the treatment is finished.
The Internet of things equipment can be awakened in real time/at regular time through a wired/wireless network, so that the problems that the Internet of things equipment is always in a standby state, power consumption is reduced, the service life is shortened due to the power consumption and the like are solved.
Through the dormancy mechanism, the aim of reducing consumption is fulfilled.
In an embodiment, based on the above embodiments, the present embodiment provides an internet of things device control method, including:
periodically broadcasting the generated encrypted service feature code to the terminal equipment in a Bluetooth broadcasting mode;
the Internet of things equipment receives a monitoring instruction generated by the terminal equipment according to the service feature code, judges whether the terminal equipment sending the monitoring instruction has an operation authority, and if so, generates an execution instruction according to the monitoring instruction and updates the service feature code;
and the Internet of things equipment executes monitoring operation according to the execution instruction and feeds back an execution result or state of the monitoring instruction to the terminal equipment.
The terminal device calculates relative position information of the Internet of things device according to the strength of the received Bluetooth broadcast signal, determines the priority of the Internet of things device to be monitored according to the calculated position information, determines the Internet of things device to be monitored according to the priority, and sends a monitoring instruction.
Because there may be more than one internet of things device broadcasting the service feature codes in a bluetooth broadcasting manner, if the terminal receives the service feature codes broadcasted by the plurality of internet of things devices at the same time, the internet of things device to be controlled needs to be manually confirmed, and the user experience effect is reduced. Therefore, priority setting needs to be performed on the internet of things device, specifically, the terminal device can calculate the relative position information of the internet of things device through the strength of the received bluetooth broadcast signal, judge the internet of things device closest to the terminal device, set the internet of things device as the priority internet of things device, and send out a monitoring instruction.
The received monitoring instruction comprises information such as identification information and position coordinates of the terminal equipment, the internet of things equipment judges the priority of the terminal equipment according to the position information by receiving the position information sent by the terminal equipment, and generates an execution instruction according to the monitoring instruction of the terminal equipment with the priority.
Because there may be more than one terminal device conforming to the authentication, if several terminal devices receive the service feature code at the same time and send the monitoring instruction to control the internet of things device, logic confusion and control failure may be caused. Therefore, a priority setting needs to be performed on the terminal device, specifically, the internet of things device acquires location information of different terminal devices, determines a terminal device closest to the internet of things device, sets the terminal device as a priority terminal device, generates an execution instruction according to a monitoring instruction sent by the terminal device, and executes a corresponding operation.
And finally, the Internet of things equipment sends the monitoring state or result to the terminal equipment with the priority, and the operation is finished.
The terminal device can determine which terminal device the distance between the internet of things device and the internet of things device is closest according to the position of the internet of things device, if the distance between a certain terminal device A and the internet of things device is determined to be closest, the internet of things device determines that the terminal device A has the highest priority, and the terminal device A can initiate control or monitoring on the internet of things device.
Through the strength of the received Bluetooth broadcast signal, the terminal device can determine the distance/position information with the equipment of the Internet of things, so as to determine whether the terminal device is authorized/required to initiate monitoring. And if the distance between the Internet of things equipment and the terminal equipment exceeds a certain range, the terminal equipment ignores the service feature code broadcasted by the Internet of things equipment. Accordingly, the Internet of things equipment can reject the monitoring instruction sent by the terminal equipment, and the safety, convenience and intelligence of the system are improved.
In the embodiment, information interaction is directly carried out between the terminal equipment and the internet of things equipment, so that the danger of information leakage possibly caused when personal information of a user is stored in a third-party server is avoided. The information interaction is safer and more reliable.
In one embodiment, as shown in fig. 3, the present embodiment provides an internet of things device control method, including:
step 302, the terminal device starts the bluetooth function according to the detected specific action of the operator.
Specifically, the terminal device acquires a sensing signal of the acceleration sensor to judge a specific action of the user. The actual operation may be:
the terminal device detects whether the acceleration magnitude in the acceleration direction of an acceleration sensor in the terminal device exceeds a preset threshold value and whether the change of the acceleration direction exceeds a preset number of times, if so, the terminal device determines that an operator generates specific operation, acquires the signal and sends the signal to an operating system to start a Bluetooth receiving function.
Certainly, the terminal device can also detect a specific operation action of an operator through a third-party programming interface, so as to start a bluetooth receiving function and receive the service feature code broadcasted by the internet of things device.
For example, when the terminal device detects that the operator performs a left-right shaking or up-down shaking motion on the terminal device, and the acceleration of the left-right shaking or up-down shaking motion in a certain acceleration direction exceeds a preset value, or the change of the acceleration direction exceeds the preset value, the terminal device determines that the operator performs a specific motion, opens a bluetooth receiving function, and automatically receives the service feature code broadcasted by the internet of things device.
The bluetooth reception function of terminal equipment is just opened when the operator triggers the switch, improves the convenience of user operation.
Step 304, the terminal equipment receives a service feature code periodically broadcast by the Internet of things equipment and generated according to preset logic;
step 306, the terminal device sends a monitoring instruction generated according to the service feature code to the internet of things device, wherein the monitoring instruction is used for instructing the internet of things device to generate an execution instruction corresponding to the monitoring instruction;
and 308, the terminal equipment receives the result or the state of the monitoring operation executed by the internet of things equipment according to the execution instruction.
The monitoring instruction comprises a code capable of identifying the terminal equipment identification information, the position coordinate and the session information; the monitoring instruction is used for indicating the Internet of things equipment to perform corresponding processing.
Specifically, after receiving a service feature code broadcasted by the internet of things device, the terminal device performs processing such as decryption and the like, generates a monitoring instruction corresponding to the service feature code, and sends the monitoring instruction to the internet of things device, the internet of things device judges whether a terminal sending the monitoring instruction conforms to authentication, namely, judges whether the terminal device has an operation authority, if so, generates a corresponding execution instruction according to the monitoring instruction, and then the internet of things device executes operation of the monitoring instruction according to the execution instruction, for example, monitors the running state of the internet of things device itself, and feeds the running state back to the terminal device for check and receipt.
In the method for controlling the equipment of the internet of things, the equipment of the internet of things generates a new service feature code after the monitoring instruction is identified, so that the equipment of the internet of things is prevented from being attacked safely according to the fixed service feature code, and the safety of the control of the equipment of the internet of things is greatly improved; the fixed and unchangeable service feature code easily causes denial of service attack or the encryption algorithm is cracked, thereby causing potential safety hazard.
It should be noted that the monitoring instruction includes a code capable of identifying the terminal device identification information, the position coordinates, and the session information; the monitoring instruction is used for indicating the Internet of things equipment to perform corresponding processing. Monitoring instructions/information are exchanged between the terminal equipment and the Internet of things equipment through a wired/wireless network, and the transmission channel can be encrypted in various modes, so that the safety of the system is further improved.
Wherein,
the monitoring instruction comprises identification information, position coordinates and a code of session information which can identify the terminal equipment;
the terminal equipment calculates the position coordinate of the Internet of things equipment according to the strength of the received Bluetooth broadcast signal, and sends the position coordinate to the Internet of things equipment along with the monitoring instruction, wherein the position coordinate is used for indicating the Internet of things equipment to determine the priority of the terminal equipment and can also be used for indicating the Internet of things equipment to determine the priority of the Internet of things equipment and indicating the Internet of things equipment with the priority to process the monitoring instruction.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown, an internet of things device control system is provided, including:
the internet of things device 404 is configured to generate an encrypted service feature code according to a preset logic and broadcast the encrypted service feature code in a bluetooth broadcast manner;
and the terminal device 402 is configured to generate a monitoring instruction according to the service feature code and send the monitoring instruction to the internet of things device 404, and is further configured to receive an execution result or state of the monitoring instruction fed back by the internet of things device.
Specifically, the internet of things device control system comprises a terminal device 402 and an internet of things device 404, wherein the terminal device 402 can be an electronic device such as a computer, a smart phone, a tablet computer and an electronic book reader. The terminal device 402 is installed with a bluetooth function module, the bluetooth function module can receive information broadcast by the internet of things device 404, and the terminal device 402 further has a wired/wireless network function.
The internet of things device 404 has both bluetooth function and wired/wireless network function, can be connected to the terminal device 402 in a wired or wireless manner, and can have one or more sensors/actuators for performing signal acquisition or monitoring actions. The bluetooth communication between the internet of things device 404 and the terminal device 402 is one-way broadcast.
The service characteristic coding information broadcast by the internet of things device 404 to the terminal device 402 may be coding information encrypted by an encryption algorithm;
the service feature code broadcasted by the internet of things device 404 to the terminal device 402 may also be coded information that changes according to an application scenario, a monitoring period, an instruction period, a service period, or a time period.
The service feature code broadcasted by the internet of things device 404 to the terminal device 402 is generated according to a preset logic and is sent out in a bluetooth broadcast (according to a bluetooth protocol) mode of the internet of things device 404.
More than one terminal device 402 may initiate monitoring on the internet of things device 404 at the same time, and each terminal device 402 may also receive bluetooth broadcasts sent by multiple internet of things devices 404 at the same time. The terminal device 402 may calculate a distance between itself and each internet of things device 404 according to the strength of the received bluetooth broadcast signal, thereby implementing a positioning function, and the terminal device 402 may determine a priority order of the internet of things devices 404 to be monitored according to its distance/position, or may determine whether to initiate monitoring according to the distance/position.
For specific limitations of the internet of things device control system, reference may be made to the above limitations on the internet of things device control method, which are not described herein again. Each component in the internet of things equipment control system can be partially realized by software, hardware and a combination thereof. The above components may be embedded in a hardware form or independent from a processor in a computer device, or may be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the above modules.
In one embodiment, the present embodiment provides a computer device, the internal structure of which can be as shown in fig. 5. The computer device comprises a processor, a memory, a network interface, a Bluetooth module and a database which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium may store an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the service feature code. The network interface of the computer device is used for communicating with an external terminal through a network connection. The bluetooth module of the computer device is used for sending a bluetooth broadcast packet. The computer program is executed by a processor to implement an internet of things device control method.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer equipment comprises a processor, a memory, a network interface, a display screen, a Bluetooth module and an input device which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The bluetooth module of the computer device is used for receiving and transmitting bluetooth broadcast packets. The computer program is executed by a processor to implement an internet of things device control method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
periodically broadcasting the generated encrypted service feature code to the terminal equipment;
the Internet of things equipment receives a monitoring instruction generated by the terminal equipment according to the service feature code, judges whether the terminal equipment sending the monitoring instruction has an operation authority, and generates an execution instruction and updates the service feature code according to the monitoring instruction if the terminal equipment sending the monitoring instruction has the operation authority;
and the Internet of things equipment executes monitoring operation according to the execution instruction and feeds back an execution result or state of the monitoring instruction to the terminal equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
the terminal equipment starts a Bluetooth function according to the detected specific action of the operator;
the method comprises the steps that terminal equipment receives a service feature code periodically broadcast by Internet of things equipment and generated according to preset logic;
the terminal equipment sends a monitoring instruction generated according to the service feature code to the Internet of things equipment, wherein the monitoring instruction is used for indicating the Internet of things equipment to generate an execution instruction corresponding to the monitoring instruction;
and the terminal equipment receives the result or the state of the monitoring operation executed by the Internet of things equipment according to the execution instruction.
Specifically, after receiving a service feature code broadcasted by the internet of things device, the terminal device performs decryption and other processing, generates a monitoring instruction corresponding to the service feature code, and sends the monitoring instruction to the internet of things device, the internet of things device judges whether a terminal sending the monitoring instruction conforms to authentication, namely, whether the terminal device has an operation authority, if so, generates a corresponding execution instruction according to the monitoring instruction, and then the internet of things device executes the operation of the monitoring instruction according to the execution instruction, for example, monitors the running state of the internet of things device, and feeds the running state back to the terminal device for check and receipt.
In the method for controlling the equipment of the internet of things, the equipment of the internet of things generates a new service feature code after the monitoring instruction is identified, so that the equipment of the internet of things is prevented from being attacked safely according to the fixed service feature code, and the safety of the control of the equipment of the internet of things is greatly improved; the fixed and unchangeable service feature codes easily cause denial of service attack or the encryption algorithm is cracked, so that potential safety hazards are caused, and the control safety of the equipment of the Internet of things is greatly improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by controlling the relevant hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or FLASH memory (FLASH). Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (12)
1. An Internet of things equipment control method is characterized by comprising the following steps:
the Internet of things equipment periodically broadcasts the generated encrypted service feature code to the terminal equipment in a Bluetooth broadcasting mode;
the Internet of things equipment receives a monitoring instruction generated by the terminal equipment according to the service feature code through a wired or wireless network, judges whether the terminal equipment sending the monitoring instruction has an operation authority, and generates an execution instruction and updates the service feature code according to the monitoring instruction if the terminal equipment sending the monitoring instruction has the operation authority;
and the Internet of things equipment executes monitoring operation according to the execution instruction and feeds back the execution result or state of the monitoring instruction to the terminal equipment through a wired or wireless network.
2. The method of claim 1,
the Internet of things equipment can enter a dormant state or be awakened according to preset logic.
3. The method of claim 1, wherein the internet of things device periodically broadcasts the generated encrypted service feature code to the terminal device by means of bluetooth broadcast, and the method comprises:
the Internet of things equipment acquires the relative distance/position distance of the terminal equipment relative to the access control device, and confirms whether the terminal equipment is authorized to receive the service feature code according to the relative distance/position;
and the Internet of things equipment sends the service feature code to the authorized terminal equipment.
4. An Internet of things equipment control method is characterized by comprising the following steps:
the terminal equipment starts a Bluetooth function according to the detected specific action of the operator;
the method comprises the steps that terminal equipment receives a service feature code periodically broadcast by Internet of things equipment in a Bluetooth broadcast mode, wherein the service feature code is generated according to preset logic;
the terminal equipment sends a monitoring instruction generated according to the service feature code to the Internet of things equipment through a wired or wireless network,
the monitoring instruction is used for instructing the Internet of things equipment to generate an execution instruction corresponding to the monitoring instruction;
and the terminal equipment receives the result or the state of the monitoring operation executed by the Internet of things equipment according to the execution instruction.
5. The method of claim 4, wherein the terminal device turning on the Bluetooth function according to the detected specific action of the operator comprises:
and the terminal equipment acquires the sensing signal of the acceleration sensor and judges the specific action of the user.
6. The method of claim 5, wherein the step of the terminal device acquiring the sensing signal of the acceleration sensor and judging that the specific action of the user starts the Bluetooth function comprises the following steps:
the terminal device detects whether the acceleration magnitude in the acceleration direction of the acceleration sensor exceeds a preset threshold value and whether the change of the acceleration direction exceeds a preset number of times, and if yes, the terminal device determines that an operator generates a specific operation.
7. The method of claim 4, wherein the terminal device turning on the Bluetooth function according to the detected specific action of the operator comprises:
and the terminal equipment detects the specific operation action of the operator through a third-party programming interface.
8. The method according to claim 4, wherein the terminal device sending the monitoring instruction generated according to the service feature code to the internet of things device through a wired or wireless network comprises:
the monitoring instruction comprises identification information, position coordinates and a code of session information which can identify the terminal equipment;
the terminal equipment acquires the position coordinates of the equipment in the Internet of things according to the strength of the received Bluetooth broadcast signals;
and the terminal equipment sends the position coordinate to the Internet of things equipment together with the monitoring instruction, wherein the position coordinate is used for indicating the Internet of things equipment to determine the priority of the terminal equipment, is also used for indicating the terminal equipment to determine the priority of the Internet of things equipment and indicates the Internet of things equipment with the priority to process the monitoring instruction.
9. An internet of things equipment control system, comprising:
the Internet of things equipment is used for generating an encrypted service feature code according to preset logic and periodically broadcasting the encrypted service feature code in a Bluetooth broadcasting mode; and is also used for executing specific monitoring actions according to the received monitoring instructions.
10. And the terminal equipment is used for generating a monitoring instruction according to the service feature code, sending the monitoring instruction to the Internet of things equipment, and receiving an execution result or state of the monitoring instruction fed back by the Internet of things equipment.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor realizes the steps of the method of any one of claims 1 to 10 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810804976.2A CN109120675A (en) | 2018-07-20 | 2018-07-20 | Internet of things equipment control method, system, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810804976.2A CN109120675A (en) | 2018-07-20 | 2018-07-20 | Internet of things equipment control method, system, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109120675A true CN109120675A (en) | 2019-01-01 |
Family
ID=64863233
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810804976.2A Pending CN109120675A (en) | 2018-07-20 | 2018-07-20 | Internet of things equipment control method, system, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109120675A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110116408A (en) * | 2019-05-14 | 2019-08-13 | 深圳市证通电子股份有限公司 | Robot security's control method, robot and computer readable storage medium |
CN113411789A (en) * | 2020-03-16 | 2021-09-17 | 瑞昱半导体股份有限公司 | Bluetooth mesh network system with control right sharing mechanism and control method thereof |
CN115834643A (en) * | 2023-02-20 | 2023-03-21 | 广州机智云物联网科技有限公司 | System and method for data intercommunication of Internet of things equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882869A (en) * | 2012-09-25 | 2013-01-16 | 深圳中兴网信科技有限公司 | System and method for controlling network service |
CN103905127A (en) * | 2012-12-27 | 2014-07-02 | 通用汽车环球科技运作有限责任公司 | Method and system for detecting proximity of an end device to a vehicle based on signal strength information received over a bluetooth low energy (ble) advertising channel |
CN104270252A (en) * | 2014-10-16 | 2015-01-07 | 广州柏诚智能科技有限公司 | Heat meter remote meter reading system and method for realizing trustworthiness enhancement of the system |
CN105100488A (en) * | 2015-07-31 | 2015-11-25 | 东莞安尔发智能科技股份有限公司 | A smart phone and a control method for starting its bluetooth function by shaking |
CN105554694A (en) * | 2016-02-03 | 2016-05-04 | 贝尔特物联技术无锡有限公司 | Method for controlling Bluetooth intelligent device by utilizing Bluetooth Beacon broadcast |
CN105897784A (en) * | 2016-07-01 | 2016-08-24 | 三星电子(中国)研发中心 | Internet of things terminal equipment encryption communication method and device |
KR101697879B1 (en) * | 2015-11-25 | 2017-01-18 | 목포대학교산학협력단 | System and method of managing resource service for internet of things service access control |
CN106603579A (en) * | 2017-02-20 | 2017-04-26 | 厦门睿洽科技有限公司 | Remote control system and method of wireless terminal, and wireless terminal |
CN107103673A (en) * | 2017-05-24 | 2017-08-29 | 广州跨行网络科技有限公司 | Automatic sensing gate control system and its implementation based on Bluetooth of mobile phone |
CN108039057A (en) * | 2017-10-31 | 2018-05-15 | 南京极佳物联网科技有限公司 | A kind of parking stall shared system and implementation |
CN108173728A (en) * | 2018-02-11 | 2018-06-15 | 张戈零 | Intelligent appliance equipment and intelligent appliance system |
CN108200541A (en) * | 2018-02-11 | 2018-06-22 | 张戈零 | Bluetooth control terminal based on Internet of Things |
CN108280903A (en) * | 2017-12-29 | 2018-07-13 | 中国船舶重工集团公司第七八研究所 | A kind of blue-tooth intelligence door lock open system and its open method based on mobile phone action |
-
2018
- 2018-07-20 CN CN201810804976.2A patent/CN109120675A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102882869A (en) * | 2012-09-25 | 2013-01-16 | 深圳中兴网信科技有限公司 | System and method for controlling network service |
CN103905127A (en) * | 2012-12-27 | 2014-07-02 | 通用汽车环球科技运作有限责任公司 | Method and system for detecting proximity of an end device to a vehicle based on signal strength information received over a bluetooth low energy (ble) advertising channel |
CN104270252A (en) * | 2014-10-16 | 2015-01-07 | 广州柏诚智能科技有限公司 | Heat meter remote meter reading system and method for realizing trustworthiness enhancement of the system |
CN105100488A (en) * | 2015-07-31 | 2015-11-25 | 东莞安尔发智能科技股份有限公司 | A smart phone and a control method for starting its bluetooth function by shaking |
KR101697879B1 (en) * | 2015-11-25 | 2017-01-18 | 목포대학교산학협력단 | System and method of managing resource service for internet of things service access control |
CN105554694A (en) * | 2016-02-03 | 2016-05-04 | 贝尔特物联技术无锡有限公司 | Method for controlling Bluetooth intelligent device by utilizing Bluetooth Beacon broadcast |
CN105897784A (en) * | 2016-07-01 | 2016-08-24 | 三星电子(中国)研发中心 | Internet of things terminal equipment encryption communication method and device |
CN106603579A (en) * | 2017-02-20 | 2017-04-26 | 厦门睿洽科技有限公司 | Remote control system and method of wireless terminal, and wireless terminal |
CN107103673A (en) * | 2017-05-24 | 2017-08-29 | 广州跨行网络科技有限公司 | Automatic sensing gate control system and its implementation based on Bluetooth of mobile phone |
CN108039057A (en) * | 2017-10-31 | 2018-05-15 | 南京极佳物联网科技有限公司 | A kind of parking stall shared system and implementation |
CN108280903A (en) * | 2017-12-29 | 2018-07-13 | 中国船舶重工集团公司第七八研究所 | A kind of blue-tooth intelligence door lock open system and its open method based on mobile phone action |
CN108173728A (en) * | 2018-02-11 | 2018-06-15 | 张戈零 | Intelligent appliance equipment and intelligent appliance system |
CN108200541A (en) * | 2018-02-11 | 2018-06-22 | 张戈零 | Bluetooth control terminal based on Internet of Things |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110116408A (en) * | 2019-05-14 | 2019-08-13 | 深圳市证通电子股份有限公司 | Robot security's control method, robot and computer readable storage medium |
CN110116408B (en) * | 2019-05-14 | 2021-12-28 | 深圳市证通电子股份有限公司 | Robot safety control method, robot and computer readable storage medium |
CN113411789A (en) * | 2020-03-16 | 2021-09-17 | 瑞昱半导体股份有限公司 | Bluetooth mesh network system with control right sharing mechanism and control method thereof |
CN115834643A (en) * | 2023-02-20 | 2023-03-21 | 广州机智云物联网科技有限公司 | System and method for data intercommunication of Internet of things equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3854027B1 (en) | Wireless access credential system | |
US10708069B2 (en) | IoT-based things management system and method using block-chain authentication | |
US8799652B2 (en) | Method for activating a network node | |
CN110116408B (en) | Robot safety control method, robot and computer readable storage medium | |
CN109120675A (en) | Internet of things equipment control method, system, computer equipment and storage medium | |
EP3537324A1 (en) | Technologies for secure storage and use of biometric authentication information | |
US9592793B2 (en) | Method and system for preventing telematics remote control vehicle from being externally hacked | |
CN110895844A (en) | Interaction method and device of intelligent door equipment, computer equipment and storage medium | |
WO2021077825A1 (en) | Security authentication method and related apparatus | |
CN110992541A (en) | Vehicle unlocking method, vehicle unlocking data processing method and device | |
CN110751755A (en) | Unlocking method and device, computer equipment and storage medium | |
CN109544731B (en) | Electronic lock control method, computer device, and storage medium | |
CN105325021B (en) | Method and apparatus for remote portable wireless device authentication | |
CN113438264A (en) | Wearable massage instrument connection method and device, computer equipment and storage medium | |
US20210021415A1 (en) | Communication system using a random code as an encryption code | |
WO2021139703A1 (en) | Method and device for processing payment information, wearable apparatus, and computer readable storage medium | |
CN112261632B (en) | Equipment unlocking method, equipment unlocking device, control system and computer readable medium | |
CN110392417B (en) | Power consumption management method, terminal, computer device, and storage medium | |
CN112105023A (en) | Network connection method, device, computer equipment and storage medium | |
CN106375333A (en) | A method for ensuring infusion safety and a wearable medical device using the method | |
WO2016187966A1 (en) | Terminal and method for protecting data security of terminal | |
CN113542006A (en) | Remote upgrading method and device for intelligent terminal, electronic device and storage medium | |
CN114582048B (en) | NFC-based vehicle door control method, mobile terminal and vehicle | |
CN112446984A (en) | Intelligent door lock control method and device | |
CN110493185B (en) | Channel staying method, apparatus, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190101 |