Data transmission method, device, system and equipment of 5G lightweight terminal based on power business and storage medium

By acquiring power equipment data packets on 5G lightweight terminals and determining data grading rules based on their attribute information, the problem of inability to accurately judge the importance of data in data transmission is solved, and the timely transmission of important data in complex network environments is realized, ensuring the normal operation of key services.

CN119521424AInactive Publication Date: 2025-02-25STATE GRID JIANGSU ELECTRIC POWER CO LTD NANJING POWER SUPPLY COMPANY +1
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411641260.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-02-25
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When existing 5G lightweight terminals transmit data from power equipment, they cannot accurately judge the importance of the data, resulting in the inability to transmit important data in a timely manner under the complex network environment, which affects the normal operation of key services.

Method used

By obtaining the power packets sent by the power equipment, the data grading rules are determined based on the attribute information of the power equipment, and the target forwarding priority of the data packets is determined based on the data grading rules and data content. The data packets are stored in the forwarding queue, and the data packets are forwarded to the monitoring terminal in the queue order.

Benefits of technology

Ensure that important data can be transmitted in a timely manner under the complex network environment and ensure the normal operation of key services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119521424A_ABST
    Figure CN119521424A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method, device, system and equipment for a 5G lightweight terminal based on a power business and a storage medium, and the method comprises the steps: obtaining a power data packet sent by power equipment, the power data packet comprising the attribute information of the power equipment and the data content collected by the power equipment; determining a data grading rule of the power equipment according to the attribute information of the power equipment, and determining a target forwarding priority of the power data packet according to the data grading rule and the data content of the power equipment; storing the power data packets in a forwarding queue according to the target forwarding priorities of the power data packets; and forwarding the power data packets to the monitoring terminal according to the sequence of the forwarding queue. According to the technical scheme, the importance degree of the data can be accurately judged, and it is ensured that important data can be transmitted in time under the condition that the network environment is complex (such as network congestion).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of data transmission technology, and in particular, to a data transmission method, apparatus, system, device and storage medium for a 5G lightweight terminal based on power services. Background Art

[0002] With the rapid development and popularization of the fifth generation mobile communication technology (5G), its application in power systems is becoming increasingly widespread. As an important branch of 5G technology, 5G lightweight (Reduced Capability, RedCap) terminals are used in the field of power equipment data transmission due to their relatively low cost and power consumption, as well as certain communication performance.

[0003] However, when transmitting data from power equipment, existing 5G lightweight terminals cannot accurately determine the importance of data, resulting in the inability to transmit important data in a timely manner in complex network environments (such as network congestion), affecting the normal operation of key businesses. For example, when an electric meter fails, if its fault data cannot be transmitted to the relevant management system in a timely manner, maintenance personnel will not be able to detect and handle the fault in time, which will lead to more serious power supply problems, affecting the normal power consumption of users and the overall reliability of the power system.

[0004] Therefore, it is urgent to propose a new method to solve the above problems. Summary of the invention

[0005] The present invention provides a data transmission method, device, system, equipment and storage medium for a 5G lightweight terminal based on electric power business, which can accurately judge the importance of data and ensure that important data can be transmitted in a timely manner in a complex network environment (such as network congestion).

[0006] In a first aspect, an embodiment of the present invention provides a data transmission method for a 5G lightweight terminal based on a power service, the method comprising:

[0007] Acquire a power data packet sent by the power equipment, wherein the power data packet includes attribute information of the power equipment and data content collected by the power equipment;

[0008] Determine a data classification rule of the power equipment according to the attribute information of the power equipment, and determine a target forwarding priority of the power data packet according to the data classification rule of the power equipment and the data content;

[0009] storing the power data packet in a forwarding queue according to a target forwarding priority of the power data packet;

[0010] The power data packet is forwarded to the monitoring terminal in the order of the forwarding queue.

[0011] The technical solution of the present invention first obtains the power data packet sent by the power equipment, and the power data packet includes the attribute information of the power equipment and the data content collected by the power equipment; then determines the data classification rule of the power equipment according to the attribute information of the power equipment, and determines the target forwarding priority of the power data packet according to the data classification rule and data content of the power equipment; then stores the power data packet in the forwarding queue according to the target forwarding priority of the power data packet; and finally forwards the power data packet to the monitoring terminal in the order of the forwarding queue. The above technical solution first obtains the power data packet sent by the power equipment, which provides a data basis for determining the target forwarding priority of the power data packet later. Then determines the data classification rule of the power equipment according to the attribute information of the power equipment, and determines the target forwarding priority of the power data packet according to the data classification rule and data content of the power equipment, which provides a data basis for determining the forwarding order of the power data packet later. Then stores the power data packet in the forwarding queue according to the target forwarding priority of the power data packet, avoids confusion and disorder in the data forwarding process, and ensures the orderliness and efficiency of data transmission. Finally, forwards the power data packet to the monitoring terminal in the order of the forwarding queue, ensuring that high-priority data can be sent in time, thereby ensuring the normal operation of key services. Therefore, the present invention can solve the problem that the prior art cannot accurately judge the importance of data when transmitting data of power equipment, resulting in the inability to transmit important data in a timely manner in a complex network environment (such as network congestion), affecting the normal operation of key businesses.

