Sensing terminal access method and device based on side end node, equipment and medium

By performing access processing at the edge-end nodes and allocating suitable channel bands, the problems of low access efficiency and inappropriate frequency bands are solved, and efficient access and load management are achieved.

CN119729820AActive Publication Date: 2025-03-28GUANGZHOU KETENG INFORMATION TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411859451.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-03-28
Estimated Expiration
2044-12-17

AI Technical Summary

Technical Problem

In existing power Internet of Things systems, the access efficiency of sensing terminals is low, and the randomly allocated frequency bands cannot guarantee suitable for transmission of perceived data.

Method used

By performing access processing at the edge end node, the required data of the sensing terminal, including access band data and data types, grouping and allocating suitable channel bands, and determining the accessed target sensing terminal based on the target load pressure and the reference load pressure.

Benefits of technology

It improves the access efficiency of the sensing terminal, ensures the suitability of the frequency band, and reduces the load pressure of the cloud server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729820A_ABST
    Figure CN119729820A_ABST
Patent Text Reader

Abstract

The invention discloses a sensing terminal access method, device and equipment based on a side end node and a medium. The method comprises the following steps: determining that a handshake request exists in a full-channel frequency band of a power Internet of Things system, and obtaining demand data of a target sensing terminal corresponding to the handshake request; classifying the target sensing terminals with the accessible frequency band data having the frequency band intersection data into a first terminal group; determining a target reported data volume and a target reported data frequency of a target sensing terminal in a first terminal group corresponding to the target channel frequency band, and determining a target load pressure of the first terminal group according to the target reported data volume and the target reported data frequency; and determining a target sensing terminal correspondingly accessed by the target channel frequency band according to the target load pressure and the reference load pressure, and accessing the power Internet of Things system according to the identification information of the target sensing terminal and the terminal key. According to the invention, the appropriate channel frequency band is allocated to the sensing terminal, and the access processing is carried out at the side end node, so that the access efficiency of the sensing terminal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of electric power Internet of Things, and in particular to a sensor terminal access method, device, equipment and medium based on edge nodes. Background Art

[0002] The power Internet of Things system is connected to various power business terminals through sensor terminals, and obtains data from various power business terminals through cloud network servers and uploads them to the cloud network servers of the power Internet of Things system. Therefore, it is very important for sensor terminals to be connected to the power Internet of Things system in a timely and secure manner.

[0003] At present, the access method of sensor terminals is mainly that the sensor terminals actively send connection requests to the cloud network. After the cloud network server verifies the connection request, it randomly allocates access frequency bands to the sensor terminals according to the needs of the sensor terminals. The sensor terminals access the power Internet of Things system based on the access frequency bands and upload the perception data. However, the current scheme access and verification require processing by the cloud server, which has a large load pressure on the cloud server and low access efficiency of the sensor terminal. In addition, the frequency bands are randomly allocated to the sensor terminals, and there is no guarantee that the randomly allocated frequency bands are suitable for the transmission of perception data. Summary of the invention

[0004] The present invention provides a sensor terminal access method, device, equipment and medium based on edge nodes, so as to allocate a suitable channel frequency band to the sensor terminal, and perform access processing at the edge nodes, thereby improving the access efficiency of the sensor terminal.

[0005] According to one aspect of the present invention, a sensor terminal access method based on an edge node is provided, the method comprising:

[0006] If it is determined that there is a handshake request in the full channel frequency band of the electric power Internet of Things system, then the demand data of the target sensor terminal corresponding to the handshake request is obtained; the demand data includes accessible frequency band data and data type; the full channel frequency band is composed of multiple target channel frequency bands;

[0007] The target sensor terminals whose accessible frequency band data have frequency band intersection data are classified into a first terminal group, and the frequency band intersection data is used as a common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to a target channel frequency band, and the target channel frequency band has multiple groups of first terminal groups;

[0008] Determine a target reported data volume and a target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determine a target load pressure of each first terminal group according to the target reported data volume and the target reported data frequency;

[0009] Determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band.

[0010] According to another aspect of the present invention, a sensor terminal access device based on an edge node is provided, the device comprising:

[0011] A data acquisition module, for obtaining demand data of a target sensor terminal corresponding to the handshake request if it is determined that there is a handshake request in the full channel frequency band of the power Internet of Things system; the demand data includes accessible frequency band data and data type; the full channel frequency band is composed of multiple target channel frequency bands;

