STA time-sharing reporting method and system based on central beacon bitmap

The STA time-sharing reporting method guided by the central beacon bitmap solves the time slot conflict problem caused by random competition for time slot reporting by STAs in the power metering automation system, realizes efficient and reliable acquisition and transmission of meter data, and improves the stability and efficiency of the system.

CN121509458APending Publication Date: 2026-02-10SPL ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511658343.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-13
Publication Date
2026-02-10

AI Technical Summary

Technical Problem

In existing power metering automation systems, the random competition among STAs for data reporting in time slots leads to time slot conflicts, resulting in low data acquisition efficiency and making it difficult to complete the data acquisition and reporting tasks of all STAs within the preset time, thus affecting system stability.

Method used

The STA time-sharing reporting method based on the central beacon bitmap is adopted. The CCO guides the STA to join the network and synchronize the clock. The central beacon bitmap and the acquisition configuration information are used to realize the orderly acquisition and time-sharing reporting of data from each meter.

Benefits of technology

This ensures that each STA accurately completes data collection and reporting within the preset time period, avoids data conflicts, and improves the stability of the power metering automation system and the reliability and efficiency of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121509458A_ABST
    Figure CN121509458A_ABST
Patent Text Reader

Abstract

The invention provides an STA time-sharing reporting method and system based on a central beacon bitmap, and relates to the technical field of an electric power measurement automation system.The method comprises the steps that after a CCO, multiple STAs, terminal equipment and multiple ammeters are powered on, all the STAs are controlled to obtain the communication addresses of the ammeters and achieve network access; after the CCO obtains the clock information, perpetual calendar synchronization is carried out on each STA through the CCO; after the terminal device determines that the CCO supports the minute acquisition function, sending a configuration interval message to each STA through the terminal device, so that each STA sets acquisition configuration information; after each STA receives the central beacon, acquiring the ammeter data of each ammeter through each STA, and reporting the ammeter data of each ammeter to the CCO through each STA; and sending the received ammeter data of each ammeter to a terminal device through the CCO. The operation stability of the electric power metering automation system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power metering automation system technology, and in particular to a time-sharing reporting method and system for STA based on a central beacon location map. Background Technology

[0002] As the power grid business continues to develop towards greater refinement, many emerging businesses have emerged, such as orderly electricity consumption management, monitoring of power consumption curves for new energy users such as photovoltaics, optimization of low-voltage distribution area dispatch, and electricity market trading. These emerging businesses place more stringent requirements on power data collection, specifically requiring the completion of 5-10 data items per minute across all power stations to ensure the stable operation of the power system and the efficient implementation of various businesses.

[0003] Currently, in existing power metering automation systems, the data reporting mechanism mainly adopts a method where multiple stations (STAs) randomly compete for time slots with the Central Coordinator (CCO). In this method, each STA autonomously and randomly selects a time slot to report data to the CCO.

[0004] However, in practice, this reporting mode has been found to have significant drawbacks. Because multiple STAs may simultaneously select the same time slot for data reporting, time slot conflicts are highly likely to occur. Once a time slot conflict occurs, some STAs will fail to report data, forcing them to retransmit. This increased number of retransmissions not only wastes valuable communication resources but also significantly reduces the efficiency of the entire data acquisition process. In such cases, it becomes difficult to complete the data acquisition and reporting tasks of all STAs within the preset time period, resulting in poor stability of the power metering automation system. Summary of the Invention

[0005] In view of the shortcomings of the prior art, the purpose of this invention is to provide a STA time-sharing reporting method based on a central beacon bitmap, which can solve the technical problem that the prior art is unable to complete the data collection and reporting tasks of all STAs within a preset time period.

