CN111208748B - Linkage control method and system based on Internet of things and computer equipment - Google Patents

Linkage control method and system based on Internet of things and computer equipment Download PDF

Info

Publication number
CN111208748B
CN111208748B CN201911413861.1A CN201911413861A CN111208748B CN 111208748 B CN111208748 B CN 111208748B CN 201911413861 A CN201911413861 A CN 201911413861A CN 111208748 B CN111208748 B CN 111208748B
Authority
CN
China
Prior art keywords
linkage
target
strategy
signal
edge server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911413861.1A
Other languages
Chinese (zh)
Other versions
CN111208748A (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.)
Shenzhen Miracle Intelligent Network Co Ltd
Original Assignee
Shenzhen Miracle Intelligent Network 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 Shenzhen Miracle Intelligent Network Co Ltd filed Critical Shenzhen Miracle Intelligent Network Co Ltd
Priority to CN201911413861.1A priority Critical patent/CN111208748B/en
Publication of CN111208748A publication Critical patent/CN111208748A/en
Application granted granted Critical
Publication of CN111208748B publication Critical patent/CN111208748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers

Abstract

The application relates to a linkage control method and system based on the Internet of things and computer equipment. The method comprises the following steps: receiving an environmental signal uploaded by a signal acquisition device; calling a strategy matching model, wherein the strategy matching model is established based on a linkage strategy sent by a central server; strategy matching is carried out on the environment signal according to the strategy matching model, and a target linkage strategy matched with the environment signal is obtained; determining target equipment to be linked according to the target linkage strategy; and generating a linkage control instruction based on the target linkage strategy, and sending the linkage control instruction to the target equipment, wherein the linkage control instruction is used for controlling the target equipment to execute a corresponding linkage task. By adopting the method, the response time delay can be effectively reduced, and the linkage control efficiency is improved.

Description

