Edge node-based sensing terminal access method, device, equipment and medium

By allocating appropriate channel frequency bands and authentication access to edge nodes, the problem of low access efficiency of sensor terminals is solved, and efficient sensor terminal access and data transmission are achieved.

CN119729820BActive Publication Date: 2025-10-17GUANGZHOU KETENG INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the access method of sensor terminals relies on cloud server processing, which leads to high load pressure, low access efficiency, and the randomly allocated frequency band cannot guarantee the transmission of sensing data.

Method used

Access processing is performed through edge nodes, and appropriate channel frequency bands are allocated, including obtaining the demand data of the sensor terminal, dividing the terminal into groups, and determining the access sensor terminal based on the load pressure, and using identification information and terminal keys for authentication access.

Benefits of technology

It improves the access efficiency of sensor terminals, reduces the burden on cloud servers, and ensures that the frequency band is suitable for the transmission of sensor data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729820B_ABST
    Figure CN119729820B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on edge node's sensing terminal access method, device, equipment and medium.The method comprises: determining that there is handshake request in the full channel band of power internet of things system, then obtaining the demand data of target sensing terminal corresponding to handshake request;The target sensing terminal of the frequency band intersection data of the accessible frequency band data is classified into the first terminal group;Determine the target reporting data volume and target reporting data frequency of target sensing terminal in the first terminal group corresponding to target channel band, determine the target load pressure of the first terminal group according to target reporting data volume and target reporting data frequency;According to target load pressure and reference load pressure, determine the target sensing terminal corresponding to access of target channel band, and access power internet of things system according to the identification information and terminal key of target sensing terminal.The application realizes to divide appropriate channel band for sensing terminal, carries out access processing in edge node, and improves the access efficiency of sensing terminal.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of power internet of things, and in particular to a sensing terminal access method and device based on edge node, equipment and medium. BACKGROUND

[0002] The power internet of things system is connected with various power business terminals through sensing terminals, and obtains data of each power business terminal through a cloud network server and uploads to the cloud network server of the power internet of things system. Therefore, it is very important for the sensing terminal to access the power internet of things system in time and safely.

[0003] At present, the access mode of the sensing terminal is mainly that the sensing terminal actively sends a connection request to the cloud network, and after the cloud network server verifies the connection request, the sensing terminal is randomly allocated an access frequency band according to the demand of the sensing terminal, and the sensing terminal accesses the power internet of things system based on the access frequency band and uploads sensing data. However, the current scheme needs the cloud server to process the access and verification, and the load pressure of the cloud server is large, and the access efficiency of the sensing terminal is low; and the frequency band allocated to the sensing terminal is random, and it cannot be guaranteed that the randomly allocated frequency band is suitable for the transmission of sensing data. SUMMARY

[0004] The present application provides a sensing terminal access method and device based on edge node, which can allocate appropriate channel frequency bands to the sensing terminal and perform access processing at the edge node, thereby improving the access efficiency of the sensing terminal.

[0005] According to an aspect of the present application, a sensing terminal access method based on edge node is provided, which comprises:

[0006] 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 of the target sensing 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 sensing terminals with the accessible frequency band data are classified into a first terminal group in the frequency band intersection data, 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 first terminal groups;

[0008] The target reporting data volume and target reporting data frequency of each target sensing 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 reporting data volume and the target reporting data frequency;

[0009] determine a reference load pressure of the target channel frequency band, determine a target sensing terminal corresponding to access of 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 identification information and a terminal key of the target sensing terminal; the reference load pressure is determined according to historical access data of the target channel frequency band.

[0010] According to another aspect of the present application, a sensing terminal access device based on edge node is provided, which comprises:

[0011] a data acquisition module configured to acquire demand data of a target sensing terminal corresponding to a handshake request if it is determined that the handshake request exists in full channel frequency bands of the power internet of things system; the demand data comprises accessible frequency band data and data type; the full channel frequency bands are composed of multiple target channel frequency bands;

[0012] a frequency band grouping module configured to group the target sensing terminal with the accessible frequency band data existing in frequency band intersection data into a first terminal group, and take 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 first terminal groups;

[0013] a load pressure determination module configured to determine a target reporting data volume and a target reporting data frequency of each target sensing 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 reporting data volume and the target reporting data frequency;

