Data acquisition method and data acquisition system based on dual-mode communication network

By using high-speed power line carrier HPLC and wireless micropower HRF dual-mode communication network for clock synchronization and data collection in the low-voltage station area, the problem of low data accuracy caused by the non-synchronization of the internal clock of the equipment is solved, and efficient and accurate data collection and data collection are achieved. calculate.

CN118301503BActive Publication Date: 2024-10-11BEIJING SMARTCHIP MICROELECTRONICS TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410727849.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-11
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

The internal clocks of the multi-level equipment in the low-voltage station area are not completely synchronized, resulting in low accuracy of data collection, affecting functions such as line loss segmentation calculation, loop impedance calculation and early warning, and big data calculation.

Method used

Adopt a dual-mode communication network based on high-speed power line carrier HPLC and wireless micro-power HRF, and communicate through the high-speed power line carrier HPLC channel and wireless micro-power HRF channel between the CCO module and STA module to achieve clock synchronization and verify the CCO before data collection. The module and the STA module perform task configuration to enable it to collect data autonomously.

Benefits of technology

It achieves microsecond-level synchronization of multi-level equipment clocks, improves the accuracy and efficiency of data collection, reduces the time deviation of line loss calculation and variable line household topology relationship data, and ensures the reliability of data collection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118301503B_ABST
    Figure CN118301503B_ABST
Patent Text Reader

Abstract

The invention discloses a data acquisition method and a data acquisition system based on a dual-mode communication network, and relates to the technical fields of communication data, data acquisition, etc. The dual-mode communication network includes an acquisition terminal, a CCO module and a STA module, and the CCO module and the STA module communicate through a high-speed power line carrier HPLC channel and a wireless micro-power HRF channel. The data acquisition method includes: generating an acquisition task based on received task configuration information; determining the data type to be acquired based on the acquisition task; in the case where the data type is a frozen data type, determining whether to start the auxiliary freezing function of the STA module for data acquisition to acquire target data; when receiving a data request message from the CCO module, sending the target data to the CCO module, so that the CCO module sends the target data to the acquisition terminal. The CCO module and the STA module can autonomously acquire target data according to the configuration information, and combined with the auxiliary freezing function, the acquisition efficiency is higher and the acquired target data is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to technical fields such as communication data and data acquisition, and in particular to a data acquisition method and a data acquisition system based on a dual-mode communication network. Background Art

[0002] The data collection system in the low-voltage area includes multiple levels of equipment, such as data collection terminals, CCO (Central Coordinator) modules, STA (Stattion) modules, and electric energy meters. However, the internal clocks of the multiple levels of equipment are not completely synchronized, resulting in low accuracy of the collected data. This makes the calculation results of line loss segmentation calculation, loop impedance calculation and early warning, and big data calculation of line change user topology relationship all deviate due to the inability to synchronize the internal clocks of the equipment at each level.

[0003] In the related art, when performing data collection, the collection terminal configures task information and sends the collection task to the CCO module. The CCO module forwards the collection task to the STA module. The STA module collects data from devices such as electric energy meters. During this process, the CCO module and the STA module only serve as information forwarding and cannot collect data autonomously, which results in a longer data collection time and low collection efficiency. Summary of the invention

[0004] The embodiments of the present application aim to solve at least one of the technical problems in the related art to a certain extent. To this end, the embodiment of the present application aims to propose a data collection method, a data collection system, an electronic device, a storage medium and a program product based on a dual-mode communication network.

[0005] The embodiment of the present application provides a data acquisition method based on a dual-mode communication network, wherein the dual-mode communication network includes an acquisition terminal, a CCO module and a STA module, wherein the CCO module and the STA module communicate with each other through a high-speed power line carrier HPLC channel and a wireless micropower HRF channel, and the data acquisition method is applied to the STA module, and the data acquisition method includes: generating an acquisition task based on received task configuration information, wherein the task configuration information is sent by the acquisition terminal to the CCO module, and then sent by the CCO module to the STA module; determining the type of data to be collected based on the acquisition task; when the data type is a frozen data type, determining whether to start the auxiliary freezing function of the STA module to collect data of an energy recording device to collect target data; and upon receiving a data request message from the CCO module, sending the target data to the CCO module so that the CCO module sends the target data to the acquisition terminal.

[0006] Exemplarily, when the data type is a frozen data type, determining whether to start the auxiliary freezing function of the STA module for data collection includes: when the frozen data type is a daily frozen data type, determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device; when the frozen data type is a load recording data type, determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module, the clock information of the energy recording device and the device type of the energy recording device, wherein the data collection interval of the load recording data type is smaller than the data collection interval of the daily frozen data type.

[0007] Exemplarily, the determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module, the clock information of the energy recording device and the device type of the energy recording device includes: if the device type of the energy recording device is the first type, determining to start the auxiliary freezing function of the STA module for data collection; if the device type of the energy recording device is the second type, determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device, wherein the device type of the energy recording device is analyzed and determined by the STA module by reading the device information of the energy recording device, the first type of energy recording device does not have a load recording function, and the second type of energy recording device has a load recording function.

[0008] Exemplarily, the determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device includes: if the difference between the clock of the energy recording device and the clock of the STA module meets the first difference condition, starting the auxiliary freezing function of the STA module; the STA module collects the real-time data of the energy recording device based on the auxiliary freezing function; the STA module converts the real-time data into frozen data, and uses the frozen data as the target data.

[0009] Exemplarily, the data collection method also includes: if the difference between the clock of the energy recording device and the clock of the STA module satisfies a second difference condition, generating clock calibration information based on the clock information of the STA module and a clock calibration limit value; broadcasting the clock calibration information so that after the energy recording device receives the clock calibration information, it updates the clock calibration information to the current clock information of the energy recording device.

[0010] Exemplarily, the data acquisition method also includes: the STA module receives an update instruction, and updates the acquisition task based on the update instruction, wherein the update instruction is sent by the CCO module to the STA module, and before performing data acquisition, if the acquisition terminal checks that the acquisition task in the CCO module and the acquisition task between the upstream master station of the acquisition terminal do not match, an update instruction is generated and sent to the CCO module, so that the CCO module sends the update instruction to the STA module.

