Positioning method, device, equipment and readable storage medium for power Internet of Things terminal
By combining network identification and positioning information in IPv6 addresses, the problems of low real-time and large resource occupation in the positioning method of power IoT terminals are solved, accurate and efficient positioning updates are achieved, and communication resource use of power IoT terminals is improved. Efficiency and positioning accuracy.
Patent Information
- Application Number
- CN202210431943.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-22
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2042-04-22
AI Technical Summary
The existing power Internet of Things terminal positioning methods have low real-time performance and consume a lot of communication resources, making it difficult to achieve accurate positioning.
By assigning network identification, positioning update requests and positioning information in IPv6 addresses, the positioning process is simplified, the service carrying capacity is reduced, the communication resource usage efficiency is improved, and the positioning update cycle is shortened by conventional communication packet transmission, real-timeness is enhanced, and IPv6 is parsed The encoded information in the address combines physical and logical position information to achieve precise positioning.
It improves the positioning accuracy and real-timeness of power IoT terminals, reduces waste of communication resources, simplifies the positioning process, and enhances the efficiency of location updates.
Smart Images

Figure CN114786255B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power Internet of Things, and in particular to a positioning method, device, equipment and readable storage medium for an electric power Internet of Things terminal. Background Art
[0002] With the advancement of the construction of the power Internet of Things, the number of power terminals connected to the power Internet of Things has increased dramatically. As an important function of the power terminal, the positioning function has a wide range of applications in power system information collection, monitoring, inspection and other scenarios, and can provide strong support for transmission, transformation, distribution and other scenarios.
[0003] At present, most of the achievements in positioning technology are concentrated on positioning methods, which have problems such as low real-time performance and occupation of communication resources. However, with the continuous access of massive power terminals to the power Internet of Things, energy consumption costs and resource occupation have increased, and the real-time performance of its positioning is difficult to guarantee. At the same time, the environment in which the power terminal is located is complex. There may be multiple power Internet of Things terminals with different logical positions in the same physical location. For example, the transmission cable is divided into three phases A, B, and C. The detection device of the cable body is deployed on the surface of the cable. The physical position information of the monitoring device on the three-phase cable A, B, and C at the same position is the same, and it needs to be identified through logical position information to support the operation of monitoring services. The existing positioning technology can only support physical positioning within the required accuracy. It is difficult to meet the requirements for logical positioning of power equipment, and it is difficult to achieve accurate positioning of power terminals. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a positioning method, device, equipment and readable storage medium for a power Internet of Things terminal to solve the problems of low real-time performance, large communication resource occupation and difficulty in achieving accurate positioning of the power terminal in the existing power terminal positioning methods.
[0005] According to the first aspect, an embodiment of the present invention provides a positioning method for an electric power Internet of Things terminal, which is used for the electric power Internet of Things terminal, including: obtaining the IPv6 address of the electric power Internet of Things terminal, the IPv6 address including a network identification domain, a positioning update request domain and a positioning information domain; when the electric power Internet of Things terminal needs to update the location information, changing the positioning update request domain to obtain an updated first target IPv6 address; encapsulating an uplink communication data packet of the electric power Internet of Things terminal based on the first target IPv6 address, and sending the uplink communication data packet to at least one access node, the at least one access node determining whether the electric power Internet of Things terminal initiates a positioning update request based on the positioning update request domain in the uplink communication data packet; identifying and receiving a downlink communication data packet sent by a target access node based on the network identification domain, the target access point being the access node closest to the electric power Internet of Things terminal; parsing the destination IPv6 address in the downlink communication data packet, and updating the IPv6 address of the electric power Internet of Things terminal with the destination IPv6 address.
[0006] The positioning method of the electric power Internet of Things terminal provided in the embodiment of the present invention is that the electric power Internet of Things terminal is given a network identifier, a positioning update request and positioning information in the IPv6 address at the same time, which can avoid the waste of communication resources by the IPv6 address under the premise of ensuring the uniqueness of its network identifier. By integrating the IPv6 network address and the positioning information, the IPv6 address of the electric power Internet of Things terminal is used to carry the terminal positioning information, which effectively simplifies the positioning process, reduces the business carrying capacity of the terminal, and improves the communication resource utilization efficiency of the electric power Internet of Things terminal. The location of the electric power Internet of Things terminal is updated through conventional communication data packet transmission, which shortens the positioning update cycle, enhances the real-time nature of the location update, and makes the positioning more accurate.
[0007] In combination with the first aspect, in a first implementation of the first aspect, the method further includes: parsing the location information domain in the IPv6 address of the power Internet of Things terminal to determine the physical location information and logical location information of the power Internet of Things terminal.
[0008] The positioning method for the power Internet of Things terminal provided in the embodiment of the present invention determines the physical positioning and logical positioning carried by the positioning information field through the coding information corresponding to the positioning information field in the IPv6 address, thereby combining the physical position and the logical position through the positioning information field, and can more accurately identify the positioning of the power Internet of Things terminal.
[0009] According to the second aspect, an embodiment of the present invention provides a positioning method for an electric power Internet of Things terminal, which is used for a target access node, including: monitoring an uplink communication data packet sent by the electric power Internet of Things terminal; parsing the positioning update request field in the uplink communication data packet to obtain the positioning update request information stored in the positioning update request field; determining whether the electric power Internet of Things terminal initiates a positioning update request based on the positioning update request information; when it is determined that the electric power Internet of Things terminal initiates a positioning update request, obtaining the signal parameters of the electric power Internet of Things terminal; sending the signal parameters to an edge Internet of Things proxy device, so that the edge Internet of Things proxy device updates the positioning information field of the electric power Internet of Things terminal according to the signal parameters; receiving a downlink communication data packet sent by the edge Internet of Things proxy device, and forwarding the downlink communication data packet to the electric power Internet of Things terminal, wherein the downlink communication data packet carries the destination IPv6 address for updating the positioning information field.
[0010] The positioning method of the electric Internet of Things terminal provided by the embodiment of the present invention can determine whether the electric Internet of Things terminal has issued a positioning update request by parsing the uplink communication data packet. When it is determined that the electric Internet of Things terminal has issued a positioning update request, the signal parameter information of the uplink communication data packet when it arrives at the access node is transmitted to the edge Internet of Things agent for processing the positioning update request, and can receive the downlink communication data packet issued by the electric Internet of Things terminal, and send the downlink communication data packet to the electric Internet of Things terminal for location update. In this way, the location update of the electric Internet of Things terminal can be completed through conventional communication data packet transmission, which shortens the positioning update cycle and improves the real-time performance of the location update.
[0011] In combination with the second aspect, in the first implementation of the second aspect, determining whether the power Internet of Things terminal initiates a positioning update request based on the positioning update request information includes: detecting whether the positioning update request information is consistent with the preset information; when the positioning update request information is consistent with the preset information, determining that the power Internet of Things terminal has initiated a positioning update request.
[0012] The positioning method of the electric power Internet of Things terminal provided in the embodiment of the present invention determines whether the electric power Internet of Things terminal has initiated a positioning update request by detecting whether the positioning update request information is consistent with the preset information, so as to execute different processing processes for the communication data packet according to the different positioning update request information.
[0013] According to the third aspect, an embodiment of the present invention provides a positioning method for an electric power Internet of Things terminal, which is used for an edge Internet of Things agent device, including: receiving signal parameters corresponding to the electric power Internet of Things terminal sent by at least one access node; calculating the current location information of the electric power Internet of Things terminal based on the information parameters; updating the positioning information domain based on the current location information, and obtaining an IPv6 address for updating the positioning information domain; encapsulating a downlink communication data packet based on the IPv6 address for updating the positioning information domain, and sending the downlink communication data packet to a target access node.
[0014] In the positioning method of the electric Internet of Things terminal provided by the embodiment of the present invention, the edge IoT proxy device calculates the current location of the electric Internet of Things terminal according to the signal parameter information received about the same electric Internet of Things terminal, and encapsulates the current location of the electric Internet of Things into a downlink communication data packet, so that the access node can send the downlink communication data packet to the electric Internet of Things terminal, so that the electric Internet of Things terminal can parse its current location information from the downlink communication data packet when receiving it. In this way, the location update of the electric Internet of Things terminal can be completed through conventional communication data packet transmission, which shortens the positioning update cycle and improves the real-time performance of the location update.
[0015] In combination with the third aspect, in a first implementation of the third aspect, the positioning information domain is updated based on the current location information to obtain an IPv6 address of the updated positioning information domain, including: encoding the current location information according to a preset encoding rule to obtain encoding information corresponding to the positioning information domain; updating the positioning information of the positioning information domain based on the encoding information to obtain the IPv6 address after the positioning information is updated.
[0016] The positioning method of the power Internet of Things terminal provided in the embodiment of the present invention encodes the current location information according to a preset coding rule, and updates the positioning information of the positioning information field with the coding information, thereby realizing the location update of the power Internet of Things terminal through the IPv6 address.
[0017] In combination with the first implementation of the third aspect, in the second implementation of the third aspect, the method further includes: in response to a modification operation on the positioning information field, determining encoding information corresponding to the modification operation.
[0018] The positioning method of the electric power Internet of Things terminal provided in the embodiment of the present invention determines whether the coded information of the positioning information domain is accurate by combining manual inspection. When the coded information of the positioning information domain is incorrect, it can respond to the manual modification operation of the positioning information domain and determine the coded information corresponding to the modification operation. This ensures the accuracy of the coded information and further ensures that the electric power Internet of Things terminal performs accurate location updates.
[0019] In combination with the third aspect, in a third implementation of the third aspect, the method also includes: calculating the distance between the at least one access node and the power Internet of Things terminal based on the information parameters; comparing the distances between each of the access nodes and the power Internet of Things terminal to determine the access node that is closest to the power Internet of Things terminal; and determining the access node that is closest to the power Internet of Things terminal as the target access node.
[0020] The positioning method of the power Internet of Things terminal provided in the embodiment of the present invention compares the distance between each access node and the power Internet of Things terminal, and takes the access node closest to the power Internet of Things terminal as the target access node, thereby reducing the transmission time of the communication data packet and ensuring the real-time nature of the position update of the power Internet of Things terminal to the greatest extent.
[0021] In combination with the third aspect or any one of the first to third embodiments of the third aspect, in a fourth embodiment of the third aspect, the method further includes: restoring the location update request information corresponding to the location update request field.
[0022] The positioning method for the electric power Internet of Things terminal provided in an embodiment of the present invention avoids subsequent repeated triggering of the location update of the electric power Internet of Things terminal by restoring the positioning update request information corresponding to the positioning update request domain after starting the positioning update.
[0023] According to the fourth aspect, an embodiment of the present invention provides a positioning device for an electric power Internet of Things terminal, which is used for the electric power Internet of Things terminal and includes: a first acquisition module, which is used to obtain the IPv6 address of the electric power Internet of Things terminal, and the IPv6 address includes a network identification domain, a positioning update request domain and a positioning information domain; a change module, which is used to change the positioning update request domain when the electric power Internet of Things terminal needs to update the location information, and obtain an updated first target IPv6 address; a first sending module, which is used to encapsulate the uplink communication data packet of the electric power Internet of Things terminal based on the first target IPv6 address, and send the uplink communication data packet to at least one access node, and the at least one access node determines whether the electric power Internet of Things terminal initiates a positioning update request according to the positioning update request domain in the uplink communication data packet; a first receiving module, which is used to identify and receive the downlink communication data packet sent by the target access node based on the network identification domain, and the target access point is the access node closest to the electric power Internet of Things terminal; a first parsing module, which is used to parse the destination IPv6 address in the downlink communication data packet, and update the IPv6 address of the electric power Internet of Things terminal with the destination IPv6 address.
[0024] According to the fifth aspect, an embodiment of the present invention provides a positioning device for an electric power Internet of Things terminal, which is used for a target access node, including: a monitoring module, which is used to monitor the uplink communication data packet sent by the electric power Internet of Things terminal; a second parsing module, which is used to parse the positioning update request field in the uplink communication data packet to obtain the positioning update request information stored in the positioning update request field; a determination module, which is used to determine whether the electric power Internet of Things terminal initiates a positioning update request based on the positioning update request information; a second acquisition module, which is used to obtain the signal parameters of the electric power Internet of Things terminal when it is determined that the electric power Internet of Things terminal initiates a positioning update request; a second sending module, which is used to send the signal parameters to an edge Internet of Things agent device, so that the edge Internet of Things agent device updates the positioning information field of the electric power Internet of Things terminal according to the signal parameters; a second receiving module, which is used to receive the downlink communication data packet sent by the edge Internet of Things agent device, and forward the downlink communication data packet to the electric power Internet of Things terminal, wherein the downlink communication data packet carries the destination IPv6 address for updating the positioning information field.
[0025] According to the sixth aspect, an embodiment of the present invention provides a positioning device for an electric power Internet of Things terminal, which is used for an edge Internet of Things agent device, including: a third receiving module, used to receive signal parameters corresponding to the electric power Internet of Things terminal sent by at least one access node; a calculation module, used to calculate the current location information of the electric power Internet of Things terminal based on the information parameters; an update module, used to update the positioning information domain based on the current location information, and obtain the IPv6 address for updating the positioning information domain; a third sending module, used to encapsulate a downlink communication data packet based on the IPv6 address for updating the positioning information domain, and send the downlink communication data packet to a target access node.
[0026] According to the seventh aspect, an embodiment of the present invention provides an electronic device, comprising: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to execute the method for locating the electric power Internet of Things terminal described in the first aspect or the first embodiment of the first aspect, or executes the method for locating the electric power Internet of Things terminal described in the second aspect or the first embodiment of the second aspect, or executes the method for locating the electric power Internet of Things terminal described in the third aspect or any embodiment of the third aspect.
[0027] According to the eighth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method for locating a power Internet of Things terminal described in the first aspect or the first implementation manner of the first aspect, or to execute the method for locating a power Internet of Things terminal described in the second aspect or the first implementation manner of the second aspect, or to execute the method for locating a power Internet of Things terminal described in the third aspect or any implementation manner of the third aspect.
[0028] It should be noted that, for the corresponding beneficial effects of the positioning device, electronic device and computer-readable storage medium of the power Internet of Things terminal provided in the embodiments of the present invention, please refer to the description of the corresponding contents in the positioning method of the power Internet of Things terminal, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0030] Figure 1 is a flow chart of a method for positioning a power Internet of Things terminal on the power Internet of Things terminal side according to an embodiment of the present invention;
[0031] Figure 2 is another flow chart of a method for positioning a power Internet of Things terminal on the power Internet of Things terminal side according to an embodiment of the present invention;
[0032] Figure 3 is a flow chart of a method for positioning a power Internet of Things terminal on a target access node side according to an embodiment of the present invention;
[0033] Figure 4 is another flow chart of a method for positioning a power Internet of Things terminal on a target access node side according to an embodiment of the present invention;
[0034] Figure 5 It is a flowchart of a method for positioning a power Internet of Things terminal on the edge Internet of Things proxy device side according to an embodiment of the present invention;
[0035] Figure 6 is another flow chart of a method for locating a power Internet of Things terminal on the edge Internet of Things proxy device side according to an embodiment of the present invention;
[0036] Figure 7 is an overall flow chart of a positioning method for a power Internet of Things terminal according to an embodiment of the present invention;
[0037] Figure 8 is a schematic diagram of dividing the IPv6 address coding domain according to an embodiment of the present invention;
[0038] Fig. 9 is a schematic diagram of a network architecture of a positioning system according to an embodiment of the present invention;
[0039] Fig.10 is a structural block diagram of a positioning device for a power Internet of Things terminal used for a power Internet of Things terminal according to an embodiment of the present invention;
[0040] Fig.11 is a structural block diagram of a positioning device for a power Internet of Things terminal of a target access node according to an embodiment of the present invention;
[0041] Fig.12 It is a structural block diagram of a positioning device for a power Internet of Things terminal of an edge Internet of Things proxy device according to an embodiment of the present invention;
[0042] Fig.13 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0044] According to an embodiment of the present invention, an embodiment of a positioning method for an electric power Internet of Things terminal is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0045] In this embodiment, a method for locating a power Internet of Things terminal is provided, which can be used for a power Internet of Things terminal. Figure 1 is a flow chart of a method for positioning a power Internet of Things terminal according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0046] S11, obtain the IPv6 address of the power Internet of Things terminal, which includes a network identification domain, a positioning update request domain and a positioning information domain.
[0047] The IPv6 address is the uniqueness of the power Internet of Things terminal, and the unique power Internet of Things terminal can be determined in the power Internet of Things through the IPv6 address. The power Internet of Things terminal can determine the IPv6 address used to characterize its uniqueness by querying its own attributes.
[0048] The IPv6 address has rich coding bit resources. Here, the IPv6 address can be divided into a network identification domain, a positioning update request domain, and a positioning information domain. The network identification domain stores the network address domain and the interface ID domain. The network address domain stores the network address of the power Internet of Things terminal, and the interface ID domain stores the interface information of the power Internet of Things terminal. The power Internet of Things terminal can be uniquely identified through the code in the network identification domain; the positioning update request domain is used to store the positioning update request information of the power Internet of Things terminal; the positioning information domain is used to store the location information of the power Internet of Things terminal, which includes the physical location and the logical location.
[0049] S12: When the power Internet of Things terminal needs to update the location information, the positioning update request field is changed to obtain the updated first target IPv6 address.
[0050] The power Internet of Things terminal can initiate a location update request regularly or irregularly. When the power Internet of Things terminal determines that it needs to update its location information, the power Internet of Things terminal can modify the coding information of the location update request field to obtain the first target IPv6 address after the location update request field is updated.
[0051] For example, the location update request field occupies 1 bit in the IPv6 address, and its default coding information is 0. When the location information needs to be updated, the power Internet of Things terminal can modify the coding information in the location update request field to 1.
[0052] S13, encapsulating the uplink communication data packet of the power Internet of Things terminal based on the first target IPv6 address, and sending the uplink communication data packet to at least one access node, and at least one access node determines whether the power Internet of Things terminal initiates a positioning update request based on the positioning update request field in the uplink communication data packet.
[0053] When communicating data with the access node, the power Internet of Things terminal encapsulates the communication data according to the updated first target IPv6 address and the IPv6 communication protocol to obtain an uplink communication data packet. Those skilled in the art can know how to encapsulate data according to the communication protocol, which will not be repeated here.
[0054] When the power Internet of Things terminal needs to update its location information, the positioning update request field in its own IPv6 address can be modified. However, at this time, only the power Internet of Things terminal updates its own IPv6 address, and the access node and edge Internet of Things agent device are unaware of the change in its IPv6 address. When the power Internet of Things terminal communicates data with the access node, it can write its own updated IPv6 address in the source address of the uplink communication data packet sent to the access node, so that the access node can obtain its request to update the positioning information when receiving the uplink communication data packet.
[0055] When the access node determines that the power Internet of Things terminal initiates a positioning update request, the access node sends the positioning update request of the power Internet of Things to the edge Internet of Things proxy device, and the edge Internet of Things proxy device performs position calculation.
[0056] S14, identifying and receiving a downlink communication data packet sent by a target access node based on the network identification domain, where the target access point is the access node closest to the power Internet of Things terminal.
[0057] After calculating the current location of the power Internet of Things terminal, the edge IoT proxy device encapsulates the location information in a downlink communication data packet and sends it to the power Internet of Things terminal through the target access node. The target access node is the access node closest to the power Internet of Things terminal. Accordingly, the power Internet of Things terminal can receive the downlink communication data packet sent from the target access node and identify the downlink communication data packet through the coded information in the network identification field.
[0058] S15, parse the destination IPv6 address in the downlink communication data packet, and update the IPv6 address of the power Internet of Things terminal with the destination IPv6 address.
[0059] The power Internet of Things terminal parses the received downlink communication data packet according to the decoding rules specified in the communication protocol to obtain the destination IPv6 address carried by the downlink communication data packet. The destination IPv6 address is the latest address assigned by the edge IoT proxy device in response to the location update request, that is, the latest IPv6 address of the power Internet of Things terminal. The power Internet of Things terminal obtains the encoding information of the location information field and the location update request field from the destination IPv6 address, and updates the location information field in the IPv6 address when the power Internet of Things terminal sends an uplink communication data packet with the location information field in the destination IPv6 address to ensure that its own location information is the latest and convenient for extracting its own location information at any time. At the same time, in order to avoid repeated triggering of the location update request, the location update request field in the destination IPv6 address has been restored to a non-updated state, and the power Internet of Things terminal can restore the location update request field in its IPv6 address based on this information.
[0060] The positioning method of the power Internet of Things terminal provided in this embodiment is that the power Internet of Things terminal is given a network identifier, a positioning update request, and positioning information in the IPv6 address at the same time, which can avoid the waste of communication resources by the IPv6 address under the premise of ensuring the uniqueness of its network identifier. By integrating the IPv6 network address and positioning information, the IPv6 address of the power Internet of Things terminal is used to carry the terminal positioning information, which effectively simplifies the positioning process, reduces the business carrying capacity of the terminal, and improves the communication resource utilization efficiency of the power Internet of Things terminal. The location of the power Internet of Things terminal is updated through conventional communication data packet transmission, which shortens the positioning update cycle, enhances the real-time nature of the location update, and makes the positioning more accurate.
[0061] In this embodiment, a method for locating a power Internet of Things terminal is provided, which can be used for a power Internet of Things terminal. Figure 2 is a flow chart of a method for positioning a power Internet of Things terminal according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0062] S21, obtaining the IPv6 address of the power Internet of Things terminal, the IPv6 address including a network identification field, a location update request field and a location information field. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0063] S22, when the power Internet of Things terminal needs to update the location information, change the location update request field to obtain the updated first target IPv6 address. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0064] S23, encapsulate the uplink communication data packet of the power Internet of Things terminal based on the first target IPv6 address, and send the uplink communication data packet to at least one access node, and at least one access node determines whether the power Internet of Things terminal initiates a location update request according to the location update request field in the uplink communication data packet. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0065] S24, based on the network identification field, identifies and receives a downlink communication data packet sent by a target access point, where the target access point is the access point closest to the power Internet of Things terminal. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0066] S25, parsing the destination IPv6 address in the downlink communication data packet, and updating the IPv6 address of the power Internet of Things terminal with the destination IPv6 address. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0067] Specifically, the location information domain includes the physical location information domain and the logical location information domain. When the power Internet of Things terminal needs to query its own location information, such as Figure 2 As shown, the above method may also include:
[0068] S26, parse the location information field in the IPv6 address of the power Internet of Things terminal to determine the physical location information and logical location information of the power Internet of Things terminal.
[0069] The physical location information may include the longitude or relative longitude, latitude or relative latitude, height or relative height of the power Internet of Things terminal and other physical space location information. The logical location information type may include the inside and outside of the power equipment, the cable and other logical location information. The physical location information and the logical location information are not specifically limited here, and those skilled in the art can determine them according to actual needs, and are not specifically limited here.
[0070] The location information domain includes the physical location information domain and the logical location information domain. The physical location information domain is used to store the physical location of the power Internet of Things terminal, and the logical location information domain is used to store the logical location of the power Internet of Things terminal. When the power Internet of Things terminal needs to obtain its own location information, it can parse the location information domain in its own IPv6 address according to the prescribed decoding rules to obtain its own physical location information and logical location information.
[0071] like Figure 8 As shown, the IPv6 address of the power Internet of Things terminal has a total of 128-bit storage units, and the coding domain of the IPv6 address of the power Internet of Things terminal is divided into a network address domain, an interface ID domain, and a location information application domain. The network address domain occupies 64 bits, the interface ID domain occupies X bits, and the location information application domain occupies 64-X bits. Among them, the location information application domain includes a positioning update request domain and a positioning information domain (the positioning information domain includes a physical location information domain and a logical location information domain). The physical location information domain stores the physical location information of the power Internet of Things terminal, and the logical location information domain stores the logical location information of the power Internet of Things terminal. The logical location information includes two parts: a logical location information type code and a logical location information value. In the location information application domain, the positioning update request domain occupies 1 bit, the physical location information domain occupies Y bits, the logical location information domain occupies 63-X-Y bits, the logical location information type domain occupies Z bits, and the logical location information value occupies 63-XYZ bits, where the values of X, Y, and Z are determined according to the coding requirements of the interface ID domain, the physical location information domain, and the logical location information type domain.
[0072] The power Internet of Things terminal can decode the encoded information in the physical location information domain and the logical location information domain, and determine the physical location information corresponding to the physical location information domain, and the logical location information corresponding to the logical location information domain.
[0073] The positioning method of the power Internet of Things terminal provided in this embodiment determines the physical positioning and logical positioning carried by the positioning information field through the coding information corresponding to the positioning information field in the IPv6 address, thereby combining the physical location and the logical location through the positioning information field, and can more accurately identify the location of the power Internet of Things terminal.
[0074] In this embodiment, a positioning method for a power Internet of Things terminal is provided, which can be used for a target access node, which serves as a transmission medium between the power Internet of Things terminal and an edge Internet of Things proxy device. Figure 3 is a flow chart of a method for positioning a power Internet of Things terminal according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:
[0075] S31, monitoring the uplink communication data packets sent by the power Internet of Things terminal.
[0076] The target access node can monitor the data communication of the power Internet of Things terminals within its coverage area. When the power Internet of Things terminal sends an uplink communication data packet to it, the target access node can receive the uplink communication data packet.
[0077] S32, parsing the location update request field in the uplink communication data packet to obtain the location update request information stored in the location update request field.
[0078] The location update request information is the coded information stored in the location update request field. The access node parses the uplink communication data packet according to the communication protocol between it and the power Internet of Things terminal to parse out the IPv6 address carried by the uplink communication data packet, and then determines the location update request information corresponding to the location update request field from the IPv6 address.
[0079] S33: Based on the positioning update request information, determine whether the power Internet of Things terminal initiates a positioning update request.
[0080] Different location update request information indicates different update status of the power Internet of Things terminal. Therefore, the access node can use different location update request information to determine whether the power Internet of Things terminal initiates a location update request. When it is determined that the power Internet of Things terminal initiates a location update request, execute step S34; otherwise, the target access node and the power Internet of Things terminal perform normal data communication, that is, the uplink communication data packet is forwarded to the edge Internet of Things proxy device.
[0081] It should be noted that multiple access nodes that are communicatively connected to the power Internet of Things terminal can receive uplink communication data packets sent by the power Internet of Things terminal. When it is determined that the power Internet of Things terminal has not initiated a positioning update request, each access node compares the signal strength of the received uplink communication data packet with the signal strength of the uplink communication data packet received by other access nodes to determine whether it is the access node with the strongest signal. If it is not the access node with the strongest signal strength, it will not respond to the transmission request of the uplink communication data packet.
[0082] For example, the positioning update request information corresponding to the positioning update request domain defaults to 0. When the positioning update request information is 1, it indicates that the power Internet of Things terminal has initiated a positioning update request; when the positioning update request information is 0, it indicates that the power Internet of Things terminal has not initiated a positioning update request.
[0083] S34, obtaining signal parameters of the power Internet of Things terminal.
[0084] The signal parameters are used to characterize the signal strength between the power Internet of Things terminal and the access node, and the signal parameters may include signal propagation time, signal propagation time difference, arrival angle, etc. The content of the signal parameters is not specifically limited here, and those skilled in the art can determine it according to actual needs.
[0085] When it is determined that the power Internet of Things terminal initiates a positioning update request, the access node can continue to obtain the information parameters of its own received uplink communication data packets, that is, the signal parameters between the access node and the power Internet of Things terminal.
[0086] S35, sending the signal parameters to the edge IoT proxy device, so that the edge IoT proxy device updates the positioning information domain of the power IoT terminal according to the signal parameters.
[0087] The edge IoT proxy device is the unified gateway of the power material network, with edge computing functions, and can maintain the IPv6 addresses of all power IoT terminals within its coverage. The access node sends the signal parameters to the edge IoT proxy device, so that after receiving the signal parameters of the same downlink communication of the same power IoT terminal from multiple access nodes, the edge IoT proxy device can calculate the current physical and logical location of the power IoT terminal through the signal parameters.
[0088] S36, receiving the downlink communication data packet sent by the edge IoT proxy device, and forwarding the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries the destination IPv6 address of the updated location information domain.
[0089] The destination IPv6 address can determine the network address of the power Internet of Things terminal in the power Internet of Things. After calculating the current location of the power Internet of Things terminal, the edge IoT proxy device encapsulates the location information in the downlink communication data packet and sends the downlink communication data packet to the access node. Correspondingly, the target access node can send the downlink communication data packet to the power Internet of Things terminal, so that the power Internet of Things terminal updates its own IPv6 address according to the destination IPv6 address carried by the downlink communication data packet.
[0090] The positioning method of the electric Internet of Things terminal provided in this embodiment is that the access node can determine whether the electric Internet of Things terminal has issued a positioning update request by parsing the uplink communication data packet. When it is determined that the electric Internet of Things terminal has issued a positioning update request, the signal parameter information of the uplink communication data packet when it arrives at the access node is transmitted to the edge IoT agent for processing the positioning update request, and the downlink communication data packet issued by the electric Internet of Things terminal can be received, and the downlink communication data packet is sent to the electric Internet of Things terminal for location update. In this way, the location update of the electric Internet of Things terminal can be completed through conventional communication data packet transmission, which shortens the positioning update cycle and improves the real-time performance of the location update.
[0091] In this embodiment, a positioning method for a power Internet of Things terminal is provided, which can be used for an access node, which serves as a transmission medium between the power Internet of Things terminal and an edge Internet of Things proxy device. Figure 4 is a flow chart of a method for positioning a power Internet of Things terminal according to an embodiment of the present invention. Figure 4 As shown, the process includes the following steps:
[0092] S41, monitoring the uplink communication data packet sent by the power Internet of Things terminal. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0093] S42, parse the location update request field in the uplink communication data packet to obtain the location update request information stored in the location update request field. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0094] S43: Based on the positioning update request information, determine whether the power Internet of Things terminal initiates a positioning update request.
[0095] Specifically, the above step S43 may include:
[0096] S431, detecting whether the location update request information is consistent with the preset information.
[0097] The preset information is a pre-set data value used to indicate that the power Internet of Things terminal has initiated a location update request. The access node compares the location update request information parsed by it with the preset information to determine whether the location update request information is consistent with the preset information. When the location update request information is consistent with the preset information, step S432 is executed, otherwise it indicates that the power Internet of Things terminal has not initiated a location update request.
[0098] S432, determining that the power Internet of Things terminal has initiated a positioning update request.
[0099] When the positioning update request information is consistent with the preset information, it means that the power Internet of Things terminal has changed the positioning update request information corresponding to the positioning update request domain. At this time, the access node can determine that the power Internet of Things terminal has initiated a positioning update request.
[0100] S44, when it is determined that the power Internet of Things terminal initiates a location update request, obtain the signal parameters of the power Internet of Things terminal. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0101] 45. Send the signal parameters to the edge IoT proxy device, so that the edge IoT proxy device updates the location information field of the power IoT terminal according to the signal parameters. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0102] S46, receiving a downlink communication data packet sent by the edge IoT proxy device, and forwarding the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries the destination IPv6 address of the updated location information domain. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0103] The positioning method of the electric power Internet of Things terminal provided in this embodiment determines whether the electric power Internet of Things terminal has initiated a positioning update request by detecting whether the positioning update request information is consistent with the preset information, so as to execute different processing processes for the communication data packet according to the different positioning update request information.
[0104] In this embodiment, a method for locating a power Internet of Things terminal is provided, which can be used for edge Internet of Things proxy devices. Figure 5 is a flow chart of a method for positioning a power Internet of Things terminal according to an embodiment of the present invention. Figure 5 As shown, the process includes the following steps:
[0105] S51, receiving a signal parameter corresponding to a power Internet of Things terminal sent by at least one access node.
[0106] Each access node connected to the power Internet of Things terminal can receive the uplink communication data packet sent by it and forward it to the edge Internet of Things proxy device. Accordingly, the edge Internet of Things proxy device can receive the signal parameters of the same power Internet of Things terminal sent by each access node.
[0107] For the description of the signal parameters, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0108] S52, calculating the current location information of the power Internet of Things terminal based on the information parameters.
[0109] The edge IoT proxy device can calculate the current physical location information and logical location information of the power IoT terminal through a preset positioning algorithm. For example, using a three-point ranging positioning method, the edge IoT proxy device can receive signal parameters of at least three access nodes about the same power IoT terminal, and calculate the distance from the power IoT terminal to each access node by combining the three-point ranging positioning method and the corresponding signal parameters of each access node, and determine the physical location information of the power IoT terminal based on the distance.
[0110] At the same time, the edge IoT proxy device can verify and determine the logical location information of the power IoT terminal through the signal parameters it obtains. For example, the power IoT terminal is inside or outside the power equipment, and its signal strength has different numerical ranges. By comparing the numerical range of the signal strength corresponding to the signal parameter, its logical location information can be determined.
[0111] The calculation method of the physical location information and the logical location information is not specifically limited here, and those skilled in the art can determine it according to actual needs.
[0112] S53, updating the positioning information field based on the current location information, and obtaining the IPv6 address of the updated positioning information field.
[0113] The edge IoT proxy device encodes the current location information it calculates, updates the location information corresponding to the location information domain with the encoded information, and merges it with the encoded information of other domains to form an IPv6 address after the location information domain is updated.
[0114] S54, encapsulating a downlink communication data packet based on the IPv6 address of the updated location information field, and sending the downlink communication data packet to the target access node.
[0115] The edge IoT proxy device updates the IPv6 address of the location information field as the destination IPv6 address and encapsulates the downlink communication data packet according to the IPv6 communication protocol. The downlink communication data packet is then sent to the target access node, which forwards the downlink communication data packet to the power IoT terminal.
[0116] In the positioning method of the electric Internet of Things terminal provided in this embodiment, the edge IoT proxy device calculates the current location of the electric Internet of Things terminal according to the signal parameter information it receives about the same electric Internet of Things terminal, and encapsulates the current location of the electric Internet of Things into a downlink communication data packet, so that the access node can send the downlink communication data packet to the electric Internet of Things terminal, so that the electric Internet of Things terminal can parse its current location information from the downlink communication data packet when receiving it. In this way, the location update of the electric Internet of Things terminal can be completed through conventional communication data packet transmission, shortening the positioning update cycle and improving the real-time performance of the location update.
[0117] In this embodiment, a method for locating a power Internet of Things terminal is provided, which can be used for edge Internet of Things proxy devices. Figure 6 is a flow chart of a method for positioning a power Internet of Things terminal according to an embodiment of the present invention. Figure 6 As shown, the process includes the following steps:
[0118] S61, receiving a signal parameter corresponding to a power Internet of Things terminal sent by at least one access node. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0119] S62, calculating the current location information of the power Internet of Things terminal based on the information parameters. For detailed description, please refer to the relevant description corresponding to the above embodiment, which will not be repeated here.
[0120] S63, updating the positioning information field based on the current location information, and obtaining the IPv6 address of the updated positioning information field.
[0121] Specifically, the above step S63 may include:
[0122] S631, encode the current position information according to a preset encoding rule to obtain encoding information corresponding to the positioning information domain.
[0123] The preset coding rules are pre-set rules for encoding physical locations and logical locations. There are many ways to encode the physical location information. For example, the horizontal and vertical axes are set in advance within the area, and the horizontal axis is written in the first half of the physical location information field in the IPv6 address, and the vertical axis is written in the second half, so as to indicate the physical location of the power Internet of Things terminal.
[0124] The length of the logical location information field is 4 bits, and the initial value is 0000. The first two bits are the logical location information type, and the last two bits are the logical location information value. The first two bits of the logical location information type are 01, which means the logical location information type is inside and outside, and the first two bits of the logical location information type are 10, which means the logical location information type is cable phase. When the first two bits of the logical location information type are 01, the last two bits of the logical location information value are 01 for the inside, and 10 for the outside. When the first two bits of the logical location information type are 10, the last two bits of the logical location information value are 01 for phase A cable, 10 for phase B cable, and 11 for phase C cable. For example, when the logical location information field in the IPv6 address of the transformer status sensing device specified in the power Internet of Things is 0101, it means that the logical position of the transformer status sensing device corresponds to the inside of the transformer. When the logical location information field in the IPv6 address of the cable status detection device specified in the power Internet of Things is 1011, it means that the cable status detection device is located on phase C of the transmission cable.
[0125] This application does not specifically limit the coding rules of the positioning information field. As long as the positioning information and network address identifier of the power Internet of Things can be carried by the IPv6 address, the coding rules can be determined according to actual needs. Here is a specific example for illustration. Assume that the IPv6 address of the power Internet of Things terminal is: AD80:0000:0000:0000:0000:0064:0025:0101, where "0064:0025" is the physical location information, which indicates that the current location of the power Internet of Things terminal is 64 meters on the horizontal coordinate and 25 meters on the vertical coordinate; "0101" is the logical location information, which indicates that the power Internet of Things terminal is located on the inner side of the power equipment.
[0126] S632: Update the positioning information in the positioning information field based on the coding information to obtain an IPv6 address after the positioning information is updated.
[0127] After obtaining the coding information corresponding to the location information domain, the edge IoT proxy device updates the physical location information domain in the location information domain with the coding value of the physical location information it determines, and updates the logical location information domain in the location information domain with the coding value of the logical location information. After completing the update of the physical location information domain and the logical location information domain, the IPv6 address after the location information domain is updated can be obtained. This IPv6 address is the IPv6 identifier used to characterize the uniqueness of the power IoT terminal.
[0128] Optionally, the above steps may further include: in response to a modification operation on the positioning information field, determining encoding information corresponding to the modification operation.
[0129] For logical location information that cannot be perceived by positioning methods, the logical location information of the power Internet of Things terminal stored in the edge IoT proxy device can be updated through periodic manual inspections. The edge IoT proxy device can respond to manual modification operations on the logical location domain and determine the coding information corresponding to the modification operation. When the logical location information changes, the edge IoT proxy device can update the IPv6 address of the power Internet of Things terminal according to the new logical location information.
[0130] Of course, in order to verify whether the positioning information in the positioning domain is correct, the accuracy of the positioning information domain can also be verified through regular manual inspections. When the coded information in the positioning information domain is found to be wrong, the inspector can modify and correct it. At this time, the edge IoT agent device can respond to the inspection personnel's modification operation on the positioning information domain, determine the coded information corresponding to the modification operation, and update the IPv6 address of the power IoT terminal according to the new positioning information.
[0131] By combining manual inspection to determine whether the coded information in the positioning information domain is accurate, when the coded information in the positioning information domain is incorrect, it can respond to manual modification operations on the positioning information domain and determine the coded information corresponding to the modification operation. This ensures the accuracy of the coded information and further ensures that the power Internet of Things terminal can perform accurate location updates.
[0132] S64, encapsulate the downlink communication data packet based on the IPv6 address of the updated location information field, and send the downlink communication data packet to the target access node. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here. Among them, the method for determining the target access node is as follows:
[0133] (1) Calculate the distance between at least one access node and the power Internet of Things terminal based on the information parameters.
[0134] Knowing the location of each access node, the edge IoT agent device can calculate the distance between each access node and the power IoT terminal based on the signal parameters of the same power IoT terminal sent by each access point and the location of each access node.
[0135] (2) Compare the distances between each access node and the power Internet of Things terminal, and determine the access node closest to the power Internet of Things terminal.
[0136] The edge IoT proxy device compares the distances between each access node and the power IoT terminal, and determines the access node closest to the power IoT terminal.
[0137] (3) The access node closest to the power Internet of Things terminal is determined as the target access node.
[0138] The edge IoT proxy device takes the access node closest to the power IoT terminal as the target access node, and transmits the downlink communication data packet to the power IoT terminal through the target access node, thereby reducing the transmission time of the downlink communication data packet and improving the communication efficiency, thereby improving the positioning update efficiency of the power IoT terminal and ensuring the real-time nature of the positioning update to the greatest extent.
[0139] By comparing the distances between each access node and the power Internet of Things terminal, the access node closest to the power Internet of Things terminal is used as the target access node, thereby reducing the transmission time of communication data packets and ensuring the real-time update of the power Internet of Things terminal location to the greatest extent.
[0140] Optionally, the above method may further include: when updating the positioning information in the positioning information field, restoring the positioning update request information corresponding to the positioning update request field.
[0141] When the edge IoT proxy device has processed the location update request initiated by the power IoT terminal, the location update request information in the location update request field can be restored to the default value, such as 0, to avoid subsequent repeated triggering of the location update of the power IoT terminal. At the same time, the IPv6 address of the power material network terminal is updated with the encoding information of the current location update request field and the current location information field.
[0142] The positioning method of the electric power Internet of Things terminal provided in this embodiment encodes the current location information according to a preset encoding rule, and updates the positioning information in the positioning information field with the encoding information, thereby realizing the location update of the electric power Internet of Things terminal through the IPv6 address. After the positioning update is started, the positioning update request information corresponding to the positioning update request field is restored to avoid subsequent repeated triggering of the location update of the electric power Internet of Things terminal.
[0143] In this embodiment, a positioning method for a power Internet of Things terminal is provided, which can be used in a positioning system composed of an edge Internet of Things proxy device, an access node, and a power Internet of Things terminal. Figure 7 is a flow chart of a method for positioning a power Internet of Things terminal according to an embodiment of the present invention. Figure 7 As shown, the process may include the following steps:
[0144] S71, the power Internet of Things terminal obtains its own IPv6 address, which includes a network identification field, a location update request field, and a location information field. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0145] S72, when the power Internet of Things terminal needs to update the location information, change the location update request field to obtain the updated first target IPv6 address. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0146] S73, the power Internet of Things terminal encapsulates an uplink communication data packet of the power Internet of Things terminal based on the first target IPv6 address, and sends the uplink communication data packet to at least one access node. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0147] S74, the target access node monitors the uplink communication data packet sent by the power Internet of Things terminal. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0148] S75, the target access node parses the location update request field in the uplink communication data packet to obtain the location update request information stored in the location update request field. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0149] S76, the target access node determines whether the power Internet of Things terminal initiates a location update request based on the location update request information. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0150] S77, when the target access node determines that the power Internet of Things terminal initiates a location update request, obtain the signal parameters of the power Internet of Things terminal. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0151] S78, the target access node sends the signal parameter to the edge IoT proxy device. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0152] S79, the edge IoT proxy device receives a signal parameter corresponding to the power IoT terminal sent by at least one access node. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0153] S710, the edge IoT proxy device calculates the current location information of the power IoT terminal based on the information parameters. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0154] S711, the edge IoT proxy device updates the location information domain based on the current location information, and obtains the IPv6 address of the updated location information domain. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0155] S712, the edge IoT proxy device encapsulates the downlink communication data packet based on the IPv6 address of the updated location information field, and sends the downlink communication data packet to the target access node. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0156] S713, the target access node receives the downlink communication data packet sent by the edge IoT proxy device, and forwards the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries the destination IPv6 address of the updated location information field. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0157] S714, the power Internet of Things terminal identifies and receives a downlink communication data packet sent by a target access point based on the network identification domain, and the target access point is the access node closest to the power Internet of Things terminal. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0158] S715, the power Internet of Things terminal parses the destination IPv6 address in the downlink communication data packet, and updates the IPv6 address of the power Internet of Things terminal with the destination IPv6 address. For detailed description, please refer to the relevant description of the above embodiment, which will not be repeated here.
[0159] Here is a specific example to illustrate. Fig. 9 As shown in the figure, the positioning system is mainly composed of power Internet of Things terminals, access nodes and edge physical proxy devices, where the edge physical proxy device is the entire network gateway, which has the function of maintaining the IPv6 addresses of all access nodes and power Internet of Things terminals within the coverage area, and has the computing power to realize the calculation function of the location of the power Internet of Things terminal. The access node is connected to the edge Internet of Things proxy device in a wired form, and communicates with the power Internet of Things terminal through wireless communication.
[0160] Taking the power Internet of Things terminal 1 as an example, the network address and interface ID information in its IPv6 address are identified to distinguish it from other network nodes. The location update request field and location information field in the IPv6 address of the power Internet of Things terminal 1 are used for location positioning, where the location update request field defaults to 0, and the location information field saves the current physical location information and logical location information of the power Internet of Things terminal 1 according to the prescribed coding rules. The power Internet of Things terminal 1 supports the IPv6 protocol and encapsulates normal communication data packets with the above IPv6 address. When the power Internet of Things terminal 1 needs its own location information, it can parse its own physical location information and logical location information from the location information field of its own IPv6 address according to the prescribed rules, thereby realizing the positioning function.
[0161] The power Internet of Things terminal 1 updates its IPv6 address periodically or according to its own business needs. The update process is as follows:
[0162] (1) Power Internet of Things terminal 1 changes the location update request field in its own IPv6 address from 0 to 1, and when sending the next uplink communication data packet, it uses the updated IPv6 address to encapsulate the uplink communication data packet.
[0163] (2) Access node 1 monitors the wireless signal. When it detects the uplink communication data packet sent by the power Internet of Things terminal 1, it tests the wireless signal strength information and reads its IPv6 address. If the value of its location update request field is 1, it sends the wireless signal parameter information to the edge Internet of Things proxy device. Similarly, since the wireless signal propagates in free space, access nodes 2 and 3 within its effective propagation range will also send the wireless signal parameter information to the edge Internet of Things proxy device after receiving the wireless signal.
[0164] (3) After receiving the wireless signal parameter information sent by access node 1, access node 2 and access node 3, the edge IoT proxy device runs a three-point ranging positioning algorithm to calculate the distance between the power IoT terminal 1 and access node 1, access node 2 and access node 3 through the wireless signal parameters, and further calculates the current physical location information of the power IoT terminal 1 to verify the correctness of its logical location information. For logical location information that is difficult to confirm, the logical location information of the power IoT terminal 1 is determined by manual inspection, and the encoding content of the physical location information field and the logical location information field in the IPv6 address of the power IoT terminal 1 stored in the edge IoT proxy device is modified according to the pre-defined rules, and the location update request field is modified to 0.
[0165] (4) When sending the next downlink communication data packet, the edge IoT proxy device updates the destination IPv6 address in the downlink communication data packet according to the updated IPv6 address of the power IoT terminal 1, and transmits the downlink communication data packet to the power IoT terminal 1 through the access node 1 closest to the power IoT terminal 1.
[0166] (5) Power Internet of Things Terminal 1 identifies and receives the downlink communication data packet through the network identification field information in the IPv6 address, updates its own IPv6 address according to its destination IPv6 address, and modifies the location update request field to 0. Thus, the location information in the IPv6 address of Power Internet of Things Terminal 1 is updated.
[0167] The positioning method of the power Internet of Things terminal provided in this embodiment is that the power Internet of Things terminal is given a network identifier, a positioning update request, and positioning information in the IPv6 address at the same time, which can avoid the waste of communication resources by the IPv6 address under the premise of ensuring the uniqueness of its network identifier. By integrating the IPv6 network address and positioning information, the IPv6 address of the power Internet of Things terminal is used to carry the terminal positioning information, which effectively simplifies the positioning process, reduces the business carrying capacity of the terminal, and improves the communication resource utilization efficiency of the power Internet of Things terminal. The location of the power Internet of Things terminal is updated through conventional communication data packet transmission, which shortens the positioning update cycle, enhances the real-time nature of the location update, and makes the positioning more accurate.
[0168] In this embodiment, a positioning device for an electric power Internet of Things terminal is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0169] This embodiment provides a positioning device for a power Internet of Things terminal, which can be used for a power Internet of Things terminal, such as Fig.10 As shown, including:
[0170] The first acquisition module 81 is used to acquire the IPv6 address of the power Internet of Things terminal, and the IPv6 address includes a network identification field, a location update request field, and a location information field. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0171] The changing module 82 is used to change the location update request field when the power Internet of Things terminal needs to update the location information, and obtain the updated first target IPv6 address. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0172] The first sending module 83 is used to encapsulate the uplink communication data packet of the power Internet of Things terminal based on the first target IPv6 address, and send the uplink communication data packet to at least one access node, and the at least one access node determines whether the power Internet of Things terminal initiates a location update request according to the location update request field in the uplink communication data packet. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0173] The first receiving module 84 is used to identify and receive a downlink communication data packet sent by a target access point based on the network identification field, and the target access point is the access point closest to the power Internet of Things terminal. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0174] The first parsing module 85 is used to parse the destination IPv6 address in the downlink communication data packet and update the IPv6 address of the power Internet of Things terminal with the destination IPv6 address. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0175] The positioning device of the power Internet of Things terminal in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0176] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0177] The positioning device of the power Internet of Things terminal provided in this embodiment can avoid the waste of communication resources by the IPv6 address while giving the power Internet of Things terminal a network identifier, a positioning update request, and positioning information in the IPv6 address, under the premise of ensuring the uniqueness of its network identifier. By integrating the IPv6 network address and positioning information, the IPv6 address of the power Internet of Things terminal is used to carry the terminal positioning information, which effectively simplifies the positioning process, reduces the business carrying capacity of the terminal, and improves the communication resource utilization efficiency of the power Internet of Things terminal. The location of the power Internet of Things terminal is updated through conventional communication data packet transmission, which shortens the positioning update cycle, enhances the real-time nature of the location update, and makes the positioning more accurate.
[0178] This embodiment provides a positioning device for a power Internet of Things terminal, which can be used for a target access node, such as Fig.11 As shown, including:
[0179] The monitoring module 91 is used to monitor the uplink communication data packets sent by the power Internet of Things terminal. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0180] The second parsing module 92 is used to parse the location update request field in the uplink communication data packet to obtain the location update request information stored in the location update request field. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0181] The determination module 93 is used to determine whether the power Internet of Things terminal initiates a location update request based on the location update request information. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0182] The second acquisition module 94 is used to acquire the signal parameters of the power Internet of Things terminal when it is determined that the power Internet of Things terminal initiates a location update request. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0183] The second sending module 95 is used to send the signal parameters to the edge IoT proxy device, so that the edge IoT proxy device updates the location information field of the power IoT terminal according to the signal parameters. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0184] The second receiving module 96 is used to receive the downlink communication data packet sent by the edge IoT proxy device and forward the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries the destination IPv6 address of the updated location information domain. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0185] The positioning device of the power Internet of Things terminal in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0186] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0187] The positioning device of the electric power Internet of Things terminal provided in this embodiment can determine whether the electric power Internet of Things terminal has issued a positioning update request by parsing the uplink communication data packet. When it is determined that the electric power Internet of Things terminal has issued a positioning update request, the signal parameter information of the uplink communication data packet when it arrives at the access node is transmitted to the edge Internet of Things agent for processing the positioning update request, and can receive the downlink communication data packet issued by the electric power Internet of Things terminal, and send the downlink communication data packet to the electric power Internet of Things terminal for location update. In this way, the location update of the electric power Internet of Things terminal can be completed through conventional communication data packet transmission, which shortens the positioning update cycle and improves the real-time performance of the location update.
[0188] This embodiment provides a positioning device for a power Internet of Things terminal, which can be used for edge Internet of Things proxy devices, such as Fig.12 As shown, including:
[0189] The third receiving module 10 is used to receive signal parameters corresponding to the power Internet of Things terminal sent by at least one access node.
[0190] The calculation module 20 is used to calculate the current location information of the power Internet of Things terminal based on the information parameters.
[0191] The updating module 30 is used to update the positioning information field based on the current location information and obtain the IPv6 address of the updated positioning information field.
[0192] The third sending module 40 is used to encapsulate the downlink communication data packet based on the IPv6 address of the updated location information field, and send the downlink communication data packet to the target access node. For detailed description, please refer to the relevant description corresponding to the above method embodiment, which will not be repeated here.
[0193] The positioning device of the power Internet of Things terminal in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0194] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0195] The positioning device of the power Internet of Things terminal provided in this embodiment, the edge Internet of Things agent device calculates the current location of the power Internet of Things terminal according to the signal parameter information received about the same power Internet of Things terminal, and encapsulates the current location of the power Internet of Things into a downlink communication data packet, so that the access node can send the downlink communication data packet to the power Internet of Things terminal, so that the power Internet of Things terminal can parse its current location information from the downlink communication data packet when receiving it. In this way, the location update of the power Internet of Things terminal can be completed through conventional communication data packet transmission, shortening the positioning update cycle and improving the real-time performance of the location update.
[0196] The embodiment of the present invention also provides an electronic device having the above Fig.10 The positioning device of the power Internet of Things terminal shown, or Fig.11 The positioning device of the power Internet of Things terminal shown, or Fig.12 The positioning device of the power Internet of Things terminal is shown.
[0197] See also Fig.13 , Fig.13 is a schematic diagram of the structure of an electronic device provided by an optional embodiment of the present invention. The electronic device may be a power Internet of Things terminal, an access node, or an edge Internet of Things proxy device, such as Fig.13 As shown, the electronic device may include: at least one processor 101, such as a CPU (Central Processing Unit), at least one communication interface 103, a memory 104, and at least one communication bus 102. The communication bus 102 is used to realize the connection and communication between these components. The communication interface 103 may include a display screen (Display), a keyboard (Keyboard), and the optional communication interface 103 may also include a standard wired interface and a wireless interface. The memory 104 may be a high-speed RAM memory (Random Access Memory) or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 104 may optionally be at least one storage device located away from the aforementioned processor 101. The processor 101 may be combined with Fig.10 or Fig.11 or Fig.12 In the described device, the memory 104 stores an application program, and the processor 101 calls the program code stored in the memory 104 to execute any of the above method steps.
[0198] The communication bus 102 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The communication bus 102 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0199] Among them, the memory 104 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviated: RAM); the memory may also include a non-volatile memory (English: non-volatile memory), such as a flash memory (English: flash memory), a hard disk drive (English: hard disk drive, abbreviated: HDD) or a solid-state drive (English: solid-state drive, abbreviated: SSD); the memory 604 may also include a combination of the above types of memory.
[0200] The processor 101 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.
[0201] The processor 101 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0202] Optionally, the memory 104 is also used to store program instructions. The processor 101 can call the program instructions to implement the present application Figures 1 to 7 The positioning method of the power Internet of Things terminal shown in the embodiment.
[0203] The embodiment of the present invention also provides a non-transient computer storage medium, which stores computer executable instructions, and the computer executable instructions can execute the processing method of the positioning method of the power Internet of Things terminal in any of the above method embodiments. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory (Flash Memory), a hard disk (HDD) or a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above types of memory.
[0204] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for positioning a power Internet of Things terminal, used for a power Internet of Things terminal, characterized in that: include: Obtaining the IPv6 address of the power Internet of Things terminal, wherein the IPv6 address includes a network identification field, a location update request field, and a location information field; When the electric power Internet of Things terminal needs to update the location information, the positioning update request domain is changed to obtain an updated first target IPv6 address; encapsulating an uplink communication data packet of the electric power Internet of Things terminal based on the first target IPv6 address, and sending the uplink communication data packet to at least one access node, wherein the at least one access node determines whether the electric power Internet of Things terminal initiates a location update request according to the location update request field in the uplink communication data packet; and the at least one access node monitors the uplink communication data packet sent by the electric power Internet of Things terminal; Parsing the location update request field in the uplink communication data packet to obtain the location update request information stored in the location update request field; Based on the positioning update request information, determine whether the power Internet of Things terminal initiates a positioning update request; when it is determined that the power Internet of Things terminal initiates a positioning update request, obtain the signal parameters of the power Internet of Things terminal; send the signal parameters to the edge Internet of Things proxy device, so that the edge Internet of Things proxy device updates the positioning information domain of the power Internet of Things terminal according to the signal parameters; Based on the network identification domain, a downlink communication data packet sent by a target access node is identified and received, and the target access point is the access node closest to the power Internet of Things terminal; the downlink communication data packet is obtained in the following manner: an edge IoT proxy device receives a signal parameter corresponding to the power Internet of Things terminal sent by at least one access node; and the current location information of the power Internet of Things terminal is calculated based on the information parameter; Based on the current location information, the location information domain is updated to obtain the IPv6 address for updating the location information domain; based on the IPv6 address for updating the location information domain, a downlink communication data packet is encapsulated, so that the target access node receives the downlink communication data packet sent by the edge IoT proxy device, and forwards the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries the destination IPv6 address for updating the location information domain; Parse the destination IPv6 address in the downlink communication data packet, and update the IPv6 address of the power Internet of Things terminal with the destination IPv6 address.
2. The method according to claim 1, characterized in that Also includes: Parse the location information field in the IPv6 address of the power Internet of Things terminal to determine the physical location information and logical location information of the power Internet of Things terminal.
3. A method for positioning a power Internet of Things terminal, used for a target access node, characterized in that: include: Monitor the uplink communication data packets sent by the power Internet of Things terminal; Parsing the location update request field in the uplink communication data packet to obtain the location update request information stored in the location update request field; Based on the positioning update request information, determining whether the power Internet of Things terminal initiates a positioning update request; When it is determined that the electric power Internet of Things terminal initiates a positioning update request, obtaining a signal parameter of the electric power Internet of Things terminal; Sending the signal parameters to the edge IoT proxy device so that the edge IoT proxy device updates the location information domain of the power IoT terminal according to the signal parameters; Receive a downlink communication data packet sent by the edge IoT proxy device, and forward the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries a destination IPv6 address of an update location information domain; the downlink communication data packet is obtained in the following manner: the edge IoT proxy device receives a signal parameter corresponding to the power IoT terminal sent by at least one access node; calculates the current location information of the power IoT terminal based on the information parameter; The positioning information field is updated based on the current location information to obtain an IPv6 address for updating the positioning information field; and a downlink communication data packet is encapsulated based on the IPv6 address for updating the positioning information field.
4. The method according to claim 3, characterized in that The determining, based on the positioning update request information, whether the electric power Internet of Things terminal initiates a positioning update request includes: Detecting whether the location update request information is consistent with preset information; When the positioning update request information is consistent with the preset information, it is determined that the electric power Internet of Things terminal has initiated a positioning update request.
5. A method for locating a power Internet of Things terminal, used for an edge Internet of Things proxy device, characterized in that: include: Receive a signal parameter corresponding to the electric power Internet of Things terminal sent by at least one access node; the signal parameter is obtained by: monitoring an uplink communication data packet sent by the electric power Internet of Things terminal through at least one access node; parsing a location update request field in the uplink communication data packet to obtain location update request information stored in the location update request field; Based on the positioning update request information, determine whether the power Internet of Things terminal initiates a positioning update request; when it is determined that the power Internet of Things terminal initiates a positioning update request, obtain the signal parameters of the power Internet of Things terminal and send them to the edge Internet of Things proxy device; Calculating the current location information of the electric power Internet of Things terminal based on the signal parameters; Update the location information domain based on the current location information to obtain an IPv6 address for updating the location information domain; The downlink communication data packet is encapsulated based on the IPv6 address of the updated positioning information field, and the downlink communication data packet is sent to the target access node.
6. The method according to claim 5, characterized in that The method of updating the location information field based on the current location information to obtain an IPv6 address for updating the location information field includes: Encode the current location information according to a preset encoding rule to obtain encoding information corresponding to the positioning information domain; The location information in the location information field is updated based on the coding information to obtain an IPv6 address after the location information is updated.
7. The method according to claim 6, characterized in that Also includes: In response to a modification operation on the positioning information field, encoding information corresponding to the modification operation is determined.
8. The method according to claim 5, characterized in that Also includes: Calculating the distance between the at least one access node and the electric power Internet of Things terminal based on the information parameters; Compare the distances between each of the access nodes and the power Internet of Things terminal to determine the access node closest to the power Internet of Things terminal; The access node closest to the electric power Internet of Things terminal is determined as the target access node.
9. The method according to any one of claims 5 to 8, characterized in that: Also includes: Restore the location update request information corresponding to the location update request field.
10. A positioning device for a power Internet of Things terminal, used for a power Internet of Things terminal, characterized in that: include: A first acquisition module is used to acquire the IPv6 address of the power Internet of Things terminal, wherein the IPv6 address includes a network identification field, a location update request field, and a location information field; A changing module, used for changing the positioning update request domain to obtain an updated first target IPv6 address when the power Internet of Things terminal needs to update the location information; A first sending module, configured to encapsulate an uplink communication data packet of the electric power Internet of Things terminal based on the first target IPv6 address, and send the uplink communication data packet to at least one access node, wherein the at least one access node determines whether the electric power Internet of Things terminal initiates a location update request according to a location update request field in the uplink communication data packet; and the at least one access node monitors the uplink communication data packet sent by the electric power Internet of Things terminal; Parsing the location update request field in the uplink communication data packet to obtain the location update request information stored in the location update request field; Based on the positioning update request information, determine whether the power Internet of Things terminal initiates a positioning update request; when it is determined that the power Internet of Things terminal initiates a positioning update request, obtain the signal parameters of the power Internet of Things terminal; send the signal parameters to the edge Internet of Things proxy device, so that the edge Internet of Things proxy device updates the positioning information domain of the power Internet of Things terminal according to the signal parameters; The first receiving module is used to identify and receive a downlink communication data packet sent by a target access node based on the network identification domain, wherein the target access point is the access node closest to the power Internet of Things terminal; the downlink communication data packet is obtained in the following manner: an edge IoT proxy device receives a signal parameter corresponding to the power Internet of Things terminal sent by at least one access node; and calculates the current location information of the power Internet of Things terminal based on the information parameter; Based on the current location information, the location information domain is updated to obtain the IPv6 address for updating the location information domain; based on the IPv6 address for updating the location information domain, a downlink communication data packet is encapsulated, so that the target access node receives the downlink communication data packet sent by the edge IoT proxy device, and forwards the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries the destination IPv6 address for updating the location information domain; The first parsing module is used to parse the destination IPv6 address in the downlink communication data packet and update the IPv6 address of the power Internet of Things terminal with the destination IPv6 address.
11. A positioning device for a power Internet of Things terminal, used for accessing a node, characterized in that: include: A monitoring module, used to monitor downlink communication data packets sent by the power Internet of Things terminal; A second parsing module, configured to parse the location update request field in the downlink communication data packet to obtain the location update request information stored in the location update request field; A determination module, used to determine whether the power Internet of Things terminal initiates a location update request based on the location update request information; A second acquisition module is used to acquire the signal parameters of the power Internet of Things terminal when it is determined that the power Internet of Things terminal initiates a positioning update request; A second sending module is used to send the signal parameters to the edge IoT proxy device, so that the edge IoT proxy device updates the positioning information domain of the power IoT terminal according to the signal parameters; The second receiving module is used to receive the downlink communication data packet sent by the edge IoT proxy device, and forward the downlink communication data packet to the power IoT terminal, wherein the downlink communication data packet carries the destination IPv6 address of the updated positioning information domain; the downlink communication data packet is obtained in the following manner: the edge IoT proxy device receives the signal parameters corresponding to the power IoT terminal sent by at least one access node; and calculates the current location information of the power IoT terminal based on the information parameters; The positioning information field is updated based on the current location information to obtain an IPv6 address for updating the positioning information field; and a downlink communication data packet is encapsulated based on the IPv6 address for updating the positioning information field.
12. A positioning device for a power Internet of Things terminal, used for an edge Internet of Things proxy device, characterized in that: include: A third receiving module is used to receive a signal parameter corresponding to a power Internet of Things terminal sent by at least one access node; The signal parameters are obtained in the following manner: monitoring an uplink communication data packet sent by a power Internet of Things terminal; parsing a location update request field in the uplink communication data packet to obtain location update request information stored in the location update request field; Based on the positioning update request information, determining whether the power Internet of Things terminal initiates a positioning update request; When it is determined that the electric power Internet of Things terminal initiates a positioning update request, obtaining a signal parameter of the electric power Internet of Things terminal; A calculation module, used to calculate the current location information of the power Internet of Things terminal based on the information parameters; An updating module, configured to update the positioning information domain based on the current location information, and obtain an IPv6 address for updating the positioning information domain; The third sending module is used to encapsulate the downlink communication data packet based on the IPv6 address of the updated positioning information field, and send the downlink communication data packet to the target access node.
13. An electronic device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method for locating the electric power Internet of Things terminal described in claim 1 or 2, or the method for locating the electric power Internet of Things terminal described in claim 3 or 4, or the method for locating the electric power Internet of Things terminal described in any one of claims 5-9 by executing the computer instructions.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which are used to enable a computer to execute the positioning method for the power Internet of Things terminal described in claim 1 or 2, or the positioning method for the power Internet of Things terminal described in claim 3 or 4, or the positioning method for the power Internet of Things terminal described in any one of claims 5-9.
Citation Information
Patent Citations
Internet of Things equipment positioning method and device, server and storage medium
CN113950143A
Methods and apparatus for updating mobile node location information
CN1771744A