[0012] In a second aspect, an embodiment of the present invention further provides a data transmission device for a 5G lightweight terminal based on a power service, the device comprising:

[0013] An acquisition module, used to acquire a power data packet sent by a power device, wherein the power data packet includes attribute information of the power device and data content collected by the power device;

[0014] A determination module, configured to determine a data classification rule of the power equipment according to the attribute information of the power equipment, and determine a target forwarding priority of the power data packet according to the data classification rule of the power equipment and the data content;

[0015] A storage module, configured to store the power data packet in a forwarding queue according to a target forwarding priority of the power data packet;

[0016] A forwarding module is used to forward the power data packet to the monitoring terminal according to the order of the forwarding queue.

[0017] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0018] at least one processor; and a memory communicatively coupled to the at least one processor;

[0019] In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data transmission method of the 5G lightweight terminal based on the power service in any embodiment of the present invention.

[0020] In the fourth aspect, an embodiment of the present invention also provides a data transmission system for a 5G lightweight terminal based on electric power services, wherein the data transmission system for a 5G lightweight terminal based on electric power services comprises electric power equipment, a monitoring terminal and a lightweight terminal for executing the data transmission method for a 5G lightweight terminal based on electric power services of any embodiment of the present invention.

[0021] In a fifth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the data transmission method of a 5G lightweight terminal based on power services according to any embodiment of the present invention.

[0022] It should be noted that the above-mentioned computer instructions can be stored in whole or in part on a computer-readable storage medium. Among them, the computer-readable storage medium can be packaged together with the processor of the data transmission device of the 5G lightweight terminal based on the power business, or it can be packaged separately with the processor of the data transmission device of the 5G lightweight terminal based on the power business, and the present invention does not limit this.

[0023] The description of the second, third, fourth and fifth aspects of the present invention can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0024] In the present invention, the name of the data transmission device of the 5G lightweight terminal based on the power business does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present invention, they belong to the scope of the claims of the present invention and their equivalent technologies.

[0025] These and other aspects of the present invention will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0027] Figure 1 A flowchart of a data transmission method for a 5G lightweight terminal based on electric power services provided in an embodiment of the present invention;

[0028] Figure 2 Another flowchart of a data transmission method for a 5G lightweight terminal based on electric power services provided in an embodiment of the present invention;

[0029] Figure 3 An exemplary diagram of a data transmission system for a 5G lightweight terminal based on electric power services provided in an embodiment of the present invention;

[0030] Figure 4 A structural schematic diagram of a data transmission device of a 5G lightweight terminal based on electric power services provided in an embodiment of the present invention;

[0031] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0033] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0034] The terms "first" and "second" and the like in the specification and drawings of this application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.

[0035] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0036] It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe various operations (or steps) as sequential processes, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of various operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the accompanying drawings. The process can correspond to methods, functions, procedures, subroutines, subprograms, etc. In addition, the embodiments in the present invention and the features in the embodiments can be combined with each other without conflict.

[0037] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0038] In the description of the present application, unless otherwise specified, “plurality” means two or more.

[0039] Figure 1 A flowchart of a data transmission method for a 5G lightweight terminal based on electric power services provided in an embodiment of the present invention. This embodiment is applicable to the case where a lightweight terminal transmits data of electric power equipment. The method can be performed by a data transmission device for a 5G lightweight terminal based on electric power services provided in the present invention. The device can be implemented in software and / or hardware. Specifically, the device can be integrated in an electronic device. Exemplarily, the electronic device can be a computer or a server. Reference Figure 1 The data transmission method of the 5G lightweight terminal based on the power service of this embodiment may specifically include the following steps:

[0040] Step 110: Acquire a power data packet sent by the power equipment.

[0041] Specifically, the power data packet includes the attribute information of the power equipment and the data content collected by the power equipment. Power equipment refers to various types of equipment used for power generation, transmission, transformation, distribution and consumption in the power system. For example, power equipment can be generators, transformers, switch cabinets, distribution boxes and / or electric meters. The power data packet refers to a data set generated and sent by the power equipment, which contains the attribute information of the power equipment and the data content collected by the power equipment. Attribute information refers to the parameters that are inherent to the power equipment and do not change with time. For example, attribute information can be the model and / or specifications of the power equipment.

[0042] In a specific implementation, a communication link is first established with the power equipment. After the communication link is successfully established, the power data packet sent by the power equipment can be obtained through the communication link.

[0043] In this embodiment, by acquiring the power data packet sent by the power equipment, a data basis is provided for subsequently determining the target forwarding priority of the power data packet.

[0044] Step 120: determine the data classification rule of the power equipment according to the attribute information of the power equipment, and determine the target forwarding priority of the power data packet according to the data classification rule and data content of the power equipment.