Linkage control method and system based on Internet of things and computer equipment
Technical Field
The application relates to the technical field of the internet of things, in particular to a linkage control method and system based on the internet of things, computer equipment and a storage medium.
Background
The Internet of Things (IOT) is to collect information of devices to be monitored, connected or linked through various signal collection devices in real time, and to connect objects through network access, so as to realize linkage control of device identification, tracking, management and The like. With the development of the internet of things technology, the internet of things technology can be applied to various application scenes, for example, intelligent homes, smart cities, intelligent transportation and the like, and more devices need to be subjected to linkage control.
The traditional internet of things system is generally connected with a large number of signal acquisition devices and equipment through a server, and the server analyzes a large number of data acquired by the signal acquisition devices and performs linkage control according to analysis results. However, the number of the signal acquisition devices and the number of the devices to be controlled are large, so that the server cannot simultaneously receive, transmit and process a large amount of information in a short time, the response time delay is high, and the efficiency of the linkage control is low.
Disclosure of Invention
Therefore, it is necessary to provide a linkage control method, a device, a computer device and a storage medium based on the internet of things, which can improve the linkage control efficiency, in order to solve the technical problem of low linkage control efficiency.
A linkage control method based on the Internet of things comprises the following steps:
receiving an environmental signal uploaded by a signal acquisition device;
calling a strategy matching model, wherein the strategy matching model is established based on a linkage strategy sent by a central server;
strategy matching is carried out on the environment signal according to the strategy matching model, and a target linkage strategy matched with the environment signal is obtained;
determining target equipment to be linked according to the target linkage strategy;
and generating a linkage control instruction based on the target linkage strategy, and sending the linkage control instruction to the target equipment, wherein the linkage control instruction is used for controlling the target equipment to execute a corresponding linkage task.
In one embodiment, after receiving the environmental signal uploaded by the signal acquisition device, the method further comprises:
classifying the environment signals to obtain signal types corresponding to the environment signals;
filtering the environmental signal based on the signal type;
and performing strategy matching on the screened environmental signals according to the strategy matching model.
In one embodiment, the determining the target device to be linked according to the target linkage policy includes:
acquiring port information corresponding to the signal acquisition device;
determining position information corresponding to the signal acquisition device according to the port information;
and determining target equipment to be linked according to the position information and the target linkage strategy.
In one embodiment, after the target device to be linked is determined according to the target linkage policy, the method further includes:
generating a linkage control request according to the target linkage strategy, wherein the linkage control request carries a target equipment identifier;
detecting a communication connection with the central server;
and when the detection is successful, uploading the linkage control request to the central server, so that the central server issues the target linkage strategy to the edge server corresponding to the target equipment identifier.
In one embodiment, after the detecting the communication connection with the central server, the method further includes:
and when the detection fails, sending the linkage control request to the edge server, wherein the linkage control request is used for indicating the edge server to carry out linkage control on the target equipment corresponding to the target equipment identifier.
In one embodiment, after the sending the linkage control instruction to the target device, the method further comprises:
receiving linkage information returned by the target equipment based on the linkage control instruction;
and generating alarm information according to the environment signal and the linkage information, and sending the alarm information to the central server.
A coordinated control system based on the internet of things, the system comprising:
the signal acquisition device is used for uploading an environment signal to the edge server;
the edge server is used for calling a strategy matching model, and the strategy matching model is established based on a linkage strategy sent by the central server; strategy matching is carried out on the environment signal according to the strategy matching model, and a target linkage strategy matched with the environment signal is obtained; determining target equipment to be linked according to the target linkage strategy; generating a linkage control instruction based on the target linkage strategy, and sending the linkage control instruction to the target equipment;
the central server is used for sending the linkage strategy to the edge server;
and the target equipment is used for executing the corresponding linkage task according to the linkage control instruction.
In one embodiment, the edge server is further configured to classify the environment signal to obtain a signal type corresponding to the environment signal; filtering the environmental signal based on the signal type; and performing strategy matching on the screened environmental signals according to the strategy matching model.
A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor realizes the steps of the linkage control method based on the Internet of things when executing the computer program.
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 above-mentioned internet-of-things-based linkage control method.
According to the linkage control method and system based on the Internet of things, the computer equipment and the storage medium, after the environment signal uploaded by the signal acquisition device is received, the strategy matching model is called to carry out strategy matching on the environment signal, and the strategy matching model is established based on the linkage strategy sent by the central server. And determining target equipment corresponding to the signal acquisition device according to the target linkage strategy and the environmental signal obtained by strategy matching, and generating a linkage control instruction based on the target linkage strategy. The linkage control instruction is sent to the target equipment, and the target equipment is controlled to execute the corresponding linkage task according to the linkage control instruction, so that the linkage control of the target equipment is realized, the environmental signal uploaded by the signal acquisition device can be responded quickly, the response time delay is effectively reduced, and the linkage control efficiency is improved.
Drawings
FIG. 1 is an application environment diagram of the linkage control method based on the Internet of things in one embodiment;
FIG. 2 is a schematic flow chart of a linkage control method based on the Internet of things in one embodiment;
FIG. 3 is a schematic flow chart of a linkage control method based on the Internet of things in another embodiment;
FIG. 4 is a block diagram of an embodiment of an Internet of things based coordinated control system;
FIG. 5 is a block diagram of an IOT-based coordinated control system according to another embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an 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 linkage control method based on the Internet of things can be applied to the application environment shown in the figure 1. The signal acquisition device 102 may communicate with the edge server 104 through a network, and the edge server 104 may communicate with the central server 106 and the target device 108 through a network, respectively. The edge server 104 may receive the environmental signal uploaded by the signal acquisition device 102, and invoke a policy matching model, which is established based on the linkage policy sent by the central server 106. And the edge server 104 performs strategy matching on the environment signal according to the strategy matching model to obtain a target linkage strategy matched with the environment signal. The edge server 104 determines the target device to be linked according to the target linkage strategy, and generates a linkage control instruction based on the target linkage strategy. The edge server 104 sends the linkage control instruction to the target device 108, where the linkage control instruction is used to control the target device 108 to execute a linkage task corresponding to the linkage control instruction. The signal acquisition device 102 may include, but is not limited to, various devices capable of acquiring measured signals and converting the measured signals into usable signals according to a certain rule. The edge server 104 and the central server 106 may each be implemented as a stand-alone server or as a server cluster of multiple servers. The target device 108 may be a variety of devices to be controlled in conjunction.
In one embodiment, as shown in fig. 2, a linkage control method based on the internet of things is provided, which is described by taking the method as an example applied to the edge server 104 in fig. 1, and includes the following steps:
step 202, receiving an environmental signal uploaded by a signal acquisition device.
The edge server is a server which is close to one side of the signal acquisition device and the target equipment and performs linkage control nearby, and is used for performing edge calculation. The edge server may be a single independent server or may be a server cluster comprising a plurality of servers. The edge server may specifically be a controller corresponding to a central server, and one central server may correspond to two or more edge servers. One edge server may be associated with one or more signal acquisition devices, and the edge server may receive the environmental signal uploaded by the corresponding at least one signal acquisition device. The signal acquisition device can be arranged on various devices and can be used for acquiring the measured signals in the practical application environment. The environment signal may specifically include, but is not limited to, at least one of a temperature signal, a video signal, and a coordinate signal. For example, the signal acquisition device may specifically be a camera device, and is configured to acquire a video signal in the corresponding area. The signal acquisition device may be provided on the corresponding apparatus. For example, can be provided with signal acquisition device on the intelligence well lid to this coordinate signal through signal acquisition device detection intelligence well lid avoids the intelligence well lid to lose. Each signal acquisition device can be provided with corresponding trigger condition according to the practical application demand, and when the environmental information that signal acquisition device detected satisfies trigger condition, signal acquisition device can upload the environmental signal to corresponding edge server. For example, the triggering condition corresponding to the signal acquisition device of the intelligent well lid comprises a coordinate range, and when the coordinate signal detected by the signal acquisition device is not in the preset coordinate range, the environment signal is determined to meet the triggering condition, and the triggered coordinate signal is uploaded to the edge server. The edge server can receive the environment signal uploaded by the signal acquisition device, analyze the environment signal and perform linkage control on the linkage equipment to be linked according to the environment signal.
And step 204, calling a strategy matching model, wherein the strategy matching model is established based on the linkage strategy sent by the central server.
The edge server may invoke a policy matching model, which may be pre-established and configured in the edge server, so that the edge server invokes the policy matching model to perform policy matching on the environment signal. The strategy matching model can be established based on the linkage strategy sent by the central server. Specifically, a user can communicate with the central server through the corresponding user terminal, the user terminal can access the central platform corresponding to the central server, the user can select the equipment to be linked with the signal acquisition device through the user terminal, the signal acquisition device and the linkage strategy corresponding to the equipment to be linked are preset, and the flexibility of the linkage strategy is improved so as to perform corresponding linkage control in multiple different application environments. The user terminal may specifically include, but is not limited to, various personal computers, notebook computers, tablet computers, smart phones, portable wearable devices, and the like.
The central server can transmit the linkage strategy formulated by the user to the corresponding edge servers according to a preset transmission mode, and the central server and the edge servers can perform synchronous transmission or asynchronous transmission. The user can newly add the linkage strategy through the user terminal according to actual requirements, and the central server can send the newly added linkage strategy to the edge server, so that transmission resources between the central server and the edge server are saved. After receiving the linkage policy, the edge server may return confirmation information to the central server, where the confirmation information includes an edge server identifier, and determines that the edge server corresponding to the edge server identifier has received the linkage policy. In one embodiment, when the central server does not receive the confirmation information returned by the edge server within the preset time period, the central server may resend the linkage policy to the edge server that does not receive the linkage policy, so that it is ensured that all the edge servers corresponding to the central server receive the linkage policy formulated by the user, and accurate synchronization of the linkage policy is ensured.
After receiving the linkage strategy issued by the central server, the edge server can analyze the linkage strategy and establish a strategy matching model according to the linkage strategy. Specifically, the linkage strategy may be a set of multiple linkage modes, and the linkage strategy may specifically include an association relationship among the signal acquisition device, the environment signal, the device to be linked, and the linkage mode. The edge server can establish a strategy matching model according to the incidence relation in the linkage strategy, and the edge server can store the linkage strategy and the strategy matching model issued by the central server in a local database corresponding to the edge server so as to call the established strategy matching model from the local database to perform strategy matching on the received environment signal. Even under the condition that the communication with the central server cannot be realized, the target equipment can be subjected to linkage control in time, and the efficiency and the robustness of the linkage control are improved.
And step 206, performing strategy matching on the environment signal according to the strategy matching model to obtain a target linkage strategy matched with the environment signal.
The edge server can input the received environment signal to the strategy matching model, and strategy matching is carried out on the environment signal according to the strategy matching model to obtain a target linkage strategy matched with the environment signal. Specifically, the strategy matching model comprises a plurality of linkage strategies preset by the user, and the strategy matching model can match the input environment signal with the linkage strategies stored in the local database and search whether the linkage strategies matched with the environment signal exist in the local database of the edge server. The linkage strategy comprises the incidence relation between the environment signal and the linkage mode and other information, and the edge server can search the linkage strategy matched with the environment signal from the plurality of linkage strategies. When the linkage strategy matched with the environment signal does not exist, the strategy matching is determined to be failed, and the edge server can not respond to the environment signal uploaded by the signal acquisition device. And when the linkage strategy matched with the environmental signal exists, determining that the strategy is successfully matched, and the edge server can determine the matched linkage strategy as a target linkage strategy to obtain the target linkage strategy matched with the strategy matching model output.
And 208, determining target equipment to be linked according to the target linkage strategy.
The edge server can determine target equipment to be linked according to the target linkage strategy. The target device is a device which needs to be subjected to linkage control in the devices to be linked corresponding to the edge server, and the devices to be linked specifically may include, but are not limited to, a broadcasting device, a display device, a monitoring device, and the like. The edge servers can respectively correspond to the signal acquisition devices and the equipment to be linked. For example, in an application environment of a smart city, signal acquisition devices and devices to be linked are arranged at multiple positions in the city, an edge server may be arranged in each street in the city, and the edge server may communicate with all the signal acquisition devices and the devices to be linked in the corresponding street through a network.
Specifically, the edge server may communicate with the signal acquisition device according to a preset transmission protocol, and the server may obtain port information corresponding to the signal acquisition device that uploads the environmental signal when the signal acquisition device uploads the environmental signal. The port is an exit of the signal acquisition device communicating with the edge server, and the port of the signal acquisition device may be uniquely corresponding to the signal acquisition device. The edge server can determine the position information of the signal acquisition device according to the port information corresponding to the signal acquisition device. The edge server can determine the trigger event of the trigger signal acquisition device according to the environment signal, and the linkage mode and the linkage range are also determined in the target linkage strategy matched with the environment signal.
In different application environments of the internet of things, target linkage strategies corresponding to the environment signals are different according to different actual application requirements. For example, in the application environment of smart home, the signal acquisition device may be disposed on an air conditioner, when the temperature signal acquired by the signal acquisition device reaches a trigger condition, the signal acquisition device may upload the temperature signal, the linkage mode in the corresponding target linkage strategy may be to perform linkage control on the air conditioning equipment in the room corresponding to the signal acquisition device, and the linkage range is the air conditioning equipment corresponding to the signal acquisition device. And in the application environment of the smart city, when the intelligent well lid is lost, the linkage range corresponding to the target linkage strategy can be a street or a whole block where the intelligent well lid is located. The devices to be linked which need to be linked in different linkage modes can also be different. For example, when the linkage manner is a voice prompt, the corresponding target device may be a broadcasting device. When the linkage mode is monitoring, the corresponding target device may be a monitoring device. The edge server can use the position information corresponding to the signal acquisition device as a reference, and determine matched equipment to be linked as target equipment needing linkage control according to the linkage mode and the linkage range corresponding to the environment signal and the target linkage strategy. The target device may be a device to be linked corresponding to an edge server that receives the environment signal, or may be a device to be linked corresponding to another edge server that corresponds to the center server.
And step 210, generating a linkage control instruction based on the target linkage strategy, and sending the linkage control instruction to the target equipment, wherein the linkage control instruction is used for controlling the target equipment to execute a corresponding linkage task.
The edge server can generate linkage control instructions based on the target linkage strategy and send the linkage control instructions to the target equipment. The target device can receive the linkage control instruction sent by the edge server, generate and execute the linkage task according to the received linkage control instruction, and perform linkage operation corresponding to the linkage control instruction. For example, the monitoring device may execute a corresponding monitoring task according to the linkage control instruction, and acquire video data in a corresponding area. The broadcasting equipment can show corresponding voice prompt information through the loudspeaker according to the linkage control instruction. When two or more target devices are included, the edge server may generate linkage control instructions for the plurality of target devices, respectively, and control the plurality of target devices to execute corresponding linkage tasks simultaneously or sequentially.
In this embodiment, the edge server receives an environmental signal uploaded by the signal acquisition device, and invokes a policy matching model established based on a linkage policy sent by the central server to perform policy matching on the environmental signal, so as to obtain a target linkage policy matched with the environmental signal. The edge server can generate linkage control instructions based on the target linkage strategy, and the linkage control instructions are sent to corresponding target equipment so as to control the target equipment to execute corresponding linkage tasks. Compared with the traditional linkage method, the edge server is close to the signal acquisition device and the target equipment, and the transmission time delay of the environmental signal and the linkage control instruction is reduced. The whole application environment can comprise a plurality of edge servers, so that the data volume required to be processed by each edge server is reduced, the requirement on transmission network bandwidth is lowered, the time delay of responding to an environment signal is effectively reduced, the linkage control efficiency is improved, and the application environment with higher requirement on the real-time property of the linkage control can be met.
In one embodiment, after receiving the environmental signal uploaded by the signal acquisition device, the method for linkage control based on the internet of things further includes: classifying the environment signals to obtain signal types corresponding to the environment signals; screening the environmental signals based on the signal type; and performing strategy matching on the screened environmental signals according to the strategy matching model.
Before strategy matching is carried out on the environment signals uploaded by the signal acquisition device, the edge server can also classify the received environment signals to obtain signal types corresponding to the environment signals, and the environment signals are screened according to the signal types. Specifically, the edge server may correspondingly receive the environmental signals uploaded by the plurality of signal acquisition devices, and the plurality of signal acquisition devices may upload the environmental signals due to the same trigger event, so that the edge server does not need to perform the linkage control repeatedly on the same trigger event. The edge server can analyze the environment signals uploaded by two or more signal acquisition devices after receiving the environment signals, label marks the environment signals respectively, and classifies the environment signals according to the signal labels to obtain the signal types corresponding to the environment signals. The edge server can screen the environment signals based on the signal types corresponding to the environment signals, filter repeated environment signals in a plurality of environment signals, and call the strategy matching model to perform strategy matching on the screened environment signals.
In this embodiment, the edge server performs classified triggering on the received environment signals, screens the environment signals based on the signal types corresponding to the environment signals, and calls the policy matching model to perform policy matching on the screened environment signals, so that unnecessary linkage control is avoided being repeatedly performed by the edge server, the operation resources of the edge server are saved, and the efficiency of the linkage control is effectively improved.
In an embodiment, as shown in fig. 3, after the step of determining a target device corresponding to the signal acquisition device according to the environmental signal and the target linkage policy, the linkage control method based on the internet of things further includes:
and 302, generating a linkage control request according to the target linkage strategy, wherein the linkage control request carries a target equipment identifier.
Step 304, detecting the communication connection with the central server.
And step 306, uploading the linkage control request to a central server when the detection is successful, so that the central server issues a target linkage strategy to the edge server corresponding to the target equipment identifier.
The central server can correspond to a plurality of edge servers, and each edge server can correspond to a plurality of signal acquisition devices and equipment to be linked respectively. It is to be understood that, for the sake of convenience of distinction, an edge server that receives the environment signal uploaded by the signal acquisition device may be referred to as a first edge server, and at least one edge server other than the first edge server may be referred to as a second edge server. The first edge server can receive the environment signal uploaded by the signal acquisition device, and the strategy matching model is called to perform strategy matching on the environment signal to obtain a target linkage strategy matched with the environment signal. The first edge server can determine target equipment needing linkage control according to the environment signal and the target linkage strategy. When the linkage range corresponding to the target linkage strategy is small, the corresponding target device may be at least one of the first devices to be linked corresponding to the first edge server, and the first edge server may generate a linkage control instruction based on the target linkage strategy, and perform linkage control on the first target device corresponding to the first edge server according to the linkage control instruction.
When the linkage range corresponding to the target linkage strategy is large, the corresponding target device may further include a second target device corresponding to at least one second edge server. For example, each street in a smart city corresponds to an edge server. When the intelligent well lid in the wisdom urban area is lost, the edge server that the street that intelligence well lid place corresponds is first edge server, and the edge server that other streets correspond is second edge server. The target device determined by the first edge server according to the target linkage policy may include a first monitoring device corresponding to the first edge server, and may further include a second monitoring device corresponding to the second edge server.
When the target device corresponding to the target linkage policy includes a second target device, the first edge server may generate a linkage control request according to the target linkage policy, where the linkage control request carries a target device identifier corresponding to the second target device. And the first edge server can perform linkage control on the second target equipment corresponding to the target equipment identifier by linking the second edge server according to the linkage control request.
Specifically, the first edge server may detect a communication connection between the first edge server and the central server, and determine whether the communication connection between the first edge server and the central server is connected. When the communication connection between the first edge server and the central server is connected, the detection is determined to be successful, and the first edge server can communicate with the central server. When the communication connection between the first edge server and the central server is disconnected, the connection is determined to be failed, and the first edge server cannot communicate with the central server.
And when the detection result is that the detection is successful, the first edge server can transmit the linkage control request to the central server through the communication connection, so that the central server sends a target linkage strategy to a second edge server to which a second target device corresponding to the target device identifier belongs according to the linkage control request. The target equipment identifier is carried in the linkage control request, and the second edge server can perform linkage control on the second target equipment according to a target linkage strategy issued by the central server.
In one embodiment, when the detection result is detection failure, the first edge server may establish a communication connection with the second edge server through the ad hoc network. The first edge server can send the linkage control request to the second edge server through the established communication connection, the second edge server determines a target linkage strategy according to the received linkage control request, and linkage control is carried out on second target equipment corresponding to the target equipment identification according to the target linkage strategy. The first edge server can directly establish communication connection with the second edge server, and when the first edge server is disconnected from the central server or the central server cannot process the data, the first edge server can perform linkage control on the second target device in time through communication connection with the second edge server, does not depend on the central server completely, and effectively improves the stability and robustness of the linkage control.
In this embodiment, when the target device corresponding to the target linkage policy includes a second target device corresponding to the second edge server, the first edge server may generate a linkage control request according to the target linkage policy, and send the linkage control request to the center server or the second edge server, so as to perform linkage control on the second target device corresponding to the second edge server according to the linkage control request, thereby ensuring a linkage range of the edge server for linkage control, being capable of performing linkage control on the target device in time, and effectively improving the efficiency of the linkage control.
In one embodiment, after the step of sending the linkage control command to the target device, the method for linkage control based on the internet of things further includes: receiving linkage information returned by the target equipment based on the linkage control instruction; and generating alarm information according to the environment signal and the linkage information, and sending the alarm information to the central server.
The edge server can send the linkage control instruction to the target equipment, and linkage control is carried out on the target equipment through the linkage control instruction, so that the target equipment generates a linkage task according to the linkage control instruction and executes the linkage task. The target device may return linkage information corresponding to the linkage task to the edge server after executing the linkage task, and the edge server may receive the linkage information returned by the target device based on the linkage control instruction. The linkage information may specifically include a linkage result obtained after the target device executes the linkage task according to the linkage control instruction. For example, when the target device is a display device, the display device may execute a display task according to the linkage control instruction, display information such as corresponding text and image through a display interface, and return a display result. When the target device is a monitoring device, the monitoring device can execute a monitoring task according to the linkage control, collect video data of a corresponding monitoring area, and the returned linkage information can be the collected video data.
The edge server can generate alarm information according to the environment signal and the linkage information by combining the environment signal uploaded by the signal acquisition device and the linkage information returned by the target equipment. In one embodiment, the edge server may further perform preset processing on the linkage information returned by the target device, where the preset processing mode may be corresponding to the type of the linkage information. The edge server can generate alarm information according to the processed linkage information. For example, when the target device is a monitoring device and the linkage information returned by the monitoring device is video data, the edge server can perform target identification processing on the video data to obtain target information identified from the video data, and the edge server can generate alarm information according to the target information and the environmental signal without uploading the whole video data to the central server, so that transmission resources between the edge server and the central server and operation resources of the central server are effectively saved.
The edge server can send the generated alarm information to the central server, the central server can send the alarm information to the user terminal, and the alarm information is displayed to the user through the user terminal. In one embodiment, when the central server receives the alarm information sent by the edge servers, the multiple alarm information can be screened, repeated alarm information in the multiple alarm information is filtered, repeated alarm information is prevented from being sent to the user terminal repeatedly, the operation resource and the transmission resource of the central server are saved, and the user experience is improved.
In this embodiment, the edge server may receive linkage information returned by the target device based on the linkage control instruction, generate alarm information according to the environment signal and the linkage information, and send the alarm information to the central server, thereby saving the operation resources of the central server. The central server can send the alarm information to the user terminal, and the user can know the linkage control event through the user terminal.
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 in fig. 4, there is provided an internet of things-based linkage control system, including: signal acquisition device 402, edge server 404, central server 406, and target device 408, wherein:
and the signal acquisition device 402 is used for uploading the environment signal to the edge server.
The edge server 404 is used for calling a strategy matching model, and the strategy matching model is established based on the linkage strategy sent by the central server; strategy matching is carried out on the environment signal according to the strategy matching model, and a target linkage strategy matched with the environment signal is obtained; determining target equipment to be linked according to a target linkage strategy; and generating a linkage control instruction based on the target linkage strategy, and sending the linkage control instruction to the target equipment.
And the central server 406 is used for sending the linkage strategy to the edge server.
And the target device 408 is used for executing the corresponding linkage task according to the linkage control instruction.
In an embodiment, the edge server 404 is further configured to classify the environmental signal to obtain a signal type corresponding to the environmental signal; screening the environmental signals based on the signal type; and performing strategy matching on the screened environmental signals according to the strategy matching model.
In an embodiment, the edge server 404 is further configured to obtain port information corresponding to a signal acquisition device; determining position information corresponding to the signal acquisition device according to the port information; and determining target equipment corresponding to the signal acquisition device according to the position information and the target linkage strategy.
In one embodiment, the edge server 404 is further configured to receive linkage information returned by the target device based on the linkage control instruction; and generating alarm information according to the environment signal and the linkage information, and sending the alarm information to the central server.
In one embodiment, as shown in FIG. 5, the edge server 404 may be referred to as a first edge server 504 and the target device may be referred to as a first target device 508. The internet of things-based coordinated control system further includes a second edge server 510 and a second target device 512. The first edge server 504 is further configured to generate a linkage control request according to the target linkage policy, where the linkage control request carries the target device identifier; detecting a communication connection with the central server 506; when the detection is successful, the linkage control request is uploaded to the center server 506. The central server 506 is further configured to issue a target linkage policy to the second edge server 510 corresponding to the target device identifier, so that the second edge server 510 performs linkage control on the second target device 512 according to the target linkage policy.
In one embodiment, the first edge server 504 is further configured to send a linkage control request to the second edge server 510 when the detection fails. The second edge server 510 is configured to perform linkage control on a second target device 512 corresponding to the target device identifier according to the linkage control request.
For specific limitations of the linkage control system based on the internet of things, reference may be made to the above limitations of the linkage control method based on the internet of things, and details are not repeated here. All modules in the linkage control system based on the Internet of things can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also 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 modules.
In one embodiment, a computer device is provided, which may be a server, in particular an edge server corresponding to a central server. The internal structure thereof may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by 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, 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 equipment is used for storing linkage control data based on the Internet of things. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to realize a linkage control method based on the Internet of things.
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, a computer device is provided, which includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-mentioned embodiment of the internet of things-based linkage control method.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps in the above-described internet of things based linkage control method embodiments.
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 hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, 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. 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 (10)