[0011] Another embodiment of the present application provides a data acquisition method based on a dual-mode communication network, the dual-mode communication network includes an acquisition terminal, a CCO module and a STA module, the STA module is used to implement the above method, the CCO module and the STA module communicate through a high-speed power line carrier HPLC mode and a wireless micropower HRF mode, the data acquisition method is applied to the dual-mode communication network, and the data acquisition method includes: the acquisition terminal sends task configuration information to the CCO module; the CCO module generates an acquisition task based on the task configuration information, and sends the task configuration information to the STA module; the STA module generates an acquisition task based on the received task configuration information; the STA module determines the data type to be collected based on the acquisition task, and when the data type is a frozen data type, determines whether to start the auxiliary freezing function of the STA module to collect the data of the energy recording device to collect the target data; when the STA module receives the data request message from the CCO module, it sends the target data to the CCO module; the CCO module sends the target data to the acquisition terminal.

[0012] Exemplarily, the data acquisition method further includes: before performing data acquisition, synchronizing the clocks of the acquisition terminal, the CCO module, and the STA module.

[0013] Exemplarily, synchronizing the clocks of the acquisition terminal and the CCO module includes: the CCO module initiating a clock synchronization request to the acquisition terminal; the acquisition terminal responds to the clock synchronization request by sending a clock synchronization instruction to the CCO module through a serial port, wherein the clock synchronization instruction includes the clock information of the acquisition terminal; the CCO module responds to the clock synchronization instruction by correcting the clock information of the CCO module based on the clock information of the acquisition terminal and the serial port communication delay.

[0014] Exemplarily, synchronizing the clocks of the CCO module and the STA module includes: the CCO module periodically sending beacon frames based on a network reference time in a dual-mode communication network, wherein the beacon frames include clock information of the CCO module; and the STA module correcting the clock information of the STA module based on the clock information of the CCO module and the time consumed to receive the beacon frame.

[0015] Another embodiment of the application provides a data acquisition system, which includes an acquisition terminal, a CCO module and a STA module. The CCO module and the STA module communicate with each other via a high-speed power line carrier HPLC mode and a wireless micropower HRF mode. The data acquisition system is used to execute the data acquisition method described above.

[0016] Another embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method of any of the above embodiments when executing the computer program.

[0017] Another embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the method of any of the above embodiments are implemented.

[0018] Another embodiment of the present application provides a computer program product, which includes instructions. When the instructions are executed by a processor of a computer device, the computer device is enabled to perform the steps of the method of any of the above embodiments.

[0019] In the above implementation, the dual-mode communication network includes a collection terminal, a CCO module and a STA module. The CCO module and the STA module communicate with each other through a high-speed power line carrier HPLC channel and a wireless micro-power HRF channel. The data collection method includes: generating a collection task based on the received task configuration information; determining the data type to be collected based on the collection task; when the data type is a frozen data type, determining whether to start the auxiliary freezing function of the STA module for data collection to collect target data; when receiving a data request message from the CCO module, sending the target data to the CCO module so that the CCO module sends the target data to the collection terminal. The CCO module and the STA module can autonomously collect target data according to the configuration information. Combined with the auxiliary freezing function, the collection efficiency is higher and the collected target data is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 A flow chart of a data collection method based on a dual-mode communication network provided in an embodiment of the present application;

[0021] Figure 2A flow chart of data collection when the frozen data type provided in the implementation manner of the present application is a daily frozen data type;

[0022] Figure 3 A flowchart of calibrating the clock of an energy recording device by a STA module provided in an embodiment of the present application;

[0023] Figure 4 A flow chart of a data collection method based on a dual-mode communication network provided in another embodiment of the present application;

[0024] Figure 5 A flowchart for synchronizing the clocks of the acquisition terminal and the CCO module provided in an embodiment of the present application;

[0025] Figure 6 A flowchart of synchronizing the clocks of the CCO module and the STA module provided in an embodiment of the present application;

[0026] Figure 7 A timing diagram of STA clock maintenance provided in an embodiment of the present application;

[0027] Figure 8 A flow chart of a low-voltage area management method for a dual-mode network clock provided in an embodiment of the present application;

[0028] Fig. 9 A flow chart of a data collection method provided for an embodiment of the present application;

[0029] Fig.10 A timing diagram of a task acquisition solution for a dual-mode network clock provided in an embodiment of the present application;

[0030] Fig.11 A block diagram of an electronic device provided for an embodiment of the present application. DETAILED DESCRIPTION

[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0032] The data collection system in the low-voltage area includes multiple levels of equipment, such as data collection terminals, CCO (Central Coordinator) modules, STA (Stattion) modules, and electric energy meters. However, the internal clocks of the multiple levels of equipment are not completely synchronized, resulting in low accuracy of the collected data. This makes the calculation results of line loss segmentation calculation, loop impedance calculation and early warning, and big data calculation of line change user topology relationship all deviate due to the inability to synchronize the internal clocks of the equipment at each level.

[0033] Based on this, the present application proposes a low-voltage substation management method and system based on HPLC (High Speed ​​Line Communication) + HRF (Highspeed Radio Frequency, wireless micro-power communication) dual-mode network, which aims to achieve precise synchronization and management of the clocks of all communication equipment in the low-voltage substation on the basis of HPLC+HRF dual-mode communication technology, and accurately synchronize the acquisition terminal clock to the acquisition equipment at all levels in the substation. The synchronization error can reach the microsecond level, which meets the needs of data acquisition synchronization clock for functions such as substation line-user relationship topology big data calculation, line loss segmentation and refined calculation, and effective judgment of loop impedance, and assists in processing the phenomenon that time calibration cannot be caused by equipment problems themselves.

[0034] The dual-mode communication network includes the acquisition terminal, CCO (Central Coordinator) module and STA (Stattion) module. The acquisition terminal is upstream of the CCO module, and the CCO module is upstream of the STA module. The CCO module and the STA module communicate through the high-speed power line carrier HPLC channel and the wireless micro-power HRF channel to achieve dual-mode communication. When the high-speed power line carrier HPLC channel fails to communicate, the wireless micro-power HRF channel can also be used to communicate to ensure the success rate of communication.

[0035] In some examples, the acquisition terminal and the CCO module, as well as the STA module and the energy recording device, communicate through wired channels, and the wired channel communication includes serial port, Ethernet and other channel communications, which are different from high-speed power line carrier HPLC channel communications.

[0036] In some examples, when performing data collection, the collection terminal configures task information and sends the collection task to the CCO module. The CCO module forwards the collection task to the STA module. The STA module collects data from devices such as electricity meters. During this process, the CCO module and the STA module only serve as information forwarding and cannot collect data autonomously, which results in a longer data collection time and low collection efficiency.

[0037] Based on this, the present application performs task configuration on the CCO module and the STA module before data collection, so that the CCO module and the STA module can autonomously collect data according to the task configuration, thereby improving the efficiency of data collection.

