Method and system for realizing dynamic networking of sensors by using Internet identifier

By using industrial Internet identifiers in the sensor and giving them public network IP, the problem of difficulty in collecting and sending data normally after moving to different areas is solved, and the dynamic networking and flexibility of the sensor are improved.

CN119520469APending Publication Date: 2025-02-25CHINA NAT POSTAL & TELECOMM APPLIANCES CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510081261.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

After the sensor moves to different areas, it is difficult to collect and send data normally without changing the existing LAN, resulting in an increase in LAN equipment and an increase in maintenance difficulty.

Method used

By using industrial Internet identification, the sensor ID is assigned to the public network IP, and the sensor dynamic networking can be realized, and data can be collected and sent normally even if the sensor moves to different areas.

Benefits of technology

It realizes dynamic networking of sensors between different regions, breaks through the limitations of local area networks on sensor communication range, and improves sensor flexibility and work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520469A_ABST
    Figure CN119520469A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for realizing dynamic networking of sensors by using Internet identifiers. Comprising the following steps: a sensor sends a data packet to a gateway in a message form; the gateway sends the data packet to a data collection server, and the sensor ID is matched with the industrial internet identifier; the data collection server converts the data packet into JSON data and sends the JSON data to a scheduling server; the scheduling server calculates and obtains sensor distribution state information according to the JSON data, and generates a sensor state change instruction according to the sensor distribution state information; the scheduling server sends a sensor state change instruction to the gateway; and the gateway forwards the sensor state change instruction to the sensor. According to the method, the sensors in the local area network are expanded to the Internet by using the Internet identifier, and the sensor state change instruction is sent to the sensors according to the distribution state of the sensors in the Internet, so that the dynamic networking of the sensors is realized, and the application range of the sensors is expanded from the local area network to the Internet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of industrial Internet technology, and in particular to a method and system for realizing dynamic networking of sensors by utilizing industrial Internet identification. Background Art

[0002] The IoT system mainly includes the main control platform and various sensors, which are generally deployed in a local area network, thus limiting the deployment of sensors within the scope of the local area network. However, with the application of drones, robot dogs and driverless cars in the IoT, mobile devices can carry devices with sensors from one area to another. As a result, the scope of the original local area network needs to be expanded, resulting in an increase in local area network devices and increased maintenance difficulty.

[0003] Therefore, there is an urgent need for a technical solution that allows the sensor to collect and send data normally after moving from one area to another without changing the existing local area network. Summary of the invention

[0004] Based on this, the present application proposes a method and system for realizing dynamic networking of sensors using Internet identifiers. The Internet identifier is used to assign a public IP to the sensor ID. Even if the sensor moves from one area to another, it can still collect and transmit data normally, thus solving the problem of the sensor being limited to one area.

[0005] In a first aspect, the present application provides a method for realizing dynamic sensor networking using Internet identifiers, the method comprising: The sensor sends a data packet to the gateway in the form of a message, wherein the message includes a header and an information part, the header includes a sensor ID, the information part includes a sensor location area, a sensor target area, a sensor state, a target object importance or a target object quantity, and the sensor state includes a standby state, a running state or a stopped state; The gateway uses a data packet forwarding module to send the data packet to the data collection server, wherein the data packet forwarding module matches the sensor ID with the industrial Internet identifier and sends the data packet to the IP address of the data collection server; The data collection server uses a parsing module to convert the data packet into JSON data and sends it to the scheduling server, wherein the parsing module has a function of converting the message into JSON data; The scheduling server uses the distribution state module to calculate the sensor distribution state information according to the JSON data, and uses the decision module to generate a sensor state change instruction according to the sensor distribution state information, wherein the distribution state module performs sensor distribution analysis based on all sensor states, and the decision module can generate an instruction to change sensor data; The scheduling server sends a sensor state change instruction to the gateway; The gateway forwards the sensor state change instruction to the sensor, and the sensor modifies the information part data according to the sensor state change instruction.

