A data parallel monitoring method, system, electronic device and storage medium

By establishing parallel communication between the master and slave devices in DAQ mode and polling mode, the problem of easy mutual influence of data communication is solved, and parallel data monitoring in both modes is realized, data loss is avoided and monitoring efficiency is improved.

CN115268400BActive Publication Date: 2025-06-24WEICHAI POWER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210887572.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2025-06-24
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

In XCP and/or CCP protocols, data communication between master and slave devices is easily affected by each other, resulting in data loss and other problems. Especially when two modes (query mode and data acquisition mode) are running simultaneously, how to monitor data in parallel is an urgent problem.

Method used

By establishing parallel communication between the DAQ mode and the polling mode between the master and the slave device, the master device sends DAQ requests and polling requests to the slave device, and receives the data list of the slave device according to the set time interval, ensuring that data in both modes is received within the time node.

Benefits of technology

Parallel data monitoring in two modes is realized, which avoids data loss and improves the efficiency of data monitoring by the master device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115268400B_ABST
    Figure CN115268400B_ABST
Patent Text Reader

Abstract

The present application discloses a data parallel monitoring method, system, electronic device and storage medium. The method includes: when the master device and the slave device complete the configuration of the data acquisition DAQ mode, sending a DAQ request to the slave device; wherein, the DAQ request carries a first time interval; the master device sets a second time interval and sends a polling request to the slave device; wherein, the polling request carries a variable grouping rule of the polling mode; if it is determined according to the first time interval and the second time interval that there is a time node of the first time interval within the time from the current time to the second time interval, receiving a first data list reported by the slave device in the time node according to the DAQ mode, and receiving a polling request response returned by the slave device, the polling request response carrying a second data list reported by the slave device based on the polling mode variable grouping rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle control, and in particular, to a data parallel monitoring method, system, electronic device, and storage medium. Background Art

[0002] In the XCP and / or CCP protocols, the communication between the master device and each slave device is generally divided into two modes, one is the polling mode, and the other is the data acquisition (DAQ) mode. The master device is the Measurement Calibration System (MCS), and each slave device is the Electrical Control Unit (ECU) that needs to be calibrated. A slave device can select one of the modes to establish a connection with the master device, or can establish connections with the master device in both modes. However, both of these modes have multiple acquisition frequencies, and the interaction methods set by these two modes are different. When these two modes are running, the master device and each slave device perform data communication, which easily affects each other and causes data loss and other situations.

[0003] Therefore, when the two modes are running, how to parallelly monitor the data in the two modes is an urgent problem to be solved at present. Summary of the Invention

[0004] This application provides a data parallel monitoring method for parallelly monitoring data in two modes.

[0005] In a first aspect, a data parallel monitoring method is provided, including:

[0006] When the master device and the slave device complete the configuration of the DAQ mode, a DAQ request is sent to the slave device; wherein, the DAQ request carries a first time interval, and the first time interval is used to characterize that the slave device periodically reports a first data list according to the DAQ mode based on the first time interval; the master device sets a second time interval and sends a polling request to the slave device; wherein, the polling request carries a variable grouping rule of the polling mode, and the second time interval is used to characterize that the master device periodically sends the polling request according to the polling mode based on the second time interval; if the master device determines, according to the first time interval and the second time interval, that there is a time node of the first time interval within the time from the current time to the second time interval, the master device receives the first data list reported by the slave device according to the DAQ mode at the time node, and receives a polling request response returned by the slave device according to the polling mode, and the polling request response carries a second data list reported by the slave device based on the variable grouping rule of the polling mode.

[0007] In a possible implementation manner, the variable grouping rule in the polling mode is determined according to the acquisition frequency and the number of variables acquired in the polling mode.

[0008] In a possible implementation manner, the first data list at least includes the variable address and the variable length of the variables acquired by the slave device according to the DAQ mode; the second data list at least includes the variable address and the variable length of the variables acquired by the slave device according to the polling mode.

[0009] In a possible implementation manner, the master device is provided with a first queue and a second queue. The first queue is used to store the first data list reported by the slave device, and the second queue is used to store the second data list reported by the slave device; after the master device receives the first data list reported by the slave device according to the DAQ mode at the time node and receives the polling request response returned by the slave device according to the polling mode, it further includes:

[0010] Parse the first data list and the second data list respectively to obtain a first list identifier and a second list identifier; query a correspondence table according to the first list identifier and the second list identifier to determine to store the first data list in the first queue and the second data list in the second queue; wherein, the correspondence table is used to store the correspondence between the list identifier and the queue identifier.

[0011] In a second aspect, a data parallel monitoring system is provided, including: a master device and slave devices. The slave devices include a DAQ mode unit and a polling mode unit. The master device is configured to send a DAQ request command to the DAQ mode unit when the configuration of the DAQ mode is completed with the DAQ mode unit. Wherein, the DAQ request carries a first time interval, and the first time interval is used to represent that the DAQ mode unit periodically reports a first data list according to the DAQ mode based on the first time interval; is configured to set a second time interval and send a polling request to the polling mode unit. Wherein, the polling request carries a variable grouping rule of the polling mode, and the second time interval is used to represent that the master device periodically sends the polling request according to the polling mode based on the second time interval; and is configured to, if it is determined according to the first time interval and the second time interval that there is a time node of the first time interval within the time from the current time to the second time interval, receive the first data list reported by the DAQ mode unit according to the DAQ mode at the time node, and receive a polling request response returned by the polling mode unit according to the polling mode. The polling request response carries a second data list reported by the polling mode unit based on the variable grouping rule of the polling mode; The DAQ mode unit is configured to report the first data list according to the DAQ mode based on the DAQ request sent by the master device; The polling mode unit is configured to return the polling request response according to the polling mode based on the polling request sent by the master device according to the polling mode.

[0012] In a possible implementation manner, the variable grouping rule in the polling mode is determined according to the acquisition frequency and the number of variables acquired in the polling mode.

[0013] In a possible implementation manner, the first data list at least includes the variable address and variable length of the variables acquired by the slave device according to the DAQ mode; the second data list at least includes the variable address and variable length of the variables acquired by the slave device according to the polling mode.

[0014] In a possible implementation manner, the master device is provided with a first queue and a second queue. The first queue is used to store the first data list reported by the slave device, and the second queue is used to store the second data list reported by the slave device;

[0015] The master device further includes: a classification module;

[0016] The classification module is configured to parse the first data list and the second data list respectively to obtain a first list identifier and a second list identifier; query a correspondence table according to the first list identifier and the second list identifier to obtain a first queue identifier corresponding to the first list identifier, and store the first data list in the first queue, and obtain a second queue identifier corresponding to the second list identifier, and store the second data list in the second queue; wherein, the correspondence table is used to store the correspondence between the list identifier and the queue identifier.

[0017] In the embodiment of the present application, when the master device and the slave device complete the configuration of the data acquisition DAQ mode, a DAQ request is sent to the slave device, and a first time interval is carried in this command, and data (variables) monitoring in the DAQ mode can be performed. Further, when the master device wants to perform data monitoring in the polling mode, a second time interval is set, and a polling request is sent to the slave device, and based on the first time interval and the second time interval, it is determined whether there is a time node for receiving the first data list in the DAQ mode within the current time period. If so, the master device receives the first data list reported by the slave device in the DAQ mode, and receives the polling request response returned by the slave device in the polling mode within this time period. In the polling mode, the master device can also receive the first data list reported in the DAQ mode, thereby avoiding the loss of the first data list, realizing parallel data monitoring in two modes, and also improving the efficiency of the master device in data monitoring. Description of the Drawings

[0018] Figure 1 It is a flowchart of a data parallel monitoring method provided by an embodiment of the present application;

[0019] Figure 2 It is a form diagram of a data list provided by an embodiment of the present application;

[0020] Figure 3 It is a data parallel monitoring system provided by an embodiment of the present application;

[0021] Figure 4 It is an electronic device provided by an embodiment of the present application. Detailed Embodiments

[0022] To make the objectives, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings. Apparently, the described embodiments are only a part of the embodiments of the present application, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the scope of protection of the present application.