[0006] A first aspect of this invention proposes a time-division reporting method for STAs based on a central beacon bitmap, applied to an automated minute-by-minute power metering data acquisition system. The automated minute-by-minute power metering data acquisition system includes a CCO, multiple STAs, terminal devices, and multiple electricity meters, comprising: After the CCO, the plurality of STAs, the terminal device and the plurality of electricity meters are powered on, each STA is controlled to obtain the communication address of the electricity meter and enter the network. After the CCO obtains the clock information sent by the terminal device, it performs perpetual calendar synchronization on each STA through the CCO. After the terminal device determines that the CCO supports minute-based data collection, it sends a configuration interval message to each STA so that each STA can set the data collection configuration information based on the configuration interval message. After each STA receives the central beacon sent by the CCO, each STA collects data from each meter based on the central beacon and the acquisition configuration information to obtain the meter data of each meter, and then reports the meter data of each meter to the CCO based on the central beacon; wherein, the central beacon contains a central beacon bitmap; The CCO sends the received meter data from each meter to the terminal device.

[0007] Optionally, controlling each STA to obtain the meter's communication address and achieve network access specifically includes: Each STA sends a request table address message to the CCO, so that the CCO sends the meter communication address to each STA based on the request table address message; wherein, the meter communication address includes the communication address of the target meter corresponding to each STA; Each STA receives the meter communication address sent by the CCO and sends an association network access request to the CCO, so that the CCO sends a response instruction to each STA based on the association network access request; If the response command received by the STA indicates confirmation of network access, then it is determined that each STA has successfully entered the network.

[0008] Optionally, after controlling each STA to obtain the meter communication address and achieve network access, the method further includes: The CCO sends an inquiry clock message to the terminal device. The control unit (CCO) receives clock information corresponding to the query clock message sent by the terminal device.

[0009] Optionally, after synchronizing the perpetual calendar of each STA via the CCO, the method further includes: The terminal device sends a minute collection query message to the CCO, so that the CCO, if it supports the minute collection function, sends a response message containing a flag indicating that the minute collection function is supported to the terminal device. If the response message received by the terminal device contains the flag bit for supporting minute data collection, then the terminal device determines that the CCO supports minute data collection.

[0010] Optionally, the step of sending a configuration interval message to each STA through the terminal device, so that each STA can set the collection configuration information based on the configuration interval message, specifically includes: The terminal device sends a configuration interval message to each STA. After each STA receives the configuration interval message, each STA parses the configuration interval message to obtain the preset collection interval and the preset reporting interval. Each STA is controlled to set its acquisition configuration information based on the preset acquisition interval and the preset reporting interval; wherein, the acquisition interval in the acquisition configuration information of each STA is the preset acquisition interval, and the reporting interval in the acquisition configuration information of each STA is the preset reporting interval.

[0011] Optionally, the central beacon includes at least a minute data collection start flag and a central beacon bitmap. The central beacon bitmap contains terminal endpoint identifiers and fixed time interval parameters corresponding to each STA. The terminal endpoint identifier is 0 or 1. STAs with a terminal endpoint identifier of 0 do not need to report meter data, while STAs with a terminal endpoint identifier of 1 need to report meter data. The fixed time interval parameters corresponding to each STA are different, and the fixed time interval parameter of the largest STA is less than the value of the preset reporting interval.

[0012] Optionally, the step of collecting data from each meter by each STA based on the central beacon and the acquisition configuration information to obtain the meter data of each meter specifically includes: Each STA parses the received central beacon to obtain the minute acquisition start flag and the central beacon bitmap; The target STA with the terminal endpoint identifier of 1 is controlled to configure the fixed time-division interval parameter to the fixed time-division interval of the target STA; Based on the control, the target STA collects data from the target meter corresponding to the target STA based on the minute collection start flag, and obtains the meter data of the target meter.

[0013] Optionally, the step of reporting the meter data of each meter to the CCO via each STA based on the central beacon specifically includes: Determine the reception time of each target STA upon receiving the central beacon; Based on the receiving time and the fixed time interval of each target STA, the initial reporting time of each target STA is determined; Based on the initial reporting time and the reporting interval, each target STA is controlled to report the meter data of each target meter to the CCO.