[0006] In one of the embodiments, the sensor state is cyclically switched in the order of a standby state, a running state, and a stop state, and when the state is switched, the sending of a data packet is triggered.

[0007] In one of the embodiments, the information in the header includes a sensor ID, and the information in the header is set to be read-only information; In one embodiment, the information of the information unit includes the area where the sensor is located, the target area of ​​the sensor, the sensor status, the importance of the target object or the number of targets, and any one or more of the information of the information unit is set as readable and / or modifiable information.

[0008] In one embodiment, the step of the data packet forwarding module matching the sensor ID with the industrial Internet identifier and sending the data packet to the IP address of the data collection server includes: The gateway receives the data packet sent by the sensor and parses the message header information to obtain the sensor ID; The data packet forwarding module obtains the corresponding industrial Internet identifier based on the sensor ID; The data packet forwarding module parses the industrial Internet identifier to obtain the IP address of the data collection server; The data packet forwarding module sends data packets to the IP address of the data collection server.

[0009] In one embodiment, the sensor ID is matched to the industrial Internet identifier in at least one of the following ways: Preset a one-to-one correspondence between the industrial Internet ID and the sensor ID; The sensor ID is preset in the industrial Internet identifier. The sensor ID is obtained by parsing the industrial Internet identifier, and a corresponding relationship between the sensor ID and the industrial Internet identifier is established.

[0010] In one embodiment, the step of converting the data packet into JSON data using the parsing module and sending it to the scheduling server includes: The data collection server receives the data packets from the sensor and obtains the header information and the information part information of the message; The parsing module of the data collection server parses the header information of the message to obtain the sensor ID; The parsing module of the data collection server parses the information of the message information part to obtain the area where the sensor is located, the target area of ​​the sensor, the sensor state, the importance of the target object or the number of the target objects; The parsing module of the data collection server synthesizes the header information and the information part information into JSON data; The data collection server sends the JSON data to the scheduling server.

[0011] In one embodiment, the scheduling server uses the distribution state module to calculate the sensor distribution state information according to the JSON data, and uses the decision module to generate the sensor state change instruction according to the sensor distribution state information, including: The dispatch server receives the JSON data and saves it in the database; Taking the state of the sensor being in the standby state as a retrieval condition, a sensor data set is obtained from the database; The distributed state module of the scheduling server processes each sensor data in the sensor data set in a loop to generate a distributed state matrix ,in, , is the number of sensors in operation in the target area for the i-th sensor, for The preset general parameters that are in operation in the target area, for The target area congestion of the target area, is the data of the importance of the target object collected by the i-th sensor, is the data of the number of targets collected by the i-th sensor; Generate sensor state change instructions based on the distributed state matrix.

[0012] In one embodiment, generating a sensor state change instruction according to the distributed state matrix includes: The Pareto front is calculated with the constraints of the minimum crowding degree of the target area, the maximum importance of the target object and / or the maximum number of target objects; Obtaining the sensor ID corresponding to the middle value in the Pareto front; A sensor state change instruction is generated according to the sensor ID.

[0013] In one embodiment, the sensor state change instruction is triggered under any of the following conditions: When the sensor state changes from the stop state to the standby state, the sensor target area, the sensor state to the standby state, the target importance or the number of targets are set; When the sensor state is converted from the standby state to the running state, the sensor state is set to the running state; When the sensor state changes from the running state to the stopped state, the sensor region, the sensor state is set to the stopped state, the target importance is set to 0, or the number of targets is set to 0.

[0014] In a second aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method provided in any one of the embodiments of the first aspect when executing the computer program.

