Broadband carrier and micropower wireless dual-mode communication data acquisition method and device
By employing a dual-mode communication data acquisition method combining broadband carrier and low-power wireless, along with frozen data request messages and clock synchronization, real-time acquisition and transmission of minute-level power data was achieved. This solves the problem that existing technologies cannot meet real-time requirements and improves the efficiency and accuracy of data acquisition.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING SANSHENG CAREY TECH CO LTD
- Filing Date
- 2026-02-02
- Publication Date
- 2026-04-28
AI Technical Summary
In existing technologies, polling methods for collecting power data cannot meet the real-time requirements at the minute level. Especially after the number of smart meters in a distribution area increases, the data collection time becomes too long and cannot meet the real-time requirements.
A dual-mode communication data acquisition method using broadband carrier and low-power wireless is adopted. By using a dual-mode communication module between the data concentrator and the terminal acquisition device, combined with broadband carrier and low-power wireless communication, minute-level data acquisition is achieved. The data acquisition process is controlled by using frozen data request messages to ensure real-time performance and accuracy.
It achieves minute-level power data acquisition, meets real-time requirements, ensures the accuracy and real-time performance of data transmission, and solves the problems of request failure or delay caused by network congestion and poor node status through reasonable task allocation and clock synchronization, thereby improving the efficiency of data acquisition and transmission.
Smart Images