[0012] A frequency band grouping module, used to classify the target sensor terminals having frequency band intersection data in the accessible frequency band data into a first terminal group, and use the frequency band intersection data as a common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to a target channel frequency band, and the target channel frequency band has multiple groups of first terminal groups;

[0013] a load pressure determination module, configured to determine a target reported data volume and a target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determine a target load pressure of each first terminal group according to the target reported data volume and the target reported data frequency;

[0014] An access module is used to determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band.

[0015] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the edge node-based sensor terminal access method described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the edge node-based sensor terminal access method described in any embodiment of the present invention when executed.

[0020] The technical solution of the embodiment of the present invention is as follows: if it is determined that there is a handshake request in the full channel frequency band of the electric power Internet of Things system, then the demand data of the target sensor terminal corresponding to the handshake request is obtained; the demand data includes accessible frequency band data and data type; the full channel frequency band is composed of multiple target channel frequency bands; the target sensor terminal whose accessible frequency band data has frequency band intersection data is classified into a first terminal group, and the frequency band intersection data is used as the common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to a target channel frequency band, and there are multiple groups of first terminal groups in the target channel frequency band; the target reported data volume and target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band are determined, and the target load pressure of each first terminal group is determined according to the target reported data volume and the target reported data frequency; further determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the electric power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band. The present invention realizes allocation of appropriate channel frequency bands for sensor terminals and performs access processing at edge nodes, thereby improving access efficiency of the sensor terminals.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 is a flow chart of a sensor terminal access method based on edge nodes provided according to an embodiment of the present invention;

[0024] Figure 2 It is a structural diagram of automatic access of a sensor terminal based on an edge node applicable to an embodiment of the present invention;

[0025] Figure 3is a flowchart of another edge node-based sensor terminal access method provided according to an embodiment of the present invention;

[0026] Figure 4 It is a structural schematic diagram of a sensor terminal access device based on an edge node provided according to an embodiment of the present invention;

[0027] Figure 5 It is a structural schematic diagram of an electronic device for implementing the edge node-based sensor terminal access method of the embodiment of the present invention provided according to the embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Embodiment 1

[0031] Figure 1 A flow chart of a sensor terminal access method based on edge nodes provided in an embodiment of the present invention. This embodiment can be applied to the case where a sensor terminal connected to an electric power device is automatically connected to an electric power Internet of Things system. The method can be executed by a sensor terminal access device based on edge nodes. The sensor terminal access device based on edge nodes can be implemented in the form of hardware and / or software. The sensor terminal access device based on edge nodes can be configured in any electronic device with network communication function. Figure 1 As shown, the sensor terminal access method based on edge node of the present invention includes the following process:

[0032] S110. If it is determined that there is a handshake request in the full channel frequency band of the electric power Internet of Things system, the demand data of the target sensor terminal corresponding to the handshake request is obtained; the demand data includes accessible frequency band data and data type, and the full channel frequency band is composed of multiple target channel frequency bands.

[0033] The power Internet of Things system of the present invention is a new type of information transmission technology. By collecting, analyzing and calculating various parameters of the power system, an intelligent network for monitoring and controlling the operation status of the power system is established to realize the automation, digitization and visualization of the power system. The power Internet of Things system can not only improve the safety, economy and reliability of the power system, but also effectively solve the problems of real-time, dynamic, flexibility and adaptability of the power system. For example, the power Internet of Things system can be the Dianhong OS operating system, such as Figure 2 shown.

[0034] The execution subject of the present invention is the edge node, such as Figure 2 As shown, the edge node is a node connected to the power equipment terminal and the sensor terminal in the edge collaborative field wireless communication module based on the power Internet of Things system, and is used for data reception and processing, that is, the edge node is a node that is close to the power Internet of Things system with the sensor terminal. The cloud network allocates computing resources to each edge node, so that the edge node can scan and control the access of the sensor terminal or power equipment in the edge collaborative field where it is located. When the sensor terminal accesses the cloud network through the edge node, the memory in the edge node will record the access data of the sensor terminal in the collaborative field where it is located, and store the access data in the database.