1. A linkage control method based on the Internet of things comprises the following steps:
receiving an environmental signal uploaded by a signal acquisition device; the environment signal is uploaded to an edge server when the environment information detected by the signal acquisition device meets a trigger condition; the signal acquisition device and the edge server have an association relationship;
calling a strategy matching model, wherein the strategy matching model is established based on a linkage strategy sent by a central server; the strategy matching model comprises linkage strategies preset by a plurality of users; strategy matching is carried out on the environment signal according to the strategy matching model, and a target linkage strategy matched with the environment signal is obtained; the target linkage strategy comprises an incidence relation among a signal acquisition device, an environment signal, equipment to be linked, a linkage range and a linkage mode;
determining target equipment to be linked according to the position information corresponding to the signal acquisition device, the environment signal and the target linkage strategy;
and generating a linkage control instruction based on the target linkage strategy, and sending the linkage control instruction to the target equipment, wherein the linkage control instruction is used for controlling the target equipment to execute a corresponding linkage task.
2. The method of claim 1, wherein after receiving the environmental signal uploaded by the signal acquisition device, the method further comprises:
classifying the environment signals to obtain signal types corresponding to the environment signals;
filtering the environmental signal based on the signal type;
and performing strategy matching on the screened environmental signals according to the strategy matching model.
3. The method of claim 1, wherein the determining the target device to be linked according to the target linkage policy comprises:
acquiring port information corresponding to the signal acquisition device;
determining position information corresponding to the signal acquisition device according to the port information;
and determining target equipment to be linked according to the position information and the target linkage strategy.
4. The method of claim 1, wherein after the determining a target device to be linked according to the target linkage policy, the method further comprises:
generating a linkage control request according to the target linkage strategy, wherein the linkage control request carries a target equipment identifier;
detecting a communication connection with the central server;
and when the detection is successful, uploading the linkage control request to the central server, so that the central server issues the target linkage strategy to the edge server corresponding to the target equipment identifier.
5. The method of claim 4, wherein after the detecting the communication connection with the central server, the method further comprises:
and when the detection fails, sending the linkage control request to the edge server, wherein the linkage control request is used for indicating the edge server to carry out linkage control on the target equipment corresponding to the target equipment identifier.
6. The method of claim 1, wherein after said sending the coordinated control instructions to the target device, the method further comprises:
receiving linkage information returned by the target equipment based on the linkage control instruction;
and generating alarm information according to the environment signal and the linkage information, and sending the alarm information to the central server.
7. A coordinated control system based on thing networking, its characterized in that, the system includes:
the signal acquisition device is used for uploading an environment signal to the edge server; the environment signal is uploaded to an edge server when the environment information detected by the signal acquisition device meets a trigger condition; the signal acquisition device and the edge server have an association relationship;
the edge server is used for calling a strategy matching model, and the strategy matching model is established based on a linkage strategy sent by the central server; the strategy matching model comprises linkage strategies preset by a plurality of users; strategy matching is carried out on the environment signal according to the strategy matching model, and a target linkage strategy matched with the environment signal is obtained; the target linkage strategy comprises an incidence relation among a signal acquisition device, an environment signal, equipment to be linked, a linkage range and a linkage mode; determining target equipment to be linked according to the position information corresponding to the signal acquisition device, the environment signal and the target linkage strategy; generating a linkage control instruction based on the target linkage strategy, and sending the linkage control instruction to the target equipment;
the central server is used for sending the linkage strategy to the edge server;
and the target equipment is used for executing the corresponding linkage task according to the linkage control instruction.
8. The system of claim 7, wherein the edge server is further configured to classify the environmental signal to obtain a signal type corresponding to the environmental signal; filtering the environmental signal based on the signal type; and performing strategy matching on the screened environmental signals according to the strategy matching model.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. 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 6.
CN201911413861.1A 2019-12-31 2019-12-31 Linkage control method and system based on Internet of things and computer equipment Active CN111208748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911413861.1A CN111208748B (en) 2019-12-31 2019-12-31 Linkage control method and system based on Internet of things and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911413861.1A CN111208748B (en) 2019-12-31 2019-12-31 Linkage control method and system based on Internet of things and computer equipment