[0015] At least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: first, the sensor sends a data packet to the gateway in the form of a message, and the gateway uses a data packet forwarding module to send the data packet to the data collection server, wherein the data packet forwarding module matches the sensor ID with the industrial Internet identifier, and the data collection server uses a parsing module to convert the data packet into JSON data and sends it to the scheduling server, and the scheduling server uses a distribution state module to calculate the sensor distribution state information according to the JSON data, and generates a sensor state change instruction according to the sensor distribution state information using a decision module, and the scheduling server sends a sensor state change instruction to the gateway, and the gateway forwards the sensor state change instruction to the sensor, and the sensor modifies the information part data according to the sensor state change instruction. Therefore, in the embodiments of the present application, a correspondence between the sensor ID and the industrial Internet identifier is established through the gateway, because the industrial Internet identifier has an Internet IP address, so that the sensor limited to the local area network is extended to the Internet, breaking through the limitation of the local area network on the communication range of the sensor. Secondly, the distribution state module of the scheduling server cyclically processes each sensor data in the sensor data set to generate a distribution state matrix Therefore, in the embodiment of the present application, global distributed status monitoring is established for each area where the sensor is located, so that the change of the sensor status in any local area network can be obtained in the Internet environment. In addition, the sensor status change instruction is generated according to the sensor ID corresponding to the middle value of the Pareto frontier. Therefore, in the embodiment of the present application, the optimal algorithm is used to control the sensors of each local area network. Thereby, the contradiction between reducing the sensor congestion and improving the sensor workload and work efficiency caused by the movement of sensors between different local area networks is reasonably solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings: Figure 1 This is a system architecture diagram for realizing dynamic sensor networking using Internet identification proposed in this application; Figure 2 A flow chart of an embodiment of a method for realizing dynamic sensor networking using Internet identification; Figure 3 A flow chart of a sensor local area network accessing the Internet provided in an embodiment of the present application; Figure 4 A flowchart of converting a message of a data packet into JSON data provided in an embodiment of the present application; Figure 5 A flowchart of generating a sensor state change instruction provided in an embodiment of the present application; Figure 6 This is a structural diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION

[0017] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0018] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0019] Figure 1 A system architecture diagram for realizing dynamic sensor networking using Internet identification provided in an embodiment of the present application.

[0020] like Figure 1 As shown, the architecture includes a sensor area 100, a data collection server 120, and a scheduling server 130. The sensor areas 1~i operate in a local area network environment and are connected to the data collection server and the scheduling server through the Internet. The sensor area sends the data collected by the sensor to the data collection server and receives the sensor state change instruction sent by the scheduling server.

[0021] The sensor area 100 includes a sensor 101 and a gateway 102. The sensor sends the collected data to the gateway in the form of a message. At the same time, the sensor receives the sensor state change instruction sent by the gateway. The sensor data packet includes a header and an information part, wherein the header is read-only information including the sensor ID, and the information part is readable and writable information including the area where the sensor is located, the target area of ​​the sensor, the sensor state, the importance of the target object or the number of the target objects, wherein the sensor state includes the standby state, the running state or the stopped state.

[0022] The data collection server 120 includes a parsing module and a parsing database. The parsing module parses the header information of the data packet to obtain the sensor ID, parses the information of the data packet to obtain the sensor location, sensor target area, sensor status, target object importance or target object quantity, saves the parsed data into the parsing database, and sends it to the scheduling server in JSON format.

[0023] The scheduling server 130 includes a distribution analysis module, a distribution state database, and a decision module. The scheduling server saves the received JSON data in the distribution state database, and obtains a sensor data set of all sensor states in the standby state from the distribution state database. The distribution state module processes each sensor data in the sensor data set to generate a distribution state matrix. The decision module generates a sensor state change instruction based on the distribution state matrix. The scheduling server sends the sensor state change instruction to the sensor area.

[0024] Figure 2 A flowchart for realizing dynamic sensor networking using Internet identification is provided in an embodiment of the present application, comprising steps 210 to 260, in which the sensor ID is matched with the industrial Internet identification, the sensor data is sent to the Internet, the sensor distribution status is analyzed by the scheduling server, and a sensor status change instruction is issued.

[0025] Step 210, the sensor sends a data packet to the gateway in the form of a message, the message includes a header and an information part, the header includes a sensor ID, the information part includes the area where the sensor is located, the sensor target area, the sensor state, the target importance or the number of targets, and the sensor state includes a standby state, a running state or a stopped state.