[0038] Figure 1 It is a flow chart of a data collection method based on a dual-mode communication network according to an embodiment of the present application.

[0039] like Figure 1 As shown, the data collection method based on the dual-mode communication network includes S101-S104.

[0040] S101, generating a collection task based on received task configuration information, wherein the task configuration information is sent by the collection terminal to the CCO module, and then sent by the CCO module to the STA module.

[0041] S102: Determine the type of data to be collected based on the collection task.

[0042] S103: When the data type is a frozen data type, determine whether to start the auxiliary freezing function of the STA module to collect data from the energy recording device to obtain target data.

[0043] S104, when receiving the data request message from the CCO module, sending the target data to the CCO module, so that the CCO module sends the target data to the acquisition terminal.

[0044] Exemplarily, the above-mentioned data collection method based on the dual-mode communication network is applied to the STA module. The STA module can be understood as a site module. The energy recording device includes an electric meter. The STA module can be installed as hardware on the electric meter and other equipment, and a STA hardware is installed on each electric meter. The STA module is used to collect data from the electric meter. The upstream of the STA module is the CCO module, and the upstream of the CCO module is the collection terminal. When performing data collection, the task configuration information is sent by the collection terminal to the CCO module, and then sent by the CCO module to the STA module. The STA module generates a collection task based on the received task configuration information. For example, the task configuration information includes information such as the task number, data item, collection cycle, and corresponding table number.

[0045] Exemplarily, the STA module determines the data type to be collected based on the collection task, and the data type includes a real-time data type and a frozen data type. In the case where the data type is a frozen data type, it is determined whether to start the auxiliary freezing function of the STA module to collect the data of the energy recording device to collect the target data. For example, if the data type is frozen data, the meter will collect data once at the specified freezing time, and then the meter has its own time base, and the meter time and the STA module time are not necessarily synchronized. If the time base difference between the STA module and the meter is too large, the auxiliary freezing function of the STA module is started to collect the data of the meter to collect the target data. For example, if the collection task indicates that the meter data at zero o'clock every day needs to be collected, the meter will usually store the current data as frozen data at the zero point of its own time base to facilitate the subsequent STA module to read, but if the meter's own time is inaccurate, it will cause the data stored at zero o'clock to be not the data at the real zero point, and the clock information of the STA module is usually considered accurate. The STA module starts the auxiliary freezing function to collect data, indicating that the STA module actively reads the current data of the STA module at the zero point of its own time base. The STA module saves the target data in the storage space of the STA module. When the STA module receives the data request message from the CCO module, it sends the target data to the CCO module, and the CCO module then sends the target data to the acquisition terminal. The data request message carries necessary information such as the task number, timestamp, MAC address (or meter address). After receiving the data request message, the STA module extracts the corresponding target data from its own storage space and reports it to the CCO module through the target data response message. After receiving the uplink message, the CCO module forms a freeze active reporting message and sends it to the acquisition terminal. When the STA module receives the acquisition task data request message, the STA module indexes the data freeze start address according to the task number, searches for the message of the corresponding time according to the acquisition timestamp, and reports it through the acquisition task data response message.

[0046] In the data collection method of the present application, the STA module can autonomously generate collection tasks according to the configuration information and collect target data based on the collection tasks. When receiving the data request message from the CCO module, the target data is directly sent to the CCO module to improve the collection efficiency. When the data type is a frozen data type, the STA module activates the auxiliary freezing function to collect the data of the energy recording device as appropriate, and the collected data is more accurate.

[0047] As an example, the CCO module and the STA module can autonomously implement the acquisition task, provided that the task is configured for the CCO module and the STA module. The acquisition terminal sends the acquisition task configuration information to the CCO module, informing the CCO module of the task number, data item, acquisition cycle, corresponding table number and other information. CCO sends the acquisition task configuration information to different STA modules, and both the CCO module and the STA module can generate acquisition tasks based on the acquisition task configuration information. The corresponding data items and acquisition cycles can be configured according to different application scenarios, and the use scenarios of the control equipment are more flexible, which is not only applicable to high-frequency acquisition tasks (for example, acquisition once every 15 minutes), but also to minute-level acquisition tasks (for example, acquisition once every minute).

[0048] Exemplarily, the CCO module receives the collection task configuration information (sent to the CCO module by the collection terminal), including the key information such as the task number, protocol type, collection cycle, and collection data items in the collection task configuration message, and also includes the key information such as the task number and the sequence of associated electric meters. The CCO module sends the collection task configuration information to the STA module, configures the STA module according to the collection task configuration information, and confirms whether the STA module is configured successfully. When the STA module is configured successfully, the STA module returns the configuration confirmation to the CCO module. The CCO module also generates collection tasks based on the collection task configuration information. The CCO module starts data collection regularly according to the locally stored collection tasks. The STA module also collects data according to the collection tasks generated by itself. Then, the CCO module extracts the target data of the related tasks collected from the STA module side based on its own collection tasks, and reports them to the collection terminal.

[0049] As an example, the CCO module can delay a few seconds based on the time specified in the task to automatically start the concurrent meter reading process and collect data. The time base between the CCO module and the STA module is usually close. For example, if the task stipulates that data collection is to be carried out at 0:00 in the morning, then when it reaches 0:00, the STA module autonomously collects the data of the meter and stores it in its own storage space. If the CCO module also sends a downlink freeze data request message to the STA module at 0:00, the STA module may not have completed the collection at this time, so the present application sets the CCO module to delay a few seconds based on the time specified in the task to automatically start the concurrent meter reading process to determine that the storage space of the STA module includes the required target data. The downlink freeze data request message carries necessary information such as the task number, timestamp, MAC address (address of the meter). After receiving the downlink message, the STA module extracts the corresponding data from its own storage space and reports it to the CCO module through the freeze data response message. After receiving the uplink message, the CCO module forms a freeze active reporting message and sends it to the collection terminal.

[0050] As an example, both the CCO module and the STA module support remote configuration of collection plans, including real-time data and frozen data. The collection cycle and data items can be configured. It can determine whether to convert real-time data into frozen data based on the collection task, and reply to the collection terminal's reading in the correct format.

[0051] As an example, when the data type is a frozen data type, determining whether to start the auxiliary freezing function of the STA module for data collection includes: when the frozen data type is a daily frozen data type, determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device; when the frozen data type is a load recording data type, determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module, the clock information of the energy recording device and the device type of the energy recording device, wherein the data collection interval of the load recording data type is smaller than the data collection interval of the daily frozen data type.