[0014] an access module configured to determine a reference load pressure of the target channel frequency band, determine a target sensing terminal corresponding to access of 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 identification information and a terminal key of the target sensing terminal; the reference load pressure is determined according to historical access data of the target channel frequency band.

[0015] According to another aspect of the present application, an electronic device is provided, which comprises:

[0016] at least one processor; and

[0017] a memory connected with the at least one processor in communication; 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 to enable the at least one processor to execute the sensing terminal access method based on edge node according to any one of the embodiments of the present application.

[0019] According to another aspect of the present application, a computer readable storage medium is provided, which stores computer instructions for causing a processor to implement the edge-end node based sensing terminal access method according to any of the embodiments of the present application when executed.

[0020] The technical solution of the embodiment of the present application includes the following steps: if it is determined that there is a handshake request in the full channel frequency band of the power internet of things system, obtaining the demand data of the target sensing terminal corresponding to the handshake request; 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 sensing terminals with the accessible frequency band data in the frequency band intersection data are grouped into a first terminal group, and the frequency band intersection data is taken as the 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 first terminal groups; the target reporting data volume and the target reporting data frequency of each target sensing 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 reporting data volume and the target reporting data frequency; the reference load pressure of the target channel frequency band is further determined, the target sensing terminal corresponding to the access of the target channel frequency band is determined according to the target load pressure and the reference load pressure, and the power internet of things system is accessed according to the identification information and the terminal key of the target sensing terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band. The present application realizes the grouping of appropriate channel frequency bands for sensing terminals, and performs access processing at the edge-end node, thereby improving the access efficiency of the sensing terminal.

[0021] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0023] Figure 1 is a flowchart of an edge-end node based sensing terminal access method provided by the embodiment of the present application;

[0024] Figure 2 is a structural schematic diagram of an edge-end node based sensing terminal automatic access suitable for the embodiment of the present application;

[0025] Figure 3is a flow chart of another edge-end node based sensing terminal access method according to an embodiment of the present application;

[0026] Figure 4 is a structural schematic diagram of an edge-end node based sensing terminal access device according to an embodiment of the present application;

[0027] Figure 5 is a structural schematic diagram of an electronic device implementing the edge-end node based sensing terminal access method according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.

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

[0030] Embodiment one

[0031] Figure 1 is a flow chart of an edge-end node based sensing terminal access method according to an embodiment of the present application. The present embodiment can be applicable to the case of automatically accessing the sensing terminal connected with the power equipment to the power Internet of Things system. The method can be executed by an edge-end node based sensing terminal access device, which can be realized in the form of hardware and / or software, and can be configured in any electronic device with network communication function. As shown in the figure, the edge-end node based sensing terminal access method of the present application includes the following processes: Figure 1

[0032] ​S110, if it is determined that there is a handshake request in the full channel frequency band of the power internet of things system, obtaining demand data of a target sensing terminal corresponding to the handshake request; the demand data includes accessible frequency band data and data types, and the full channel frequency band is composed of multiple target channel frequency bands.

[0033] The power internet of things system is a new information transmission technology. By collecting, analyzing and calculating various parameters of the power system, an intelligent network for monitoring and controlling the operation state of the power system is established, and the automation, digitization and visualization of the power system are realized. The power internet of things system can not only improve the safety, economy and reliability of the power system, but also effectively solve the real-time, dynamic, flexibility and adaptability of the power system. For example, the power internet of things system can be an electric Hong OS operating system, as shown in Figure 2 .

[0034] The execution subject of the present application is an edge node, as shown in Figure 2 The edge node is connected to the power equipment terminal and the sensing terminal in the edge collaborative field wireless communication module based on the power internet of things system, and is used for data transmission and processing, that is, the edge node is a node close to the sensing terminal of the power internet of things system. The cloud network allocates computing resources to each edge node, so that the edge node can perform sensing terminal or power equipment access scanning and access control in the edge collaborative field. When the sensing terminal accesses the cloud network through the edge node, the memory in the edge node records the access data of the sensing terminal in the collaborative field, and stores the access data in the database.