[0026] The data packet is in the form of a message, including a header and an information part.

[0027] In this embodiment, the data of the sensor is sent in the form of a message, which includes a header and an information part. The header includes the sensor ID, and the information part includes the area where the sensor is located, the target area of ​​the sensor, the sensor status, the importance of the target object or the number of targets. Among them, the sensor status includes standby status, running status or stop status.

[0028] Furthermore, the sensor state is cyclically switched in the order of standby state, running state, and stop state, and when the state is switched, the sending of the data packet is triggered.

[0029] In this embodiment, any change in the state of the sensor may trigger the sending of a data packet, and the state of the sensor is cyclically switched in the order of a standby state, a running state, and a stop state.

[0030] That is to say, as long as the sensors in each area change from one state to another, it will trigger the sending of data packets, so that the scheduling server on the Internet can monitor the changes of all sensors in real time.

[0031] Furthermore, the information in the header includes the sensor ID, which is set as read-only information; the information in the information part includes the area where the sensor is located, the sensor target area, the sensor status, the importance of the target object or the number of targets, which is set as readable and / or modifiable information.

[0032] In the present application, the header includes the sensor ID, which is read-only information; the information part includes the area where the sensor is located, the sensor target area, the sensor status, the importance of the target object or the number of targets, which is readable and modifiable information.

[0033] Step 220: The gateway uses a data packet forwarding module to send the data packet to a data collection server, and the data packet forwarding module matches the sensor ID with the industrial Internet identifier.

[0034] In this application, the sensor ID is matched with the industrial Internet identifier so that the industrial Internet identifier can be obtained through the sensor ID. The industrial Internet identifier contains the Internet IP address, so that the sensor ID has an Internet IP address.

[0035] In other words, by matching the sensor ID with the industrial Internet identifier, which has an Internet IP, the sensor data can be sent to the Internet, breaking the limitations of the sensor in the local area network.

[0036] Step 230: The data collection server uses the parsing module to convert the data packet into JSON data and sends it to the scheduling server.

[0037] In this application, the message is converted into JSON data to facilitate subsequent data processing.

[0038] Step 240: The scheduling server uses the distribution status module to calculate the sensor distribution status information according to the JSON data, and uses the decision module to generate a sensor status change instruction according to the sensor distribution status information.

[0039] In this application, after the scheduling server receives the JSON data, the distribution status module of the scheduling server is triggered to analyze all sensors in each area to obtain the status and distribution of sensors in the entire area.

[0040] In other words, the distribution and status analysis of sensors in each area has made it possible to track changes in sensor status in the LAN in an Internet environment, solving the limitation that sensors can only be monitored in the LAN, and also providing a data basis for subsequent sensor status change instructions.

[0041] In the present application, based on the distribution status information of sensors in each area generated by the distribution status module, the decision module generates a sensor status change instruction.

[0042] That is to say, based on the analysis of the sensor distribution status information in each area, the optimal sensor state change instruction can be generated according to the sensor's moving path. It is not limited to the sensor whose current state is changing, but the sensor state change instruction can be generated for all sensors whose current state is changing, and the most suitable sensor for changing state can be selected from them.

[0043] Step 250: The scheduling server sends a sensor state change instruction to the gateway.

[0044] Step 260: The gateway forwards the sensor state change instruction to the sensor, and the sensor modifies the information part data according to the sensor state change instruction.

[0045] In the present application, a state change instruction is sent to the sensor via the gateway, and the sensor modifies the information part data according to the sensor state change instruction.

[0046] Figure 3 The flow chart of the sensor local area network access to the Internet provided in the embodiment of the present application includes steps 310 to 340, matching the sensor ID with the industrial Internet identifier, and then connecting to the Internet through the industrial Internet identifier.

[0047] Step 310: The gateway receives the data packet sent by the sensor and parses the message header information to obtain the sensor ID.

[0048] In this application, after receiving the data packet sent by the sensor, the gateway parses the message header information to obtain the sensor ID.