[0052] Exemplarily, the daily frozen data type indicates that the collection frequency is once a day, for example, the collection is performed at 0:00 a.m. every day. The clock information of the STA module indicates the clock reference of the STA module, and the energy recording device is the object of the STA module to collect data, such as the electric meter, the branch box monitoring terminal, the meter box monitoring terminal and other devices. The clock information of the energy recording device is, for example, the time reference of the electric meter. When the frozen data type is the daily frozen data type, it is determined whether to start the auxiliary freezing function of the STA module for data collection according to the clock information of the STA module and the clock information of the energy recording device. The load recording data type can be understood as the minute frozen data type, for example, data is collected every fifteen minutes. The device type of the energy recording device includes the type of the electric meter, for example, including other types such as 09 standard electric energy meters and 13 standard electric energy meters. When the frozen data type is the load recording data type, it is determined whether to start the auxiliary freezing function of the STA module for data collection according to the clock information of the STA module, the clock information of the energy recording device and the device type of the energy recording device.

[0053] The following describes in detail the case where the frozen data type is the daily frozen data type.

[0054] As an example, Figure 2 As shown, whether to start the auxiliary freezing function of the STA module to collect data is determined based on the clock information of the STA module and the clock information of the energy recording device, including S201-S203.

[0055] S201: If the difference between the clock of the energy recording device and the clock of the STA module meets a first difference condition, start the auxiliary freezing function of the STA module.

[0056] S202, the STA module collects real-time data of the energy recording device based on the auxiliary freezing function.

[0057] S203, the STA module converts the real-time data into frozen data, and uses the frozen data as target data.

[0058] Exemplarily, the STA module judges the difference between the clock of the energy recording device and the clock of the STA module. The first difference condition can be set as the difference between the clock of the energy recording device and the clock of the STA module is greater than or equal to five minutes or the difference cannot be judged. For example, the STA module judges the difference based on its own clock and the clock of the energy recording device. The STA module reads the clock of the energy recording device and judges that if the difference is greater than or equal to five minutes, the auxiliary freezing function of the STA module is started, or when the difference cannot be judged, the auxiliary freezing function of the STA module is also started. If the difference between the clock of the energy recording device and the clock of the STA module does not meet the first difference condition, for example, the difference between the clock of the energy recording device and the clock of the STA module is less than five minutes, the auxiliary freezing function of the STA module is not started.

[0059] Exemplarily, the auxiliary freezing function of the STA module is started. Based on the auxiliary freezing function, the STA module collects the real-time data of the energy recording device, converts the real-time data into frozen data, and uses the frozen data as the target data. It can be understood that if the difference between the clock of the energy recording device and the clock of the STA module is less than five minutes, the auxiliary freezing function of the STA module will not be started. The energy recording device will freeze the data once at 0 o'clock every day and wait for the subsequent STA module to read it, and use the data as the target data. If the difference between the clock of the energy recording device and the clock of the STA module is greater than or equal to five minutes, the auxiliary freezing function of the STA module is started. When the STA module reaches its own time at 0 o'clock, it collects the real-time data of the energy recording device, converts the real-time data into frozen data, and uses it as the target data.

[0060] As an example, the STA module compares the acquisition terminal clock synchronized by the CCO module with the energy recording device clock and sets the default threshold to 5 minutes. If the difference is greater than or equal to 5 minutes or cannot be determined, the STA module performs periodic acquisition and storage conversion according to the task configuration. If the difference is less than 5 minutes, the acquisition command is sent to the energy recording device to read the base meter data and transmit it back.

[0061] The following describes in detail the case where the frozen data type is the load record data type.

[0062] As an example, determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module, the clock information of the energy recording device, and the device type of the energy recording device includes:

[0063] If the device type of the energy recording device is the first type, determining to start the auxiliary freezing function of the STA module to collect data;

[0064] If the device type of the energy recording device is the second type, it is determined whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device.

[0065] The device type of the energy recording device is analyzed and determined by the STA module by reading the device information of the energy recording device. The first type of energy recording device does not have a load recording function, and the second type of energy recording device has a load recording function.

[0066] Exemplarily, the STA module can read the device information of the energy recording device, and the device information of the energy recording device includes, for example, the device type of the energy recording device. The STA module determines the device type of the energy recording device according to the device information of the energy recording device, and determines whether the device type of the energy recording device is the first type. The energy recording device of the first type does not have the load recording function. For example, the load recording data requires data to be collected every fifteen minutes, and the 09 specification electric energy meter does not support the command to collect data every 15 minutes, that is, the 09 specification electric energy meter does not have the load recording function. At this time, it is determined to start the auxiliary freezing function of the STA module for data collection, because at this time the electric meter cannot collect data autonomously and can only rely on the auxiliary freezing function of the STA module for data collection. If the device type of the energy recording device is the second type, the energy recording device of the second type has the load recording function. For example, the load recording data requires data to be collected every fifteen minutes, and the 13 specification and above specification electric energy meters support the command to collect data every 15 minutes, that is, the 13 specification and above specification electric energy meters have the load recording function, then it is determined whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device. If the device type of the energy recording device is the second type, data collection is performed by referring to the method of the STA module in the above-mentioned daily frozen data type to determine the difference between the clock of the energy recording device and the clock of the STA module, which will not be repeated here.

[0067] As an example, the STA module determines whether to start the auxiliary freeze load record according to the device type of the energy recording device. For example, if the 09 specification electric energy meter does not support the load recording function, the auxiliary freeze function of the STA module is started for load recording without judging the time difference. If the 13 specification electric energy meter itself supports load recording, the auxiliary freeze function is started according to the clock difference. After the STA module starts the auxiliary freeze function, according to the solution configuration, the corresponding real-time data collected at regular intervals is converted into frozen data and waits for the collection terminal to collect. If there is no frozen data in the STA module when the collection terminal collects, no reply is given and the next round of reading is waited.

[0068] The data collection method of the present application enables energy recording devices that originally do not have a load recording function to also implement a load recording function.

[0069] As an example, Figure 3 As shown, the data collection method also includes S301-S302.

[0070] S301: If the difference between the clock of the energy recording device and the clock of the STA module meets a second difference condition, generate clock calibration information based on the clock information of the STA module and a clock calibration limit value.

[0071] S302, broadcasting the clock calibration information so that after receiving the clock calibration information, the energy recording device updates the clock calibration information to the current clock information of the energy recording device.