[0035] Specifically, the edge node performs a cyclic scan of all channel frequency bands in the power Internet of Things system according to the scanning order pre-arranged for the channels. The scanning content is to identify whether there is a handshake request from the sensor terminal in each channel frequency band to find out whether there is a sensor terminal requesting access in the entire channel frequency band. If it is determined that there is a handshake request in the entire channel frequency band of the power Internet of Things system, the demand data of the target sensor terminal corresponding to the handshake request is obtained from the database.

[0036] Optionally, obtaining the demand data of the target sensor terminal corresponding to the handshake request includes: determining whether the target sensor terminal is a sensor terminal that has been accessed historically. If the target sensor terminal is a sensor terminal that has been accessed historically, it means that the demand data is stored in the database, and the demand data of the target sensor terminal is directly pulled from the database. If the target sensor terminal is not a sensor terminal that has been accessed historically, it means that it is a newly added sensor terminal, and it is necessary to send a demand data acquisition request to the corresponding target sensor terminal according to the address information sent by the handshake request to obtain the demand data of the target sensor terminal.

[0037] The demand data may include, but is not limited to, the accessible frequency band data, communication protocol, interface, reporting data frequency, and reported data type when the sensor terminal is accessed. The accessible frequency band data may be understood as the channel frequency band that the sensor terminal can access.

[0038] The data type can be determined according to the function and purpose of the target sensor terminal. For example: temperature sensors, humidity sensors, light sensors, etc., usually only need to upload one temperature value, humidity value or light intensity value each time. High-precision sensors, such as spectrometers in industrial inspections, need to transmit a large amount of data in real time each time. Cameras and video devices need to transmit a large amount of image data in real time; (the amount of image data and the above-mentioned spectral analysis data is much larger than the amount of data for a temperature value). Smart home devices (such as smart lights and air conditioners) transmit a small amount of data, usually only including control instructions and status information. Smart phones or tablets need to process and transmit large amounts of multimedia data.

[0039] The technical solution of this embodiment achieves accurate acquisition of demand data by judging whether the target sensor terminal is a sensor terminal that has been connected in the past, thereby avoiding the subsequent influence of the wrong demand data on the final allocation of the sensor terminal frequency band.

[0040] S120, classifying the target sensor terminals whose accessible frequency band data have frequency band intersection data into a first terminal group, and using the frequency band intersection data as a common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to one target channel frequency band, and the target channel frequency band has multiple groups of first terminal groups.

[0041] Specifically, the target channel frequency band may be a plurality of frequency bands obtained by dividing the full channel frequency band. The handshake request may be a request for sensor terminal access issued for the same or different target channel frequency bands. The common adjustable frequency band is a frequency band obtained by grouping the actual available frequency bands of the target sensor terminal. The relationship between the target channel frequency band and the common adjustable frequency band is: there is a frequency band in the target channel frequency band that can cover all the common adjustable frequency bands.

[0042] S130, determining a target reported data volume and a target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determining a target load pressure of each first terminal group according to the target reported data volume and the target reported data frequency.

[0043] Specifically, there is a first association relationship between different target sensor terminals and the target reported data volume and target reported data frequency. Therefore, after obtaining each target sensor terminal in the first terminal group, the target reported data volume and target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band can be determined according to the first association relationship.

[0044] Furthermore, determining the target load pressure of each first terminal group based on the target reported data volume and the target reported data frequency may include: taking the product of the target reported data volume and the target reported data frequency of the target sensor terminal in the first terminal group as the candidate load pressure of the target sensor terminal, and determining the sum of the candidate load pressures of each target sensor terminal in the first terminal group as the target load pressure of the first terminal group.

[0045] In this embodiment, optionally, determining the target reported data volume of each target sensor terminal in the first terminal group corresponding to the target channel frequency band includes: classifying all target sensor terminals with the same data type into a second terminal group, and determining whether there are sensor terminals that have been historically accessed in the second terminal group. If there are sensor terminals that have been historically accessed in the second terminal group, the sensor terminals that have been historically accessed are used as historical sensor terminals, and the maximum value of the reported data volume in the historical sensor terminals is used as the target reported data volume of each target sensor terminal in the second terminal group. If there are no sensor terminals that have been historically accessed in the second terminal group, the target reported data volume of the target sensor terminal is determined according to the data type corresponding to the target sensor terminal, and there is a correlation between the data type and the target reported data volume.