[0014] A second aspect of the present invention provides a time-division reporting system for STAs based on a central beacon bitmap, comprising: a processor and a memory; The memory stores programs or instructions that can run on the processor, which, when executed by the processor, implement the steps of the STA time-division reporting method based on the central beacon bitmap as described in the first aspect.

[0015] A third aspect of the present invention provides a readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the STA time-division reporting method based on a central beacon bitmap as described in the first aspect.

[0016] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: In this embodiment of the invention, after the CCO, STA, terminal equipment, and electricity meters are powered on, the STAs are guided to connect to the network in an orderly manner, and the CCO is used to synchronize the perpetual calendar, providing a precise time reference for subsequent operations. After the terminal equipment confirms that the CCO supports minute-based data acquisition, it sends a configuration interval message, enabling the STAs to set appropriate acquisition configuration information. After receiving the central beacon, the STAs use the central beacon bitmap and acquisition configuration information to achieve efficient acquisition and time-sharing reporting of data from each electricity meter. This method ensures that each STA can accurately complete its data acquisition and reporting tasks within a preset time period, avoiding data conflicts and confusion, effectively improving the stability of the power metering automation system, and guaranteeing the reliability and efficiency of power data acquisition and transmission. Attached Figure Description

[0017] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts. Obviously, the drawings described below are merely some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any creative effort.

[0018] Figure 1 This is a flowchart illustrating a time-division reporting method for STAs based on a central beacon bitmap provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of a STA time-sharing reporting system based on a central beacon bitmap provided in an embodiment of the present invention. Detailed Implementation

[0019] To enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. It should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0020] The following description, in conjunction with the accompanying drawings, details the STA time-sharing reporting method based on a central beacon bitmap provided by the present invention through specific embodiments and application scenarios. This STA time-sharing reporting method based on a central beacon bitmap is applied to an automated minute-by-minute power metering data acquisition system, which includes a CCO, multiple STAs, terminal devices, and multiple electricity meters.

[0021] Among them, the concentrator product is used as the terminal equipment. The CCO supports HPLC communication, and the STA supports HPLC and wireless dual-mode communication. The electricity meter complies with the smart meter protocol compatible with the project. The terminal equipment software integrates the minute acquisition and control module required by the project. The CCO software integrates the central beacon generation and data receiving module, and the STA software integrates the message parsing and local caching module. All of them are developed according to the technical specifications. The network scale includes 234 attenuation-free STAs, covering a low-voltage area, which meets the test scale requirements of "full site".

[0022] Reference manual attached Figure 1 The diagram illustrates a flowchart of a time-division reporting method for STAs based on a central beacon bitmap, provided by an embodiment of the present invention.

[0023] This invention provides a time-division reporting method for STAs based on a central beacon bitmap, which may include the following steps: S1: After the CCO, the plurality of STAs, the terminal device and the plurality of electricity meters are powered on, control each STA to obtain the electricity meter communication address and realize network access.

[0024] In this embodiment of the application, after the STA and CCO are powered on, the STA completes the meter address detection through a request meter address message (e.g., request meter address / search meter message) to obtain the meter communication address; after obtaining the meter communication address, it sends a "association network access" request to the CCO. After the CCO responds and confirms, the STA completes the network access.

[0025] As an optional implementation, the method by which S1 controls each STA to obtain the meter communication address and achieve network access may include: Each STA sends a request table address message to the CCO, so that the CCO sends the meter communication address to each STA based on the request table address message; wherein, the meter communication address includes the communication address of the target meter corresponding to each STA; Each STA receives the meter communication address sent by the CCO and sends an association network access request to the CCO, so that the CCO sends a response instruction to each STA based on the association network access request; If the response command received by the STA indicates confirmation of network access, then it is determined that each STA has successfully entered the network.

[0026] In this implementation, each STA proactively sends a request for the meter address to the CCO. The CCO then provides the corresponding meter communication address, accurately identifying the target meter for each STA and avoiding information confusion. After receiving the address, the STA sends an association and network access request, which is confirmed by the CCO. This two-way interactive mechanism ensures the accuracy and reliability of the network access process. The entire process is logically clear and orderly, efficiently enabling STAs to obtain meter communication addresses and complete network access operations. This lays a solid foundation for the stable operation of the subsequent power metering automation system, such as accurate data collection and transmission.