[0045] Specifically, data classification rules refer to a set of rules formulated in advance according to actual conditions or needs for determining the forwarding priority of data sent by power equipment (i.e., the data content in the power data packet). Target forwarding priority refers to the forwarding priority assigned to the data packet based on the data content of the power data packet and the data classification rules, where data packets with higher target forwarding priorities will be forwarded first to ensure the timely delivery of key information.

[0046] In the specific implementation, the data classification rules of the power equipment are first determined in the correspondence table between the power equipment and the data classification rules according to the attribute information of the power equipment. It should be noted that the data classification rules of the power equipment are actually the correspondence table between the data content and the forwarding priority of the power equipment. On this basis, the forwarding priority of the power data packet is determined in the correspondence table between the data content and the forwarding priority corresponding to the power equipment according to the data content of the power data packet.

[0047] In this embodiment, by determining the target forwarding priority of the power data packet, a data basis is provided for subsequently determining the forwarding order of the power data packet.

[0048] Step 130: store the power data packet in a forwarding queue according to the target forwarding priority of the power data packet.

[0049] Specifically, the forwarding queue refers to a data structure for storing data packets waiting to be forwarded, and the data packets inside the forwarding queue are sorted in descending order according to the forwarding priority.

[0050] In the specific implementation, first select a suitable data structure (such as an array structure or a linked list structure) to construct a forwarding queue according to the actual situation or needs, and set the capacity of the forwarding queue to be greater than the expected number of power data packets to be processed to avoid overflow caused by too many data packets. Then, after determining the target forwarding priority of the power data packet, determine whether the forwarding queue is empty. If it is empty, directly store the power data packet at the head of the queue. If it is not empty, traverse the power data packets already in the forwarding queue, and compare the priority of each power data packet with the priority of the power data packet in turn from the head of the queue to determine the position of the power data packet in the queue. After finding the queue entry position, store the power data packet at that position, that is, store the power data packet in the forwarding queue.

[0051] In this embodiment, the power data packets are stored in the forwarding queue according to the target forwarding priority of the power data packets, so as to avoid confusion and disorder in the data forwarding process and ensure the orderliness and efficiency of data transmission.

[0052] Step 140: forward the power data packet to the monitoring terminal in the order of the forwarding queue.

[0053] Specifically, the monitoring terminal refers to a terminal device or software system used to receive, display, analyze and process power data packets sent from various power devices.

[0054] In a specific implementation, after the power data packet is stored in the forwarding queue, the power data packet can be forwarded to the monitoring terminal in the order of the forwarding queue. Specifically, the power data packets can be forwarded sequentially starting from the head of the forwarding queue. In addition, after a data packet is forwarded, if a reception confirmation message of the data packet sent by the monitoring terminal is received within a preset period of time, it can be determined that the data packet has been successfully forwarded, and then it is deleted from the forwarding queue. If the reception confirmation message is not received within the preset period of time, the data packet is forwarded again.

[0055] In this embodiment, the power data packets are forwarded to the monitoring terminal in the order of the forwarding queues, which can ensure that the high-priority data are sent in time and ensure the normal operation of key services.

[0056] The data transmission method of the 5G lightweight terminal based on the electric power service provided in the embodiment of the present invention first obtains the electric power data packet sent by the electric power equipment, and provides a data basis for determining the target forwarding priority of the electric power data packet. Then, the data classification rule of the electric power equipment is determined according to the attribute information of the electric power equipment, and the target forwarding priority of the electric power data packet is determined according to the data classification rule and data content of the electric power equipment, which provides a data basis for determining the forwarding order of the electric power data packet. Then, the electric power data packet is stored in the forwarding queue according to the target forwarding priority of the electric power data packet to avoid confusion and disorder in the data forwarding process, and ensure the orderliness and efficiency of data transmission. Finally, the electric power data packet is forwarded to the monitoring terminal in the order of the forwarding queue, ensuring that the high-priority data can be sent in time, thereby ensuring the normal operation of key services. Therefore, the present invention can solve the problem that the prior art cannot accurately judge the importance of data when transmitting the data of the electric power equipment, resulting in the inability to transmit important data in a complex network environment (such as network congestion), affecting the normal operation of key services.

[0057] Figure 2 Another flowchart of a data transmission method for a 5G lightweight terminal based on a power service provided in an embodiment of the present invention is a specific embodiment based on the above embodiment. In this embodiment, the method may also include:

[0058] Step 210: Acquire a power data packet sent by the power equipment.

[0059] Specifically, the power data packet includes attribute information of the power equipment and data content collected by the power equipment.

[0060] Step 211: Determine data classification rules for the power equipment according to attribute information of the power equipment.

[0061] Step 212: Determine the original forwarding priority of each power data packet according to the data classification rules and data content of the power equipment.

[0062] Specifically, there are at least two power data packets. The original forwarding priority refers to the forwarding priority preliminarily determined based on the data classification rules of the power equipment and the data content of the power data packet.

[0063] In a specific implementation, the original forwarding priority of the power data packet can be determined in a corresponding relationship table between the data content and forwarding priority of the power device according to the data content of the power data packet. The data classification rule of the power device is a corresponding relationship table between the data content and forwarding priority of the power device.

