Concentrator remote relay communication method based on preemption and priority judgment mechanism
By employing a preemption and priority decision-making mechanism, the problem of weak or interrupted remote communication signals of the concentrator is resolved, achieving stable communication between the concentrator and the master station, as well as real-time and complete data acquisition.
Patent Information
- Application Number
- CN202511580427.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-31
- Publication Date
- 2026-01-20
AI Technical Summary
Weak or interrupted remote wireless communication signals from the concentrator affect the real-time performance and integrity of data acquisition, leading to instability in the operation of the electricity information acquisition system.
A preemption and priority decision mechanism is adopted. The highest priority signal is selected from the control signal and status signal through priority decision. After preemption decision, time slice resources are allocated, a communication resource sequence is constructed, and signals are sent in sequence.
Stable communication between the concentrator and the master station was achieved, ensuring the effective and orderly transmission of control commands, status commands, and business data, and improving the real-time performance and integrity of data acquisition.
Smart Images

Figure CN121367971A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to a concentrator remote relay communication method based on a preemption and priority decision mechanism and belongs to the technical field of power distribution communication. BACKGROUND
[0002] As an important core device of a low-voltage area, in addition to performing local service functions, the concentrator is also responsible for realizing remote data interaction functions with a power utilization information collection master station through a 4G / 5G communication module. In actual operation, due to the high binding of the installation position of the concentrator and the power distribution transformer, the communication performance is often restricted by various objective factors. Factors such as geographical environment, mobile base station coverage, urban building multipath effect, and the like often lead to weak or even complete interruption of the remote wireless communication signal of the concentrator, seriously affecting the real-time performance and completeness of data collection, and bringing great challenges to the normal operation of the power utilization information collection system. Therefore, it is urgent to design a concentrator remote relay communication system, including a unique signal transmission decision method, to ensure effective and orderly transmission of multiple data such as control commands, state commands and service data in a high-quality single channel, so as to ensure stable communication between the concentrator and the master station. SUMMARY
[0003] In order to solve the problems existing in the prior art, the application provides a concentrator remote relay communication method based on a preemption and priority decision mechanism.
[0004] The technical scheme of the application is as follows: On the one hand, the application provides a concentrator remote relay communication method based on a preemption and priority decision mechanism, comprising the following steps: obtaining control signals, state signals and data signals to be transmitted by the concentrator; constructing a communication resource sequence; repeating the following steps: performing priority decision on all control signals and all state signals, and outputting a single signal that wins the priority decision; performing preemption decision on the single signal that wins the priority decision and the data signals, and outputting a single signal that wins the preemption decision and the size of the time slice resource allocated; combining the single signal that wins the preemption decision and the size of the time slice resource allocated and adding them to the tail of the communication resource sequence; stopping the above steps when the control signals, state signals and data signals to be transmitted are all allocated; the concentrator sends signals in order according to the communication resource sequence.
[0005] Preferably, the control signals and the state signals are control signals of the communication module and state signals of the communication module. The data signal comprises collector configuration data, electric energy collection data, remote control data and remote signaling data.
[0006] Preferably, the control signal of the communication module comprises a SIM card heating control signal, a communication module reset control signal and a communication module control signal. The communication module state signal comprises a level state signal of each pin of the communication module.
[0007] Preferably, the priorities of the preset SIM card heating control signal, the communication module reset control signal, the communication module control signal and the level state signal of each pin of the communication module are ranked by a ranking algorithm, and a single signal winning the priority decision is output.
[0008] Preferably, the ranking algorithm is a competitive ranking algorithm.
[0009] Preferably, the single signal winning the priority decision and the data signal are preemptively decided, and the specific formula is as follows:
[0010] Wherein: represents a preemptive decision function; represents the single signal winning the priority decision; represents the data signal; represents the single signal winning the priority decision and the preset time slice resource size thereof combination; represents null; represents that the data signal and the preset time slice resource size thereof are infinite, and the data signal has the lowest preemptive right.
[0011] Preferably, when the time slice resource consumption of the topmost element in the communication resource sequence is completed, the data is popped out from the communication resource sequence.
[0012] In another aspect, the application also provides a concentrator remote relay communication system based on the preemptive and priority decision mechanism, comprising a signal acquisition module, a communication resource sequence construction module, a communication resource sequence updating module and a signal sending module. The signal acquisition module is used to acquire control signals, state signals and data signals to be transmitted by the concentrator. The communication resource sequence construction module is used to construct a communication resource sequence. The communication resource sequence updating module is configured to repeatedly perform priority arbitration on all control signals and all state signals, and output a single signal winning the priority arbitration; perform preemption arbitration on the single signal winning the priority arbitration and data signals, and output a single signal winning the preemption arbitration and an allocated time slice resource size; combine the single signal winning the preemption arbitration and the allocated time slice resource size, and add the combination to the tail of the communication resource sequence; and stop until the control signals, the state signals and the data signals to be transmitted are all allocated. The signal sending module is configured to send signals in sequence according to the communication resource sequence concentrator.
[0013] In another aspect, the present application also provides an electronic device, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method of the present application when executing the program.
[0014] In another aspect, the present application also provides a computer readable storage medium, which stores a computer program executable on a processor to implement the method of the present application.
[0015] The present application has the following advantages: 1. The present application designs a communication method based on the combination of preemption and priority arbitration mechanism, which first arbitrates the transmission request with the highest priority from the set of control signals and state signals to be transmitted, then preempts the data transmission request, and finally reclaims the control right for scheduling after the allocated time slice resource is consumed, which can effectively coordinate the reliable and orderly transmission of the three types of signals on a single channel. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 The flowchart of the method of the present application. DETAILED DESCRIPTION
[0017] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of the present application.
[0018] It should be understood that the step numbers used herein are only for the convenience of description, and are not limited to the execution sequence of the steps.
[0019] It is to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting thereof. As used in the description of the application and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0020] The terms "including" and "comprising" as used herein specify the presence of stated features, integers, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0021] The term "and / or" means any combination of one or more of the associated listed items and all possible combinations thereof.
[0022] Referring to Figure 1 In some embodiments, a concentrator remote relay communication method based on preemption and priority arbitration mechanism is proposed, comprising the following steps: Obtaining control signals, state signals and data signals to be transmitted by the concentrator; Building a communication resource sequence; Repeating the following steps: Priority arbitration is performed on all control signals and all state signals, and a single signal winning the priority arbitration is output; Preemptive arbitration is performed on the single signal winning the priority arbitration and the data signals, and a single signal winning the preemptive arbitration and the size of the allocated time slice resource are output; The single signal winning the preemptive arbitration and the size of the allocated time slice resource are combined and added to the tail of the communication resource sequence; The above steps are stopped when the control signals, state signals and data signals to be transmitted are all allocated; The concentrator transmits signals in order according to the communication resource sequence.
[0023] In some embodiments, the control signals and the state signals are control signals of a communication module and state signals of the communication module; The data signals include collector configuration data, electric energy collection data, remote control data and remote signaling data.
[0024] In some embodiments, the control signals of the communication module include SIM card heating control signals, communication module reset control signals and communication module control signals; The communication module state signals include level state signals of each pin of the communication module.
[0025] In a specific embodiment, the SIM card heating control signal is "0" to turn off heating and "1" to turn on heating. The communication module reset control signal is "0" to reset the communication module and "1" to normally work the communication module. The communication module control signal is "0" for more than 1S to turn on the signal and "1" to turn off the signal.
[0026] In a specific embodiment, the communication module includes six pins, and the six pins are labeled as STATE0, STATE1, STATE2, STATE3, STATE4, and STATE5. The different level state meanings of the six pins are shown in the following table.
[0027] In some embodiments, the priorities of the preset SIM card heating control signal, the communication module reset control signal, the communication module control signal, and the level state signal of each pin of the communication module are determined by a ranking algorithm, and a single signal winning the priority decision is output.
[0028] In a specific embodiment, the priorities of the SIM card heating control signal CTRL, the communication module reset control signal RST, the communication module control signal ON / OFF, and the level state signal of each pin of the communication module are shown in the following table.
[0029] In some embodiments, the ranking algorithm is a competitive ranking algorithm.
[0030] In some embodiments, the ranking algorithm is a sequential ranking algorithm.
[0031] In some embodiments, the ranking algorithm is a dense ranking algorithm.
[0032] In some embodiments, the single signal winning the priority decision and a data signal are preemptively decided, and the specific formula is shown as follows.
[0033] Wherein: represents the preemptive decision function; represents the single signal winning the priority decision; represents the data signal; represents the single signal winning the priority decision and its preset time slice resource size combination; represents null; represents that the data signal and its preset time slice resource size are infinite, and the data signal has the lowest preemptive right.
[0034] In some embodiments, when the topmost element in the communication resource sequence consumes the time slice resource for the time slice resource, the data is popped out from the communication resource sequence.
[0035] In some embodiments, a concentrator remote relay communication system based on preemption and priority decision mechanism is proposed, comprising a signal acquisition module, a communication resource sequence construction module, a communication resource sequence update module and a signal sending module. The signal acquisition module is configured to acquire control signals, state signals and data signals to be transmitted by the concentrator. The communication resource sequence construction module is configured to construct a communication resource sequence. The communication resource sequence update module is configured to repeatedly perform priority decision on all control signals and all state signals, and output a single signal winning the priority decision; perform preemptive decision on the single signal winning the priority decision and the data signals, and output a single signal winning the preemptive decision and a size of the allocated time slice resource; combine the single signal winning the preemptive decision and the size of the allocated time slice resource, and add them to the tail of the communication resource sequence; stop until the control signals, the state signals and the data signals to be transmitted are all allocated. The signal sending module is configured to control the concentrator to send signals in sequence according to the communication resource sequence.
[0036] In some embodiments, an electronic device is provided, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of the embodiments of the present application when executing the program.
[0037] In some embodiments, a computer readable storage medium is provided, which stores a computer program executable by a processor to implement the method according to any one of the embodiments of the present application.
[0038] In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. The "and / or" describes the association relationship between the associated objects, which means that there can be three relationships, for example, A and / or B, which means that A exists alone, A and B exist together, and B exists alone. Wherein A and B can be singular or plural. The character " / " generally represents an "or" relationship between the front and rear associated objects. "At least one of the following" and the like means any combination of these items, including any combination of single or multiple items. For example, at least one of a, b and c can mean: a, b, c, a and b, a and c, b and c, or a and b and c, wherein a, b, and c can be single or multiple.
[0039] Those skilled in the art can clearly understand that the units and algorithm steps described in the embodiments disclosed herein can be realized by electronic hardware, computer software and a combination of the two. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0040] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.
[0041] In several embodiments provided in the present application, any function realized in the form of a software function unit and sold or used as an independent product can be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0042] The above is only an embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, is also included in the patent protection scope of the present application.
Claims
1. A method of concentrator remote relay communication based on preemption and priority arbitration mechanism, characterized in that, The method comprises the following steps: acquiring control signals, state signals and data signals to be transmitted by the concentrator; constructing a communication resource sequence; repeating the following steps: performing priority arbitration on all control signals and all state signals, and outputting a single signal that wins the priority arbitration; performing preemptive arbitration on the single signal that wins the priority arbitration and the data signals, and outputting a single signal that wins the preemptive arbitration and an allocated time slice resource size; combining the single signal that wins the preemptive arbitration and the allocated time slice resource size, and adding them to the tail of the communication resource sequence; stopping the repetition of the above steps when the control signals, the state signals and the data signals to be transmitted are all allocated; the concentrator transmits signals in sequence according to the communication resource sequence.
2. The pre-emption and priority arbitration mechanism based concentrator remote relay communication method according to claim 1, wherein, The control signals and the state signals are control signals of a communication module and state signals of the communication module. The data signals include collector configuration data, electric energy collection data, remote control data and remote signaling data.
3. The pre-emption and priority arbitration mechanism based concentrator remote relay communication method according to claim 2, wherein, The control signals of the communication module include SIM card heating control signals, communication module reset control signals and communication module control signals. The state signals of the communication module include level state signals of each pin of the communication module.
4. The pre-emption and priority arbitration mechanism based concentrator remote relay communication method according to claim 3, wherein, The priorities of the SIM card heating control signals, the communication module reset control signals, the communication module control signals and the level state signals of each pin of the communication module are preset, and a ranking algorithm is used to output a single signal that wins the priority arbitration.
5. The pre-emption and priority arbitration mechanism based concentrator remote relay communication method according to claim 4, wherein, The ranking algorithm is a competitive ranking algorithm.
6. The pre-emption and priority arbitration mechanism based concentrator remote relay communication method according to claim 3, wherein, The preemptive arbitration on the single signal that wins the priority arbitration and the data signals is performed according to the following formula: wherein: represents a pre-emptive arbitration function; represents a single signal that wins a priority arbitration; represents a data signal; represents a single signal that wins a priority arbitration and its pre-set time slice resource size combines; represents null; represents a data signal and its pre-set time slice resource size is infinite, while the data signal has the lowest pre-emption right.
7. The pre-emption and priority arbitration mechanism based concentrator remote relay communication method according to claim 1, wherein, When the time slice resource consumption of the topmost element in the communication resource sequence is completed, the data is popped out from the communication resource sequence.
8. A concentrator remote repeater communication system based on preemption and priority arbitration mechanism, characterized in that, The method comprises a signal acquisition module, a communication resource sequence construction module, a communication resource sequence updating module and a signal transmission module. The signal acquisition module is used to acquire control signals, state signals and data signals to be transmitted by the concentrator. The communication resource sequence construction module is used to construct a communication resource sequence. The communication resource sequence updating module is used to repeatedly perform priority arbitration on all control signals and all state signals, output a single signal that wins the priority arbitration, perform preemptive arbitration on the single signal that wins the priority arbitration and the data signals, output a single signal that wins the preemptive arbitration and an allocated time slice resource size, combine the single signal that wins the preemptive arbitration and the allocated time slice resource size, and add them to the tail of the communication resource sequence, until the control signals, the state signals and the data signals to be transmitted are all allocated. The signal transmission module is used to control the concentrator to transmit signals in sequence according to the communication resource sequence.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor implements the method of any one of claims 1 to 7 when executing the program.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method of any one of claims 1 to 7.