[0072] Exemplarily, the data acquisition method of the present application also includes the STA module calibrating the clock of the energy recording device. The STA module makes a judgment based on the difference between the clock of the energy recording device and the clock of the STA module, and the second difference condition can also be set to be greater than five minutes or the difference cannot be judged. For example, if the difference between the clock of the energy recording device and the clock of the STA module is greater than five minutes, automatic calibration is performed, and the time of automatic calibration can be set to be performed once a day. If the difference between the clock of the energy recording device and the clock of the STA module is less than or equal to five minutes, there is no need for automatic time calibration.

[0073] For example, when calibrating the time of the energy recording device, the clock calibration limit value may be five minutes, which means that a calibration can be performed for a maximum of 5 minutes, and calibration is only allowed once a day. For example, if the time difference between the energy recording device and the STA module is 59 minutes, then after one calibration, the time difference between the energy recording device and the STA module is 54 minutes. The STA module generates clock calibration information based on its own clock and clock calibration limit value, and broadcasts the clock calibration information. After receiving the clock calibration information, the energy recording device updates the clock calibration information to the current clock information of the energy recording device.

[0074] As an example, the STA module itself can directly calibrate the time of the electric energy meter by sending a broadcast time calibration command, which is usually not more than 5 minutes, and calibration is only allowed once a day. According to the relevant provisions of the electric energy meter, the 09 standard electric energy meter can only be modified after manually pressing the programming key if the time is greater than 5 minutes at a time, and the 13 standard electric energy meter needs to be authenticated by a security key before the time can be modified. It can be seen that for electric meters located remotely or subject to other conditions, manual adjustment or security key authentication is difficult to achieve timely calibration and the cost is high. Therefore, the broadcast calibration method of the STA module of this application can achieve timeliness of calibration and reduce costs. Combined with the relevant provisions of the electric energy meter, the STA module itself is used to judge the clock deviation. If the deviation is greater than 5 minutes, a group message is sent according to the electric energy meter time, and the electric energy meter time is modified by 4 minutes and 58 seconds towards the standard time every day. For example, if the current time of the STA module is 17:00, the broadcast time calibration command contains the time 17:4:58, and the time of the base meter is modified by 4 minutes and 58 seconds. This cycle is repeated every day until it is calibrated to within 5 minutes.

[0075] It should be noted that the acquisition terminal can also send a broadcast time calibration command, and the STA module calibrates the time of the energy recording device to within 5 minutes, making it easier for the acquisition terminal to complete the calibration.

[0076] As an example, the data acquisition method also includes: the STA module receives an update instruction, and updates the acquisition task based on the update instruction, wherein the update instruction is sent by the CCO module to the STA module. Before performing data acquisition, if the acquisition terminal checks that the acquisition task in the CCO module does not match the acquisition task between the upstream master station of the acquisition terminal, an update instruction is generated and sent to the CCO module, so that the CCO module sends the update instruction to the STA module.

[0077] For example, before data collection, the collection terminal should first check whether the existing collection tasks in the CCO module are consistent with the collection tasks configured by the upstream master station of the collection terminal. If they are inconsistent, the collection tasks are updated. The collection terminal generates an update instruction and sends it to the CCO module, which sends the update instruction to the STA module.

[0078] Exemplarily, after receiving the acquisition task setting message, the STA module records the task number, acquisition data items, and acquisition cycle of the acquisition task, and opens up corresponding storage space in Flash. The present application can also update the acquisition task, and the CCO module sends an update instruction to the STA module to update the task. For example, the CCO module sends an acquisition task deletion message, and the STA module receives the acquisition task deletion message. The STA module searches for relevant configurations and acquisition data according to the task number, deletes the task or deletes the corresponding meter number and releases space, and then reconfigures the task for the STA module to complete the update of the acquisition task. Receive the acquisition data report, and when the CCO module collects the data according to the acquisition task, it reports it to the acquisition terminal, and the acquisition terminal reports the data to the main station according to the reporting rules.

[0079] This application also proposes another data collection method based on a dual-mode communication network.

[0080] Figure 4 It is a flow chart of a data collection method based on a dual-mode communication network according to another embodiment of the present application.

[0081] like Figure 4 As shown, the data collection method based on the dual-mode communication network includes S401-S406.

[0082] S401, the acquisition terminal sends task configuration information to the CCO module.

[0083] S402: The CCO module generates a collection task based on the task configuration information, and sends the task configuration information to the STA module.

[0084] S403: The STA module generates a collection task based on the received task configuration information.

[0085] S404, the STA module determines the data type to be collected based on the collection task, and when the data type is a frozen data type, determines whether to start the auxiliary freezing function of the STA module to collect the data of the energy recording device to obtain the target data.

[0086] S405 , when the STA module receives the data request message from the CCO module, the STA module sends the target data to the CCO module.

[0087] S406, the CCO module sends the target data to the collection terminal.

[0088] Exemplarily, the upstream of the STA module is the CCO module, and the upstream of the CCO module is the acquisition terminal. When performing data acquisition, the acquisition terminal sends task configuration information to the CCO module, and the CCO module generates an acquisition task based on the task configuration information. The CCO module then sends the task configuration information to the STA module, and the STA module generates an acquisition task based on the received task configuration information. The task configuration information includes information such as the task number, data item, acquisition cycle, and corresponding table number. The STA module determines the data type to be collected based on the acquisition task, and the data type includes a real-time data type and a frozen data type. In the case where the data type is a frozen data type, it is determined whether to start the auxiliary freezing function of the STA module for data acquisition to collect the target data. For example, if the data type is frozen data, the electric meter will collect data once at the specified freezing time, and then the electric meter has its own time base, and the time of the electric meter and the time of the STA module are not necessarily synchronized. If the time base difference between the STA module and the electric meter is too large, the auxiliary freezing function of the STA module is started for data acquisition to collect the target data. The STA module saves the target data in the storage space of the STA module. When the STA module receives the data request message from the CCO module, it sends the target data to the CCO module, and the CCO module then sends the target data to the acquisition terminal. The data request message carries necessary information such as the task number, timestamp, MAC address (or meter address). After receiving the data request message, the STA module extracts the corresponding target data from its own storage space and reports it to the CCO module through the target data response message. After receiving the uplink message, the CCO module forms a freeze active reporting message and sends it to the acquisition terminal. The STA module receives the acquisition task data request message. The STA module indexes the data freeze start address according to the task number, searches for the message of the corresponding time according to the acquisition timestamp, and reports it through the acquisition task data response message.

[0089] As an example, the data collection method further includes: before data collection, synchronizing the clocks of the collection terminal, the CCO module and the STA module.