[0064] In this embodiment, by determining the original forwarding priority of each power data packet, a data basis is provided for subsequently determining the target forwarding priority of each power data packet.

[0065] Step 213: Determine whether there is a power data packet with the same original forwarding priority among at least two power data packets.

[0066] If it does not exist, execute step 214; if it does exist, execute step 215.

[0067] In a specific implementation, after determining the original forwarding priority of each power data packet, each power data packet and its corresponding original forwarding priority can be stored in a data structure (such as a list), and then the power data packets in the data structure are traversed to determine whether at least two power data packets have the same original forwarding priority. Specifically, starting from the first power data packet in the data structure, its original forwarding priority is compared with the original forwarding priority of each subsequent power data packet in turn. If a data packet with the same original forwarding priority is found in this process, the traversal is stopped, thereby determining that at least two power data packets have the same original forwarding priority. Afterwards, the second power data packet in the data structure is used as a new starting point, and the above comparison process is repeated, that is, it is compared with all the power data packets behind it. According to this method, it is continued until each data packet in the data structure is compared with each other. If no power data packet with the same original forwarding priority appears during the entire comparison process, it is determined that at least two power data packets do not have the same original forwarding priority.

[0068] Then, after determining that at least two power data packets do not have a power data packet with the same original forwarding priority, the original forwarding priority of each power data packet is determined as the target forwarding priority of the corresponding power data packet. After determining that at least two power data packets have a power data packet with the same original forwarding priority, the power data packet with the same original forwarding priority is selected from the at least two power data packets to obtain a set of power data packets at the same level.

[0069] Step 214: Determine the original forwarding priority of each power data packet as the target forwarding priority of the corresponding power data packet.

[0070] In a specific implementation, after determining that there are no power data packets with the same original forwarding priority among at least two power data packets, the original forwarding priority of each power data packet is determined as the target forwarding priority of the corresponding power data packet, thereby avoiding unnecessary complex calculation and processing steps, thereby speeding up data processing.

[0071] Step 215: Select power data packets with the same original forwarding priority from at least two power data packets to obtain a set of power data packets at the same level.

[0072] Specifically, the same-level power data packet set refers to a set consisting of power data packets with the same original forwarding priority.

[0073] In the specific implementation, starting from the first power data packet in the data structure storing each power data packet and its corresponding original forwarding priority, the original forwarding priority of the data packet is compared with the original forwarding priority of each subsequent power data packet in turn. In this process, if data packets with the same original forwarding priority are found, they are stored in the array of power data packets of the same level with the corresponding original forwarding priority. Subsequently, the second power data packet in the data structure is used as a new starting point, and the above comparison process is repeated, that is, it is compared with all the power data packets behind it in turn. The operation continues in this way until the pairwise comparison of each data packet in the data structure is completed. Finally, the arrays of power data packets of the same level with each original forwarding priority are combined to obtain a set of power data packets of the same level.

[0074] In this embodiment, by obtaining a set of power data packets of the same level, the amount of data to be subsequently processed is reduced.

[0075] Step 216: Determine the reception delay value of each power data packet in the same level power data packet set according to the reception time and transmission time of each power data packet in the same level power data packet set.

[0076] Specifically, the receiving time refers to the time when the power data packet is received by the receiving device (such as a lightweight terminal). The sending time refers to the time when the power device sends the power data packet. The receiving delay value refers to the value calculated by the receiving time and sending time of the power data packet, which is used to measure the time delay experienced by the power data packet from the power device to the receiving time.

[0077] In a specific implementation, the receiving time and sending time of each power data packet can be obtained by parsing each power data packet in the same level power data packet set. Then, for each power data packet in the same level power data packet set, the receiving delay value of the power data packet can be obtained by calculating the difference between the receiving time of the power data packet and the sending time of the power data packet. In practical applications, the receiving delay value of the power data packet can be determined as follows: the receiving time of the power data packet minus the sending time of the power data packet.

[0078] In this embodiment, by determining the receiving delay value of each power data packet in the power data packet set of the same level, a data basis is provided for subsequently determining the delay importance of the power data packet.

[0079] Step 217: for the current power data packet in the same-level power data packet set, determine the data importance of the current power data packet according to the initial forwarding priority of the current power data packet and the data weight configured by the power equipment for the data type corresponding to the current power data packet.

[0080] Specifically, the data weight refers to the data weight determined in advance for the data type of the power data packet according to the actual situation or demand. The data importance refers to an indicator used to measure the importance of the power data packet in terms of data content.

[0081] In a specific implementation, for a current power data packet in a set of power data packets of the same level, the data importance of the current power data packet can be determined based on the product of the initial forwarding priority of the current power data packet and the data weight configured by the power equipment for the data type corresponding to the current power data packet. In practical applications, the data importance of the current power data packet can be determined as follows: initial forwarding priority of the current power data packet × data weight of the current power data packet.