[0049] Step 320: The data packet forwarding module obtains the corresponding industrial Internet identifier according to the sensor ID.

[0050] In this application, the industrial Internet identifier is pre-set in the gateway. After the gateway obtains the sensor ID, it can match the sensor ID with the industrial Internet identifier one by one and obtain the industrial Internet identifier through the sensor ID.

[0051] Furthermore, the sensor ID corresponds to the industrial Internet identifier, and at least one of the following methods is adopted: a one-to-one correspondence between the industrial Internet identifier and the sensor ID is pre-set; the sensor ID is pre-set in the industrial Internet identifier, the sensor ID is obtained by parsing the industrial Internet identifier, and a correspondence between the sensor ID and the industrial Internet identifier is established.

[0052] In this application, the correspondence between the industrial Internet identifier and the sensor ID can be pre-set, or the industrial Internet identifier can include the sensor ID and the correspondence between the sensor ID and the industrial Internet identifier can be established by parsing the industrial Internet identifier.

[0053] Step 330: The data packet forwarding module parses the industrial Internet identifier to obtain the IP address of the data collection server.

[0054] In the present application, the Internet identifier may include a server IP address.

[0055] In other words, resolving the Internet identifier can obtain the server IP address on the Internet.

[0056] Step 340: The data packet forwarding module sends a data packet to the IP address of the data collection server.

[0057] In this application, according to the IP address of the collection server, the packet forwarding module of the gateway sends the packet to the Internet.

[0058] Figure 4 The flowchart for converting the message of a data packet into JSON data provided in the embodiment of the present application includes steps 410 to 450, parsing the header and information part of the data packet and synthesizing them into JSON data.

[0059] Step 410: The data collection server receives the data packet from the sensor and obtains the header information and the message part information of the message.

[0060] In the present application, the data collection server receives the data packet from the sensor, parses the data packet, and obtains the header and information part of the message.

[0061] Step 420: The parsing module of the data collection server parses the header information of the message to obtain the sensor ID.

[0062] In this application, the message header is preset with a sensor ID, and the sensor ID can be obtained after parsing the header information.

[0063] Step 430: The parsing module of the data collection server parses the information of the message information portion to obtain the sensor location, sensor target area, sensor status, target object importance or target object quantity.

[0064] In the present application, the information part of the message includes information such as the area where the sensor is located, and the information such as the area where the sensor is located can be obtained after parsing the information part.

[0065] Step 440: The parsing module of the data collection server combines the header information and the information part information into JSON data.

[0066] In this application, the sensor ID, the area where the sensor is located, etc. are saved in the form of JSON key-value pairs to facilitate subsequent data transmission.

[0067] Step 450: The data collection server sends the JSON data to the scheduling server.

[0068] In this application, data is transmitted between servers in JSON format.

[0069] Figure 5 The flowchart for generating a sensor state change instruction provided in the embodiment of the present application includes steps 510 to 560. Any change in the state of a sensor triggers an analysis of the states of all sensors, and then the sensor that needs to change its state is determined by the Pareto optimal solution.

[0070] Step 510: The scheduling server receives the JSON data and saves it in the database.

[0071] In this application, the scheduling server receives JSON data and saves the sensor data in the database regardless of the state of the sensor.

[0072] Step 520: Taking the sensor state being in the standby state as a search condition, obtain the sensor data set from the database.

[0073] In the present application, after the scheduling server saves the sensor data, it performs a search based on the condition that the sensor state is the standby state, and obtains a set of sensor data in all the standby states from the database.

[0074] That is to say, no matter what sensor state changes occur, all sensors in standby state will be retraversed to retrieve the sensor movement routes in which the sensor area is in standby state and the sensor target area is in running state, so that the subsequent steps can calculate the route with the maximum value of the sensor area and the uncrowded sensor target area.

[0075] Furthermore, the sensor state change instruction is triggered under any of the following conditions: when the sensor state is converted from the stop state to the standby state, the sensor target area, the sensor state is the standby state, the target object importance or the target object quantity is set; when the sensor state is converted from the standby state to the running state, the sensor state is set to the running state; when the sensor state is converted from the running state to the stop state, the sensor area, the sensor state is the stop state, the target object importance is 0 or the target object quantity is 0.