Figure CN121940665A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power communication technology, specifically to a dual-mode communication data acquisition method and device using broadband carrier and low-power wireless. Background Technology
[0002] With the deepening of energy management and energy conservation and emission reduction strategies, and the vigorous development of distributed energy and microgrids, the power network structure is becoming increasingly complex. Against this backdrop, power data acquisition methods face significant challenges and higher real-time requirements. Related technologies typically employ polling for real-time data acquisition. However, as the number of smart meters in a distribution area increases from dozens to hundreds, the polling meter reading mechanism, handling massive amounts of data, can take tens of minutes to complete a single round of data collection, as each poll requires data collection from every single smart meter. This fails to meet the minute-level real-time requirements. Summary of the Invention
[0003] This application provides a dual-mode communication data acquisition method and device using broadband carrier and low-power wireless, which can achieve minute-level data acquisition and meet real-time requirements.
[0004] The technical solution of this application embodiment is as follows: In a first aspect, embodiments of this application provide a dual-mode communication data acquisition method for broadband carrier and low-power wireless communication, applied to a data concentrator. The data concentrator is configured in a dual-mode communication data acquisition system for broadband carrier and low-power wireless communication. The data concentrator is equipped with a first dual-mode communication module, which communicates with the data concentrator through a preset first interface. The dual-mode communication data acquisition system for broadband carrier and low-power wireless communication further includes multiple terminal acquisition devices, each of which is equipped with a second dual-mode communication module. The second dual-mode communication module communicates with the terminal acquisition device through a preset second interface. The first dual-mode communication module and the second dual-mode communication module communicate wirelessly via broadband carrier or low-power wireless communication. The method includes: The first dual-mode communication module sends data acquisition task configuration information, which includes task number, data item and acquisition period. The first dual-mode communication module is controlled to allocate the data items and the acquisition period to each of the second dual-mode communication modules according to the task number, and each of the second dual-mode communication modules is controlled to obtain the collected power data from the terminal acquisition device according to the data items and the acquisition period; During the acquisition cycle, the first dual-mode communication module is controlled to send a freeze data request message to each of the second dual-mode communication modules. Each of the second dual-mode communication modules is controlled to receive the freeze data request message, encapsulate the power data into a freeze data response message according to the freeze data request message, and send the freeze data response message to the first dual-mode communication module. The freeze data request message is used to control the data acquisition process of the second dual-mode communication module. The first dual-mode communication module is controlled to receive the frozen data response message corresponding to the task number and convert the frozen data response message into a reporting message. The system receives the reporting message sent by the first dual-mode communication module, parses the reporting message, and obtains the power data.
[0005] In the above technical solution, the dual-mode communication data acquisition system of broadband carrier and low-power wireless includes a data concentrator and multiple terminal acquisition devices. The data concentrator is equipped with a first dual-mode communication module, which communicates with the data concentrator through a preset first interface. Each terminal acquisition device is equipped with a second dual-mode communication module, which communicates with the terminal acquisition device through a preset second interface. The first dual-mode communication module and the second dual-mode communication module communicate wirelessly via broadband carrier or low-power wireless communication. By setting up broadband carrier or low-power wireless communication between the first dual-mode communication module and the multiple second dual-mode communication modules, it is beneficial to meet the real-time requirements.
[0006] Based on the above structural setup, the data concentrator executes the following steps: It sends acquisition task configuration information to the first dual-mode communication module. This configuration information includes the task number, data item, and acquisition period. By sending the acquisition period, subsequent data acquisition is performed according to this period, enabling minute-level data acquisition tasks and achieving real-time power data acquisition. The first dual-mode communication module is controlled to allocate data items and acquisition periods to each second dual-mode communication module according to the task number. Each second dual-mode communication module then obtains the acquired power data from the terminal acquisition device according to the data item and acquisition period. Each second dual-mode communication module communicates with the terminal acquisition device to obtain the acquired power data for subsequent high-speed and accurate data transmission. During the acquisition period, the first dual-mode communication module... A dual-mode communication module sends freeze data request messages to each second dual-mode communication module, controlling each second dual-mode communication module to receive the freeze data request messages. Based on the freeze data request messages, the second dual-mode communication modules encapsulate the power data into freeze data response messages and send these response messages to the first dual-mode communication module. The freeze data request messages control the data acquisition process of the second dual-mode communication modules, such as whether to pause data acquisition. This not only achieves real-time data acquisition but also ensures the accuracy of real-time transmission. The module also controls the first dual-mode communication module to receive the freeze data response message corresponding to the task number and convert it into a reporting message. Finally, the module receives the reporting message sent by the first dual-mode communication module, parses it, and obtains the power data. In the acquisition cycle, by utilizing the dual-mode communication module communication mechanism and combining broadband carrier, low-power wireless communication, and freeze data request messages, minute-level power data acquisition and real-time data transmission are achieved, meeting the requirements of real-time power data acquisition.
[0007] In some embodiments of this application, the step of controlling each of the second dual-mode communication modules to receive the freeze data request message, encapsulating the power data into a freeze data response message according to the freeze data request message, and sending the freeze data response message to the first dual-mode communication module includes: During the acquisition period, each of the second dual-mode communication modules is controlled to receive the frozen data request message, and the request timestamp in the frozen data request message is compared with the acquisition period to obtain the comparison result; If the comparison result shows that the requested timestamp corresponds to a time point in the collection period, it is determined whether the data item has been collected. If the data item has not been collected, after collecting the current data of the data item, the data item collection is paused, the power data corresponding to the frozen data request message is obtained, the power data is encapsulated into a frozen data response message, and the frozen data response message is sent to the first dual-mode communication module.
[0008] In some embodiments of this application, after comparing the request timestamp in the frozen data request message with the collection period to obtain a comparison result, the method further includes: If the requested timestamp does not correspond to a time point in the collection period, the power data corresponding to the frozen data request is obtained, the power data is encapsulated into a frozen data response message, and the frozen data response message is sent to the first dual-mode communication module. If the comparison result shows that the requested timestamp corresponds to a time point in the collection period and the data item has been collected, the power data corresponding to the frozen data request is obtained, the power data is encapsulated into a frozen data response message, and the frozen data response message is sent to the first dual-mode communication module.
[0009] In some embodiments of this application, controlling the first dual-mode communication module to allocate the data item and the acquisition period to each of the second dual-mode communication modules according to the task number includes: Receive transmission status information for each of the second dual-mode communication transmissions, wherein each transmission status information includes data transmission rate and load status; Obtain the network causal relationship diagram of the dual-mode communication data acquisition system. The network causal relationship diagram is used to indicate the mutual influence of information transmission between devices in the network. Based on the causal relationship diagram, the data transmission rate, and the load status, the intervention benefit of each of the second dual-mode communication modules is calculated to obtain multiple intervention effect values. The intervention effect values are then sorted in descending order to obtain the ranking result. The task number is matched with each of the second dual-mode communication modules according to the sorting result, and the data item and the acquisition period are assigned to the second dual-mode communication module according to the matching result.
[0010] In some embodiments of this application, the step of calculating the intervention benefit of each of the second dual-mode communication modules based on the causal relationship diagram, the data transmission rate, and the load state to obtain multiple intervention effect values includes: For each node corresponding to the second dual-mode communication module in the network causal relationship graph, the load state is multiplied by the preset adjustment parameters to obtain the balanced revenue parameters; Subtracting the balance benefit parameter from the data transmission rate yields multiple intervention effect values.
[0011] In some embodiments of this application, before the first dual-mode communication module allocates the data item and the acquisition period to each of the second dual-mode communication modules according to the task number, the method further includes: The first dual-mode communication module is controlled to broadcast a clock synchronization message according to a preset time period. The clock synchronization message includes a synchronization timestamp, wherein the time period is greater than the acquisition period. Each of the second dual-mode communication modules is controlled to receive the clock synchronization message and correct it according to the synchronization timestamp, so that the time error between the first dual-mode communication module and each of the second dual-mode communication modules is within a preset error range; Each of the second dual-mode communication modules is controlled to send clock feedback information to the first dual-mode communication module according to a preset reporting period, so that the first dual-mode communication module can make adjustments based on the clock feedback information.
[0012] In some embodiments of this application, controlling each of the second dual-mode communication modules to receive the clock synchronization message and perform correction according to the synchronization timestamp includes: Control each of the second dual-mode communication modules to receive the clock synchronization message, and record the reception time of the clock synchronization message; The time error is obtained by subtracting the receiving time from the synchronization timestamp. If the time error is not within the error range, the time error is linearly interpolated until the interpolated time error is within the error range. Then, the receiving time is added to the interpolated time error for correction.
[0013] Secondly, embodiments of this application provide a data concentrator, which is configured in a dual-mode communication data acquisition system using broadband carrier and low-power wireless communication. The dual-mode communication data acquisition system includes the data concentrator and a terminal acquisition device. The data concentrator is equipped with a first dual-mode communication module, which communicates with the data concentrator through a preset first interface. The terminal acquisition device is equipped with a second dual-mode communication module, which communicates with the terminal acquisition device through a preset second interface. The first dual-mode communication module and the second dual-mode communication module communicate wirelessly via broadband carrier or low-power wireless communication. The data concentrator includes: The data delivery module is used to send acquisition task configuration information to the first dual-mode communication module. The acquisition task configuration information includes task number, data item and acquisition period. The data allocation module is used to control the first dual-mode communication module to allocate the data item and the acquisition period to each of the second dual-mode communication modules according to the task number, and to control each of the second dual-mode communication modules to obtain the collected power data from the terminal acquisition device according to the data item and the acquisition period; A data request control module is configured to, during the acquisition cycle, control the first dual-mode communication module to send a freeze data request message to each of the second dual-mode communication modules, control each of the second dual-mode communication modules to receive the freeze data request message, encapsulate the power data into a freeze data response message according to the freeze data request message, and send the freeze data response message to the first dual-mode communication module, wherein the freeze data request message is used to control the data acquisition process of the second dual-mode communication module; The response message processing module is used to control the first dual-mode communication module to receive the frozen data response message corresponding to the task number and convert the frozen data response message into a reporting message. The data reporting module is used to receive the reporting message sent by the first dual-mode communication module, parse the reporting message, and obtain the power data.
[0014] Thirdly, embodiments of this application provide an electronic device, including a processor, a memory, a user interface, a communication bus, and a network interface. The processor, memory, user interface, and network interface are respectively connected to the communication bus. The memory is used to store instructions, the user interface and network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory to cause the electronic device to perform any of the methods provided in the first aspect.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed, perform any of the methods provided in the first aspect above.
[0016] In summary, one or more technical solutions provided in the embodiments of this application have at least the following technical effects or advantages: 1. Based on the system's structural setup, the data concentrator executes the following steps: It sends acquisition task configuration information to the first dual-mode communication module. This configuration information includes the task number, data item, and acquisition period. By sending the acquisition period, subsequent data acquisition is performed according to this period, enabling minute-level data acquisition tasks and achieving real-time power data acquisition. It controls the first dual-mode communication module to allocate data items and acquisition periods to each second dual-mode communication module according to the task number. It then controls each second dual-mode communication module to obtain the acquired power data from the terminal acquisition device according to the data items and acquisition period. Each second dual-mode communication module communicates with the terminal acquisition device to obtain the acquired power data for subsequent high-speed and accurate data transmission. During the acquisition period, it controls... The system controls the first dual-mode communication module to send freeze data request messages to each of the second dual-mode communication modules. Upon receiving these messages, each second dual-mode communication module encapsulates the power data into a freeze data response message and sends it back to the first dual-mode communication module. The freeze data request message controls the data acquisition process of the second dual-mode communication modules, such as whether to pause data acquisition. This not only enables real-time data acquisition but also ensures the accuracy of real-time transmission. The system also controls the first dual-mode communication module to receive the freeze data response message corresponding to the task number and convert it into a reporting message. Finally, the system receives and parses the reporting message sent by the first dual-mode communication module to obtain the power data. In this acquisition cycle, by utilizing a combination of broadband carrier, low-power wireless communication, and freeze data request messages within the dual-mode communication module communication mechanism, minute-level power data acquisition and real-time data transmission are achieved, meeting the requirements for real-time power data acquisition. Therefore, this effectively solves the problem of not being able to meet the real-time power data acquisition needs.
[0017] 2. During the acquisition cycle, the system determines whether the timestamp corresponds to a specific time point within the acquisition cycle and further determines whether the acquired data item has been completed. If the acquisition of a data item is incomplete, the acquisition is paused by freezing the data request message. This is crucial for obtaining synchronized data at precise times. By prioritizing the transmission of acquired power data, real-time data acquisition is achieved.
[0018] 3. By rationally allocating tasks, the real-time acquisition of data is further guaranteed. The intervention effect value is calculated based on the transmission rate and load status, and the data is sorted according to the intervention effect value. Priority sorting based on transmission status information is implemented for task allocation, which solves the problem of request failure or delay that may be caused by network congestion or poor node status. Thus, the realization of minute-level data acquisition is guaranteed from the two dimensions of 'accuracy' and 'reliability'. The complex network dynamics are taken into account, and the efficiency of data acquisition and transmission is improved.
[0019] 4. By synchronizing the clocks, the data acquisition time of each second dual-mode communication module is kept consistent with that of the first dual-mode communication module, ensuring the synchronization and comparability of data acquisition, which helps to analyze the operating status of the power system more accurately. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of the structure of a dual-mode communication data acquisition system with broadband carrier and low-power wireless provided in one embodiment of this application; Figure 2 This is a flowchart illustrating a dual-mode communication data acquisition method for broadband carrier and low-power wireless provided in one embodiment of this application. Figure 3 yes Figure 2 A flowchart illustrating a sub-step of step S300; Figure 4 This is a timing diagram of a dual-mode communication data acquisition method for broadband carrier and low-power wireless provided in one embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation
[0021] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0022] In the description of the embodiments of this application, the words "for example" or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design that is described as "for example" or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design options. Rather, the use of the words "for example" or "for instance" is intended to present the relevant concepts in a specific manner.
[0023] In the description of the embodiments of this application, the term "multiple" means two or more. For example, multiple systems means two or more systems, and multiple screen terminals means two or more screen terminals. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined with "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0024] This application provides a method, system, electronic device, and readable storage medium for dual-mode communication data acquisition using broadband carrier and low-power wireless. The method is applied to a data concentrator within a dual-mode communication data acquisition system using broadband carrier and low-power wireless. The system also includes multiple terminal acquisition devices. The data concentrator is equipped with a first dual-mode communication module that communicates with the concentrator via a preset first interface. Each terminal acquisition device is equipped with a second dual-mode communication module that communicates with the terminal acquisition device via a preset second interface. The first and second dual-mode communication modules communicate via broadband carrier or low-power wireless communication. By establishing broadband carrier or low-power wireless communication between the first dual-mode communication module and the multiple second dual-mode communication modules, real-time requirements are met.
[0025] Based on the above structural setup, the data concentrator executes the following steps: It sends acquisition task configuration information to the first dual-mode communication module. This configuration information includes the task number, data item, and acquisition period. By sending the acquisition period, subsequent data acquisition is performed according to this period, enabling minute-level data acquisition tasks and achieving real-time power data acquisition. The first dual-mode communication module is controlled to allocate data items and acquisition periods to each second dual-mode communication module according to the task number. Each second dual-mode communication module then obtains the acquired power data from the terminal acquisition device according to the data item and acquisition period. Each second dual-mode communication module communicates with the terminal acquisition device to obtain the acquired power data for subsequent high-speed and accurate data transmission. During the acquisition period, the first dual-mode communication module... A dual-mode communication module sends freeze data request messages to each second dual-mode communication module, controlling each second dual-mode communication module to receive the freeze data request messages. Based on the freeze data request messages, the second dual-mode communication modules encapsulate the power data into freeze data response messages and send these response messages to the first dual-mode communication module. The freeze data request messages control the data acquisition process of the second dual-mode communication modules, such as whether to pause data acquisition. This not only achieves real-time data acquisition but also ensures the accuracy of real-time transmission. The module also controls the first dual-mode communication module to receive the freeze data response message corresponding to the task number and convert it into a reporting message. Finally, the module receives the reporting message sent by the first dual-mode communication module, parses it, and obtains the power data. In the acquisition cycle, by utilizing the dual-mode communication module communication mechanism and combining broadband carrier, low-power wireless communication, and freeze data request messages, minute-level power data acquisition and real-time data transmission are achieved, meeting the requirements of real-time power data acquisition.
[0026] It should be noted that this dual-mode communication data acquisition method using broadband carrier and low-power wireless is used for data acquisition and data transmission in intelligent power energy control. Achieving minute-level data acquisition through dual-mode communication of broadband carrier and low-power wireless ensures reliable data transmission and real-time acquisition of power data.
[0027] The technical solutions provided in the embodiments of this application will be further described below with reference to the accompanying drawings.
[0028] Reference Figure 1 , Figure 1 This is a schematic diagram of the module structure of a dual-mode communication data acquisition system using broadband carrier and low-power wireless communication provided in an embodiment of this application. The dual-mode communication data acquisition system includes a data concentrator and multiple terminal acquisition devices. The data concentrator is equipped with a first dual-mode communication module, which communicates with the data concentrator through a preset first interface. Each terminal acquisition device is equipped with a second dual-mode communication module, which communicates with the terminal acquisition device through a preset second interface. The first and second dual-mode communication modules communicate wirelessly via broadband carrier or low-power wireless communication.
[0029] It should be noted that the first dual-mode communication module communicates with each of the second dual-mode communication modules via a broadband carrier wave, and each of the second dual-mode communication modules communicates with the first dual-mode communication module via low-power wireless communication. Alternatively, it can be configured such that the first dual-mode communication module communicates with each of the second dual-mode communication modules via a broadband carrier wave, and vice versa; or both the first and second dual-mode communication modules communicate with each other via low-power wireless communication; or the first dual-mode communication module communicates with each of the second dual-mode communication modules via low-power wireless communication, and vice versa. Furthermore, the broadband carrier wave ensures transmission accuracy and facilitates task distribution. Since multiple terminal acquisition devices exist, low-power wireless communication allows for faster transmission and avoids channel congestion.
[0030] The system comprises multiple smart meters as terminal data acquisition devices. These smart meters can be housed in a single meter box or located in separate boxes. The first and second interfaces are standard UART interfaces. The data concentrator is installed in the distribution transformer area and provides data aggregation and relay, intelligent control and execution, data storage and disaster recovery functions. Specific functions include: Uplink communication: Uploading aggregated power data to the main station control panel via remote channels such as fiber optic / GPRS / 4G. Downlink communication: Managing the first dual-mode communication module, collecting data such as electricity meter readings and load curves via carrier and low-power channels. Forwarding commands from the main station control panel (such as remote power outages / restorations and rate switching) and monitoring execution results; real-time monitoring of power quality (voltage fluctuations, current anomalies) and triggering alarm events; storing frozen data, historical monthly data, and event records, automatically caching data during communication interruptions and retransmitting upon recovery.
[0031] It should be noted that the first dual-mode communication module uses a high-performance dual-mode chip and supports the State Grid's dual-mode communication protocol. It interacts with the second dual-mode communication module via power line or wireless communication, and possesses functions such as central coordination and network management, communication protocol conversion and relay, network monitoring and maintenance, enabling bidirectional transmission of electricity consumption information.
[0032] The second dual-mode communication module, installed in the smart meter, serves as the smart meter's communication unit. It establishes a connection with the first dual-mode communication module via broadband power line carrier or low-power wireless. Through intelligent channel switching and efficient protocol adaptation, it solves data transmission problems in complex environments, specifically including real-time acquisition of metering data (such as voltage, current, and energy consumption) and support for proactive reporting of abnormal events.
[0033] In one embodiment, the dual-mode communication data acquisition system using broadband carrier and low-power wireless also includes a central station control console. Deployed in the power company's data center, the central station control console employs a distributed architecture, offering high availability and scalability, and can simultaneously manage multiple data concentrators. It provides an intuitive user interface, facilitating configuration, monitoring, and management of acquisition tasks by administrators. It also features data visualization capabilities, displaying the acquired power data in various formats such as charts and reports, enabling administrators to conduct data analysis and decision-making. The central station control console communicates with the data concentrators via fiber optic cables, with the data concentrators transmitting power data to the central station control console. The central station control console is equipped with a display screen that summarizes and graphically displays the transmitted power data, allowing staff to monitor the power operation status.
[0034] Reference Figure 2 , Figure 2This is a flowchart illustrating the dual-mode communication data acquisition method for broadband carrier and low-power wireless provided in this application embodiment. The dual-mode communication data acquisition method for broadband carrier and low-power wireless is applied to the data concentrator of a dual-mode communication data acquisition system for broadband carrier and low-power wireless. The method is executed by a processor in an electronic device or a readable storage medium, and includes steps S100, S200, S300, S400, and S500.
[0035] Step S100: Send the data acquisition task configuration information to the first dual-mode communication module. The data acquisition task configuration information includes the task number, data items, and acquisition period.
[0036] In one embodiment, the control center of the data concentrator triggers data acquisition by sending acquisition task configuration information to the first dual-mode communication module to collect power data. The acquisition task configuration information includes a task number, data items, and an acquisition cycle. The task number is the sequence number for executing the acquisition task. For example, voltage data acquisition from a smart meter and electricity consumption data acquisition from another smart meter are performed, and different tasks are assigned different task numbers. This task number distinguishes different tasks, and the task data collected by different dual-mode communication modules can also be distinguished by the task number. The data item is the specific data entry for a task, which can be data such as electricity consumption, voltage, current, and the status of the smart meter. The acquisition cycle is the time period for data acquisition at a set interval. For example, data acquisition can be performed at 3-minute intervals or 5-minute intervals. The acquisition cycle interval is set through the central station control console and then sent to the data concentrator, which in turn sends the acquisition cycle. By sending the acquisition task configuration information to the first dual-mode communication module, the first dual-mode communication module is triggered to perform real-time data acquisition from downstream modules or devices.
[0037] It should be noted that before issuing the data acquisition task configuration information to trigger data acquisition, the time settings of the first dual-mode communication module and the second dual-mode communication module need to be consistent to maintain time consistency and ensure the reliability of the acquired power data.
[0038] In one embodiment, before the first dual-mode communication module allocates data items and acquisition periods to each of the second dual-mode communication modules according to the task number, the dual-mode communication data acquisition method of broadband carrier and low-power wireless further includes, but is not limited to, the following steps: Step S010: Control the first dual-mode communication module to broadcast a clock synchronization message according to a preset time period. The clock synchronization message includes a synchronization timestamp, wherein the time period is greater than the acquisition period.
[0039] In one embodiment, during time synchronization, the first dual-mode communication module is first controlled to broadcast a clock synchronization message, which includes a synchronization timestamp indicating the time point to be synchronized. To ensure that the first and second dual-mode communication modules are always on the same clock, guaranteeing data acquisition, both modules use a perpetual calendar for time calculation and broadcast clock synchronization messages according to a preset time period to achieve real-time synchronization. The time period is the interval between broadcast clock synchronization messages, which is longer than the acquisition period. This is because clock synchronization is performed before data acquisition to ensure clock consistency, and a single clock synchronization can maintain data acquisition time consistency for a period of time. It also avoids delays in data acquisition due to multiple clock synchronizations, ensuring real-time performance.
[0040] The clock synchronization message includes a timestamp, protocol identifier, source address, destination address, and checksum. The protocol identifier defines the format of the synchronization message, through which information such as the timestamp can be obtained. The source address is the MAC address of the first dual-mode communication module, and the destination address is the MAC address of each of the second dual-mode communication modules, which can distinguish between different dual-mode communication modules.
[0041] Step S020: Control each second dual-mode communication module to receive clock synchronization messages and perform corrections based on the synchronization timestamp, so that the time error between the first dual-mode communication module and each second dual-mode communication module is within a preset error range.
[0042] In one embodiment, based on the clock synchronization message broadcast by the first dual-mode communication module, each second dual-mode communication module is controlled to receive the clock synchronization message, parse the clock synchronization message, extract the synchronization timestamp in the clock synchronization message, and correct its own clock according to the synchronization timestamp, so that the time error between the first dual-mode communication module and each second dual-mode communication module is within a preset error range, that is, the first dual-mode communication module and each second dual-mode communication module are considered to have completed time synchronization.
[0043] The preset error range is calculated based on historical data and is designed to support accurate data transmission between the first dual-mode communication module and each of the second dual-mode communication modules. Adjusting the time error within this range ensures data acquisition consistency and improves accuracy.
[0044] Specifically, each of the second dual-mode communication modules is controlled to receive clock synchronization messages and perform corrections based on the synchronization timestamp, including but not limited to the following steps: Step S021: Control each second dual-mode communication module to receive clock synchronization messages and record the reception time of the clock synchronization messages.
[0045] In some possible embodiments of this application, each second dual-mode communication module is controlled to receive clock synchronization messages so as to perform clock synchronization based on the timestamp in the clock synchronization message. Upon receiving a clock synchronization message, the time is recorded as the reception time so that it can be used for subsequent clock correction.
[0046] Step S022: Subtract the receiving time from the synchronization timestamp to obtain the time error.
[0047] In some possible embodiments of this application, the time error can be obtained by subtracting the receiving time from the synchronization timestamp. This time error reflects the time consumed by information transmission between the first dual-mode communication module and the second dual-mode communication module, so that clock correction can be performed subsequently based on this time error.
[0048] Step S023: If the time error is not within the error range, perform linear interpolation on the time error until the interpolated time error is within the error range, and then add the received time to the interpolated time error for correction.
[0049] In some possible embodiments of this application, if the time error is outside the error range, it indicates a delay in information transmission, which may lead to clock skew and cause deviations in the clock of the acquired data. The time error is linearly interpolated to bring it within the error range. This linear interpolation involves successively halving the time error, checking if the interpolated time error is within the error range after each halving. If not, the halving continues until the interpolated time error is within the error range. Then, based on the automatic time adjustment of the perpetual calendar, the received time is added to the interpolated time error for correction, thereby achieving clock alignment between the second dual-mode communication module and the first dual-mode communication module, ensuring the accuracy of the acquired data.
[0050] It should be noted that if the time error is within the acceptable range, it indicates that the clocks of the second dual-mode communication module and the first dual-mode communication module are synchronized at this moment, and no correction is required. It should also be noted that, since there are multiple second dual-mode communication modules, each second dual-mode communication module's clock is adjusted using the aforementioned linear interpolation method, ensuring clock synchronization between each second dual-mode communication module and the first dual-mode communication module.
[0051] In one embodiment, after completing clock adjustment, each second dual-mode communication module sends clock adjustment confirmation information to the first dual-mode communication module, thereby triggering the issuance of data acquisition tasks.
[0052] Step S030: Control each second dual-mode communication module to send clock feedback information to the first dual-mode communication module according to a preset reporting cycle, so that the first dual-mode communication module can make adjustments based on the clock feedback information.
[0053] In one embodiment, during long-term data transmission, clock deviations may occur, causing mismatches between the clocks of the communicating parties. Since the broadcast clock synchronization period has not yet arrived, each second dual-mode communication module can be controlled to send clock feedback information to the first dual-mode communication module according to a preset reporting period. This clock feedback information is the clock information of the second dual-mode communication module itself. The first dual-mode communication module adjusts its clock based on the clock information transmitted by each second dual-mode communication module, ensuring clock consistency among the multiple dual-mode communication modules. It should be noted that the adjustment process of the first dual-mode communication module is as follows: the first dual-mode communication module compares the time in the clock feedback information with its own time. If one of the second dual-mode communication modules has a large clock deviation, it notifies the corresponding second dual-mode communication module to adjust its time; if multiple second dual-mode communication modules have only small deviations, the average value is taken and adjusted by comparing it with its own time to achieve clock correction.
[0054] The preset reporting period can be set to be longer than the time period and different from the acquisition period, ensuring that the time period and the reporting period alternate and avoiding conflicts with the acquired data. Through bidirectional adjustment of the first and second dual-mode communication modules, long-term clock consistency is ensured, thereby guaranteeing the accuracy of power data acquisition.
[0055] Step S200: Control the first dual-mode communication module to allocate data items and acquisition cycles to each second dual-mode communication module according to the task number, and control each second dual-mode communication module to obtain the collected power data from the terminal acquisition device according to the data items and acquisition cycle.
[0056] In one embodiment, in order to maintain real-time data acquisition and achieve reliable execution of minute-level acquisition tasks, especially in cases of large network scale and complex communication environment, it is also necessary to combine an efficient task allocation mechanism to ensure that requests can be responded to reliably and quickly. Therefore, a task allocation mode based on network causality is adopted, which controls the first dual-mode communication module to allocate data items and acquisition cycles to each second dual-mode communication module with better links according to the task number, so as to acquire the collected power data.
[0057] In one embodiment, the control of the first dual-mode communication module to allocate data items and acquisition periods to each of the second dual-mode communication modules according to the task number includes, but is not limited to, the following steps: Step S210: Receive transmission status information of each second dual-mode communication transmission, including data transmission rate and load status.
[0058] In one embodiment, during task allocation, tasks are assigned based on the status of the assigned objects to achieve efficient data acquisition. First, transmission status information from each of the second dual-mode communication transmissions is received. This information includes data transmission rate and load status. The data transmission rate reflects network congestion between the dual-mode communication modules, and the load status reflects the workload carried by each second dual-mode communication module. Transmission loading information is received to allow for subsequent task configuration based on the current status.
[0059] Step S220: Obtain the network causal relationship diagram of the dual-mode communication data acquisition system. The network causal relationship diagram is used to indicate the mutual influence of information transmission between devices in the network.
[0060] In one embodiment, a network causal graph is used to indicate the mutual influence of information transmission between devices in the network. During the construction of the power system structure, each node and its connection relationships are recorded. Specifically, the data concentrator and multiple terminal acquisition devices in the system are nodes in the network causal graph, and the connections between nodes are edges. The network causal graph is constructed using the aforementioned network topology and historical communication data. It acquires the physical or logical connections between nodes through a periodic network discovery protocol and statistically analyzes the success rate and latency of communication between nodes under different time periods and load conditions. A causal inference algorithm (such as the PC algorithm) is used to learn the influence of each node's state on the communication quality of other nodes, thereby constructing and dynamically updating the network causal graph. This graph is stored in a data concentrator for use during task allocation. A preset read function is used to obtain the network causal graph of the dual-mode communication data acquisition system for subsequent sorting based on the network causal graph.
[0061] Step S230: Based on the causal relationship diagram, data transmission rate and load status, calculate the intervention benefit of each second dual-mode communication module to obtain multiple intervention effect values, and sort the intervention effect values in descending order to obtain the ranking result.
[0062] In one embodiment, based on the causal relationship diagram, data transmission rate, and load status, the intervention benefit of each second dual-mode communication module is calculated to obtain multiple intervention effect values, including but not limited to the following steps: Step S231: For each node corresponding to the second dual-mode communication module in the network causal relationship graph, the preset adjustment parameters are multiplied by the load state to obtain the balanced revenue parameters.
[0063] In some possible embodiments of this application, for each node corresponding to the second dual-mode communication module in the network causal relationship graph, the node can be a second dual-mode communication module, a first dual-mode communication module, etc. The preset adjustment parameter is determined based on the influence value displayed on the edge of the second dual-mode communication module; the larger the influence value, the larger the adjustment parameter. The adjustment parameter is multiplied by the load state; the larger the load state, the larger the adjustment parameter, and the larger the resulting balance benefit parameter, indicating that the second dual-mode communication module is assigned more tasks, and the task allocation should be reduced.
[0064] Step S232: Subtract the balance benefit parameter from the data transmission rate to obtain multiple intervention effect values.
[0065] In some possible embodiments of this application, the data transmission rate is subtracted from the balance benefit parameter. A higher data transmission rate indicates less congestion in data transmission, and data can be allocated to that transmission line. Due to the existence of load and impact values, the data transmission rate is adjusted to ensure the accuracy of data transmission. The effect value of allocating the task to that line is calculated. This intervention effect value reflects the optimal value that can be obtained by allocating the task to the line of the second dual-mode communication module, thereby achieving reasonable task configuration and improving the accuracy of data acquisition and transmission.
[0066] It should be noted that before performing steps S231 and S232, the data are normalized to remove dimensional differences, which facilitates calculation.
[0067] In another embodiment, based on the intervention effect values obtained above, the intervention effect values are sorted in descending order to obtain the sorting result. The sorting algorithm can be used for sorting, such as bubble sort or other sorting algorithms, which will not be elaborated here.
[0068] Step S240: Match the task number with each second dual-mode communication module according to the sorting result, and allocate the data items and acquisition period to the second dual-mode communication module according to the matching result.
[0069] In one embodiment, a larger intervention effect value indicates a higher benefit from assigning the task to that line and more accurate data transmission. Task numbers are assigned according to the above sorting results, with higher priority given to tasks collecting key data items to ensure priority collection and transmission of important data. Based on the matching results, each task is assigned to the corresponding second dual-mode communication module for power data acquisition.
[0070] In one embodiment, based on the task allocation results described above, each second dual-mode communication module is controlled to obtain the collected power data from the terminal acquisition device according to the data items and acquisition cycle. The terminal acquisition device collects data in real time and stores it. The second dual-mode communication module reads the corresponding stored data according to the acquisition cycle and data items to obtain the power data.
[0071] In step S300, during the acquisition cycle, the first dual-mode communication module is controlled to send a freeze data request message to each of the second dual-mode communication modules, and each of the second dual-mode communication modules is controlled to receive the freeze data request message, encapsulate the power data into a freeze data response message according to the freeze data request message, and send the freeze data response message to the first dual-mode communication module. The freeze data request message is used to control the data acquisition process of the second dual-mode communication module.
[0072] In one embodiment, data items and acquisition cycles are allocated to the second dual-mode communication modules. During the acquisition cycle, power data is acquired, which can be every 5 minutes. The first dual-mode communication module sends a freeze data request message to each of the second dual-mode communication modules. This freeze data request message carries data request information and is used to trigger the second dual-mode communication modules to acquire the power data collected by the terminal acquisition device. It also triggers data freezing for data acquisition and transmission, improving the accuracy of the acquired data. The freeze data request message includes a protocol, a request timestamp, and data request information.
[0073] like Figure 3 As shown, each of the second dual-mode communication modules receives a freeze data request message, encapsulates the power data into a freeze data response message based on the freeze data request message, and sends the freeze data response message to the first dual-mode communication module, including but not limited to the following steps: Step S310: During the acquisition period, control each second dual-mode communication module to receive the freeze data request message, compare the request timestamp in the freeze data request message with the acquisition period, and obtain the comparison result.
[0074] In some possible embodiments of this application, during the data acquisition period, each second dual-mode communication module receives a freeze data request message. Based on the message protocol of the freeze data request message, it extracts the corresponding fields and parses out the request timestamp. The request timestamp is then compared with the acquisition period. For example, if the timestamp is xx hour xx minute and the acquisition period is once every 5 minutes (starting from 0:00), then data is acquired at multiples of 5, recorded as acquisition timestamps. The request timestamp is compared with the acquisition timestamps to obtain a comparison result. This comparison result can be either consistent (the request timestamp corresponds to a time point in the acquisition period) or inconsistent (the request timestamp does not correspond to a time point in the acquisition period), providing a basis for subsequent data acquisition under different circumstances.
[0075] Step S320: If the comparison result shows that the requested timestamp corresponds to a time point in the collection period, determine whether the data item has been collected.
[0076] In some possible embodiments of this application, if the comparison result shows that the requested timestamp corresponds to a time point in the collection period, it indicates that there may be a conflict between requesting to obtain data and retrieving data after data collection. It is necessary to determine whether the data item has been collected completely in order to avoid data processing conflicts.
[0077] Step S330: If the data item has not been collected, after collecting the current data of the data item, pause the data item collection, obtain the power data corresponding to the frozen data request message, encapsulate the power data into a frozen data response message, and send the frozen data response message to the first dual-mode communication module.
[0078] In some possible embodiments of this application, to avoid data processing conflicts when data items are not fully collected, the collection of data in the data item is paused after the current data collection is completed. The second dual-mode communication module is then controlled to obtain the power data corresponding to the frozen data request message from the terminal acquisition device (this power data is stored in the terminal acquisition device and can be read directly). The obtained power data is encapsulated to form a frozen data response message, which is then sent to the first dual-mode communication module to enable the collected power data to be transmitted upwards for aggregation and data analysis.
[0079] like Figure 3 As shown, after comparing the request timestamp in the data freeze request message with the acquisition period and obtaining the comparison result, the dual-mode communication data acquisition method for broadband carrier and low-power wireless also includes, but is not limited to, the following steps: Step S340: If the requested timestamp does not correspond to a time point in the collection cycle, obtain the power data corresponding to the frozen data request, encapsulate the power data into a frozen data response message, and send the frozen data response message to the first dual-mode communication module.
[0080] In some possible embodiments of this application, if the requested timestamp does not correspond to a time point in the collection cycle, it indicates that there will be no conflict between the collected data and the requested data. The second dual-mode communication module is then controlled to obtain the power data corresponding to the frozen data request message from the terminal collection device (this power data is stored in the terminal collection device and can be directly read). The obtained power data is encapsulated to form a frozen data response message, which is then sent to the first dual-mode communication module. This allows the collected power data to be transmitted upwards for aggregation, facilitating data analysis.
[0081] In one embodiment, if the comparison result shows that the requested timestamp corresponds to a time point in the collection period, in step S350, if the data item has been collected, the power data corresponding to the frozen data request is obtained, the power data is encapsulated into a frozen data response message, and the frozen data response message is sent to the first dual-mode communication module.
[0082] In some possible embodiments of this application, if the comparison result shows that the requested timestamp corresponds to a time point in the collection period, and the data item has been collected, it indicates that there will be no conflict between the collected data and the requested data. The second dual-mode communication module is then controlled to obtain the power data corresponding to the frozen data request message from the terminal collection device (this power data is stored in the terminal collection device and can be directly read). The obtained power data is encapsulated to form a frozen data response message, which is then sent to the first dual-mode communication module to facilitate the upward transmission and aggregation of the collected power data for data analysis. It should be noted that the aforementioned frozen data response message includes the message protocol, timestamp, power data, etc.
[0083] Step S400: Control the first dual-mode communication module to receive the frozen data response message corresponding to the task number, and convert the frozen data response message into a reporting message.
[0084] In one embodiment, each second dual-mode communication module transmits a frozen data response message. The first dual-mode communication module is controlled to identify the frozen data response messages transmitted by different second dual-mode communication modules through the task number, and convert the frozen data response messages into reporting messages. Specifically, the frozen data response messages are parsed and encapsulated according to the reporting message format so that the reporting messages can be remotely transmitted later.
[0085] It should be noted that the freeze data request message and freeze data response message are in the message format transmitted between the first dual-mode communication module and the second dual-mode communication module. The message data cannot be tampered with; freezing the message data prevents errors in multi-channel data transmission. The reporting message is in the message format transmitted between the first dual-mode communication module and the data concentrator through the first interface, and uses a different message protocol.
[0086] Step S500: Receive the reporting message sent by the first dual-mode communication module, parse the reporting message, and obtain the power data.
[0087] In one embodiment, a reporting message sent by a first dual-mode communication module is received, parsed, and the corresponding fields are read according to the protocol format of the reporting message to obtain power data, thereby obtaining the collected power data. This power data includes voltage, current, and electricity consumption. The power data can also be transmitted to a central control station for aggregation and display in chart form for easy viewing by personnel.
[0088] like Figure 4 The diagram shows a timing sequence of a dual-mode communication data acquisition method using broadband carrier and low-power wireless, provided in one embodiment of this application. First, the data concentrator configures its interface with the first dual-mode communication module (CCO). The second dual-mode communication module (STA) then connects to the network and requests an address from the terminal acquisition device (electricity meter). The first and second dual-mode communication modules synchronize according to a perpetual calendar. The data concentrator issues an acquisition task configuration. The first dual-mode communication module sends the acquisition task configuration to the second dual-mode communication module and returns a configuration response. The second dual-mode communication module sends a meter reading request to the electricity meter. The electricity meter terminal responds with data. The first dual-mode communication module sends a data freeze request message to the second dual-mode communication module. The second dual-mode communication module reads the acquired power data, encapsulates it into a data freeze response message, and sends it to the first dual-mode communication module. The first dual-mode communication module converts this into a reporting message and sends it to the data concentrator. The data concentrator then sends the power data to the central station control console for graphical display.
[0089] In one embodiment, the dual-mode communication data acquisition system includes a data concentrator and terminal acquisition devices. The data concentrator is equipped with a first dual-mode communication module, which communicates with the data concentrator through a preset first interface. The terminal acquisition device is equipped with a second dual-mode communication module, which communicates with the terminal acquisition device through a preset second interface. The first dual-mode communication module communicates with each of the second dual-mode communication modules via a broadband carrier wave, and each of the second dual-mode communication modules communicates with the first dual-mode communication module via low-power wireless communication. The data concentrator sends acquisition task configuration information to the first dual-mode communication module. The acquisition task configuration information includes a task number, data items, and acquisition period. By sending the acquisition period, subsequent data acquisition is performed according to the acquisition period, enabling minute-level data acquisition tasks, thereby achieving real-time power data acquisition. The first dual-mode communication module allocates data items and acquisition periods to each of the second dual-mode communication modules according to the task number. Each of the second dual-mode communication modules then... The system acquires power data from the terminal acquisition device via data items and acquisition cycles. For each second dual-mode communication module, it communicates with the terminal acquisition device to obtain the acquired power data for subsequent high-speed and accurate data transmission. During the acquisition cycle, the first dual-mode communication module sends a freeze data request message to each of the second dual-mode communication modules. Each second dual-mode communication module receives the freeze data request message, encapsulates the power data into a freeze data response message, and sends the freeze data response message back to the first dual-mode communication module. Transmitting the freeze data message ensures the accuracy of real-time transmission. The first dual-mode communication module receives the freeze data response message corresponding to the task number and converts it into a reporting message. The data concentrator receives the reporting message sent by the first dual-mode communication module, parses the reporting message, and obtains the power data. This process achieves minute-level power data acquisition and real-time data transmission during the acquisition cycle, meeting the requirements for real-time power data acquisition.
[0090] It should also be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0091] This application also discloses an electronic device. (See reference...) Figure 5 , Figure 5 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application. The electronic device 500 may include: at least one processor 501, at least one network interface 504, a user interface 503, a memory 505, and at least one communication bus 502.
[0092] The communication bus 502 is used to enable communication between these components.
[0093] The user interface 503 may include a display screen and a camera. Optionally, the user interface 503 may also include a standard wired interface and a wireless interface.
[0094] The network interface 504 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0095] The processor 501 may include one or more processing cores. The processor 501 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 505, and by calling data stored in memory 505. Optionally, the processor 501 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array. The processor 501 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and Modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also be implemented as a separate chip without being integrated into the processor 501.
[0096] The memory 505 may include random access memory (RAM) or read-only memory. Optionally, the memory 505 may include a non-transitory computer-readable storage medium. The memory 505 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 505 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 505 may also be at least one storage device located remotely from the aforementioned processor 501. (Refer to...) Figure 5 The memory 505, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for a dual-mode communication data acquisition method using broadband carrier and low-power wireless.
[0097] exist Figure 5 In the illustrated electronic device 500, the user interface 503 is mainly used to provide an input interface for the user and acquire user input data; while the processor 501 can be used to call an application program stored in the memory 505 for a dual-mode communication data acquisition method of broadband carrier and low-power wireless. When executed by one or more processors 501, the electronic device 500 performs one or more methods as described in the above embodiments. It should be noted that, for the foregoing method embodiments, for the sake of simplicity, they are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0098] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0099] In the various embodiments provided in this application, it should be understood that the disclosed apparatus 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 system, 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 service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.
[0100] 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, depending on actual needs.
[0101] Furthermore, the functional units in the various embodiments of this application 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. The integrated unit can be implemented in hardware or as a software functional unit.
[0102] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory 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 of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0103] The above are merely exemplary embodiments of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Other embodiments of this disclosure will readily conceive of those skilled in the art upon consideration of the specification and the disclosure of practical truths.
[0104] This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described in this disclosure. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A dual-mode communication data acquisition method using broadband carrier and low-power wireless, characterized in that, The method is applied to a data concentrator, which is configured in a dual-mode communication data acquisition system using broadband carrier and low-power wireless communication. The data concentrator is equipped with a first dual-mode communication module, which communicates with the data concentrator through a preset first interface. The dual-mode communication data acquisition system also includes multiple terminal acquisition devices, each of which is equipped with a second dual-mode communication module. The second dual-mode communication module communicates with the terminal acquisition device through a preset second interface. The first dual-mode communication module and the second dual-mode communication module communicate wirelessly via broadband carrier or low-power wireless communication. The first dual-mode communication module sends data acquisition task configuration information, which includes task number, data item and acquisition period. The first dual-mode communication module is controlled to allocate the data items and the acquisition period to each of the second dual-mode communication modules according to the task number, and each of the second dual-mode communication modules is controlled to obtain the collected power data from the terminal acquisition device according to the data items and the acquisition period; During the acquisition cycle, the first dual-mode communication module is controlled to send a freeze data request message to each of the second dual-mode communication modules. Each of the second dual-mode communication modules is controlled to receive the freeze data request message, encapsulate the power data into a freeze data response message according to the freeze data request message, and send the freeze data response message to the first dual-mode communication module. The freeze data request message is used to control the data acquisition process of the second dual-mode communication module. The first dual-mode communication module is controlled to receive the frozen data response message corresponding to the task number and convert the frozen data response message into a reporting message. The system receives the reporting message sent by the first dual-mode communication module, parses the reporting message, and obtains the power data.
2. The method according to claim 1, characterized in that, The control module receives the freeze data request message from each of the second dual-mode communication modules, encapsulates the power data into a freeze data response message according to the freeze data request message, and sends the freeze data response message to the first dual-mode communication module, including: During the acquisition period, each of the second dual-mode communication modules is controlled to receive the frozen data request message, and the request timestamp in the frozen data request message is compared with the acquisition period to obtain the comparison result; If the comparison result shows that the requested timestamp corresponds to a time point in the collection period, it is determined whether the data item has been collected. If the data item has not been collected, after collecting the current data of the data item, the data item collection is paused, the power data corresponding to the frozen data request message is obtained, the power data is encapsulated into a frozen data response message, and the frozen data response message is sent to the first dual-mode communication module.
3. The method according to claim 2, characterized in that, After comparing the request timestamp in the frozen data request message with the collection period to obtain the comparison result, the method further includes: If the requested timestamp does not correspond to a time point in the collection period, the power data corresponding to the frozen data request is obtained, the power data is encapsulated into a frozen data response message, and the frozen data response message is sent to the first dual-mode communication module. If the comparison result shows that the requested timestamp corresponds to a time point in the collection period and the data item has been collected, the power data corresponding to the frozen data request is obtained, the power data is encapsulated into a frozen data response message, and the frozen data response message is sent to the first dual-mode communication module.
4. The method according to claim 1, characterized in that, The control of the first dual-mode communication module to allocate the data item and the acquisition period to each of the second dual-mode communication modules according to the task number includes: Receive transmission status information for each of the second dual-mode communication transmissions, wherein each transmission status information includes data transmission rate and load status; Obtain the network causal relationship diagram of the dual-mode communication data acquisition system. The network causal relationship diagram is used to indicate the mutual influence of information transmission between devices in the network. Based on the causal relationship diagram, the data transmission rate, and the load status, the intervention benefit of each of the second dual-mode communication modules is calculated to obtain multiple intervention effect values. The intervention effect values are then sorted in descending order to obtain the ranking result. The task number is matched with each of the second dual-mode communication modules according to the sorting result, and the data item and the acquisition period are assigned to the second dual-mode communication module according to the matching result.
5. The method according to claim 4, characterized in that, The intervention benefit of each of the second dual-mode communication modules is calculated based on the causal relationship diagram, the data transmission rate, and the load status to obtain multiple intervention effect values, including: For each node corresponding to the second dual-mode communication module in the network causal relationship graph, the load state is multiplied by the preset adjustment parameters to obtain the balanced revenue parameters; Subtracting the balance benefit parameter from the data transmission rate yields multiple intervention effect values.
6. The method according to claim 1, characterized in that, Before the first dual-mode communication module allocates the data item and the acquisition period to each of the second dual-mode communication modules according to the task number, the method further includes: The first dual-mode communication module is controlled to broadcast a clock synchronization message according to a preset time period. The clock synchronization message includes a synchronization timestamp, wherein the time period is greater than the acquisition period. Each of the second dual-mode communication modules is controlled to receive the clock synchronization message and correct it according to the synchronization timestamp, so that the time error between the first dual-mode communication module and each of the second dual-mode communication modules is within a preset error range; Each of the second dual-mode communication modules is controlled to send clock feedback information to the first dual-mode communication module according to a preset reporting period, so that the first dual-mode communication module can make adjustments based on the clock feedback information.
7. The method according to claim 6, characterized in that, The control of each of the second dual-mode communication modules to receive the clock synchronization message and to perform correction according to the synchronization timestamp includes: Control each of the second dual-mode communication modules to receive the clock synchronization message, and record the reception time of the clock synchronization message; The time error is obtained by subtracting the receiving time from the synchronization timestamp. If the time error is not within the error range, the time error is linearly interpolated until the interpolated time error is within the error range. Then, the receiving time is added to the interpolated time error for correction.
8. A data concentrator, characterized in that, The data concentrator is configured in a dual-mode communication data acquisition system using broadband carrier and low-power wireless communication. The dual-mode communication data acquisition system includes a data concentrator and a terminal acquisition device. The data concentrator is equipped with a first dual-mode communication module, which communicates with the data concentrator through a preset first interface. The terminal acquisition device is equipped with a second dual-mode communication module, which communicates with the terminal acquisition device through a preset second interface. The first dual-mode communication module and the second dual-mode communication module communicate wirelessly via broadband carrier or low-power wireless communication. The data concentrator includes: The data delivery module is used to send acquisition task configuration information to the first dual-mode communication module. The acquisition task configuration information includes task number, data item and acquisition period. The data allocation module is used to control the first dual-mode communication module to allocate the data item and the acquisition period to each of the second dual-mode communication modules according to the task number, and to control each of the second dual-mode communication modules to obtain the collected power data from the terminal acquisition device according to the data item and the acquisition period; A data request control module is configured to, during the acquisition cycle, control the first dual-mode communication module to send a freeze data request message to each of the second dual-mode communication modules, control each of the second dual-mode communication modules to receive the freeze data request message, encapsulate the power data into a freeze data response message according to the freeze data request message, and send the freeze data response message to the first dual-mode communication module, wherein the freeze data request message is used to control the data acquisition process of the second dual-mode communication module; The response message processing module is used to control the first dual-mode communication module to receive the frozen data response message corresponding to the task number and convert the frozen data response message into a reporting message. The data reporting module is used to receive the reporting message sent by the first dual-mode communication module, parse the reporting message, and obtain the power data.
9. An electronic device, characterized in that, The device includes a processor, a memory, a user interface, a communication bus, and a network interface. The processor, the memory, the user interface, and the network interface are respectively connected to the communication bus. The memory is used to store instructions. The user interface and the network interface are used to communicate with other devices. The processor is used to execute the instructions stored in the memory to cause the electronic device to perform the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed, perform the method as described in any one of claims 1-7.