[0082] In this embodiment, by determining the data importance of the current power data packet, a data basis is provided for subsequently re-determining the forwarding priority of the current power data packet.

[0083] Step 218: Determine the delay importance of the current power data packet according to the reception delay value of the current power data packet and the delay weight configured by the power equipment for the data type corresponding to the current power data packet.

[0084] Specifically, the delay weight refers to the delay weight determined in advance for the data type of the power data packet according to the actual situation or demand. The delay importance refers to an indicator used to measure the importance of the power data packet in terms of delay.

[0085] In a specific implementation, for a current power data packet in a set of power data packets of the same level, the delay importance of the current power data packet can be determined based on the product of the reception delay value of the current power data packet and the delay weight configured by the power equipment for the data type corresponding to the current power data packet. In practical applications, the delay importance of the current power data packet can be determined as follows: the reception delay value of the current power data packet × the delay weight of the current power data packet.

[0086] In this embodiment, by determining the delay importance of the current power data packet, a data basis is provided for subsequently re-determining the forwarding priority of the current power data packet.

[0087] Step 219: re-determine the forwarding priority of the current power data packet according to the data importance and delay importance of the current power data packet.

[0088] In a specific implementation, in an actual application, the forwarding priority of the current power data packet can be re-determined as follows: data importance of the current power data packet + delay importance of the current power data packet.

[0089] In this embodiment, by re-determining the forwarding priority of the current power data packet, a data basis is provided for subsequently determining the target forwarding priority of each power data packet.

[0090] Step 220: Obtain the target forwarding priority of each power data packet in the same-level power data packet set.

[0091] In a specific implementation, the re-determined forwarding priority of each power data packet in the set of power data packets at the same level may be determined as the target forwarding priority of each power data packet in the set of power data packets at the same level.

[0092] Step 221: store the power data packet in a forwarding queue according to the target forwarding priority of the power data packet.

[0093] Step 222: forward the power data packet to the monitoring terminal in the order of the forwarding queue.

[0094] Furthermore, after executing step 222, it also includes: determining the waiting time of the current remaining power data packet in the forwarding queue; updating the target forwarding priority of the current remaining power data packet according to the waiting time of the current remaining power data packet to obtain an updated forwarding priority of the current remaining power data packet; and forwarding the current remaining power data packet to the monitoring terminal according to the updated forwarding priority of the current remaining power data packet.

[0095] Specifically, the waiting time refers to the time that the current remaining power data packets in the forwarding queue wait to be forwarded in the queue. The updated forwarding priority refers to the value obtained after the target forwarding priority of the power data packets is updated according to the waiting time of the current remaining power data packets in the forwarding queue after the power data packets are forwarded to the monitoring terminal in the order of the forwarding queue, and is used to further optimize the forwarding order of the remaining data packets.

[0096] In a specific implementation, for each data packet in the current remaining power data packet, the waiting time of the data packet can be determined based on the time difference between the current moment and the time when the data packet is stored in the forwarding queue. Then, the product of the target forwarding priority of the data packet and the data weight configured by the power equipment for the data type corresponding to the data packet is calculated to obtain the data importance of the data packet. At the same time, the product of the waiting time of the data packet and the delay weight configured by the power equipment for the data type corresponding to the data packet is calculated to obtain the delay importance of the data packet. Then, the sum of the data importance and delay importance of the data packet is calculated to obtain the updated forwarding priority of the data packet. Finally, the current remaining power data packet is forwarded to the monitoring terminal according to the updated forwarding priority of the current remaining power data packet.

[0097] In this embodiment, through the above steps, it can be ensured that data packets with longer waiting times are processed first, the average waiting time of data packets is reduced, the overall processing efficiency is improved, and the real-time performance of power data transmission is optimized.

[0098] Furthermore, the target forwarding priority of the power data packet is determined based on the data classification rules and data content of the power equipment, including: for the current power equipment, the original forwarding priority of the power data packet of the current power equipment is determined based on the data classification rules of the current power equipment and the data content of the power data packet of the current power equipment; the target forwarding priority of the power data packet of the current power equipment is determined based on the original forwarding priority of the power data packet of the current power equipment and the importance of the current power equipment.

[0099] Specifically, there are at least two power devices. The importance of the power device refers to an indicator used to measure the importance of the power device in the data transmission process.

[0100] In a specific implementation, for the current power device, the original forwarding priority of the power data packet can be determined in the corresponding relationship table between the data content and forwarding priority corresponding to the current power device according to the data content of the power data packet of the current power device. Among them, the data classification rule of the power device is the corresponding relationship table between the data content and forwarding priority of the power device. Then, the product of the original forwarding priority of the power data packet of the current power device and the importance of the current power device is calculated to obtain the target forwarding priority of the power data packet of the current power device.

[0101] In this embodiment, the above steps can help ensure that data packets of key power equipment can be transmitted with priority.