[0090] Exemplarily, the acquisition terminal, CCO module and STA module in the dual-mode communication network need to be synchronized to a common clock to ensure the accuracy of data acquisition. The local dual-mode communication module CCO maintains a 32-bit timer called the Network Time Base (NTB). The NTB is sent by the CCO module in the "beacon timestamp" in the central beacon. Each site STA in the HPLC+HRF dual-mode communication network needs to be synchronized to this NTB. The beacon timestamp is the network reference time marked by the device sending the beacon when sending the beacon. The network reference time is maintained by the CCO module. All sites on the website need to be synchronized with the network reference time of the CCO. In the central beacon, the beacon timestamp is the network reference time. In the proxy beacon, the beacon timestamp is the network reference time evaluated by the proxy node (PCO). In the discovery beacon, the beacon timestamp is the network reference time evaluated by the STA. Therefore, before data acquisition, the clocks of the acquisition terminal, CCO module and STA module are synchronized.

[0091] As an example, Figure 5 As shown, the clocks of the acquisition terminal and the CCO module are synchronized, including S501-S503.

[0092] S501, the CCO module initiates a clock synchronization request to the acquisition terminal.

[0093] S502: The acquisition terminal sends a clock synchronization instruction to the CCO module through the serial port in response to the clock synchronization request, wherein the clock synchronization instruction includes the clock information of the acquisition terminal.

[0094] S503: The CCO module responds to the clock synchronization instruction and corrects the clock information of the CCO module based on the clock information of the acquisition terminal and the serial port communication delay.

[0095] Exemplarily, the CCO module initiates a clock synchronization request to the acquisition terminal, and the acquisition terminal performs clock synchronization with the CCO module according to the clock synchronization request initiated by the CCO module. The CCO module responds to the clock synchronization instruction and corrects the clock information of the CCO module based on the clock information of the acquisition terminal and the serial communication delay.

[0096] For example, the accuracy of the clock synchronization command is at the second level. The acquisition terminal and CCO need to wait for a whole second to issue and complete the clock synchronization, complete the delay correction, and achieve accurate clock synchronization. The acquisition terminal waits for a whole second to send the clock synchronization command to the CCO module through the serial port, outputs the hardware second pulse signal to the CCO module, calculates the serial communication delay according to the serial port baud rate, performs clock delay correction, and completes the clock synchronization after waiting for a whole second.

[0097] Exemplarily, in the step of calculating the serial communication delay according to the serial port baud rate, performing clock delay correction, and realizing microsecond-level clock synchronization, the serial communication delay calculation formula is:

[0098]

[0099] in, It is the serial communication delay time, in microseconds. is the communication baud rate (bps), that is, the communication rate, It is the message byte length, i.e. the number of bytes.

[0100] As an example, the CCO module initiates a clock synchronization request to the acquisition terminal, and the acquisition terminal sends a clock synchronization instruction to the CCO module. The length of the instruction message is 21 bytes, for example, 68 15 00 03 00 00 28 00 00 12 1402 00 00 00 10 20 06 23 AC 16, and the communication baud rate is 115200bps. According to the above calculation formula, the calculation method is: (1 / 115200)*11*21=0.002005 seconds=2005 microseconds. Therefore, according to the communication delay calculation, the CCO module uses the whole second level plus the delay time T to correct the clock delay. Exemplarily, when the millisecond unit of the acquisition terminal is 0, the hardware second signal is output, and the CCO module corrects the delay compensation according to the serial port baud rate.

[0101] As an example, Figure 6 As shown, the clocks of the CCO module and the STA module are synchronized, including S601-S602.

[0102] S601: The CCO module periodically sends a beacon frame based on a network reference time in the dual-mode communication network, wherein the beacon frame includes clock information of the CCO module.

[0103] S602: The STA module corrects the clock information of the STA module based on the clock information of the CCO module and the time consumed to receive the beacon frame.

[0104] Exemplarily, when the CCO module and the STA module perform precise clock synchronization, the CCO module periodically sends beacon frames based on the network reference time NTB in the HPLC+HRF dual-mode communication network. The beacon is extended to add a perpetual calendar (year, month, day) routing entry, and add a "timestamp (the current time of the CCO module)". The CCO module periodically sends extended beacon frames to enable each STA module to achieve microsecond-level time synchronization with the CCO module.

[0105] Exemplarily, the network reference time NTB in the HPLC+HRF dual-mode communication network is similar to the counter of the internal clock of the dual-mode communication system. When data is sent between the CCO node and the STA node, or between different STA nodes in the dual-mode communication network, the time taken to send data can be obtained based on NTB. For example, when one node sends data to another node, the time taken to send data can be known based on NTB, for example, it takes 10 microseconds. The CCO module periodically sends an extended beacon frame to synchronize each STA module with the CCO module at the microsecond level.

[0106] Exemplarily, the CCO module binds the current perpetual calendar (such as year, month, and day) with the clock information (such as hours, minutes, and seconds) maintained by the CCO module itself, and sends the timing instructions to each STA module through HPLC+HRF dual-mode communication. The timing instructions include the current perpetual calendar + the hours, minutes, and seconds currently maintained by the CCO, for example, 12:00:00 on a certain day of a certain month of a certain year. The STA module automatically compensates and updates the microsecond unit of the perpetual calendar based on the network reference time NTB. For example, it takes 10 microseconds to send data. For example, the STA module compensates 10 microseconds based on 12:00:00 on a certain day of a certain month of a certain year, and the current time of the STA is 12:00:00 on a certain day of a certain month of a certain year + 10 microseconds.

[0107] Furthermore, the STA module implements clock synchronization based on NTB. When the STA receives the first byte of the beacon frame, it records the reference time, calculates the time difference after the message is completely received, and completes the microsecond level compensation of the perpetual calendar.

[0108] It should be noted that the CCO module supports remote configuration of the clock synchronization cycle. To avoid incompatibility issues with ordinary dual-mode communication units on site, an appropriate clock synchronization cycle can be configured according to actual conditions to ensure that all communication units on site can be successfully networked.

[0109] Figure 7 It is a schematic diagram of the STA clock maintenance process of a low-voltage area management method based on HPLC+HRF dual-mode network clock according to an embodiment of the present application.

[0110] like Figure 7 As shown, the CCO module sends a clock synchronization request to the acquisition terminal. The clock synchronization request can be in 14F1 format. The CCO module requests the acquisition terminal clock. The acquisition terminal responds to the clock synchronization request and returns the clock information of the acquisition terminal through the serial port. The CCO module performs its own clock maintenance based on the acquisition terminal clock and serial port communication delay. The CCO module also periodically sends beacon frames to the STA module to synchronize the STA module clock.