[0046] Specifically, because the type of sensor terminal, that is, the type of data that the sensor terminal needs to transmit, has different corresponding data volumes to be transmitted, when there is no sensor terminal that has been historically connected in the second terminal group, the maximum data volume when each target sensor terminal in the group reports data is estimated based on the data type: the device type of the target sensor terminal is determined based on the data type reported by the target sensor terminal, and the average value of the transmission data volume corresponding to the device type under normal circumstances is used as the estimation result. Under normal circumstances, the amount of data transmitted by each device type has a certain range.

[0047] The technical solution of this embodiment groups the target sensor terminals according to the data type, and further determines whether there are sensor terminals that have been connected in the group in the past, so as to accurately determine the target reported data volume of each target sensor terminal, and avoid the target load pressure calculation error caused by the error in the reported data volume.

[0048] S140. Determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band.

[0049] Among them, the reference load pressure is determined according to the historical access data of the target channel frequency band, and the historical access data includes but is not limited to the reported data volume and reported data frequency of the target channel frequency band corresponding to the target channel frequency band in different time periods, so as to infer the reference load pressure of the current target channel frequency band according to the historical access data, and further, there is a second correlation relationship between the target load pressure and the reference load pressure and the target sensor terminal corresponding to the target channel frequency band, so after determining the target load pressure and the reference load pressure, the target sensor terminal corresponding to the target channel frequency band is obtained according to the second correlation relationship, and the power Internet of Things system is accessed according to the identification information and terminal key of the target sensor terminal. The terminal key can be understood as the key configured on the sensor terminal side representing the sensor terminal device. Before accessing the power Internet of Things system, the key is used for authentication, and the power Internet of Things system can be accessed only after the authentication is successful.

[0050] In this embodiment, optionally, the identification information may be an identity ID, and communication layer and application layer authentication are performed for the target sensor terminal requesting access according to the identity ID and terminal key of each target sensor terminal requesting access.

[0051] The main tasks of the application layer include application program interface, user authentication, data transmission, etc. It is directly facing users and applications and is responsible for providing various network application services. The communication layer usually refers to the transport layer, which is responsible for providing reliable data transmission services for the application layer in the network.

[0052] The main purpose of authentication is to prevent unauthorized users or devices from accessing system resources and to protect the security of the system and the integrity of data. Authentication can ensure that only authorized users and devices can access the system, thereby preventing illegal occupation of network resources, access to the network, or fraudulent acquisition of key information. Communication layer authentication refers to verifying the identity and authority of the device to ensure that the terminal has a legitimate identity and authority during the communication process, thereby ensuring the security of communication and the integrity of data. Application layer authentication refers to confirming whether the terminal has a legitimate identity and authority through a series of rules and processes when the terminal accesses the application layer, thereby deciding whether to allow the terminal to access the service.

[0053] In this solution, the target sensor terminal will write the device ID and device key assigned by the cloud platform into it during the information burning stage. The device ID represents the uniqueness of the sensor terminal device, usually using a MAC address, or a unique string (MODEL+, for example, MAC address after md5 signature = MODEL+12345678). Regardless of which method is used, the device ID is unique in the entire cloud platform. There will be a dedicated database in the cloud platform and edge nodes to store the device ID of the target sensor terminal for identity authentication.

[0054] The terminal key represents the authenticity of the sensor terminal device. The terminal key is like the fingerprint of the sensor terminal device. The sensor terminal will carry it with you. The cloud and edge nodes will also have a corresponding key. When authentication is required, the key is used for permission identification to ensure secure communication between the sensor terminal and the cloud.

[0055] The key storage method is: the device corresponding to the sensor terminal stores the private key, and the cloud stores the public key. The advantage of this solution is that even if the public key is leaked in the cloud, the authenticity of the sensor terminal device cannot be copied, because the private key of the sensor terminal device is only carried by this device and there is no backup anywhere. In the production process, it is usually necessary to generate a private key and a public key pair in the sensor terminal device and export the public key at the same time. The private key should be kept as unknown as possible, and it is best to only and forever be in this sensor terminal device.

[0056] In this solution, since the edge node stores the identity ID and collision key of the sensor terminal, the sensor terminal requesting access can be directly authenticated by the edge node when accessing, which greatly reduces the computing load of the cloud server. In addition, the edge node is directly connected to the terminal device and can directly process the access request from the sensor terminal after receiving it, thereby improving the access efficiency of the sensor terminal.