[0027] As an optional implementation, the following steps may be included after S1: The CCO sends an inquiry clock message to the terminal device. The control unit (CCO) receives clock information corresponding to the query clock message sent by the terminal device.

[0028] In this implementation, the CCO proactively sends clock query messages to the terminal devices, actively triggering the clock information acquisition process and avoiding the passivity and uncertainty of information acquisition. The CCO then receives the corresponding clock information from the terminal devices, ensuring the timeliness and accuracy of clock information acquisition. This query-receive interaction mechanism provides a unified and accurate time reference for the entire power metering automation system, facilitating collaborative work among devices within the system, ensuring that data acquisition and transmission operations are performed within a precise time frame, and improving the stability and reliability of system operation.

[0029] S2: After the CCO obtains the clock information sent by the terminal device, the CCO performs perpetual calendar synchronization on each STA.

[0030] In this embodiment, while the CCO responds with confirmation, the CCO sends a "clock query" message (i.e., a minute-based query message) to the terminal device. The terminal device sends a response message, and the CCO performs perpetual calendar synchronization on all STAs in the network based on the response message to ensure that the clocks of the entire network are consistent. This provides a basis for the accurate execution of the 1-minute reporting interval and is in line with the project's "network-wide clock synchronization" strategy.

[0031] As an optional implementation, the following steps may also be included after S2: The terminal device sends a minute collection query message to the CCO, so that the CCO, if it supports the minute collection function, sends a response message containing a flag indicating that the minute collection function is supported to the terminal device. If the response message received by the terminal device contains the flag bit for supporting minute data collection, then the terminal device determines that the CCO supports minute data collection.

[0032] In this implementation, the terminal device proactively sends a minute-by-minute data collection query message, quickly and proactively confirming whether the CCO (Controlled Operational Controller) possesses the minute-by-minute data collection capability, thus preventing system malfunctions due to functional incompatibility. When the CCO supports this function, it responds with a response message containing flags, ensuring clear and accurate information transmission. The terminal device identifies the flags to determine functional support. This explicit interactive confirmation mechanism allows the system to perform precise functional adaptation before commencing minute-by-minute data collection, ensuring the subsequent data collection process proceeds stably as expected, and improving the overall reliability and efficiency of the power metering automation system.

[0033] S3: After the terminal device determines that the CCO supports the minute collection function, it sends a configuration interval message to each STA so that each STA can set the collection configuration information based on the configuration interval message.

[0034] In this embodiment of the application, the terminal device queries the CCO via a message whether it supports the minute data collection function; if the CCO supports it, it carries the "minute data collection support flag" in the response message; After the terminal device detects the flag, it starts the minute collection and reporting process and sends a configuration interval message to the STA, setting the STA's collection interval to 1 minute (collecting meter data once per minute) and the reporting interval to 1 minute (reporting data to the CCO once per minute), thus synchronizing the collection and reporting cycles.

[0035] If the CCO does not support minute-by-minute data collection, the terminal device will not start the process to avoid invalid operations.

[0036] The terminal device is configured with a STA data collection interval of 1 minute, which matches the 1-minute reporting interval, to achieve synchronization of the data collection and reporting cycle, reduce data backlog, and meet the requirement of "collecting 5-10 data items within 1 minute for all sites".

[0037] As an optional implementation, S3 sends a configuration interval message to each STA through the terminal device, so that each STA can set the method for collecting configuration information based on the configuration interval message, which may include: The terminal device sends a configuration interval message to each STA. After each STA receives the configuration interval message, each STA parses the configuration interval message to obtain the preset collection interval and the preset reporting interval. Each STA is controlled to set its acquisition configuration information based on the preset acquisition interval and the preset reporting interval; wherein, the acquisition interval in the acquisition configuration information of each STA is the preset acquisition interval, and the reporting interval in the acquisition configuration information of each STA is the preset reporting interval.