[0102] The data transmission method of the 5G lightweight terminal based on the electric power service provided by the embodiment of the present invention first obtains the electric power data packet sent by the electric power equipment, and provides a data basis for determining the target forwarding priority of the electric power data packet later. Then, the data classification rule of the electric power equipment is determined according to the attribute information of the electric power equipment, and then the original forwarding priority of each electric power data packet is determined according to the data classification rule and data content of the electric power equipment. Then, it is determined whether there is an electric power data packet with the same original forwarding priority between at least two electric power data packets. If not, the original forwarding priority of each electric power data packet is directly determined as the target forwarding priority of the corresponding electric power data packet, avoiding unnecessary complex calculation and processing steps, thereby speeding up the data processing speed. If it exists, the electric power data packet with the same original forwarding priority is selected from at least two electric power data packets to obtain a set of electric power data packets at the same level, and the receiving delay value of each electric power data packet in the set of electric power data packets at the same level is determined according to the receiving time and sending time of each electric power data packet in the set of electric power data packets at the same level. For the current electric power data packet in the set of electric power data packets at the same level, the data importance of the current electric power data packet is determined according to the initial forwarding priority of the current electric power data packet and the data weight configured by the electric power device for the corresponding data type of the current electric power data packet. According to the receiving delay value of the current power data packet and the delay weight configured by the power equipment for the data type corresponding to the current power data packet, the delay importance of the current power data packet is determined. According to the data importance and delay importance of the current power data packet, the forwarding priority of the current power data packet is re-determined to obtain the target forwarding priority of each power data packet in the same-level power data packet set. According to the target forwarding priority of the power data packet, the power data packet is stored in the forwarding queue to avoid confusion and disorder in the data forwarding process and ensure the orderliness and efficiency of data transmission. Finally, the power data packet is forwarded to the monitoring terminal in the order of the forwarding queue to ensure that high-priority data can be sent in time, thereby ensuring the normal operation of key services. Therefore, the present invention can solve the problem that the prior art cannot accurately judge the importance of data when transmitting data of power equipment, resulting in the inability to transmit important data in a complex network environment (such as network congestion), affecting the normal operation of key services.

[0103] Figure 3 An example diagram of a data transmission system of a 5G lightweight terminal based on power services provided in an embodiment of the present invention. Figure 3As shown, the data transmission system of the 5G lightweight terminal based on the power service includes power equipment, lightweight terminals and monitoring terminals. Exemplarily, it is assumed that the communication status between the power equipment and the lightweight terminal is normal, and the communication status between the lightweight terminal and the monitoring terminal is normal. Now the power equipment is to transmit the data it has collected to the monitoring terminal. First, the power equipment encapsulates the data content and attribute information it has collected into a power data packet, and then sends the power data packet to the lightweight terminal. Then the lightweight terminal parses the power data packet to obtain the data content and attribute information of the power data packet, and then determines the data classification rule of the power equipment according to the attribute information of the power equipment, and determines the target forwarding priority of the power data packet according to the data classification rule and data content of the power equipment; then the power data packet is stored in the forwarding queue according to the target forwarding priority of the power data packet, and then the power data packet is forwarded to the monitoring terminal in the order of the forwarding queue. After receiving the power data packet, the monitoring terminal can send a successful reception message to the lightweight terminal. After the lightweight terminal receives the successful reception message within a preset time (such as 1 second), it can delete the power data packet in the forwarding queue. If it is not received within a timeout, the power data packet is forwarded to the monitoring terminal again.

[0104] Figure 4 A structural schematic diagram of a data transmission device for a 5G lightweight terminal based on electric power service provided in an embodiment of the present invention, the device and the data transmission method for a 5G lightweight terminal based on electric power service in the above-mentioned embodiments belong to the same inventive concept, and for details not fully described in the embodiment of the data transmission device for the 5G lightweight terminal based on electric power service, reference can be made to the embodiment of the data transmission method for a 5G lightweight terminal based on electric power service.

[0105] like Figure 4 As shown, the device comprises:

[0106] An acquisition module 410 is used to acquire a power data packet sent by a power device, wherein the power data packet includes attribute information of the power device and data content collected by the power device;

[0107] A determination module 420, configured to determine a data classification rule of the power device according to the attribute information of the power device, and determine a target forwarding priority of the power data packet according to the data classification rule of the power device and the data content;

[0108] A storage module 430, configured to store the power data packet in a forwarding queue according to a target forwarding priority of the power data packet;

[0109] The forwarding module 440 is used to forward the power data packet to the monitoring terminal according to the order of the forwarding queue.

[0110] On the basis of the above embodiment, there are at least two power data packets, and the determination module 420 determines the target forwarding priority of the power data packet according to the data classification rule of the power device and the data content, including:

[0111] Determining the original forwarding priority of each of the power data packets according to the data classification rules of the power equipment and the data content;

[0112] determining whether there are power data packets with the same original forwarding priority between at least two of the power data packets;

[0113] If not, the original forwarding priority of each of the power data packets is determined as the target forwarding priority of the corresponding power data packet;

[0114] If so, selecting power data packets with the same original forwarding priority from at least two of the power data packets to obtain a set of power data packets at the same level;