[0057] The technical solution of the embodiment of the present invention is as follows: if it is determined that there is a handshake request in the full channel frequency band of the electric power Internet of Things system, then the demand data of the target sensor terminal corresponding to the handshake request is obtained; the demand data includes accessible frequency band data and data type; the full channel frequency band is composed of multiple target channel frequency bands; the target sensor terminal whose accessible frequency band data has frequency band intersection data is classified into a first terminal group, and the frequency band intersection data is used as the common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to a target channel frequency band, and there are multiple groups of first terminal groups in the target channel frequency band; the target reported data volume and target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band are determined, and the target load pressure of each first terminal group is determined according to the target reported data volume and the target reported data frequency; further determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the electric power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band. The present invention realizes allocation of appropriate channel frequency bands for sensor terminals and performs access processing at edge nodes, thereby improving access efficiency of the sensor terminals.

[0058] Embodiment 2

[0059] Figure 3A flowchart of another edge node-based sensor terminal access method provided by an embodiment of the present invention. The technical solution of this embodiment further optimizes the process of determining the reference load pressure of the target channel frequency band in the above embodiment and determining the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure. This embodiment can be combined with various optional solutions in one or more of the above embodiments. Figure 3 As shown, the sensor terminal access method based on edge node of the present invention includes the following process:

[0060] S210. If it is determined that there is a handshake request in the full channel frequency band of the electric power Internet of Things system, the demand data of the target sensor terminal corresponding to the handshake request is obtained; the demand data includes accessible frequency band data and data type, and the full channel frequency band is composed of multiple target channel frequency bands.

[0061] S220, classify the target sensor terminals whose accessible frequency band data have frequency band intersection data into a first terminal group, and use the frequency band intersection data as a common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to one target channel frequency band, and the target channel frequency band has multiple groups of first terminal groups.

[0062] S230, determining a target reported data volume and a target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determining a target load pressure of each first terminal group according to the target reported data volume and the target reported data frequency.

[0063] S240: Determine a reference load pressure of a target channel frequency band.

[0064] Specifically, the reference sensor terminals and the reference number of reference sensor terminals in the target channel frequency band within the target time are determined according to the access data change curve. The reference reported data volume and reference reported data frequency of each reference sensor terminal corresponding to the target channel frequency band are determined, and the reference load pressure of the target channel frequency band within the target time is determined according to the reference reported data volume, reference reported data frequency and reference number.

[0065] Determine the reference load pressure m of the target channel frequency band within the target time according to the reference reported data volume, reference reported data frequency and reference quantity i It can be expressed by the following formula:

[0066]

[0067] Among them, a is the reference reported data volume of the reference sensor terminal in the target channel frequency band; b is the reference reported data frequency of the reference sensor terminal in the target channel frequency band; f is the reference number of reference sensor terminals.

[0068] Optionally, the method for determining the access data change curve includes: obtaining historical access data, the historical access data is used to describe the access time data, sensor terminal identification and access quantity of the sensor terminals that have been historically accessed in each channel frequency band corresponding to the entire channel frequency band; based on the historical access data, generating an access data change curve of the sensor terminals in each channel frequency band that changes with time; the access data change curve is used to describe the changes in the sensor terminals accessed to each channel frequency band within a preset time period and the corresponding access quantity of the sensor terminals.

[0069] S250: Determine a frequency band load pressure change value of each first terminal group according to the target load pressure and the reference load pressure of each first terminal group.

[0070] Specifically, the common adjustable frequency band corresponds to a target channel frequency band, and there are multiple groups of first terminal groups in the target channel frequency band. A frequency band in the target channel frequency band can cover the common adjustable frequency band. Therefore, the target channel frequency band can have multiple common adjustable frequency bands, that is, there will be multiple groups of first terminal groups.

[0071] Furthermore, the following formula can be used to reflect the change value y of the frequency band load pressure: p :

[0072]

[0073] Among them, n p is the target load pressure of the first terminal group of the pth commonly adjustable frequency band corresponding to the target channel frequency band; m i is the reference load pressure of the first terminal group in the pth commonly adjustable frequency band corresponding to the target channel frequency band.

[0074] S260. The first terminal group with the smallest frequency band load pressure change value is used as the target terminal group, and the target sensor terminal in the target terminal group is used as the target sensor terminal corresponding to the target channel frequency band, and the target sensor terminal is connected to the power Internet of Things system according to the identification information and terminal key of the target sensor terminal.