[0035] Specifically, the edge node performs cyclic scanning on the full channel frequency band in the power internet of things system according to the scanning order pre-arranged for the channel, and the scanning content is to identify whether there is a handshake request of the sensing terminal in each channel frequency band, so as to discover whether there is a sensing terminal requesting access in the full channel frequency band. 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 of the target sensing terminal corresponding to the handshake request is obtained from the database.

[0036] Optionally, obtaining the demand data of the target sensing terminal corresponding to the handshake request includes: determining whether the target sensing terminal is a historical access sensing terminal. If the target sensing terminal is a historical access sensing terminal, it is indicated that the demand data is stored in the database, and the demand data of the target sensing terminal is directly pulled from the database. If the target sensing terminal is not a historical access sensing terminal, it is indicated that it is a newly added sensing terminal, and a demand data acquisition request needs to be sent to the corresponding target sensing terminal according to the address information of the handshake request to obtain the demand data of the target sensing terminal.

[0037] The demand data can include but is not limited to accessible frequency band data, a communication protocol, an interface, a data reporting frequency and a data type reported by the sensing terminal when the sensing terminal accesses.

[0038] The data type can be determined according to the function and use of the target sensing terminal. For example, a temperature sensor, a humidity sensor, an illumination sensor, etc., usually only need to upload a temperature value, a humidity value or an illumination intensity value each time. High-precision sensors, such as a spectrum analyzer in industrial detection, need to transmit a large amount of data in real time each time. A camera and a video device need to transmit a large amount of image data in real time; (the data amount of the image data and the spectrum analysis data described above is much larger than that of a temperature value). A smart home device (such as a smart lamp or an air conditioner) transmits a small amount of data, usually only including control instructions and state information. A smart phone or a tablet needs to process and transmit a large amount of multimedia data.

[0039] The embodiment of the technical scheme can realize accurate acquisition of demand data by judging whether the target sensing terminal is a sensing terminal that has accessed historically, thereby avoiding the influence of the error of the demand data on the final allocation of the frequency band of the sensing terminal.

[0040] S120, the target sensing terminal with the accessible frequency band data is classified into a first terminal group, and the frequency band intersection data is taken 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 exists in multiple first terminal groups.

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

[0042] S130, determining the target data reporting amount and the target data reporting frequency of each target sensing terminal in the first terminal group corresponding to the target channel frequency band, and determining the target load pressure of each first terminal group according to the target data reporting amount and the target data reporting frequency.

[0043] Specifically, there is a first correlation between different target sensing terminals and the target data reporting amount and the target data reporting frequency, so that after obtaining each target sensing terminal in the first terminal group, the target data reporting amount and the target data reporting frequency of each target sensing terminal in the first terminal group corresponding to the target channel frequency band can be determined according to the first correlation.

[0044] Further, determining the target load pressure of each first terminal group according to the target reporting data amount and the target reporting data frequency can include: taking the product of the target reporting data amount and the target reporting data frequency of the target sensing terminal in the first terminal group as the candidate load pressure of the target sensing terminal, and determining the sum of the candidate load pressures of each target sensing terminal in the first terminal group as the target load pressure of the first terminal group.

[0045] In the embodiment, optionally, the target reporting data amount of each target sensing terminal in the first terminal group corresponding to the target channel frequency band is determined, including: grouping the target sensing terminals with the same data type as a second terminal group, and determining whether there is a historical sensing terminal that has accessed in the second terminal group. If there is a historical sensing terminal that has accessed in the second terminal group, the historical sensing terminal is taken as a historical sensing terminal, and the maximum value of the reporting data amount in the historical sensing terminal is taken as the target reporting data amount of each target sensing terminal in the second terminal group. If there is no historical sensing terminal that has accessed in the second terminal group, the target reporting data amount of the target sensing terminal is determined according to the data type corresponding to the target sensing terminal, and the data type and the target reporting data amount have an associated relationship.

[0046] Specifically, because the type of the sensing terminal, that is, the data type of the sensing terminal to be transmitted, the data amount of the corresponding to-be-transmitted data is different, therefore, when there is no historical sensing terminal that has accessed in the second terminal group, the maximum data amount of each target sensing terminal in the group is estimated according to the data type, that is, the average value of the transmission data amount corresponding to the device type of the target sensing terminal is determined according to the data type reported by the target sensing terminal under normal circumstances. The data amount transmitted by each device type is within a certain range under normal circumstances.