[0023] The following explains some terms in the embodiments of the present application to facilitate the understanding of those skilled in the art.

[0024] (1) In the embodiments of the present application, the nouns "network" and "system" are often used interchangeably, but those skilled in the art can understand their meanings.

[0025] (2) In the embodiments of the present application, the term "plurality" refers to two or more, and other quantifiers are similar.

[0026] (3) "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.

[0027] (4) Polling mode: It can be understood as a question-and-answer mode. The master device asks first, and the slave device answers. The two communicate and exchange data through continuous interaction. In this mode, after the master device and the slave device establish a logical connection, each communication between the master device and the slave device starts with the master device sending a command request to request the slave device to perform a certain operation or request the internal data of the slave device. After receiving the command, the slave device performs the corresponding operation and provides the data requested by the master device and the command execution status code by returning a frame of message.

[0028] (5) DAQ mode: It can be understood as a question-and-multiple-answers mode. In this mode, after the master device and the slave device establish a logical connection, the master device first sends a DAQ request. After receiving the command, the slave device configures and organizes the uploaded data according to the parameters in the command, and then the slave device can break away from the control of the master device and automatically upload data to the master device at a certain period.

[0029] Figure 1 It is a flowchart of a data parallel monitoring method provided by the embodiments of the present application. As shown in the figure, the process includes the following steps:

[0030] 101: When the master device and the slave device complete the configuration of the DAQ mode, a DAQ request is sent to the slave device. Among them, the DAQ request carries a first time interval, and the first time interval is used to characterize that the slave device periodically reports a first data list according to the DAQ mode based on the first time interval.

[0031] Optionally, the master device and the slave device can complete the configuration of the DAQ mode in the following ways:

[0032] The master device sends a GET_DAQ_SIZE command to the slave device, and the GET_DAQ_SIZE command carries a specified first data list number (specified DAQList_N number). After receiving the GET_DAQ_SIZE command, the slave device sends the ODT quantity of the specified DAQList_N and the first PID number of the ODT to the master device. After the master device obtains the first PID number of the ODT in the DAQList_N, it sends a SET_DAQ_PTR command to the slave device, and the SET_DAQ_PTR command can carry the DAQList_N number, the ODTList_N number, the element number in the ODTList_N, and the specified element (variable) to be initialized. According to the specific elements set by the SET_DAQ_PTR command, the master device sends a WRITE_DAQ command to the slave device, and the WRITE_DAQ command carries the byte size of the element, the address of the element, etc. The master device initializes a specific ODTList_N table by repeatedly executing the two commands SET_DAQ_PTR and WRITE_DAQ, and then initializes a specific DAQList_N table until all DAQList_N tables are initialized. Among them, each DAQ List (first data list) defines the variable (data) content to be transmitted. The container for storing the transmitted variable content is called an ODT, which specifically describes the storage address, variable length, etc. of each variable. One ODT corresponds to one DAQ-DTO message. When the master device completes the initialization of the ODTList_N, it completes the configuration of the DAQ mode with the slave device.

[0033] In the embodiments of the present application, after the configuration of the DAQ mode is completed, the variables to be transmitted are grouped according to the transmission rate, and each group is called a DAQ List (first data list). Each DAQ List defines the variable content to be transmitted. The container for storing the transmitted variable content is called an ODT, which is used to describe the variable address and variable length of each variable, and may also include relevant information such as an offset. One ODT corresponds to one DAQ-DTO message.

[0034] Such as Figure 2As shown, the format diagram of the first data list is exemplarily shown. As shown in the figure, DAQlist#0 is the first data list number, ODT#1 and ODT#0 are the variable address and variable length used to describe each variable.

[0035] 102: The master device sets a second time interval and sends a polling request to the slave device, wherein the polling request carries a variable grouping rule of the polling mode, and the second time interval is used to indicate that the master device periodically sends the polling request according to the polling mode based on the second time interval.