[0115] The priority of each power data packet in the same-level power data packet set is re-determined to obtain the target forwarding priority of each power data packet in the same-level power data packet set.

[0116] Based on the above embodiment, the determination module 420 re-determines the priority of each power data packet in the same-level power data packet set, including:

[0117] Determine the receiving delay value of each power data packet in the set of power data packets at the same level according to the receiving time and sending time of each power data packet in the set of power data packets at the same level;

[0118] The forwarding priority of each power data packet in the set of power data packets at the same level is re-determined according to the receiving delay value of each power data packet in the set of power data packets at the same level.

[0119] On the basis of the above embodiment, the determination module 420 re-determines the forwarding priority of each power data packet in the same-level power data packet set according to the reception delay value of each power data packet in the same-level power data packet set, including:

[0120] For a current power data packet in the set of power data packets at the same level, determining the data importance of the current power data packet according to the initial forwarding priority of the current power data packet and the data weight configured by the power device for the data type corresponding to the current power data packet;

[0121] Determine the delay importance of the current power data packet according to the reception delay value of the current power data packet and the delay weight configured by the power device for the data type corresponding to the current power data packet;

[0122] The forwarding priority of the current power data packet is re-determined according to the data importance and delay importance of the current power data packet.

[0123] Based on the above embodiment, the device further includes:

[0124] An updating module is used to determine the waiting time of the current remaining power data packet in the forwarding queue after forwarding the power data packet to the monitoring terminal in the order of the forwarding queue; update the target forwarding priority of the current remaining power data packet according to the waiting time of the current remaining power data packet to obtain the updated forwarding priority of the current remaining power data packet; and forward the current remaining power data packet to the monitoring terminal according to the updated forwarding priority of the current remaining power data packet.

[0125] On the basis of the above embodiment, there are at least two power devices, and the determination module 420 determines the target forwarding priority of the power data packet according to the data classification rule of the power device and the data content, including:

[0126] For the current electric power device, determining the original forwarding priority of the electric power data packet of the current electric power device according to the data classification rule of the current electric power device and the data content of the electric power data packet of the current electric power device;

[0127] The target forwarding priority of the power data packet of the current power device is determined according to the original forwarding priority of the power data packet of the current power device and the importance of the current power device.

[0128] The data transmission device of the 5G lightweight terminal based on the electric power service provided in the embodiment of the present invention can execute the data transmission method of the 5G lightweight terminal based on the electric power service provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.

[0129] It is worth noting that in the embodiment of the data transmission device of the above-mentioned 5G lightweight terminal based on power service, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0130] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 5 A block diagram of an exemplary electronic device 5 suitable for implementing embodiments of the present invention is shown. Figure 5 The electronic device 5 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0131] like Figure 5 As shown, the electronic device 5 is in the form of a general purpose computing electronic device. The components of the electronic device 5 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0132] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.

[0133] The electronic device 5 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 5, including volatile and non-volatile media, removable and non-removable media.

[0134] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 5 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The system memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0135] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0136] The electronic device 5 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the electronic device 5, and / or any device that enables the electronic device 5 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the electronic device 5 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. Figure 5 As shown, the network adapter 20 communicates with other modules of the electronic device 5 via the bus 18. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 5, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0137] The processing unit 16 executes various functional applications and page displays by running the program stored in the system memory 28, for example, implementing the data transmission method of the 5G lightweight terminal based on the power service provided in the embodiment of the present invention, the method comprising:

[0138] Acquire a power data packet sent by the power equipment, wherein the power data packet includes attribute information of the power equipment and data content collected by the power equipment;

[0139] Determine a data classification rule of the power equipment according to the attribute information of the power equipment, and determine a target forwarding priority of the power data packet according to the data classification rule of the power equipment and the data content;

[0140] storing the power data packet in a forwarding queue according to a target forwarding priority of the power data packet;

[0141] The power data packet is forwarded to the monitoring terminal in the order of the forwarding queue.

[0142] Of course, those skilled in the art can understand that the processor can also implement the technical solution of the data transmission method of the 5G lightweight terminal based on the power service provided in any embodiment of the present invention.

[0143] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, a data transmission method for a 5G lightweight terminal based on a power service, for example, provided in an embodiment of the present invention is implemented. The method includes:

[0144] Acquire a power data packet sent by the power equipment, wherein the power data packet includes attribute information of the power equipment and data content collected by the power equipment;

[0145] Determine a data classification rule of the power equipment according to the attribute information of the power equipment, and determine a target forwarding priority of the power data packet according to the data classification rule of the power equipment and the data content;

[0146] storing the power data packet in a forwarding queue according to a target forwarding priority of the power data packet;

[0147] The power data packet is forwarded to the monitoring terminal in the order of the forwarding queue.

[0148] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0149] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0150] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0151] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0152] It should be understood by those skilled in the art that the modules or steps of the present invention described above can be implemented by a general-purpose computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, optionally, they can be implemented by a program code executable by a computer device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0153] In addition, the acquisition, storage, use, and processing of data in the technical solution of the present invention are in compliance with the relevant provisions of national laws and regulations.