[0047] The technical scheme in the embodiment groups the target sensing terminals according to the data type, further determines whether there is a historical sensing terminal that has accessed in the group, and thus accurately determines the target reporting data amount of each target sensing terminal, and avoids the calculation error of the target load pressure caused by the error of the reporting data amount.

[0048] S140, determining the reference load pressure of the target channel frequency band, determining the target sensing terminal accessed corresponding to 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 and the terminal key of the target sensing terminal; the reference load pressure is determined according to the historical access data of the target channel frequency band.

[0049] The reference load pressure is determined according to 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 the 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. Further, the target load pressure and the reference load pressure have a second association relationship with the target sensing terminal corresponding to the access of the target channel frequency band, so that after the target load pressure and the reference load pressure are determined, the target sensing terminal corresponding to the access of the target channel frequency band is obtained according to the second association relationship, and the power internet of things system is accessed according to the identification information and the terminal key of the target sensing terminal. The terminal key can be understood as a key configured on the sensing terminal side to represent the sensing terminal device. Before accessing the power internet of things system, the key is used for authentication, and only after the authentication is successful can the power internet of things system be accessed.

[0050] In the embodiment, the identification information can be an identity ID. The identity ID and the terminal key of each target sensing terminal requesting access are used for communication layer and application layer authentication of the target sensing terminal requesting access.

[0051] The main tasks of the application layer include application program interface, user authentication, data transmission, etc., and directly face users and application programs, and are responsible for providing various network application services. The communication layer usually refers to the transmission 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 protect the security of the system and the integrity of the data. Through authentication, it can be ensured that only authorized users and devices can access the system, thereby preventing illegal occupation of network resources, access to the network or cheating critical information. Communication layer authentication refers to verifying the identity and authority of the device to ensure that the terminal has a legal identity and authority in 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 legal 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 the scheme, the target sensing terminal will write the device ID and device key allocated by the cloud platform into it during the information burning stage. The device ID represents the uniqueness of the sensing terminal device, and usually uses the MAC address or a unique string (MODEL+ such as MAC address after md5 signature = MODEL+12345678), etc. Regardless of which way is used, the device ID is unique in the entire cloud platform. And there will be a special database in the cloud platform and the edge node to store the device ID of the target sensing terminal for identity authentication.

[0054] The terminal key represents the authenticity of the sensing terminal device. The terminal key is like the fingerprint of the sensing terminal device, which is carried by the sensing terminal, and the cloud and edge node also have a corresponding key. When authentication is required, the key is used for permission identification to ensure that the sensing terminal and the cloud communicate safely.

[0055] The storage mode of the key is that the sensing terminal corresponds to the device end to store the private key, and the cloud stores the public key. The advantage of this scheme is that even if the cloud leaks the public key, the authenticity of the sensing terminal device cannot be copied because the private key of the sensing terminal device is only carried by this device and has no backup anywhere. In the production process, it is usually necessary to generate a private key and a public key pair in the sensing terminal device, and the public key is exported. The private key is preferably only in and forever in this sensing terminal device.

[0056] In this scheme, since the edge node stores the identity ID and the broken key of the sensing terminal, when the sensing terminal accesses, the edge node can directly authenticate it, greatly reducing the computing power load of the cloud server, and the edge node is directly connected with the terminal device. After receiving the access request of the sensing terminal, it can directly process the access of the sensing terminal, improving the access efficiency of the sensing terminal.

[0057] The technical scheme of the embodiment of the application, 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 of the target sensing 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 sensing terminals with the accessible frequency band data in the frequency band intersection data are classified into a first terminal group, and the frequency band intersection data is taken 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 first terminal groups; the target reporting data volume and the target reporting data frequency of each target sensing 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 reporting data volume and the target reporting data frequency; further, the reference load pressure of the target channel frequency band is determined, the target sensing terminal corresponding to the access of the target channel frequency band is determined according to the target load pressure and the reference load pressure, and the power internet of things system is accessed according to the identification information and the terminal key of the target sensing terminal. The reference load pressure is determined according to the historical access data of the target channel frequency band. The application realizes the classification of appropriate channel frequency bands for sensing terminals, and the access processing is performed at the edge node, improving the access efficiency of the sensing terminal.