[0075] Specifically, after accessing the electric power Internet of Things system according to the identification information and terminal key of the target sensor terminal, the reporting situation can be monitored and the connection can be flexibly established according to the data reporting frequency of the target sensor terminal. The specific process is: the target sensor terminals with the same target reporting data frequency in the target terminal group are classified into the third terminal group. If the target reporting data frequency corresponding to the third terminal group is greater than the preset frequency threshold, the corresponding target channel frequency band is continuously allocated, the target sensor terminal in the third terminal group is continuously kept in a connected state with the electric power Internet of Things system, and data is reported according to the first preset reporting period. If the target reporting data frequency corresponding to the third terminal group is less than the preset frequency threshold, when the second preset reporting period is reached, the corresponding target channel frequency band is allocated, the connection between the target sensor terminal in the third terminal group and the electric power Internet of Things system is established, and data is reported to avoid wasting frequency band resources due to a long reporting period and continuous connection.

[0076] In addition, the target sensor terminal number of the target sensor terminal in the third terminal group is obtained; if the actual terminal number of a third terminal group reporting data is continuously less than the target sensor terminal number of the group, it means that the target sensor terminal in the group is disconnected or has a terminal failure, and a fault alarm information is generated at this time.

[0077] The present invention can re-establish connection with sensor terminals with a large data reporting time interval, and can also monitor the reported data of sensor terminals with a small data reporting time interval, thereby ensuring the timeliness of the perception data collection corresponding to each power terminal device.

[0078] The technical solution of the embodiment of the present invention is that if it is determined that there is a handshake request in the full channel frequency band of the electric power Internet of Things system, the demand data of the target sensor terminal corresponding to the handshake request is obtained; the demand data includes accessible frequency band data and data type, and the full channel frequency band is composed of multiple target channel frequency bands. The target sensor terminals whose accessible frequency band data has frequency band intersection data are classified into the first terminal group, and the frequency band intersection data is used as the common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to one target channel frequency band, and there are multiple groups of first terminal groups in the target channel frequency band. Determine the target reporting data volume and target reporting data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determine the target load pressure of each first terminal group based on the target reporting data volume and target reporting data frequency. The reference load pressure of the target channel frequency band is further determined to ensure accurate prediction of the reference load pressure of the target channel frequency band; so as to determine the frequency band load pressure change value of each first terminal group according to the target load pressure and the reference load pressure of each first terminal group, and then use the first terminal group with the smallest frequency band load pressure change value as the target terminal group, and use the target sensor terminal in the target terminal group as the target sensor terminal corresponding to the target channel frequency band for access, so as to allocate a suitable channel frequency band to the sensor terminal, and access the power Internet of Things system according to the identification information and terminal key of the target sensor terminal, that is, perform access processing at the edge node, which greatly reduces the computing power burden of the cloud server and improves the access efficiency of the sensor terminal.

[0079] Embodiment 3

[0080] Figure 4 The present invention provides a schematic diagram of the structure of a sensor terminal access device based on edge nodes. This embodiment can be applied to the case where a sensor terminal connected to a power device is automatically connected to a power Internet of Things system. The sensor terminal access device based on edge nodes can be implemented in the form of hardware and / or software. The sensor terminal access device based on edge nodes can be configured in any electronic device with network communication function. Figure 4 As shown, the device comprises:

[0081] The data acquisition module 310 is used to obtain the demand data of the target sensor terminal corresponding to the handshake request if it is determined that there is a handshake request in the full channel frequency band of the power Internet of Things system; the demand data includes accessible frequency band data and data type; the full channel frequency band is composed of multiple target channel frequency bands;

[0082] The frequency band grouping module 320 is used to classify the target sensor terminals whose accessible frequency band data have frequency band intersection data into a first terminal group, and use the frequency band intersection data as a common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to a target channel frequency band, and the target channel frequency band has multiple groups of first terminal groups;

[0083] A load pressure determination module 330, configured to determine a target reported data volume and a target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determine a target load pressure of each first terminal group according to the target reported data volume and the target reported data frequency;

[0084] The access module 340 is used to determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band.