Publications (2)

Publication Number Publication Date
CN111208748A CN111208748A (en) 2020-05-29
CN111208748B true CN111208748B (en) 2021-11-05

Family

ID=70789807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911413861.1A Active CN111208748B (en) 2019-12-31 2019-12-31 Linkage control method and system based on Internet of things and computer equipment

Country Status (1)

Country Link
CN (1) CN111208748B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090243B (en) * 2018-10-23 2023-04-14 宁波方太厨具有限公司 Method for realizing intelligent interconnection of kitchen appliances
CN111897588B (en) * 2020-06-19 2024-04-02 深圳奇迹智慧网络有限公司 Product model configuration method, device, computer equipment and storage medium
CN111898035B (en) * 2020-06-19 2023-10-31 深圳奇迹智慧网络有限公司 Data processing strategy configuration method and device based on Internet of things and computer equipment
CN112087513B (en) * 2020-09-09 2021-05-18 四川旷谷信息工程有限公司 Linkage management method of edge equipment
CN112162492A (en) * 2020-11-03 2021-01-01 珠海格力电器股份有限公司 Control method and device of household equipment, edge computing gateway and storage medium
CN112558575A (en) * 2020-12-22 2021-03-26 珠海格力电器股份有限公司 Equipment linkage control method and device, storage medium and equipment
CN113516980A (en) * 2021-03-29 2021-10-19 杭州涂鸦信息技术有限公司 Scene linkage method, and scene linkage system construction method and device
CN114430420A (en) * 2021-12-27 2022-05-03 深圳市晨北科技有限公司 Method, device, equipment and medium for determining linkage communication strategy

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101163526B1 (en) * 2007-12-21 2012-07-11 남기원 System for interfacing external data to iptv and method of the same
US10206108B2 (en) * 2015-03-24 2019-02-12 Lenovo (Beijing) Co., Ltd. Device and method for smart home
CN106507036A (en) * 2015-09-04 2017-03-15 王雪萌 A kind of monitoring terminal interlock method perceived based on ant group optimization and Internet of Things
CN106100866B (en) * 2016-05-27 2021-04-02 上海物联网有限公司 Intelligent detection device, configuration device and method based on regional linkage
CN106647293A (en) * 2016-08-30 2017-05-10 杭州鸿雁智能科技有限公司 Equipment linkage method and apparatus based on cloud server
KR101932940B1 (en) * 2017-04-04 2018-12-27 (주)아이오티뉴테크 Beacon server system for data interaction of mobile communication terminal and POS and data interaction method thereof
CN107105199B (en) * 2017-04-20 2019-07-16 山东欧普科贸有限公司 Smart home based on technology of Internet of things nurses method and system
CN107864174B (en) * 2017-07-03 2021-07-20 华南理工大学 Rule-based Internet of things equipment linkage method
CN107179701B (en) * 2017-07-21 2020-07-10 电子科技大学 Intelligent household equipment self-adaptive linkage rule generation method
CN108200190B (en) * 2018-01-26 2019-11-22 青岛国信发展(集团)有限责任公司 Internet of things data service system and method based on cloud computing
CN109041061A (en) * 2018-08-30 2018-12-18 深圳奇迹智慧网络有限公司 Network control method, device, computer equipment and storage medium
CN109451040A (en) * 2018-12-10 2019-03-08 王顺志 Internet of things networking system and network-building method based on edge calculations