[0058] Embodiment two

[0059] Figure 3The flowchart of another access method of the sensing terminal based on the edge and end nodes is provided for the embodiments of the present application. The technical scheme of the present embodiment is further optimized in the process of determining the target sensing terminal corresponding to the target channel frequency band according to the target load pressure and the reference load pressure on the basis of the reference load pressure of the target channel frequency band determined in the above-mentioned embodiments. The present embodiment can be combined with each optional scheme in one or more of the above-mentioned embodiments. As shown in Figure 3 The access method of the sensing terminal based on the edge and end nodes includes the following processes:

[0060] S210, if it is determined that there is a handshake request in the full channel frequency band of the power internet of things system, obtaining the demand data of the target sensing terminal corresponding to the handshake request; the demand data includes accessible frequency band data and data type, and the full channel frequency band is composed of a plurality of target channel frequency bands.

[0061] S220, grouping the target sensing terminals with the accessible frequency band data in the frequency band intersection data into a first terminal group, and taking the frequency band intersection data as the 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 a plurality of first terminal groups.

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

[0063] S240, determining the reference load pressure of the target channel frequency band.

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

[0065] The reference load pressure m of the target channel frequency band in the target time is determined according to the reference reporting data volume, the reference reporting data frequency and the reference quantity i which can be expressed by the following formula:

[0066]

[0067] Wherein, a is the reference reporting data volume of the reference sensing terminal of the target channel frequency band; b is the reference reporting data frequency of the reference sensing terminal of the target channel frequency band; and f is the reference quantity of the reference sensing terminal.

[0068] Optionally, the method for determining the access data change curve comprises: obtaining historical access data, the historical access data being used to describe access time data, a sensor terminal identifier and an access quantity of a historical access sensor terminal in each channel frequency band corresponding to a full channel frequency band; generating an access data change curve of the sensor terminal of each channel frequency band changing over time based on the historical access data; and the access data change curve being used to describe a change of the access sensor terminal and the access quantity corresponding to the access sensor terminal of each channel frequency band in a preset time length.

[0069] S250, determining 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, the target channel frequency band has a plurality of first terminal groups, and a segment of the target channel frequency band can cover the common adjustable frequency band. Therefore, the target channel frequency band can have a plurality of common adjustable frequency bands, i.e., a plurality of first terminal groups.

[0071] Further, the frequency band load pressure change value y can be expressed by the following formula p :

[0072]

[0073] wherein, n p is the target load pressure of the first terminal group of the pth common adjustable frequency band corresponding to the target channel frequency band; and m i is the reference load pressure of the first terminal group of the pth common adjustable frequency band corresponding to the target channel frequency band.

[0074] S260, taking the first terminal group with the smallest frequency band load pressure change value as a target terminal group, taking a target sensor terminal in the target terminal group as a target sensor terminal accessed to the target channel frequency band, and accessing to the power internet of things system according to the identifier information and the terminal key of the target sensor terminal.

[0075] Specifically, after the target sensing terminal accesses the power internet of things system according to the identification information and the terminal key, the reporting situation of the target sensing terminal can be monitored and the connection can be flexibly established according to the data reporting frequency of the target sensing terminal. The specific process is as follows: the target sensing terminals with the same target reporting data frequency in the target terminal group are grouped into a 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 sensing terminals in the third terminal group are continuously kept in the connected state with the power internet of things system, and data reporting is performed 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 sensing terminals in the third terminal group and the power internet of things system is established, and data reporting is performed, so as to avoid the waste of frequency band resources caused by the long reporting period and the continuous connection.

[0076] In addition, the number of target sensing terminals in the third terminal group is obtained; if the actual number of terminals reporting data in a certain third terminal group is continuously less than the number of target sensing terminals in the group, it indicates that the target sensing terminals in the group are disconnected or have faults, and fault alarm information is generated at this time.

[0077] The application can re-establish the connection for the sensing terminal with a large data reporting time interval, and can also monitor the reporting data of the sensing terminal with a small data reporting time interval, so as to ensure the timeliness of the sensing data collection of each power terminal device.