[0076] In this application, the sensor state changes from the stop state to the standby state, from the standby state to the running state, and from the running state to the stop state. The conditions that trigger the sensor state change are different, and the data of the sensor change is also different.

[0077] Step 530: The distributed state module of the scheduling server performs cyclic processing on each sensor data in the sensor data set to generate a distributed state matrix .

[0078] In this application, the distribution state matrix middle, , is the number of sensors in operation in the target area for the i-th sensor, for The preset general parameters that are in operation in the target area, for The target area congestion of the target area, is the data of the importance of the target object collected by the i-th sensor, is the data of the number of targets collected by the i-th sensor.

[0079] In other words, the distribution state matrix calculates the congestion of the target area of ​​each sensor, the importance of the target objects collected in the area where the sensor is located, and the number of target objects collected.

[0080] Step 540: Calculate the Pareto front with the minimum congestion of the target area, the maximum importance of the target object and / or the maximum number of target objects as restriction conditions.

[0081] In this application, the Pareto front is calculated for the moving routes of each sensor according to the conditions of minimum target area congestion, maximum target object importance and maximum number of target objects, and the Pareto front is used as a set of optimal solutions.

[0082] Step 550: Obtain the sensor ID corresponding to the middle value in the Pareto front.

[0083] In the present application, from a group of optimal solutions on the Pareto front, the middle value is taken as the optimal solution, and the sensor corresponding to the optimal solution is taken as the sensor that needs to change the sensor state.

[0084] Step 560: Generate a sensor state change instruction according to the sensor ID.

[0085] Figure 6 The structure diagram of the computer device in the embodiment of the present application is shown in FIG. Furthermore, the present application also proposes a computer device (or computing device), including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in any embodiment of the present application when executing the computer program.

[0086] like Figure 6 As shown, the electronic device 600 includes a processor 620, a storage device 610, an input device 630, and an output device 640; the number of processors in the electronic device can be one or more. Figure 6 A processor is taken as an example; the processor, storage device, input device and output device in the electronic device can be connected by a bus or other means. Figure 6 The connection via bus 650 is taken as an example.

[0087] As a computer-readable storage medium, the storage device can be used to store software programs, computer executable programs and module units, such as program instructions corresponding to the method for realizing dynamic networking of sensors using Internet identification in the embodiment of the present application.

[0088] The storage device may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the storage device may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device may further include a memory remotely arranged relative to the processor, and these remote memories may be connected via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0089] The input device can be used to receive input numbers, character information or voice information, and generate key signal input related to user settings and function control of the electronic device. The output device can include electronic devices such as display screens and speakers.

[0090] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0091] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0092] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0093] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0094] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0095] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0096] Therefore, the present application also proposes a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in any embodiment of the present application is implemented. It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0097] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A method for realizing dynamic sensor networking using Internet identification, characterized in that: The sensor sends a data packet to the gateway in the form of a message, the message includes a header and an information part, the header includes a sensor ID, the information part includes the area where the sensor is located, the sensor target area, the sensor state, the importance of the target object or the number of targets, and the sensor state includes a standby state, a running state or a stopped state; The gateway uses a data packet forwarding module to match the sensor ID with the industrial Internet identifier and sends a data packet to the IP address of the data collection server; The data collection server uses a parsing module to convert the data packet into JSON data and sends it to the scheduling server; The scheduling server uses the distribution state module to calculate the sensor distribution state information according to the JSON data, and uses the decision module to generate a sensor state change instruction according to the sensor distribution state information; The scheduling server sends a sensor state change instruction to the gateway; The gateway forwards the sensor state change instruction to the sensor, and the sensor modifies the information part data according to the sensor state change instruction.

2. A method for realizing dynamic sensor networking using Internet identification according to claim 1, characterized in that: Also includes: The sensor state changes cyclically in the order of standby state, running state, and stop state. When the state changes, the sending of the data packet is triggered.