[0036] Optionally, the variable grouping rule in the polling mode is determined according to the acquisition frequency and the number of variables collected in the polling mode. For example, in the polling mode, the acquisition frequency grouping of 1s: n variables are divided into 10 groups, each group has n / 10 variables, the acquisition frequency grouping of 500ms: n variables are divided into 5 groups, each group has n / 5 variables, the acquisition frequency grouping of 100ms: n variables are divided into 1 group, a total of n variables. Among them, the total number of variables is controlled at 100ms / single variable frequency, and the single variable frequency refers to the time from sending to receiving.

[0037] In some embodiments, the second time interval can be calculated based on the first time interval so that the time node of the first time interval does not overlap with the time node of the second time interval, thereby making the operation of receiving the first data list (DAQ mode operation) and the operation of sending the polling request (polling mode operation) not affect each other, avoiding conflicts and preventing data loss.

[0038] 103: The master device determines whether there is a time node of the first time interval between the current time and the second time interval according to the first time interval and the second time interval. If yes, proceed to 104. If not, receive a polling request response returned by the slave device in the polling mode within the time until the second time interval.

[0039] For example, if the first time interval is 50ms, the second time interval is 100ms, and the current time node is 12ms, it can be determined that there is a time point of the first time interval in the time period from 12ms to 112ms, and transfer to 104; if the first time interval is 500ms, the second time interval is 100ms, and the current time node is 12ms, it can be determined that there is no time point of the first time interval in the time period from 12ms to 112ms. At this time, it is only necessary to execute data monitoring in polling mode (receive the polling request response returned by the slave device in polling mode).

[0040] 104: The master device receives the first data list reported by the slave device at this time node according to the DAQ mode, and receives the polling request response returned by the slave device according to the polling mode. Among them, the polling request response carries the second data list reported by the slave device based on the variable grouping rule of the polling mode.

[0041] Optionally, the second data list may include the variable address and variable length of the variables collected by the slave device according to the polling mode.

[0042] Optionally, in the polling mode, the reporting form of the second data list may include the following:

[0043] When the acquisition frequency is 100 ms: Report all variables.

[0044] When the acquisition frequency is 1 s: Send them sequentially according to the group number.

[0045] When the acquisition frequency is 500 ms: Send them sequentially according to the group number.

[0046] Optionally, the master device may also be provided with a first queue and a second queue. The first queue is used to store the first data list reported by the slave device each time, and the second queue is used to store the second data list reported by the slave device each time.

[0047] Optionally, to determine which queue the reported data list is stored in, the following method can be used:

[0048] Parse the first data list and the second data list respectively to obtain the first list identifier and the second list identifier; query the corresponding relationship table according to the first list identifier and the second list identifier to obtain the first queue identifier corresponding to the first list identifier, and store the first data list in the first queue, and obtain the second queue identifier corresponding to the second list identifier, and store the second data list in the second queue. Among them, the corresponding relationship table is used to store the corresponding relationship between the list identifier and the queue identifier, and Table 1 exemplarily shows the corresponding relationship table.

[0049] Table 1: Corresponding Relationship Table

[0050] List identifier Queue identifier PID = 0 First queue A PID = 1 First queue A PID = 2 First queue A PID = 0xFF Second queue B

[0051] In an embodiment of the present application, when the master device and the slave device complete the configuration of the data acquisition (DAQ) mode, a DAQ request is sent to the slave device. The command carries a first time interval and can perform data (variable) monitoring in the DAQ mode. Further, when the master device wants to perform data monitoring in the polling mode, a second time interval is set, and a polling request is sent to the slave device. Based on the first time interval and the second time interval, it is determined whether there is a time node for receiving the first data list in the DAQ mode within the current time period. If so, the master device receives the first data list reported by the slave device in the DAQ mode and receives the polling request response returned by the slave device in the polling mode within this time period. In the polling mode, the master device can also receive the first data list reported in the DAQ mode, thereby avoiding the loss of the first data list, achieving parallel data monitoring in two modes, and improving the efficiency of the master device in data monitoring.

[0052] Based on the same technical concept, an embodiment of the present application further provides a data parallel monitoring system, which can implement the process of the above data parallel monitoring method in the embodiment of the present application.

[0053] Figure 3 A data parallel monitoring system provided by an embodiment of the present application is shown in the figure. The system includes: a master device 301 and a slave device. The slave device includes a DAQ mode unit 302a and a polling mode unit 302b.