[0038] In this implementation method, terminal devices uniformly send configuration interval messages, efficiently conveying the data collection and reporting interval requirements to each STA, ensuring consistency in information transmission. Upon receiving the message, the STA parses it to obtain the preset data collection and reporting intervals, and accurately sets the data collection configuration information accordingly, avoiding errors and confusion that may occur with manual configuration. This centralized configuration and automatic parsing method significantly improves configuration efficiency, enabling each STA to collect and report data according to a unified and reasonable interval. This helps the power metering automation system achieve orderly and efficient data management, improving the overall operational quality of the system.

[0039] S4: After each STA receives the central beacon sent by the CCO, each STA collects data from each meter based on the central beacon and the collection configuration information to obtain the meter data of each meter, and reports the meter data of each meter to the CCO based on the central beacon.

[0040] In this embodiment of the application, the central beacon includes at least a minute data collection start flag and a central beacon bitmap. The central beacon bitmap includes a Terminal Endpoint Identifier (TEI) and a fixed time interval parameter for each STA. The Terminal Endpoint Identifier is 0 or 1. STAs with a Terminal Endpoint Identifier of 0 do not need to report meter data, while STAs with a Terminal Endpoint Identifier of 1 need to report meter data. The fixed time interval parameter for each STA is different, and the fixed time interval parameter of the largest STA is less than the value of the preset reporting interval.

[0041] In this embodiment, the CCO generates a central beacon based on the 1-minute reporting interval configured in the terminal device and the "network-wide STA online status monitoring" requirement in the project.

[0042] In addition to time slot scheduling data, the core data structure of the central beacon also includes: minute acquisition start flag and TEI bitmap of STAs to be reported.

[0043] The TEI bitmap of the STA to be reported has a byte length determined by the maximum number of STAs in the system. Each bit corresponds to the TEI number of one STA. A bit value of "1" indicates that the STA needs to participate in this minute collection and reporting, and a bit value of "0" indicates that it does not need to report.

[0044] The CCO generates a central beacon, which includes a minute-based data acquisition start flag, a 1-minute reporting interval parameter, and a TEI bitmap of the STAs to be reported. The TEI bitmap is mapped to the list of STAs to be reported according to the TEI number of each STA.

[0045] The TEI bitmap uses a binary bit mapping method, with each bit corresponding to the TEI number of a STA. A bit value of "1" indicates that the STA with the corresponding TEI number needs to participate in this minute data collection and reporting, while a bit value of "0" indicates that the corresponding STA does not need to report. The CCO updates the TEI bitmap in real time based on the online status of all STAs in the network and the results of the minute data collection and reporting.

[0046] In this embodiment, the CCO broadcasts a central beacon via the HPLC (High-Speed ​​Power Line Carrier) communication method specified by the project. After receiving the beacon, all STAs in the network parse the beacon content using the message parsing module, specifically: Extract the TEI bitmap, determine the bit value corresponding to its own TEI number, and decide whether to participate in this reporting. Extract the 1-minute reporting interval parameter to confirm the reporting cycle; Based on the project's core metric of "234 STAs reporting within the first 30 seconds without attenuation," a fixed time interval is calculated according to network layer and device transmission capacity: After reserving a reasonable amount of redundancy time, STA stores the parameter in the local configuration module as the basis for reporting timing, ensuring that the total reporting time does not exceed 30 seconds.

[0047] The CCO broadcasts the central beacon to all STAs in the network. The STAs parse the beacon to obtain their own position in the TEI bitmap and the 1-minute reporting interval information, and at the same time determine the fixed time interval parameters.

[0048] The fixed time interval is determined as follows: Based on the requirement that 234 STAs without attenuation need to complete the collection and reporting within a 1-minute reporting interval and within the first 30 seconds, the fixed time interval is determined according to the network level and the device's sending capacity to ensure that the total time for the 234 STAs at each level to report sequentially does not exceed 30 seconds.