[0085] On the basis of the above embodiment, optionally, the device also includes a curve information determination module, which is used to obtain historical access data, and the historical access data is used to describe the access time data, sensor terminal identification and access quantity of the sensor terminals that have been historically accessed in each channel frequency band corresponding to the full channel frequency band; based on the historical access data, an access data change curve of the sensor terminals in each channel frequency band that changes with time is generated; the access data change curve is used to describe the changes in the sensor terminals accessed to each channel frequency band within a preset time period and the corresponding access quantity of the sensor terminals.

[0086] Based on the above embodiment, optionally, the access module includes a reference load pressure determination unit, which is used to determine the reference sensor terminal and the reference number of reference sensor terminals in the target channel frequency band within the target time according to the access data change curve; determine the reference reported data volume and reference reported data frequency of each reference sensor terminal corresponding to the target channel frequency band, and determine the reference load pressure of the target channel frequency band within the target time according to the reference reported data volume, the reference reported data frequency and the reference number.

[0087] On the basis of the above embodiment, optionally, a data acquisition module is used to determine whether the target sensor terminal is a sensor terminal that has been connected historically; if so, the demand data of the target sensor terminal is pulled from the database; if not, a demand data acquisition request is sent to the corresponding target sensor terminal according to the address information sent by the handshake request to obtain the demand data of the target sensor terminal.

[0088] On the basis of the above embodiment, optionally, the load pressure determination module includes a reported data amount determination unit, which is used to classify all target sensor terminals with the same data type into a second terminal group, and determine whether there are sensor terminals that have been historically connected in the second terminal group; if so, the sensor terminals that have been historically connected are used as historical sensor terminals, and the maximum value of the reported data amount in the historical sensor terminals is used as the target reported data amount of each target sensor terminal in the second terminal group; if not, the target reported data amount of the target sensor terminal is determined according to the data type corresponding to the target sensor terminal, and the data type is associated with the target reported data amount.

[0089] Based on the above embodiment, optionally, the access module includes a sensor terminal determination unit, which is used to determine the frequency band load pressure change value of each first terminal group based on the target load pressure and the reference load pressure of each first terminal group; the first terminal group with the smallest frequency band load pressure change value is used as the target terminal group, and the target sensor terminal in the target terminal group is used as the target sensor terminal accessed corresponding to the target channel frequency band.

[0090] On the basis of the above embodiment, optionally, the access module also includes a data reporting unit, which is used to classify the target sensor terminals with the same target reporting data frequency in the target terminal group into a third terminal group; if the target reporting data frequency corresponding to the third terminal group is greater than a preset frequency threshold, the target sensor terminals in the third terminal group are continuously maintained in a connected state with the power Internet of Things system, and data are reported according to a first preset reporting period; if the target reporting data frequency corresponding to the third terminal group is less than the preset frequency threshold, when the second preset reporting period is reached, a connection is established between the target sensor terminals in the third terminal group and the power Internet of Things system, and data is reported.

[0091] The edge node-based sensor terminal access device provided in the embodiment of the present invention can execute the edge node-based sensor terminal access method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0092] Embodiment 4

[0093] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0094] Figure 5A schematic diagram of the structure of an electronic device that can be used to implement the edge node-based sensor terminal access method of an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0095] like Figure 5 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0096] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0097] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 11 executes the various methods and processes described above, such as a sensor terminal access method based on an edge node.

[0098] In some embodiments, the edge node-based sensor terminal access method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the edge node-based sensor terminal access method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the edge node-based sensor terminal access method in any other appropriate manner (e.g., by means of firmware).

[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0100] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0101] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0103] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0104] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0106] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A sensor terminal access method based on edge nodes, characterized in that: The method comprises: If it is determined that there is a handshake request in the full channel frequency band of the electric power Internet of Things system, then the demand data of the target sensor terminal corresponding to the handshake request is obtained; the demand data includes accessible frequency band data and data type; the full channel frequency band is composed of multiple target channel frequency bands; The target sensor terminals whose accessible frequency band data have frequency band intersection data are classified into a first terminal group, and the frequency band intersection data is used as a common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to a target channel frequency band, and the target channel frequency band has multiple groups of first terminal groups; Determine a target reported data volume and a target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determine a target load pressure of each first terminal group according to the target reported data volume and the target reported data frequency; Determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band.