[0054] The master device 301 is configured to send a DAQ request to the DAQ mode unit 302a when the configuration of the DAQ mode is completed with the DAQ mode unit 302a; wherein, the DAQ request carries a first time interval, and the first time interval is used to represent that the DAQ mode unit 302a periodically reports a first data list according to the DAQ mode based on the first time interval; is configured to set a second time interval and send a polling request to the polling mode unit 302b; wherein, the polling request carries a variable grouping rule of the polling mode, and the second time interval is used to represent that the master device 301 periodically sends the polling request according to the polling mode based on the second time interval; and is configured to, if it is determined according to the first time interval and the second time interval that there is a time node of the first time interval within the time from the current time to the second time interval, receive the first data list reported by the DAQ mode unit 302a according to the DAQ mode at the time node, and receive a polling request response returned by the polling mode unit 302b according to the polling mode, where the polling request response carries a second data list reported by the polling mode unit based on the variable grouping rule of the polling mode.

[0055] The DAQ mode unit 302a is configured to report the first data list according to the DAQ mode according to the DAQ request sent by the master device 301.

[0056] The polling mode unit 302b is configured to return the polling request response according to the polling mode according to the polling request sent by the master device 301 according to the polling mode.

[0057] It should be noted here that the above system provided in the embodiments of the present application can implement all the method steps in the above data parallel monitoring embodiments and can achieve the same technical effects. Therefore, the same parts and beneficial effects as those in the method embodiments will not be specifically described in this embodiment.

[0058] Based on the same technical concept, the embodiments of the present application further provide an electronic device, which can implement the process of the above data parallel monitoring method in the embodiments of the present application.

[0059] Figure 4 Exemplarily shown is a schematic structural diagram of the electronic device provided in the embodiments of the present application.

[0060] As shown in the figure, the device may include: a processor 401, a memory 402, and a bus interface 403.

[0061] The processor 401 is responsible for managing the bus architecture and general processing, and the memory 402 can store the data used by the processor 401 when executing operations.

[0062] The bus architecture can include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by the processor 401 and the memory represented by the memory 402. The bus architecture can also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and thus will not be further described herein. The bus interface provides an interface. The processor 401 is responsible for managing the bus architecture and general processing, and the memory 402 can store the data used by the processor 401 when executing operations.

[0063] The processes disclosed in the embodiments of the present application can be applied to or implemented by the processor 401. During the implementation process, each step of the signal processing process can be completed by the integrated logic circuit in the hardware of the processor 401 or by instructions in software form. The processor 401 can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method claimed in combination with the embodiments of the present application can be directly embodied as being executed by the hardware processor, or executed by a combination of hardware and software modules in the processor. The software module can be located in a mature storage medium in the art such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. This storage medium is located in the memory 402, and the processor 401 reads the information in the memory 402 and combines its hardware to complete the steps of the information processing process.

[0064] Specifically, the processor 401 is configured to read computer instructions in the memory 402 and execute a data parallel monitoring method in the embodiments of the present application.

[0065] It should be noted here that the above communication device provided in the embodiments of the present application can implement all the method steps implemented in the above method embodiments and can achieve the same technical effects. The same parts and beneficial effects as those in the method embodiments will not be specifically described in this embodiment.

[0066] The embodiments of the present application also provide a computer-readable storage medium, which stores computer-executable instructions for causing a computer to execute a data parallel monitoring method in the above embodiments.

[0067] The embodiment of the present application also provides a computer program product. When the computer program product is called by a computer, the computer is caused to execute a data parallel monitoring method in the above embodiment.

[0068] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0069] The present application is described with reference to the flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices generate means for implementing the specified functions in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0070] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means implements the specified functions in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0071] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the specified functions in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0072] Obviously, those skilled in the art can make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims

1. A data parallel monitoring method, characterized in that, including: When the master device completes the configuration of the data acquisition (DAQ) mode with the slave device, it sends a DAQ request to the slave device; wherein, the DAQ request carries a first time interval, and the first time interval is used to represent that the slave device periodically reports a first data list according to the DAQ mode based on the first time interval; The master device sets a second time interval and sends a polling request to the slave device; wherein, the polling request carries a variable grouping rule for the polling mode, and the variable grouping rule is determined according to the acquisition frequency and the number of variables acquired in the polling mode. The second time interval is used to represent that the master device periodically sends the polling request according to the polling mode based on the second time interval; If the master device determines, based on the first time interval and the second time interval, that there is a time node of the first time interval within the time from the current time to the second time interval, the master device receives the first data list reported by the slave device according to the DAQ mode at the time node, and receives a polling request response returned by the slave device according to the polling mode. The polling request response carries a second data list reported by the slave device based on the variable grouping rule of the polling mode.

2. The method according to claim 1, wherein The first data list at least includes the variable address and the variable length of the variables acquired by the slave device according to the DAQ mode; The second data list at least includes the variable address and the variable length of the variables acquired by the slave device according to the polling mode; 3. The method according to any one of claims 1-2, characterized in that, The master device is provided with a first queue and a second queue. The first queue is used to store the first data list reported by the slave device, and the second queue is used to store the second data list reported by the slave device; After the master device receives the first data list reported by the slave device according to the DAQ mode at the time node and receives the polling request response returned by the slave device according to the polling mode, it further includes: Parsing the first data list and the second data list respectively to obtain a first list identifier and a second list identifier; Querying a correspondence table according to the first list identifier and the second list identifier to obtain a first queue identifier corresponding to the first list identifier, storing the first data list in the first queue, and obtaining a second queue identifier corresponding to the second list identifier, and storing the second data list in the second queue; wherein, the correspondence table is used to store the correspondence between the list identifier and the queue identifier.

4. A data parallel monitoring system, characterized in that, including: A master device and a slave device, and the slave device includes a data acquisition (DAQ) mode unit and a polling mode unit; The master device is configured to send a DAQ request to the DAQ mode unit when the configuration of the DAQ mode is completed with the DAQ mode unit. The DAQ request carries a first time interval, which is used to indicate that the DAQ mode unit periodically reports a first data list according to the DAQ mode based on the first time interval. It is also configured to set a second time interval and send a polling request to the polling mode unit. The polling request carries a variable grouping rule for the polling mode, which is determined according to the acquisition frequency and the number of variables acquired in the polling mode. The second time interval is used to indicate that the master device periodically sends the polling request according to the polling mode based on the second time interval. And it is configured to, if it is determined that there is a time node of the first time interval within the time from the current time to the second time interval according to the first time interval and the second time interval, receive the first data list reported by the DAQ mode unit according to the DAQ mode at the time node, and receive a polling request response returned by the polling mode unit according to the polling mode. The polling request response carries a second data list reported by the polling mode unit based on the variable grouping rule of the polling mode. The DAQ mode unit is configured to report the first data list according to the DAQ mode based on the DAQ request sent by the master device. The polling mode unit is configured to return a polling request response according to the polling mode based on the polling request sent by the master device according to the polling mode.

5. The system according to claim 4, wherein The first data list at least includes the variable address and variable length of the variables acquired by the slave device according to the DAQ mode. The second data list at least includes the variable address and variable length of the variables acquired by the slave device according to the polling mode.

6. The system according to any one of claims 4-5, characterized in that, The master device is provided with a first queue and a second queue. The first queue is used to store the first data list reported by the slave device, and the second queue is used to store the second data list reported by the slave device. The master device further includes: a classification module. The classification module is configured to parse the first data list and the second data list respectively to obtain a first list identifier and a second list identifier. Query a correspondence table according to the first list identifier and the second list identifier to obtain a first queue identifier corresponding to the first list identifier, and store the first data list in the first queue, and obtain a second queue identifier corresponding to the second list identifier, and store the second data list in the second queue. The correspondence table is used to store the correspondence between the list identifier and the queue identifier.

7. An electronic device, characterized in that, It includes: a processor and a memory; The memory is used to store a computer program; When the processor is used to execute the computer program stored on the memory, it executes the method according to any one of claims 1-3.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the method according to any one of claims 1-3.