[0078] The technical scheme of the embodiment of the present application, if it is determined that there is a handshake request in the full channel frequency band of the power internet of things system, demand data of a target sensing terminal corresponding to the handshake request is acquired; the demand data includes accessible frequency band data and data types, and the full channel frequency band is composed of multiple target channel frequency bands. The target sensing terminals with the accessible frequency band data in the frequency band intersection data are grouped into a first terminal group, and the frequency band intersection data is taken 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 first terminal groups. The target reporting data volume and the target reporting data frequency of each target sensing 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 reporting data volume and the 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, then the first terminal group with the smallest frequency band load pressure change value is taken as a target terminal group, and the target sensing terminal in the target terminal group is taken as a target sensing terminal accessed to the target channel frequency band, the appropriate channel frequency band is allocated to the sensing terminal, and the power internet of things system is accessed according to the identification information and the terminal key of the target sensing terminal, that is, the access processing is performed at the edge node, which greatly reduces the computing power burden of the cloud server and improves the access efficiency of the sensing terminal.

[0079] Embodiment three

[0080] Figure 4 A structure diagram of a sensing terminal access device based on an edge node is provided for the embodiment of the present application. The embodiment can be applied to the case that the sensing terminal connected with the power equipment is automatically accessed to the power internet of things system. The sensing terminal access device based on the edge node can be realized in the form of hardware and / or software, and can be configured in any electronic device with network communication function. As shown in the figure, the device includes: Figure 4

[0081] The data acquisition module 310 is configured to acquire demand data of a target sensing terminal corresponding to a 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 types; and the full channel frequency band is composed of multiple target channel frequency bands.

[0082] ​The frequency band grouping module 320 is configured to group the target sensing terminals with the accessible frequency band data existing in the frequency band intersection data into a first terminal group, and take 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 exists in multiple groups of the first terminal group.

[0083] The load pressure determination module 330 is configured to determine a target reporting data volume and a target reporting data frequency of each target sensing 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 reporting data volume and the target reporting data frequency.

[0084] The access module 340 is configured to determine a reference load pressure of the target channel frequency band, determine a target sensing terminal corresponding to the access of 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 the terminal key of the target sensing terminal; the reference load pressure is determined according to historical access data of the target channel frequency band.

[0085] On the basis of the above-mentioned embodiments, the device further comprises a curve information determination module, the curve information determination module is configured to obtain historical access data, the historical access data is used to describe the access time data, the sensing terminal identification and the access quantity of the historical access sensing terminal in each channel frequency band corresponding to the full channel frequency band; generate an access data change curve of the sensing terminal of each channel frequency band changing with time based on the historical access data; the access data change curve is used to describe the change of the access sensing terminal and the corresponding access quantity of the sensing terminal in each channel frequency band within a preset time length.

[0086] On the basis of the above-mentioned embodiments, the access module comprises a reference load pressure determination unit, the reference load pressure determination unit is configured to determine a reference sensing terminal and a reference quantity of the reference sensing terminal of the target channel frequency band within a target time according to the access data change curve; determine a reference reporting data volume and a reference reporting data frequency of each reference sensing terminal corresponding to the target channel frequency band, and determine a reference load pressure of the target channel frequency band within the target time according to the reference reporting data volume, the reference reporting data frequency and the reference quantity.

[0087] On the basis of the above-mentioned embodiments, the data acquisition module is configured to determine whether the target sensing terminal is a historical access sensing terminal; if yes, pull the demand data of the target sensing terminal from the database; if not, send a demand data acquisition request to the corresponding target sensing terminal according to the address information of the handshake request, and acquire the demand data of the target sensing terminal.

[0088] On the basis of the above-mentioned embodiments, optionally, the load pressure determination module comprises a reporting data amount determination unit, the reporting data amount determination unit is configured to group target sensing terminals with the same data type in all target sensing terminals into a second terminal group, and determine whether there is a historical sensing terminal that has accessed in the second terminal group; if there is, the historical sensing terminal that has accessed is taken as a historical sensing terminal, and a maximum value of reporting data amounts of the historical sensing terminal is taken as a target reporting data amount of each target sensing terminal in the second terminal group; if there is not, the target reporting data amount of the target sensing terminal is determined according to a data type corresponding to the target sensing terminal, and the data type and the target reporting data amount have a correlation relationship.