[0049] In this embodiment of the application, the STA's acquisition timer is triggered at 1-minute intervals. After triggering, the STA sends a "data reading" message to the corresponding electricity meter according to the "STA module acquisition" strategy, and reads 5-10 data items (such as voltage, current, power, etc.). After the electricity meter responds, the STA parses the data and stores it in the local cache module in the order of timestamps.

[0050] This caching module supports storing at least 2880 data entries to prevent data overflow and loss, and facilitates subsequent data retrieval and retrieval.

[0051] As an optional implementation, S4 may obtain the meter data of each meter by having each STA collect data from each meter based on the central beacon and the acquisition configuration information, in the following ways: Each STA parses the received central beacon to obtain the minute acquisition start flag and the central beacon bitmap; The target STA with the terminal endpoint identifier of 1 is controlled to configure the fixed time-division interval parameter to the fixed time-division interval of the target STA; Based on the control, the target STA collects data from the target meter corresponding to the target STA based on the minute collection start flag, and obtains the meter data of the target meter.

[0052] In this implementation method, the STA (Stationary Target) parses the central beacon to obtain the minute-based data collection start flag and bitmap, accurately grasping the timing and scope of data collection and ensuring its timeliness and relevance. By rationally configuring the fixed time interval parameters for the target STA with terminal endpoint identifier 1, its data collection rhythm is standardized. The target STA collects data from the corresponding electricity meter according to the minute-based data collection start flag, resulting in a clear process and orderly operation. This combination of precise parsing and rational configuration effectively avoids data collection chaos and omissions, improves the accuracy and efficiency of data collection in the power metering automation system, and ensures the stable and reliable operation of the system.

[0053] As an optional implementation, S4 may report the meter data of each meter to the CCO based on the central beacon through each STA: Determine the reception time of each target STA upon receiving the central beacon; Based on the receiving time and the fixed time interval of each target STA, the initial reporting time of each target STA is determined; Based on the initial reporting time and the reporting interval, each target STA is controlled to report the meter data of each target meter to the CCO.

[0054] This implementation method, by determining the time when the target STA receives the central beacon and calculating the initial reporting time based on its fixed time interval, and then arranging data reporting according to the reporting interval, forms a precise and orderly reporting mechanism. This mechanism effectively avoids channel conflicts caused by multiple STAs reporting data simultaneously, ensuring a smooth data reporting process. Simultaneously, the rational planning of reporting times guarantees timely and stable data transmission to the CCO, improving the efficiency and reliability of data transmission in the power metering automation system, and providing a solid guarantee for the system's accurate analysis and processing of power data.

[0055] In this embodiment of the application, each STA initiates data reporting sequentially according to the order in the TEI bitmap (from smallest to largest TEI number) at fixed time intervals, specifically as follows: The first STA to report (the STA corresponding to the first "1" in the TEI bitmap) reports immediately after the central beacon broadcasts, sending the latest 1-minute collection data from its local cache to the CCO; After the first STA completes its report, the second STA that needs to report will start reporting at a fixed interval (e.g., 100ms). Similarly, within 30 seconds, 234 STAs can achieve multi-level and multi-round reporting, fully meeting the indicator of "234 STAs without attenuation completing data collection and reporting within 30 seconds".

[0056] If a STA fails to report within the time interval due to a link problem, the CCO will initiate supplementary data collection within the 1-minute reporting interval.

[0057] If a STA fails to report within a fixed time interval, the CCO will initiate a supplementary sampling mechanism within a 1-minute reporting interval, and perform supplementary sampling on the STA that failed to report according to the TEI bitmap sequence.

[0058] S5: The CCO sends the received meter data from each meter to the terminal device.

[0059] In this embodiment of the application, the data receiving module of CCO counts the number of STAs that have successfully received data in real time. When the number is consistent with the number of "1" bits in the TEI bitmap, it is determined that the 1-minute data collection and reporting is completed, and a "reporting end flag" message is sent to the terminal device.