2. The method according to claim 1, characterized in that The method further comprises: Acquire historical access data, where the historical access data is used to describe access time data, sensor terminal identifiers, and access quantities of sensor terminals that have been historically accessed in each channel frequency band corresponding to the full channel frequency band; Based on the historical access data, an access data change curve of the sensor terminals of each channel frequency band that changes with time is generated; the access data change curve is used to describe the changes in the sensor terminals accessed to each channel frequency band within a preset time period and the corresponding access quantity of the sensor terminals.

3. The method according to claim 2, characterized in that Determining a reference load pressure of the target channel frequency band includes: Determine a reference sensor terminal and a reference number of reference sensor terminals in a target channel frequency band within a target time according to the access data change curve; Determine the reference reported data volume and reference reported data frequency of each reference sensor terminal corresponding to the target channel frequency band, and determine the reference load pressure of the target channel frequency band within the target time according to the reference reported data volume, the reference reported data frequency and the reference quantity.

4. The method according to claim 1, characterized in that: Obtaining the required data of the target sensor terminal corresponding to the handshake request, including: Determining whether the target sensor terminal is a sensor terminal that has been accessed historically; If yes, then pull the demand data of the target sensor terminal from the database; If not, a request for acquiring required data is sent to the corresponding target sensor terminal according to the address information sent in the handshake request to acquire the required data of the target sensor terminal.

5. The method according to claim 1, characterized in that Determining a target reporting data amount of each target sensor terminal in the first terminal group corresponding to the target channel frequency band includes: Classifying target sensor terminals with the same data type among all target sensor terminals into a second terminal group, and determining whether there are sensor terminals that have been accessed historically in the second terminal group; If so, the sensor terminals that have been connected in the past are used as historical sensor terminals, and the maximum value of the reported data volume among the historical sensor terminals is used as the target reported data volume of each target sensor terminal in the second terminal group; If not, the target reported data volume of the target sensor terminal is determined according to the data type corresponding to the target sensor terminal, and the data type is associated with the target reported data volume.

6. The method according to claim 1, characterized in that Determining a target sensor terminal corresponding to the target channel frequency band to be connected according to the target load pressure and the reference load pressure includes: Determine a frequency band load pressure change value of each first terminal group according to the target load pressure and the reference load pressure of each first terminal group; The first terminal group with the smallest load pressure change value in the frequency band is used as a target terminal group, and the target sensor terminals in the target terminal group are used as target sensor terminals corresponding to the target channel frequency band.

7. The method according to claim 6, characterized in that After accessing the power Internet of Things system according to the identification information and the terminal key of the target sensor terminal, the method further includes: Classifying the target sensor terminals with the same target data reporting frequency in the target terminal group into a third terminal group; If the target data reporting frequency corresponding to the third terminal group is greater than the preset frequency threshold, the target sensor terminal in the third terminal group is kept connected to the power Internet of Things system, and data is reported according to the first preset reporting period; If the target data reporting frequency corresponding to the third terminal group is less than the preset frequency threshold, when the second preset reporting period is reached, a connection is established between the target sensor terminal in the third terminal group and the power Internet of Things system, and data reporting is performed.

8. A sensor terminal access device based on edge nodes, characterized in that: The device comprises: A data acquisition module, for obtaining demand data of a target sensor terminal corresponding to the handshake request if it is determined that there is a handshake request in the full channel frequency band of the power Internet of Things system; the demand data includes accessible frequency band data and data type; the full channel frequency band is composed of multiple target channel frequency bands; A frequency band grouping module, used to classify the target sensor terminals having frequency band intersection data in the accessible frequency band data into a first terminal group, and use the frequency band intersection data as a common adjustable frequency band of the first terminal group; the common adjustable frequency band corresponds to a target channel frequency band, and the target channel frequency band has multiple groups of first terminal groups; a load pressure determination module, configured to determine a target reported data volume and a target reported data frequency of each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determine a target load pressure of each first terminal group according to the target reported data volume and the target reported data frequency; An access module is used to determine the reference load pressure of the target channel frequency band, determine the target sensor terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure, and access the power Internet of Things system according to the identification information and terminal key of the target sensor terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the edge node-based sensor terminal access method described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the sensor terminal access method based on edge nodes according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Access method and device, wireless access point and readable storage medium

    CN110177384A

  • Networking system for sensing equipment of electric power internet of things

    CN114070357A

  • Frequency band switching method and device, electronic equipment and storage medium

    CN115175342A

  • Method for determing swtiching on frequency band and first and last end of realized said method

    CN1206974A

  • KR20240167687A