3. A method for realizing dynamic sensor networking using Internet identification according to claim 1, characterized in that: The header information is set to read-only information; The information in the information section is set to be readable and / or editable information.

4. A method for realizing dynamic sensor networking using Internet identification according to claim 1, characterized in that: The data packet forwarding module matches the sensor ID with the industrial Internet identifier and sends a data packet to the IP address of the data collection server, including: The gateway receives the data packet sent by the sensor and parses the message header information to obtain the sensor ID; The data packet forwarding module obtains the corresponding industrial Internet identifier based on the sensor ID; The data packet forwarding module parses the industrial Internet identifier to obtain the IP address of the data collection server; The data packet forwarding module sends data packets to the IP address of the data collection server.

5. The method for realizing dynamic sensor networking using Internet identification according to claim 1, characterized in that: Match the sensor ID to the Industrial Internet ID using at least one of the following methods: Preset a one-to-one correspondence between the industrial Internet ID and the sensor ID; The sensor ID is preset in the industrial Internet identifier. The sensor ID is obtained by parsing the industrial Internet identifier, and a corresponding relationship between the sensor ID and the industrial Internet identifier is established.

6. A method for realizing dynamic sensor networking using Internet identification according to claim 1, characterized in that: The step of converting the data packet into JSON data using the parsing module and sending it to the scheduling server includes: The data collection server receives the data packets from the sensor and obtains the header information and the information part information of the message; The parsing module of the data collection server parses the header information of the message to obtain the sensor ID; The parsing module of the data collection server parses the information of the information part of the message to obtain the area where the sensor is located, the target area of ​​the sensor, the state of the sensor, the importance of the target object or the number of the target objects; The parsing module of the data collection server synthesizes the header information and the information part information into JSON data; The data collection server sends the JSON data to the scheduling server.

7. The method for realizing dynamic sensor networking using Internet identification according to claim 1, characterized in that: The dispatch server uses the distribution state module to calculate the sensor distribution state information according to the JSON data, and uses the decision module to generate a sensor state change instruction according to the sensor distribution state information, including: The dispatch server receives the JSON data and saves it in the database; Taking the state of the sensor being in the standby state as a retrieval condition, a sensor data set is obtained from the database; The distributed state module of the scheduling server processes each sensor data in the sensor data set in a loop to generate a distributed state matrix ,in, , is the number of sensors in operation in the target area for the i-th sensor, for The preset general parameters that are in operation in the target area, for The target area congestion of the target area, is the data of the importance of the target object collected by the i-th sensor, is the data of the number of targets collected by the i-th sensor; Generate sensor state change instructions based on the distributed state matrix.

8. A method for realizing dynamic sensor networking using Internet identification as claimed in claim 7, characterized in that: The generating of the sensor state change instruction according to the distributed state matrix comprises: The Pareto front is calculated with the constraints of the minimum crowding degree of the target area, the maximum importance of the target object and / or the maximum number of target objects; Obtaining the sensor ID corresponding to the middle value in the Pareto front; A sensor state change instruction is generated according to the sensor ID.

9. The method for realizing dynamic sensor networking using Internet identification according to claim 1, characterized in that: The sensor status change command is triggered under any of the following conditions: When the sensor state changes from the stop state to the standby state, the sensor target area, the sensor state to the standby state, the target importance or the number of targets are set; When the sensor state is converted from the standby state to the running state, the sensor state is set to the running state; When the sensor state changes from the running state to the stopped state, the sensor region, the sensor state is set to the stopped state, the target importance is set to 0, or the number of targets is set to 0.

10. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Method for sending data, gateway and sensor node

    CN103686696A

  • Sensing data analysis method and device

    CN107332849A

  • Scheduling method, control method and device of distribution robot and electronic equipment

    CN109615247A

  • Sensor node monitoring method and system

    CN110691329A

  • Sensor data processing method and device, computer equipment and storage medium

    CN111368172A