[0060] At the start of the next minute, a new round of data collection cycle central beacon is issued to initiate a new minute of data collection tasks, achieving periodic continuous data collection. At the same time, the entire process ensures the normal operation of the eight major in-depth application functions required by the project, with no data loss or functional abnormalities.

[0061] After receiving all data reported by the STA, the CCO sends a message to the terminal device to end the reporting round. The CCO triggers the next round of minute-by-minute data collection and reporting based on a 1-minute reporting interval, while ensuring the normal operation of the 8 major advanced application functions during the minute-by-minute data collection period.

[0062] The beneficial effects of the technical solutions provided in the embodiments of the present invention include at least the following: In this embodiment of the invention, after the CCO, STA, terminal equipment, and electricity meters are powered on, the STAs are guided to connect to the network in an orderly manner, and the CCO is used to synchronize the perpetual calendar, providing a precise time reference for subsequent operations. After the terminal equipment confirms that the CCO supports minute-based data acquisition, it sends a configuration interval message, enabling the STAs to set appropriate acquisition configuration information. After receiving the central beacon, the STAs use the central beacon bitmap and acquisition configuration information to achieve efficient acquisition and time-sharing reporting of data from each electricity meter. This method ensures that each STA can accurately complete its data acquisition and reporting tasks within a preset time period, avoiding data conflicts and confusion, effectively improving the stability of the power metering automation system, and guaranteeing the reliability and efficiency of power data acquisition and transmission.

[0063] Reference manual attached Figure 2 The diagram shows a schematic of the structure of a STA time-sharing reporting system based on a central beacon bitmap provided by an embodiment of the present invention.

[0064] This invention provides a STA time-sharing reporting system 20 based on a central beacon bitmap, comprising: a processor 201 and a memory 202; The memory 202 stores programs or instructions that can run on the processor 201. When the program or instructions are executed by the processor 201, they implement the steps of the above-described STA time-division reporting method based on the central beacon bitmap and achieve the same technical effect. To avoid repetition, the present invention will not elaborate further.

[0065] It should be understood that the processor 201 in this embodiment of the invention may be a central processing unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0066] It should also be understood that the memory 202 in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of random access memory are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DR RAM).

[0067] The above embodiments can be implemented, in whole or in part, by software, hardware (such as circuits), firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium. A semiconductor medium can be a solid-state drive.

[0068] It should be understood that, in various embodiments of the present invention, the order of the above-mentioned process numbers does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0069] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented 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 implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0070] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the devices, apparatuses, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0071] In the several embodiments provided by this invention, it should be understood that the disclosed devices, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0072] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0073] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0074] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0075] This invention provides a readable storage medium comprising: storing a program or instructions on the readable storage medium, wherein when the program or instructions are executed by a processor, the program or instructions implement the steps of the above-described STA time-division reporting method based on a central beacon bitmap, and can achieve the same technical effect. To avoid repetition, this invention will not elaborate further.

[0076] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, and are not intended to limit them. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the protection scope of the present invention.

Claims

1. A time-division reporting method for STA (Standard Operating System) based on a central beacon bitmap, applied to a minute-by-minute data acquisition system for automated power metering, wherein, The automated minute-by-minute electricity metering data acquisition system includes a Control Operator (CCO), multiple STAs (Standard Operators), terminal devices, and multiple electricity meters. The method comprises: After the CCO, the plurality of STAs, the terminal device and the plurality of electricity meters are powered on, each STA is controlled to obtain the communication address of the electricity meter and enter the network. After the CCO obtains the clock information sent by the terminal device, it performs perpetual calendar synchronization on each STA through the CCO. After the terminal device determines that the CCO supports minute-based data collection, it sends a configuration interval message to each STA so that each STA can set the data collection configuration information based on the configuration interval message. After each STA receives the central beacon sent by the CCO, each STA collects data from each meter based on the central beacon and the acquisition configuration information to obtain the meter data of each meter, and then reports the meter data of each meter to the CCO based on the central beacon; wherein, the central beacon contains a central beacon bitmap; The CCO sends the received meter data from each meter to the terminal device.