[0111] Figure 8Schematic diagram of a low voltage area management method based on HPLC+HRF dual-mode network clock according to an embodiment of the present application. Figure 8 As shown, in step S10, the acquisition terminal performs precise clock synchronization with the CCO module according to the precise clock synchronization request initiated by the CCO module: the acquisition terminal sends a clock synchronization instruction to the CCO module through the serial port when waiting for a whole second, calculates the serial communication delay according to the serial port baud rate by outputting the hardware second pulse signal to the CCO module, performs clock delay correction, and completes clock synchronization when waiting for a whole second. Step S20, the CCO module performs precise clock synchronization with the STA module: based on the network reference time NTB in the HPLC+HRF dual-mode communication network, the beacon is extended to add a perpetual calendar routing entry, and a "timestamp" is added. The CCO module periodically sends an extended beacon frame, so that each STA module and the CCO module can achieve microsecond-level synchronization of time. Step S30, the acquisition terminal sends the acquisition task configuration to the CCO, notifying the task number, data item, acquisition cycle and corresponding table number. The CCO sends different acquisition task configurations to different STA modules according to the acquisition task configuration information: the CCO module sends the acquisition terminal configuration task command to the STA module, and the STA module performs data acquisition according to the scheme configuration. Step S40, the STA module makes a difference judgment based on its own clock and the base meter clock: the STA module reads the base meter clock and judges that if the error is greater than the threshold or the difference cannot be judged, the auxiliary freezing function is started, otherwise the freezing function is not started. Step S50, the STA module makes a judgment based on the base meter type: the STA module judges the base meter specification type when it is powered on. If the base meter is a 09 specification electric energy meter, the STA module starts the auxiliary freezing load recording function. If the base meter is a 13 specification or above electric energy meter, it is necessary to judge whether the clock deviation is exceeded and the auxiliary freezing load recording function is started according to step S40.

[0112] Fig. 9 It is a schematic diagram of data collection according to an embodiment of the present application.

[0113] like Fig. 9 As shown, before the data is collected, the clocks between the master station and the acquisition terminal, the CCO module and the STA module are synchronized, and then the master station configures the acquisition terminal, the CCO module and the STA module task plan. It is determined whether the STA module has a clock or task. If the STA module has an acquisition task, the STA module monitors the clock of the electric energy meter. When the error range between the electric energy meter clock and the STA module clock is less than five minutes, it is determined whether the electric energy meter is a 09 version electric energy meter. If so, the load record auxiliary freezing function of the STA module is started. If it is not a 09 version electric energy meter, the daily freezing auxiliary freezing function is started.

[0114] Fig.10 This is a timing diagram of a task collection scheme of a low-voltage area management method of a dual-mode network clock according to an embodiment of the present application. Fig.10 As shown, the acquisition terminal synchronizes the archive, sets the serial port baud rate, and the CCO module confirms. The STA module sends the request table address to the meter, and the meter responds to the table address. The STA module associates the network according to the table address and other information, and the CCO module returns the confirmation information. The CCO module initiates the clock precision synchronization request, and the acquisition terminal responds to the clock. The perpetual calendar is synchronized between the CCO module and the STA module. The master station curve configures the parameters and sends the configuration parameters to the acquisition terminal. The acquisition terminal, CCO module, and STA module configure the acquisition task step by step. The STA module reads the data items of the meter according to the task configuration. The STA module corresponds to the meter one by one. The meter responds to the data. When the STA module receives the acquisition task data request, it responds to the CCO module with the acquisition task data. The CCO module reports the acquisition task data to the acquisition terminal, and the acquisition terminal returns the report confirmation.

[0115] The data collection method based on the dual-mode communication network of the present application has the following advantages:

[0116] 1. The clock of the acquisition terminal can be accurately synchronized to the acquisition devices at all levels, such as the branch box monitoring unit, meter box monitoring unit and electric energy meter, to achieve microsecond-level synchronization of the clocks of all acquisition devices in the low-voltage area.

[0117] 2. The acquisition equipment at all levels acquires and freezes the power grid parameters according to its own clock, thereby acquiring accurate daily frozen data and curve data at each time point. The time deviation is much smaller than the time deviation of the original acquisition system.

[0118] 3. The daily frozen data collected by the present application method can greatly reduce the line loss in the calculated substation area.

[0119] 4. The curve data collected by the present application method will be more reliable for calculating the topological relationship of the line changer, segmented line loss, loop impedance and other result data.

[0120] 5. This application can effectively solve the data collection of various clock abnormality scenarios.

[0121] 6. The functions and parameters in this application support configuration and can be flexibly adapted to more application scenarios.

[0122] The application also proposes a data acquisition system.

[0123] In this embodiment, the data acquisition system includes an acquisition terminal, a CCO module and a STA module. The CCO module and the STA module communicate with each other through a high-speed power line carrier HPLC mode and a wireless micro-power HRF mode. The data acquisition system is used to execute the data acquisition method based on the above-mentioned dual-mode communication network.

[0124] The application also proposes a computer-readable storage medium.

[0125] In this embodiment, a computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned data collection method based on a dual-mode communication network are implemented.

[0126] Fig.11 A block diagram of an electronic device provided for an embodiment of the present application.

[0127] An embodiment of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned data collection method based on a dual-mode communication network when executing the computer program.

[0128] like Fig.11 As shown, for ease of understanding, the embodiment of the present application shows a specific electronic device.

[0129] Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0130] like Fig.11 As shown, the device includes a computing unit 1101, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1102 or a computer program loaded from a storage unit 1108 to a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the electronic device can also be stored. The computing unit 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0131] Multiple components in the electronic device are connected to the I / O interface 1105, including: an input unit 1106, such as a keyboard, a mouse, etc.; an output unit 1107, such as various types of displays, speakers, etc.; a storage unit 1108, such as a disk, an optical disk, etc.; and a communication unit 1109, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 1109 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0132] The computing unit 1101 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1101 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1101 executes the various methods described above, such as a data acquisition method based on a dual-mode communication network. For example, in some embodiments, the data acquisition method based on a dual-mode communication network may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1108. In some embodiments, part or all of the computer program may be loaded and / or installed on an electronic device via ROM 1102 and / or communication unit 1109. When the computer program is loaded into RAM 1103 and executed by the computing unit 1101, the data acquisition method based on the dual-mode communication network described above may be executed. Alternatively, in other embodiments, the computing unit 1101 may be configured to execute the data collection method based on the dual-mode communication network in any other appropriate manner (for example, by means of firmware).