Also Published As

Publication number Publication date
CN111208748A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN111208748B (en) Linkage control method and system based on Internet of things and computer equipment
US20220351081A1 (en) Model training method and apparatus
EP3110147A1 (en) Method and device for processing request
US20140043480A1 (en) Video monitoring system and method
CN110602445B (en) Video monitoring data acquisition method and device, computer equipment and storage medium
WO2020207371A1 (en) Data processing system and method, apparatus, and electronic device
CN111935820B (en) Positioning implementation method based on wireless network and related equipment
CN111600952A (en) Scene pushing method, scene pushing execution device, terminal, server and scene pushing system
CN110716989A (en) Dimension data processing method and device, computer equipment and storage medium
CN113934545A (en) Video data scheduling method, system, electronic equipment and readable medium
CN112327643A (en) Smart home control method and device, storage medium and electronic device
CN112165511A (en) Coal mine monitoring system, method and computer storage medium
CN111031589A (en) Network connection method, device, computer readable storage medium and computer equipment
CN114584429A (en) Industrial intelligent internet of things gateway
CN113055201B (en) Electronic equipment control method and device, computer equipment and storage medium
US11546232B1 (en) Video analysis and data delivery method
CN109218049B (en) Control method, related equipment and system
CN114928538A (en) Equipment configuration processing method and device, computer equipment and storage medium
CN114167742A (en) Edge data processing method and device, computer equipment and storage medium
CN113794646A (en) Monitoring data transmission system and method for energy industry
CN113676560A (en) Data sharing method and system based on Internet of things
CN114666379B (en) Control method and device of intelligent device, computer device and storage medium
KR20200045058A (en) smart sensing and monitoring system of risk detection for small business to switch to smart factories, and method thereof
Liang et al. TAPU: A Transmission-Analytics Processing Unit for Accelerating Multi-functions in IoT Gateways
CN114666379A (en) Control method and device of intelligent equipment, 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
GR01 Patent grant
GR01 Patent grant