[0154] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A data transmission method for a 5G lightweight terminal based on power business, characterized in that: include: Acquire a power data packet sent by the power equipment, wherein the power data packet includes attribute information of the power equipment and data content collected by the power equipment; Determine a data classification rule of the power equipment according to the attribute information of the power equipment, and determine a target forwarding priority of the power data packet according to the data classification rule of the power equipment and the data content; storing the power data packet in a forwarding queue according to a target forwarding priority of the power data packet; The power data packet is forwarded to the monitoring terminal in the order of the forwarding queue.

2. The data transmission method of a 5G lightweight terminal based on electric power service according to claim 1 is characterized in that: There are at least two power data packets, and determining the target forwarding priority of the power data packets according to the data classification rule of the power equipment and the data content includes: Determining the original forwarding priority of each of the power data packets according to the data classification rules of the power equipment and the data content; determining whether there are power data packets with the same original forwarding priority between at least two of the power data packets; If not, the original forwarding priority of each of the power data packets is determined as the target forwarding priority of the corresponding power data packet; If so, selecting power data packets with the same original forwarding priority from at least two of the power data packets to obtain a set of power data packets at the same level; The priority of each power data packet in the same-level power data packet set is re-determined to obtain the target forwarding priority of each power data packet in the same-level power data packet set.

3. The data transmission method of a 5G lightweight terminal based on electric power service according to claim 2 is characterized in that: Re-prioritizing each power data packet in the set of power data packets of the same level, including: Determine the receiving delay value of each power data packet in the set of power data packets at the same level according to the receiving time and sending time of each power data packet in the set of power data packets at the same level; The forwarding priority of each power data packet in the set of power data packets at the same level is re-determined according to the receiving delay value of each power data packet in the set of power data packets at the same level.

4. The data transmission method of a 5G lightweight terminal based on electric power service according to claim 3 is characterized in that: Re-determining the forwarding priority of each power data packet in the set of power data packets at the same level according to the reception delay value of each power data packet in the set of power data packets at the same level, including: For a current power data packet in the set of power data packets at the same level, determining the data importance of the current power data packet according to the initial forwarding priority of the current power data packet and the data weight configured by the power device for the data type corresponding to the current power data packet; Determine the delay importance of the current power data packet according to the reception delay value of the current power data packet and the delay weight configured by the power device for the data type corresponding to the current power data packet; The forwarding priority of the current power data packet is re-determined according to the data importance and delay importance of the current power data packet.

5. The data transmission method of a 5G lightweight terminal based on electric power service according to claim 1 is characterized in that: After forwarding the power data packet to the monitoring terminal in the order of the forwarding queue, the method further includes: determining a waiting time of a current remaining power data packet in the forwarding queue; updating the target forwarding priority of the current remaining power data packet according to the waiting time of the current remaining power data packet to obtain an updated forwarding priority of the current remaining power data packet; The current remaining power data packet is forwarded to the monitoring terminal according to the updated forwarding priority of the current remaining power data packet.

6. The data transmission method of a 5G lightweight terminal based on electric power service according to claim 1, characterized in that: There are at least two power devices, and determining the target forwarding priority of the power data packet according to the data classification rule of the power devices and the data content includes: For the current electric power device, determining the original forwarding priority of the electric power data packet of the current electric power device according to the data classification rule of the current electric power device and the data content of the electric power data packet of the current electric power device; The target forwarding priority of the power data packet of the current power device is determined according to the original forwarding priority of the power data packet of the current power device and the importance of the current power device.

7. A data transmission device for a 5G lightweight terminal based on electric power services, characterized in that: include: An acquisition module, used to acquire a power data packet sent by a power device, wherein the power data packet includes attribute information of the power device and data content collected by the power device; A determination module, configured to determine a data classification rule of the power equipment according to the attribute information of the power equipment, and determine a target forwarding priority of the power data packet according to the data classification rule of the power equipment and the data content; A storage module, configured to store the power data packet in a forwarding queue according to a target forwarding priority of the power data packet; A forwarding module is used to forward the power data packet to the monitoring terminal according to the order of the forwarding queue.

8. A data transmission system for 5G lightweight terminals based on power services, characterized in that: A lightweight terminal comprising power equipment, a monitoring terminal and a data transmission method for a 5G lightweight terminal based on power services as described in any one of claims 1 to 6.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively coupled to the at least one processor; In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the data transmission method of the 5G lightweight terminal based on power service as described in any one of claims 1-6.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions, when executed by a computer processor, are used to execute the data transmission method for a 5G lightweight terminal based on power services as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Data sending method and device, storage medium and electronic equipment

    CN111181873A

  • Traffic scheduling method and device and related equipment

    CN111698179A

  • Data transmission method and device, computer equipment and medium

    CN115278902A

  • Service grading method and device for power network traffic, terminal and storage medium

    CN115883474A

  • Deterministic forwarding method and device of service flow, electronic equipment and storage medium

    CN118827565A