[0133] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this application, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and editable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0134] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0135] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0136] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.

[0137] In addition, the terms "first", "second", etc. used in the embodiments of the present application are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present application can explicitly or implicitly indicate that at least one of the features is included in the embodiment. In the description of the present application, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.

[0138] In this application, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to the specific implementation situation.

[0139] In the present application, unless otherwise clearly specified and limited, a first feature being “above” or “below” a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being “above”, “above”, and “above” a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “below”, “below”, and “below” a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0140] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A data collection method based on a dual-mode communication network, characterized in that: The dual-mode communication network includes a data acquisition terminal, a CCO module and a STA module. The CCO module and the STA module communicate with each other through a high-speed power line carrier HPLC channel and a wireless micro-power HRF channel. The data acquisition method is applied to the STA module. The data acquisition method includes: Generate a collection task based on the received task configuration information, wherein the task configuration information is sent by the collection terminal to the CCO module, and sent by the CCO module to the STA module; Determining the type of data to be collected based on the collection task; In the case where the data type is a frozen data type, determining whether to start the auxiliary freezing function of the STA module to collect data from the energy recording device to obtain target data includes: in the case where the frozen data type is a load recording data type, based on the clock information of the STA module, the clock information of the energy recording device and the device type of the energy recording device, determining whether to start the auxiliary freezing function of the STA module for data collection; wherein, if the device type of the energy recording device is a first type, determining to start the auxiliary freezing function of the STA module for data collection; if the device type of the energy recording device is a second type, determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device; the first type of energy recording device does not have a load recording function, and the second type of energy recording device has a load recording function; When receiving the data request message from the CCO module, the target data is sent to the CCO module, so that the CCO module sends the target data to the acquisition terminal.

2. The data collection method based on the dual-mode communication network according to claim 1 is characterized in that: When the data type is a frozen data type, determining whether to start the auxiliary freezing function of the STA module to perform data acquisition includes: In the case where the freeze data type is a daily freeze data type, determining whether to start the auxiliary freeze function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device; The data collection interval of the load record data type is smaller than the data collection interval of the daily frozen data type.

3. The data collection method based on the dual-mode communication network according to claim 2 is characterized in that: The device type of the energy recording device is analyzed and determined by the STA module by reading the device information of the energy recording device.

4. The data collection method based on a dual-mode communication network according to claim 2 or 3, characterized in that: The determining whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device includes: If the difference between the clock of the energy recording device and the clock of the STA module satisfies a first difference condition, starting the auxiliary freezing function of the STA module; The STA module collects real-time data of the energy recording device based on the auxiliary freezing function; The STA module converts the real-time data into frozen data, and uses the frozen data as the target data.

5. The data collection method based on a dual-mode communication network according to any one of claims 1 to 3, characterized in that: The data collection method further comprises: If the difference between the clock of the energy recording device and the clock of the STA module satisfies a second difference condition, generating clock calibration information based on the clock information of the STA module and a clock calibration limit value; The clock calibration information is broadcasted, so that after the energy recording device receives the clock calibration information, the clock calibration information is updated to the current clock information of the energy recording device.

6. The data collection method based on a dual-mode communication network according to any one of claims 1 to 3, characterized in that: The data collection method further comprises: The STA module receives an update instruction and updates the acquisition task based on the update instruction. Among them, the update instruction is sent by the CCO module to the STA module. Before performing data collection, if the collection terminal checks that the collection task in the CCO module does not match the collection task between the upstream master station of the collection terminal, an update instruction is generated and sent to the CCO module, so that the CCO module sends the update instruction to the STA module.

7. A data collection method based on a dual-mode communication network, characterized in that: The dual-mode communication network includes a data acquisition terminal, a CCO module and a STA module, the STA module is used to implement the method described in any one of claims 1 to 6, the CCO module and the STA module communicate with each other through a high-speed power line carrier HPLC mode and a wireless micro-power HRF mode, the data acquisition method is applied to the dual-mode communication network, and the data acquisition method includes: The acquisition terminal sends the task configuration information to the CCO module; The CCO module generates a collection task based on the task configuration information, and sends the task configuration information to the STA module; The STA module generates an acquisition task based on the received task configuration information; The STA module determines the data type to be collected based on the collection task, and when the data type is a frozen data type, determines whether to start the auxiliary freezing function of the STA module to collect the data of the energy recording device to collect the target data, including: when the frozen data type is a load recording data type, based on the clock information of the STA module, the clock information of the energy recording device and the device type of the energy recording device, determines whether to start the auxiliary freezing function of the STA module for data collection; wherein, if the device type of the energy recording device is the first type, determines to start the auxiliary freezing function of the STA module for data collection; if the device type of the energy recording device is the second type, determines whether to start the auxiliary freezing function of the STA module for data collection based on the clock information of the STA module and the clock information of the energy recording device; the first type of energy recording device does not have a load recording function, and the second type of energy recording device has a load recording function; When the STA module receives the data request message from the CCO module, the STA module sends the target data to the CCO module; The CCO module sends the target data to the acquisition terminal.

8. The data collection method based on the dual-mode communication network according to claim 7, characterized in that: The data collection method further comprises: Before data collection, the clocks of the collection terminal, the CCO module and the STA module are synchronized.

9. The data collection method based on the dual-mode communication network according to claim 8, characterized in that: Synchronizing the clocks of the acquisition terminal and the CCO module, including: The CCO module initiates a clock synchronization request to the acquisition terminal; The acquisition terminal sends a clock synchronization instruction to the CCO module through a serial port in response to the clock synchronization request, wherein the clock synchronization instruction includes the clock information of the acquisition terminal; The CCO module responds to the clock synchronization instruction and corrects the clock information of the CCO module based on the clock information of the acquisition terminal and the serial port communication delay.

10. The data collection method based on the dual-mode communication network according to claim 8, characterized in that: Synchronizing the clocks of the CCO module and the STA module, including: The CCO module periodically sends a beacon frame based on a network reference time in the dual-mode communication network, wherein the beacon frame includes clock information of the CCO module; The STA module corrects the clock information of the STA module based on the clock information of the CCO module and the time consumed to receive the beacon frame.

11. A data acquisition system, characterized in that: The data acquisition system includes an acquisition terminal, a CCO module and a STA module. The CCO module and the STA module communicate with each other via a high-speed power line carrier HPLC mode and a wireless micro-power HRF mode. The data acquisition system is used to execute the data acquisition method according to any one of claims 7 to 10.

12. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.