[0089] On the basis of the above-mentioned embodiments, optionally, the access module comprises a sensing terminal determination unit, the sensing terminal determination unit is configured to 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; take the first terminal group with the minimum frequency band load pressure change value as a target terminal group, and take a target sensing terminal in the target terminal group as a target sensing terminal accessed by the target channel frequency band.

[0090] On the basis of the above-mentioned embodiments, optionally, the access module further comprises a data reporting unit, the data reporting unit is configured to group target sensing 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 sensing terminal in the third terminal group is continuously kept in a connected state with the power Internet of Things system, and data reporting is performed 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 a second preset reporting period is reached, a connection between the target sensing terminal in the third terminal group and the power Internet of Things system is established, and data reporting is performed.

[0091] The sensing terminal access device based on edge-end nodes provided in the embodiments of the present application can execute the sensing terminal access method based on edge-end nodes provided in any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.

[0092] Embodiment four

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

[0094] Figure 5A structural diagram of an electronic device that can be used to implement the edge node based sensing terminal access method of embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.

[0095] As shown in Figure 5 The electronic device 10 includes at least one processor 11, and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., connected in communication with the at least one processor 11, where the memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 12 or loaded into the random access memory (RAM) 13 from the storage unit 18. 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 plurality 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 magnetic 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 can be various general and / or special purpose 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 special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the edge node based sensing terminal access method.

[0098] In some embodiments, the edge node based sensing terminal access method can be implemented as a computer program tangibly embodied in a computer readable storage medium, e.g., storage unit 18. In some embodiments, parts or all of the computer program can be loaded and / or installed onto electronic device 10 via, e.g., ROM 12 and / or communication unit 19. When the computer program is loaded onto RAM 13 and executed by processor 11, one or more steps of the edge node based sensing terminal access method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to perform the edge node based sensing terminal access method by other means, e.g., with the aid of firmware.

[0099] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.

[0100] Computer programs used to implement the methods of the application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as part of a standalone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.

[0101] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] To provide for interaction with a user, the systems and techniques described here can 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 a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0103] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can 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] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can 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 large management difficulty and weak business scalability in traditional physical host and VPS service.

[0105] It should be understood that the various forms of flow shown above can be used to reorder, add or delete steps. For example, each step described in the present application can be executed in parallel, sequentially or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which is not limited herein.

[0106] The above detailed description does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A sensor terminal access method based on edge nodes, characterized in that: The method comprises: If it is determined that a handshake request exists in the full channel frequency band of the electric power Internet of Things system, then 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 grouped as 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; Determining a target reported data volume and a target reported data frequency for each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determining a target load pressure for each first terminal group based on 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 based on the target load pressure and the reference load pressure, and access the power Internet of Things system based on the identification information and terminal key of the target sensor terminal; the reference load pressure is determined based on 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 quantity of sensor terminals that have historically accessed each channel frequency band corresponding to all channel frequency bands; Based on the historical access data, an access data change curve of the sensor terminals of each channel frequency band that changes over time is generated; the access data change curve is used to describe the changes in the number of 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: Determining 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 based on the reference reported data volume, the reference reported data frequency and the reference quantity.

4. The method according to claim 1, wherein 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 in the past; If yes, then pull the demand data of the target sensor terminal from the database; If not, a request for obtaining required data is sent to the corresponding target sensor terminal according to the address information sent in the handshake request to obtain the required data of the target sensor terminal.

5. The method according to claim 1, wherein 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 is a sensor terminal that has been accessed in the past 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 according to the target load pressure and the reference load pressure includes: determining 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 is configured to, if it is determined that a handshake request exists in the full channel frequency band of the power Internet of Things system, acquire demand data of the target sensor terminal corresponding to the handshake request; 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, configured to group 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 for each target sensor terminal in the first terminal group corresponding to the target channel frequency band, and determine a target load pressure for each first terminal group based on 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 based on the target load pressure and the reference load pressure, and access the power Internet of Things system based on the identification information and terminal key of the target sensor terminal; the reference load pressure is determined based on 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 according to any one of claims 1 to 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 edge node-based sensor terminal access method 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

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

    CN1206974A