2. The STA time-division reporting method based on a central beacon bitmap according to claim 1, characterized in that, The process of controlling each STA to obtain the meter's communication address and enable network access specifically includes: Each STA sends a request table address message to the CCO, so that the CCO sends the meter communication address to each STA based on the request table address message; wherein, the meter communication address includes the communication address of the target meter corresponding to each STA; Each STA receives the meter communication address sent by the CCO and sends an association network access request to the CCO, so that the CCO sends a response instruction to each STA based on the association network access request; If the response command received by the STA indicates confirmation of network access, then it is determined that each STA has successfully entered the network.

3. The STA time-division reporting method based on a central beacon bitmap according to claim 1, characterized in that, After controlling each STA to obtain the meter's communication address and achieve network access, the method further includes: The CCO sends an inquiry clock message to the terminal device. The control unit (CCO) receives clock information corresponding to the query clock message sent by the terminal device.

4. The STA time-division reporting method based on a central beacon bitmap according to claim 1, characterized in that, After synchronizing the perpetual calendar of each STA via the CCO, the method further includes: The terminal device sends a minute collection query message to the CCO, so that the CCO, if it supports the minute collection function, sends a response message containing a flag indicating that the minute collection function is supported to the terminal device. If the response message received by the terminal device contains the flag bit for supporting minute data collection, then the terminal device determines that the CCO supports minute data collection.

5. The STA time-division reporting method based on a central beacon bitmap according to claim 1, characterized in that, The step of sending configuration interval messages to each STA via the terminal device, so that each STA can set the collection configuration information based on the configuration interval messages, specifically includes: The terminal device sends a configuration interval message to each STA. After each STA receives the configuration interval message, each STA parses the configuration interval message to obtain the preset collection interval and the preset reporting interval. Each STA is controlled to set its acquisition configuration information based on the preset acquisition interval and the preset reporting interval; wherein, the acquisition interval in the acquisition configuration information of each STA is the preset acquisition interval, and the reporting interval in the acquisition configuration information of each STA is the preset reporting interval.

6. The STA time-division reporting method based on a central beacon bitmap according to claim 5, characterized in that, The central beacon includes at least a minute data collection start flag and a central beacon bitmap. The central beacon bitmap contains terminal endpoint identifiers and fixed time interval parameters corresponding to each STA. The terminal endpoint identifier is 0 or 1. STAs with a terminal endpoint identifier of 0 do not need to report meter data, while STAs with a terminal endpoint identifier of 1 need to report meter data. The fixed time interval parameters corresponding to each STA are different, and the fixed time interval parameter of the largest STA is less than the value of the preset reporting interval.

7. The STA time-division reporting method based on a central beacon bitmap according to claim 6, characterized in that, The process of collecting data from each meter by each STA based on the central beacon and the acquisition configuration information to obtain meter data for each meter specifically includes: Each STA parses the received central beacon to obtain the minute acquisition start flag and the central beacon bitmap; The target STA with the terminal endpoint identifier of 1 is controlled to configure the fixed time-division interval parameter to the fixed time-division interval of the target STA; Based on the control, the target STA collects data from the target meter corresponding to the target STA based on the minute collection start flag, and obtains the meter data of the target meter.

8. The STA time-division reporting method based on a central beacon bitmap according to claim 7, characterized in that, The process of each STA reporting the meter data of each meter to the CCO based on the central beacon specifically includes: Determine the reception time of each target STA upon receiving the central beacon; Based on the receiving time and the fixed time interval of each target STA, the initial reporting time of each target STA is determined; Based on the initial reporting time and the reporting interval, each target STA is controlled to report the meter data of each target meter to the CCO.

9. A STA time-sharing reporting system based on a central beacon bitmap, characterized in that, include: Processor and memory; The memory stores programs or instructions that can run on the processor, which, when executed by the processor, implement the steps of the STA time-division reporting method based on a central beacon bitmap as described in any one of claims 1 to 8.

10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the STA time-division reporting method based on a central beacon bitmap as described in any one of claims 1 to 8.