WO2024092944A1 - 一种数据处理方法、装置、存储介质及电子设备 - Google Patents

一种数据处理方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2024092944A1
WO2024092944A1 PCT/CN2022/135798 CN2022135798W WO2024092944A1 WO 2024092944 A1 WO2024092944 A1 WO 2024092944A1 CN 2022135798 W CN2022135798 W CN 2022135798W WO 2024092944 A1 WO2024092944 A1 WO 2024092944A1
Authority
WO
WIPO (PCT)
Prior art keywords
unit
data operation
data
target
operation request
Prior art date
Application number
PCT/CN2022/135798
Other languages
English (en)
French (fr)
Inventor
鹿洪飞
刘星宇
李绍勇
杨汶佼
张兴明
Original Assignee
之江实验室
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 之江实验室 filed Critical 之江实验室
Publication of WO2024092944A1 publication Critical patent/WO2024092944A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Definitions

  • the present invention relates to the field of industrial control, and in particular to a data processing method, device, storage medium and electronic device.
  • industrial control systems can include business process management and control systems composed of various automation control components and process control components.
  • process control components can collect and monitor real-time data.
  • the automation control components in the industrial control system may include a Field Programmable Gate Array (FPGA), and the process control components may include an I/O module.
  • FPGA Field Programmable Gate Array
  • the embodiments of this specification provide a data processing method, device, storage medium and electronic device to partially solve the problems existing in the above-mentioned prior art.
  • the present specification provides a data processing method, which is applied to a first unit in an industrial control system
  • the industrial control system includes a plurality of first transceivers corresponding to the first unit
  • the industrial control system also includes a plurality of second units, for each second unit
  • the industrial control system also includes a plurality of second transceivers corresponding to the second unit
  • the method includes: in response to receiving a data operation request, determining a second unit that needs to perform a data operation as a target second unit; sending the data operation request to the target second unit through the plurality of communication links between the first unit and the target second unit, so that the target second unit receives the data operation request through the plurality of second transceivers, and processes the target data to be operated according to the data operation instruction
  • receiving the processing result sent by the target second unit includes: determining a first transceiver corresponding to the target second unit from the multiple first transceivers as the target first transceiver; switching the transceiver state of the target first transceiver from a data sending state to a data receiving state; detecting whether each target first transceiver in the target first transceiver has received the processing result sent by the target second unit within a preset time length, wherein the preset time length is greater than the maximum execution time length of the target second unit to execute the data operation instruction; if it is detected that each target first transceiver in the target first transceiver has received the processing result sent by the target second unit, executing a response strategy for the data operation request according to the first processing result received, and deleting the processing result received after receiving the first processing result; switching the transceiver state of the target first transceiver from a data receiving state to a data sending state.
  • the method further includes: if it is detected that each target first transceiver in the target first transceiver has not received the processing result sent by the target second unit, determining a timeout processing strategy for the data operation request and executing the timeout processing strategy.
  • the plurality of first transceivers and the plurality of second transceivers are RS-485 transceivers.
  • the present specification provides a data processing method, which is applied to a second unit in an industrial control system, wherein the industrial control system also includes a first unit, multiple first transceivers corresponding to the first unit, and multiple second transceivers corresponding to the second unit, and there are multiple communication links between the second unit and the first unit.
  • the communication link is composed of a connection between one of the multiple second transceivers and one of the multiple first transceivers.
  • the method includes: receiving, through the multiple second transceivers, a data operation request sent by the first unit through the multiple communication links between the first unit and the second unit, wherein the data operation request is received by the first unit; determining the target data to be operated according to the data operation instruction in the data operation request, and processing the target data to obtain a processing result; sending the processing result to the first unit through the multiple second transceivers, so that the first unit executes a response strategy for the data operation request according to the received processing result.
  • the multiple second transceivers include: a main second transceiver and an auxiliary second transceiver; receiving a data operation request sent by the first unit through multiple communication links between the first unit and the second unit through the multiple second transceivers includes: detecting whether the main second transceiver receives the data operation request sent by the first unit through the multiple communication links between the first unit and the second unit; if the main second transceiver receives the data operation request, saving the data operation request to a first cache area, parsing the data operation request to obtain a data operation instruction, and saving the data operation instruction to a first task queue; if the main second transceiver does not receive the data operation request, detecting whether the auxiliary second transceiver receives the data operation request; if the auxiliary second transceiver receives the data operation request, saving the data operation request to a second cache area, parsing the data operation request to obtain a data operation instruction, and saving the data operation instruction to a second task queue.
  • the target data to be operated is determined according to the data operation instruction in the data operation request, including: detecting whether the first task queue contains the data operation instruction, and if the first task queue contains the data operation instruction, determining the target data to be operated according to the data operation instruction; if the first task queue does not contain the data operation instruction, detecting whether the second task queue contains the data operation instruction, and if the second task queue contains the data operation instruction, determining the target data to be operated according to the data operation instruction.
  • sending the processing result to the first unit through the multiple second transceivers includes: switching the transceiver state of the multiple second transceivers from a data receiving state to a data sending state; sending the processing result to the first unit through the multiple second transceivers; switching the transceiver state of the multiple second transceivers from a data sending state to a data receiving state.
  • this specification provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program implements the above-mentioned data processing method when executed by a processor.
  • this specification provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned data processing method when executing the program.
  • each second unit there are multiple communication links between the first unit and the second unit.
  • the first unit After responding to the data operation request, the first unit sends the data operation request to the second unit through the multiple communication links between the first unit and the second unit.
  • the second unit processes the target data to be operated according to the data operation instruction in the data operation request, obtains the processing result, and sends the processing result to the first unit through the multiple communication links.
  • the first unit executes the response strategy for the data operation request according to the processing result.
  • the first unit and each second unit communicate end-to-end, and there are multiple communication links between the first unit and each second unit to ensure that the first unit and the second unit can communicate normally and improve the communication stability of the industrial control system.
  • FIG1 is a schematic diagram of the structure of multiple communication links between a first unit and each second unit provided in an embodiment of this specification;
  • FIG2 is a flow chart of a data processing method provided in an embodiment of this specification.
  • FIG3 is a flow chart of another data processing method provided in an embodiment of this specification.
  • FIG4 is a schematic diagram of the structure of a data processing device provided in an embodiment of this specification.
  • FIG5 is a schematic diagram of the structure of another data processing device provided in an embodiment of this specification.
  • FIG. 6 is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification.
  • the data processing method provided in this specification is intended to establish end-to-end communication between the FPGA and I/O modules in an industrial control system, and to establish multiple communication links between the FPGA and each I/O module, so as to ensure normal communication between the FPGA and the I/O modules when any communication link fails.
  • an embodiment of this specification provides a data processing system, which may include: a first unit and a second unit in an industrial control system.
  • the first unit may refer to a component in the industrial control system used to control each second unit, such as an FPGA, etc.
  • the second unit may refer to a component in the industrial control system used to monitor and collect data generated during the operation of each industrial device, such as an I/O module, etc.
  • the second unit may also configure the data required for the operation of each industrial device in the industrial control system.
  • the data generated or required during the operation of each industrial device may include: input digital signal data, output digital signal data, input analog signal data, output analog signal data, etc.
  • the data generated or required during the operation of each industrial device may include: voltage data, current data, temperature data, humidity data, etc.
  • a first unit can control multiple second units.
  • the industrial control system includes multiple first transceivers corresponding to each first unit, and multiple second transceivers corresponding to each second unit.
  • the first transceiver and the second transceiver have the same structure, and the first transceiver and the second transceiver can be RS-485 transceivers. If the first transceiver and the second transceiver are RS-485 transceivers, the communication protocol between the first unit and the second unit is the RS-485 protocol.
  • the RS-485 transceiver since the RS-485 transceiver adopts a half-duplex communication mode, the RS-485 transceiver cannot receive and send data at the same time, so the RS-485 transceiver needs to switch the transceiver state when transmitting and receiving data.
  • each second unit there are multiple communication links between the second unit and the first unit, and for each communication link, the communication link is formed by connecting a second transceiver of the second unit and a first transceiver of the first unit.
  • the communication link is formed by connecting a second transceiver of the second unit and a first transceiver of the first unit.
  • the embodiment of this specification provides a structural schematic diagram of multiple communication links between the first unit and each second unit, as shown in FIG1 .
  • FIG. 1 taking one FPGA and three I/O modules as an example, for each I/O module, two communication links may exist between the FPGA and the I/O module.
  • the first unit may determine the second unit that needs to perform the data operation as the target second unit. Then, the data operation request is sent to the target second unit through multiple communication links between the first unit and the target second unit.
  • the data operation request may carry the identifier of the second unit that needs to perform the data operation, the communication address of the second unit that needs to perform the data operation, and the data operation instruction.
  • the data operation request may include: data acquisition request, data configuration request, etc.
  • the first unit may first determine the second unit that needs to perform the data operation from the data operation request as the target second unit. Then, each first transceiver correspondingly connected to the target second unit may be determined from a plurality of first transceivers as each target first transceiver. Afterwards, the transceiver state of each target first transceiver is switched from a data receiving state to a data sending state. Finally, the data operation request may be sent to the target second unit according to the communication address of the target second unit and the communication protocol corresponding to the plurality of communication links between the first unit and the target second unit. That is, the data operation request is sent to the target second unit through the communication link between the first unit and the target second unit. After sending the data operation request to the target second unit, the first unit may switch the transceiver state of each target first transceiver from a data sending state to a data receiving state.
  • the target second unit can receive data operation requests through multiple second transceivers, and determine the target data to be operated according to the data operation instructions in the data operation request, and process the target data to obtain the processing result, and send the processing result to the first unit.
  • the processing methods for processing the target data are also different, and the corresponding processing results are also different.
  • the target data can be collected and summarized to obtain a summarized data set (i.e., the processing result).
  • the target data is reconfigured to obtain the reconfigured data, and the configuration completion information is used as the processing result.
  • the target second unit detects whether the plurality of second transceivers receive the data operation request. If the plurality of second transceivers all receive the data operation request, the data operation instructions in the data operation request are executed in sequence. If only some of the plurality of second transceivers receive the data operation request, only the data operation instructions in the data operation request received by some of the second transceivers are executed.
  • the multiple second transceivers included in the target second unit may include: a main second transceiver and an auxiliary second transceiver. There may be multiple auxiliary second transceivers.
  • the priority of the main second transceiver is higher than the priority of the auxiliary second transceiver, and the main second transceiver and the auxiliary second transceiver are mutually redundant second transceivers.
  • the target second unit detects whether the main second transceiver receives a data operation request sent by the first unit through multiple communication links between the first unit and the target second unit. If the main second transceiver receives the data operation request, the data operation request is saved in the first buffer area. If the main second transceiver does not receive the data operation request, it detects whether the auxiliary second transceiver receives the data operation request. If the auxiliary second transceiver receives the data operation request, the data operation request is saved in the second buffer area. The first buffer area is used to cache data received by the main second transceiver, and the second buffer area is used to cache data received by the auxiliary second transceiver.
  • the target second unit detects whether the first buffer area contains a data operation request. If the first buffer area contains a data operation request, the data operation request is parsed according to the communication protocol between the first unit and the target second unit to obtain a data operation instruction. Then, the data operation instruction is saved in the first task queue. If the first buffer area does not contain a data operation request, detect whether the second buffer area contains a data operation request. If the second buffer area contains a data operation request, the data operation request is parsed according to the communication protocol between the first unit and the target second unit to obtain a data operation instruction. Then, the data operation instruction is saved in the second task queue.
  • the first task queue and the second task queue can be a circular queue for storing task instructions to be executed. Task instruction can refer to a data operation instruction.
  • the target data to be operated can be determined according to the data operation instruction. Then, the target data is processed to obtain a processing result.
  • the second task queue is detected to determine whether it contains the data operation instruction. If the second task queue contains the data operation instruction, the target data to be operated can be determined according to the data operation instruction, and the target data can be processed to obtain the processing result.
  • the first unit sends a data collection request to the target second unit through multiple communication links between the first unit and the target second unit.
  • the target second unit determines the temperature data to be collected (i.e., target data) according to the data collection instruction in the data collection request, and then obtains and summarizes each temperature data to obtain a data set for the temperature data (i.e., processing result). Finally, the data set is sent to the first unit.
  • the transceiver state of the plurality of second transceivers is switched from the data receiving state to the data sending state. Then, the processing results can be sent to the first unit respectively through the plurality of second transceivers. After the target second unit sends the processing result to the first unit, the transceiver state of the plurality of second transceivers can be switched from the data sending state to the data receiving state.
  • the target second unit needs to execute the data operation instructions received by the main second transceiver and the auxiliary second transceiver, that is, execute the data operation instructions successively and send the generated processing results to the first unit successively. In this way, it can be avoided that when any communication link between the first unit and the second unit is abnormal, the second unit can send the processing result to the first unit.
  • the first unit may receive the processing result sent by the target second unit through each target first transceiver, and determine a response strategy for the data operation request based on the processing result, and execute the determined response strategy.
  • the first unit can detect whether each target first transceiver receives the processing result sent by the target second unit within a preset time length.
  • the preset time length is greater than the maximum execution time length of the target second unit to execute the data operation instruction.
  • a response strategy for the data operation request can be determined based on the first processing result received, and the response strategy can be executed.
  • the processing result received after the first processing result is received is deleted to reduce the buffer pressure of the first unit.
  • the response strategy may include at least one strategy such as forwarding the processing result to the device that sent the data operation request and returning data operation completion information to the device that sent the data operation request.
  • a timeout processing strategy for the data operation request is determined and executed.
  • the timeout processing strategy may include at least one strategy such as resending the data operation request to the target second unit and returning a timeout prompt message to the device sending the data operation request.
  • the transceiver state of each target first transceiver may be switched from a data receiving state to a data sending state.
  • the first unit may forward the data set to the device that sent the data collection request after receiving the data set.
  • the transceiver state of the plurality of first transceivers is the data sending state by default
  • the transceiver state of the plurality of second transceivers is the data receiving state by default
  • FIG. 2 is a flow chart of a data processing method provided in an embodiment of this specification.
  • the data processing method is applied to the first unit in the industrial control system.
  • the data processing method includes:
  • S200 In response to receiving a data operation request, determining a second unit on which data operation needs to be performed as a target second unit.
  • S202 Send the data operation request to the target second unit through the multiple communication links between the first unit and the target second unit, so that the target second unit receives the data operation request through the multiple second transceivers, and processes the target data to be operated according to the data operation instructions in the data operation request, obtains the processing result, and sends the processing result to the first unit.
  • S204 Receive the processing result sent by the target second unit, and execute a response strategy for the data operation request according to the processing result.
  • the data processing method is applied to a first unit in an industrial control system, and the first unit is provided with a plurality of first transceivers.
  • the industrial control system also includes a plurality of second units, and for each second unit, the second unit is provided with a plurality of second transceivers, and there are a plurality of communication links between the second unit and the first unit, and for each communication link, the communication link is formed by connecting a second transceiver of the second unit and a first transceiver of the first unit.
  • the first unit When the first unit communicates with the second unit, the first unit determines the second unit that needs to perform data operation as the target second unit in response to the data operation request. Then, the data operation request is sent to the target second unit through multiple communication links between the first unit and the target second unit, so that the target second unit receives the data operation request through multiple second transceivers, and processes the target data to be operated according to the data operation instruction in the data operation request, obtains the processing result, and sends the processing result to the first unit.
  • the first unit receives the processing result sent by the target second unit, and executes a response strategy for the data operation request according to the processing result.
  • each first transceiver correspondingly connected to the target second unit is determined from the plurality of first transceivers as each target first transceiver.
  • the transceiver state of each target first transceiver is switched from a data sending state to a data receiving state. Then, within a preset time length, it is detected whether each target first transceiver has received the processing result sent by the target second unit.
  • the preset time length is greater than the maximum execution time length of the target second unit to execute the data operation instruction.
  • each target first transceiver If it is detected that each target first transceiver has received the processing result sent by the target second unit, a response strategy for the data operation request is executed according to the first processing result received, and the processing result received after the first processing result is received is deleted. Finally, the transceiver state of each target first transceiver is switched from the data receiving state to the data sending state.
  • a timeout processing strategy for the data operation request is determined and executed.
  • FIG. 3 is a flow chart of another data processing method provided in an embodiment of this specification, the data processing method is applied to the second unit in the industrial control system, and the data processing method includes:
  • S300 receiving, through a plurality of second transceivers corresponding to a second unit, a data operation request sent by a first unit through a plurality of communication links between the first unit and the second unit, wherein the data operation request is received by the first unit.
  • S302 Determine target data to be operated according to the data operation instruction in the data operation request, and process the target data to obtain a processing result.
  • S304 Sending the processing result to the first unit through the multiple second transceivers, so that the first unit executes a response strategy for the data operation request according to the received processing result.
  • the data processing method is applied to any second unit in an industrial control system.
  • the industrial control system also includes a first unit, and the first unit is correspondingly provided with a plurality of first transceivers.
  • the second unit is correspondingly provided with a plurality of second transceivers, and there are a plurality of communication links between the second unit and the first unit, and for each communication link, the communication link is formed by connecting a second transceiver of the second unit and a first transceiver of the first unit.
  • the plurality of second transceivers may include: a main second transceiver and an auxiliary second transceiver.
  • any second unit can correspond to the above-mentioned target second unit.
  • the second unit may receive, through the plurality of second transceivers, data operation requests sent by the first unit through the plurality of communication links between the first unit and the second unit, wherein the data operation requests are received by the first unit.
  • the second unit can determine the target data to be operated according to the data operation instruction in the data operation request, and process the target data to obtain a processing result.
  • the processing result is sent to the first unit through multiple second transceivers, so that the first unit executes a response strategy for the data operation request according to the received processing result.
  • the second unit may detect whether the main second transceiver receives the data operation request sent by the first unit through the plurality of communication links between the first unit and the second unit.
  • the main second transceiver receives a data operation request
  • the data operation request is saved in the first buffer area
  • the data operation request is analyzed to obtain a data operation instruction
  • the data operation instruction is saved in the first task queue.
  • the main second transceiver does not receive the data operation request, it is detected whether the auxiliary second transceiver receives the data operation request.
  • the auxiliary second transceiver receives a data operation request, it saves the data operation request to the second buffer area, parses the data operation request to obtain a data operation instruction, and saves the data operation instruction to the second task queue.
  • the target data to be operated is determined according to the data operation instruction, and the target data is processed to obtain a processing result.
  • the first task queue does not contain data operation instructions, detect whether the second task queue contains data operation instructions. If the second task queue contains data operation instructions, determine the target data to be operated according to the data operation instructions, and process the target data to obtain a processing result.
  • the second unit may send the processing result to the first unit through the multiple second transceivers, so that the first unit determines a response strategy for the data operation request according to the received processing result.
  • the first unit After responding to the data operation request, the first unit sends the data operation request to the second unit through the multiple communication links between the first unit and the second unit.
  • the second unit processes the target data to be operated according to the data operation instruction in the data operation request, obtains the processing result, and sends the processing result to the first unit through the multiple communication links.
  • the first unit executes the response strategy for the data operation request according to the processing result.
  • the first unit communicates end-to-end with each second unit, and there are multiple communication links between the first unit and each second unit to ensure that the first unit and the second unit can communicate normally and improve the communication stability of the industrial control system.
  • FIG4 is a schematic diagram of the structure of a data processing device provided in an embodiment of this specification, wherein the device comprises:
  • a determination module 401 is used for, in response to receiving a data operation request, determining a second unit on which a data operation needs to be performed as a target second unit;
  • a sending module 402 configured to send the data operation request to the target second unit through a plurality of communication links between the first unit and the target second unit, so that the target second unit receives the data operation request through the plurality of second transceivers, processes the target data to be operated according to the data operation instruction in the data operation request, obtains a processing result, and sends the processing result to the first unit;
  • the receiving module 403 is used to receive the processing result sent by the target second unit, and execute a response strategy for the data operation request according to the processing result.
  • the receiving module 403 is used to determine, from the multiple first transceivers, a first transceiver correspondingly connected to the target second unit as the target first transceiver; switch the transceiver state of the target first transceiver from a data sending state to a data receiving state; within a preset time length, detect whether each target first transceiver in the target first transceiver has received the processing result sent by the target second unit, wherein the preset time length is greater than the maximum execution time length of the target second unit to execute the data operation instruction; if it is detected that each target first transceiver in the target first transceiver has received the processing result sent by the target second unit, execute a response strategy for the data operation request according to the first processing result received, and delete the processing result received after receiving the first processing result; switch the transceiver state of the target first transceiver from a data receiving state to a data sending state.
  • the receiving module 403 is also used to determine a timeout processing strategy for the data operation request and execute the timeout processing strategy if it is detected that each target first transceiver in the target first transceiver has not received the processing result sent by the target second unit.
  • the plurality of first transceivers and the plurality of second transceivers are RS-485 transceivers.
  • FIG5 is a schematic diagram of the structure of another data processing device provided in an embodiment of this specification, wherein the device comprises:
  • a receiving module 501 is configured to receive, through the plurality of second transceivers, a data operation request sent by the first unit through a plurality of communication links between the first unit and the second unit, wherein the data operation request is received by the first unit;
  • the determination module 502 is used to determine the target data to be operated according to the data operation instruction in the data operation request, and process the target data to obtain a processing result;
  • the sending module 503 is used to send the processing result to the first unit through the multiple second transceivers, so that the first unit executes a response strategy for the data operation request according to the received processing result.
  • the plurality of second transceivers include: a primary second transceiver and an auxiliary second transceiver.
  • the receiving module 501 is used to detect whether the main second transceiver receives a data operation request sent by the first unit through multiple communication links between the first unit and the second unit; if the main second transceiver receives the data operation request, save the data operation request to a first cache area, parse the data operation request to obtain a data operation instruction, and save the data operation instruction to a first task queue; if the main second transceiver does not receive the data operation request, detect whether the auxiliary second transceiver receives the data operation request; if the auxiliary second transceiver receives the data operation request, save the data operation request to a second cache area, parse the data operation request to obtain a data operation instruction, and save the data operation instruction to a second task queue.
  • the determination module 502 is used to detect whether the first task queue contains the data operation instruction. If the first task queue contains the data operation instruction, the target data to be operated is determined according to the data operation instruction; if the first task queue does not contain the data operation instruction, detect whether the second task queue contains the data operation instruction. If the second task queue contains the data operation instruction, the target data to be operated is determined according to the data operation instruction.
  • the sending module 503 is used to switch the transceiver state of the multiple second transceivers from a data receiving state to a data sending state; send the processing results to the first unit through the multiple second transceivers; and switch the transceiver state of the multiple second transceivers from a data sending state to a data receiving state.
  • This specification also provides a computer-readable storage medium, which stores a computer program.
  • the computer program When the computer program is executed by a processor, it can be used to execute the data processing method provided in Figures 2 and 3 above.
  • the embodiment of this specification also provides a structural schematic diagram of an electronic device shown in Figure 6.
  • the electronic device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory, and of course may also include hardware required for other services.
  • the processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to implement the data processing method described in Figures 3 and 2 above.
  • a programmable logic device such as a field programmable gate array (FPGA)
  • FPGA field programmable gate array
  • HDL Hardware Description Language
  • HDL Very-High-Speed Integrated Circuit Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal Joint CHDL
  • JHDL Java Hardware Description Language
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer readable medium storing a computer readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory.
  • a computer readable program code e.g., software or firmware
  • the controller may be implemented in the form of a logic gate, a switch, an application specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the means for implementing various functions included therein may also be considered as a structure within the hardware component. Or even, the means for implementing various functions may be considered as both a software module for implementing the method and a structure within the hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
  • this specification may be provided as methods, systems, or computer program products. Therefore, this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, this specification may 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.) that contain computer-usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may 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, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information.
  • Information can be computer readable instructions, data structures, program modules or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
  • the embodiments of the present specification may be provided as methods, systems or computer program products. Therefore, the present specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware aspects. Moreover, the present specification may 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.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network.
  • program modules may be located in local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Hardware Redundancy (AREA)

Abstract

本说明书公开了一种数据处理方法、装置、存储介质及电子设备,本说明书实施例中针对每个第二单元,第一单元与该第二单元之间存在多条通信链路。第一单元在响应于数据操作请求后,通过第一单元与第二单元之间的多条通信链路,将数据操作请求发送给第二单元。第二单元根据数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将处理结果通过多条通信链路发送给第一单元。第一单元根据处理结果,执行针对数据操作请求的响应策略。在此方法中,第一单元与各第二单元之间进行端到端的通信,并且第一单元与每个第二单元之间存在多条通信链路,以保证第一单元与第二单元之间能够正常通信,并提高工业控制系统的通信稳定。

Description

一种数据处理方法、装置、存储介质及电子设备 技术领域
本说明书涉及工业控制领域,尤其涉及一种数据处理方法、装置、存储介质及电子设备。
背景技术
在工业控制领域中,工业控制系统可以包括由各种自动化控制组件以及过程控制组件共同构成的业务流程管控系统。其中,过程控制组件可以对实时数据进行采集和监测。
工业控制系统中的自动化控制组件可以包含现场可编程逻辑阵列(Field Programmable Gate Array,FPGA),过程控制组件可以包含I/O模块。
在相关技术中,由于FPGA与各I/O模块之间的通信链路是共用的,当共用的通信链路存在异常时,可能导致各I/O模块与FPGA之间无法正常传输数据。
发明内容
本说明书实施例提供一种数据处理方法、装置、存储介质及电子设备,以部分解决上述现有技术存在的问题。
第一方面,本说明书提供的一种数据处理方法,所述方法应用于工业控制系统中的第一单元,所述工业控制系统包括对应所述第一单元的多个第一收发器,所述工业控制系统中还包括多个第二单元,针对每个第二单元,所述工业控制系统还包括对应该第二单元多个第二收发器,该第二单元与所述第一单元之间存在多条通信链路,针对每条通信链路,该通信链路是由该第二单元的所述多个第二收发器中的一个和所述第一单元的所述多个第一收发器中的一个连接所构成的,所述方法包括:响应于接收到数据操作请求,确定需要执行数据操作的第二单元,作为目标第二单元;通过所述第一单元与所述目标第二单元之间的多条通信链路,将所述数据操作请求发送给所述目标第二单元,以使所述目标第二单元通过所述多个第二收发器接收所述数据操作请求,并根据所述数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将所述处理结果发送给所述第一单元;接收所述目标第二单元发送的所述处理结果,并根据所述处理结果,执行针对所述数据操作请求的响应策略。
在一些实施例中,接收所述目标第二单元发送的所述处理结果,包括:从所述多个第一收发器中确定出与所述目标第二单元对应连接的第一收发器,作为目标第一收发器;将所述目标第一收发器的收发状态由数据发送状态切换为数据接收状态;在预设时长内,检测所述目标第一收发器中各目标第一收发器是否接收到所述目标第二单元发送的所述处理结果,其中,所述预设时长大于所述目标第二单元执行所述数据操作指令的最大执行时长;若检测到所述目标第一收发器中各目标第一收发器均接收到所述目标第二单元发送的所述处理结果,根据接收到的第一个处理结果,执行针对所述数据操作请求的响应策略,并删除在接收到所述第一个处理结果之后接收到的处理结果;将所述目标第一收发器的收发状态由数据接收状态切换为数据发送状态。
在一些实施例中,所述方法还包括:若检测到所述目标第一收发器中各目标第一收发器均未接收到所述目标第二单元发送的所述处理结果,确定针对所述数据操作请求的超时处理策略,并执行所述超时处理策略。
在一些实施例中,所述多个第一收发器和所述多个第二收发器是RS-485收发器。
第二方面,本说明书提供的一种数据处理方法,所述方法应用于工业控制系统中的第二单元,所述工业控制系统中还包括第一单元、与所述第一单元对应的多个第一收发器,以及与所述第二单元对应的多个第二收发器,所述第二单元与所述第一单元之间存在多条通信链路,针对每条通信链路,该通信链路是由所述多个第二收发器中的一个和所述多个第一收发器中的一个连接所构成的,所述方法包括:通过所述多个第二收发器接收所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求,其中,所述数据操作请求是所述第一单元所接收到的;根据所述数据操作请求中的数据操作指令,确定待操作的目标数据,并对所述目标数据进行处理,得到处理结果;通过所述多个第二收发器,将所述处理结果发送给所述第一单元,以使所述第一单元根据接收到的处理结果,执行针对所述数据操作请求的响应策略。
在一些实施例中,所述多个第二收发器包括:主第二收发器和辅第二收发器;通过所述多个第二收发器接收所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求,包括:检测所述主第二收发器是否接收到所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求;若所述主第二收发器接收到所述数据操作请求,将所述数据操作请求保存到第一缓存区,并对所述数据操作请求进行解析,得到数据操作指令,将所述数据操作指令保存到第一任务队列中;若所述主第二收发器未接收到所述数据操作请求,检测所述辅第二收发器是 否接收到所述数据操作请求;若所述辅第二收发器接收到所述数据操作请求,将所述数据操作请求保存到第二缓存区,对所述数据操作请求进行解析,得到数据操作指令,并将所述数据操作指令保存到第二任务队列中。
在一些实施例中,根据所述数据操作请求中的数据操作指令,确定待操作的目标数据,包括:检测所述第一任务队列中是否包含所述数据操作指令,若所述第一任务队列中包含所述数据操作指令,根据所述数据操作指令,确定待操作的目标数据;若所述第一任务队列中不包含所述数据操作指令,检测所述第二任务队列中是否包含所述数据操作指令,若所述第二任务队列中包含所述数据操作指令,根据所述数据操作指令,确定待操作的目标数据。
在一些实施例中,通过所述多个第二收发器,将所述处理结果发送给所述第一单元,包括:将所述多个第二收发器的收发状态由数据接收状态切换为数据发送状态;通过所述多个第二收发器,将所述处理结果发送给所述第一单元;将所述多个第二收发器的收发状态由数据发送状态切换为数据接收状态。
第三方面,本说明书提供的一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述的数据处理方法。
第四方面,本说明书提供的一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述的数据处理方法。
本说明书实施例采用的上述至少一个技术方案能够达到以下有益效果:本说明书实施例中针对每个第二单元,第一单元与该第二单元之间存在多条通信链路。第一单元在响应于数据操作请求后,通过第一单元与第二单元之间的多条通信链路,将数据操作请求发送给第二单元。第二单元根据数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将处理结果通过多条通信链路发送给第一单元。第一单元根据处理结果,执行针对数据操作请求的响应策略。在此方法中,第一单元与各第二单元之间进行端到端的通信,并且第一单元与每个第二单元之间存在多条通信链路,以保证第一单元与第二单元之间能够正常通信,并提高工业控制系统的通信稳定。
附图说明
此处所说明的附图用来提供对本说明书的进一步理解,构成本说明书的一部分,本 说明书的示意性实施例及其说明用于解释本说明书,并不构成对本说明书的不当限定。在附图中:
图1为本说明书实施例提供的第一单元与各第二单元之间的多条通信链路的结构示意图;
图2为本说明书实施例提供的一种数据处理方法的流程示意图;
图3为本说明书实施例提供的另一种数据处理方法的流程示意图;
图4为本说明书实施例提供的一种数据处理装置结构示意图;
图5为本说明书实施例提供的另一种数据处理装置结构示意图;
图6为本说明书实施例提供的电子设备的结构示意图。
具体实施方式
本说明书提供的数据处理方法旨在为工业控制系统中的FPGA与I/O模块之间建立端到端的通信,并为FPGA与每个I/O模块之间建立多条通信链路,以在任一通信链路出现故障的情况下依然能保证FPGA与I/O模块之间的正常通信。
为使本说明书的目的、技术方案和优点更加清楚,下面将结合本说明书具体实施例及相应的附图对本说明书技术方案进行清楚、完整地描述。所描述的实施例仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本说明书保护的范围。
以下结合附图,详细说明本说明书各实施例提供的技术方案。
在本说明书中,本说明书实施例提供一种数据处理系统,该数据处理系统可以包括:工业控制系统中的第一单元以及第二单元。第一单元可以是指工业控制系统中用于控制各第二单元的组件,比如FPGA等。第二单元可以是指工业控制系统中用于监测和采集各工业设备运行过程中产生的数据的组件,比如I/O模块等。另外,第二单元还可以对工业控制系统中各工业设备运行时所需的数据进行配置。其中,各工业设备运行过程中产生的数据或所需的数据可以包括:输入的数字信号数据、输出的数字信号数据、输入的模拟信号数据、输出的模拟信号数据等,各工业设备运行过程中产生的数据或所需的数据可以包括:电压数据、电流数据、温度数据、湿度数据等。
在工业控制系统中,一个第一单元可以控制多个第二单元。在本说明书实施例中, 工业控制系统中包括与每个第一单元对应的多个第一收发器,以及与每个第二单元对应的多个第二收发器。第一收发器和第二收发器的结构相同,第一收发器和第二收发器可以是RS-485收发器。若第一收发器和第二收发器为RS-485收发器,则第一单元与第二单元之间的通信协议为RS-485协议。另外,由于RS-485收发器采用的是半双工的通信模式,所以,RS-485收发器无法同时接收数据和发送数据,因此,RS-485收发器在进行数据收发时需要进行收发状态的切换。
针对每个第二单元,该第二单元与第一单元之间存在多条通信链路,针对每条通信链路,该通信链路是由该第二单元的一个第二收发器和第一单元的一个第一收发器连接所构成的。这样,当第一单元与任一第二单元之间的通信链路存在异常时,不会影响其他的第二单元与第一单元之间的通信。另外,针对每个第二单元与第一单元之间的通信链路,若该第二单元与第一单元之间的一条通信链路存在异常时,可以采用其他通信链路进行通信,以保证该第二单元与第一单元能够正常通信,以此提高工业控制系统的通信稳定性。
基于上述对第一单元与各第二单元之间的通信链路的描述,本说明书实施例提供第一单元与各第二单元之间的多条通信链路的结构示意图,如图1所示。
在图1中,以1个FPGA和3个I/O模块为例,针对每个I/O模块,FPGA可以与该I/O模块之间存在两条通信链路。
接下来,对第一单元与第二单元之间的通信过程进行说明。
第一单元可以响应于接收到数据操作请求,确定需要执行数据操作的第二单元,作为目标第二单元。然后,通过第一单元与目标第二单元之间的多条通信链路,将数据操作请求发送给目标第二单元。其中,数据操作请求中可以携带有需要执行数据操作的第二单元的标识、需要执行数据操作的第二单元的通信地址以及数据操作指令。另外,数据操作请求可以包括:数据采集请求、数据配置请求等。
具体的,第一单元可以在接收到数据操作请求之后,可以先从数据操作请求中确定出需要执行数据操作的第二单元,作为目标第二单元。然后,可以从多个第一收发器中确定出与目标第二单元对应连接的各第一收发器,作为各目标第一收发器。之后,将各目标第一收发器的收发状态由数据接收状态切换为数据发送状态。最后,可以根据目标第二单元的通信地址以及第一单元与目标第二单元之间的多条通信链路对应的通信协议,将数据操作请求发送给目标第二单元。即,通过第一单元与目标第二单元之间的通 信链路,将数据操作请求发送给目标第二单元。在将数据操作请求发送给目标第二单元之后,第一单元可以将各目标第一收发器的收发状态由数据发送状态切换为数据接收状态。
目标第二单元可以通过多个第二收发器接收数据操作请求,并根据数据操作请求中的数据操作指令,确定待操作的目标数据,并对目标数据进行处理,得到处理结果,并将处理结果发送给第一单元。其中,针对不同的数据操作请求或数据操作指令,对目标数据进行处理的处理方式也不同,对应的处理结果也不同。比如:针对数据采集请求或数据采集指令,可以对目标数据进行采集并汇总,得到汇总后的数据集(即,处理结果)。针对数据配置请求或数据配置指令,对目标数据进行重新配置,得到重新配置后的数据,并将配置完成信息作为处理结果。
具体的,目标第二单元检测多个第二收发器是否接收到数据操作请求。若多个第二收发器均接收到数据操作请求,依次对数据操作请求中的数据操作指令进行执行。若多个第二收发器中只有部分第二收发器接收到数据操作请求,只对部分第二收发器接收的数据操作请求中的数据操作指令进行执行。
其中,目标第二单元包含的多个第二收发器可以包括:主第二收发器、辅第二收发器。辅第二收发器可以是多个。其中,主第二收发器的优先级高于辅第二收发器的优先级,主第二收发器和辅第二收发器是互为冗余的第二收发器。
进一步,目标第二单元检测主第二收发器是否接收到第一单元通过第一单元与目标第二单元之间的多条通信链路所发送的数据操作请求,若主第二收发器接收到数据操作请求,将数据操作请求保存到第一缓存区。若主第二收发器未接收到数据操作请求,检测辅第二收发器是否接收到数据操作请求。若辅第二收发器接收到数据操作请求,将数据操作请求保存到第二缓存区。其中,第一缓存区用于缓存通过主第二收发器所接收到的数据,第二缓存区用于缓存通过辅第二收发器所接收到的数据。
目标第二单元检测第一缓存区中是否包含有数据操作请求,若第一缓存区中包含有数据操作请求,根据第一单元与目标第二单元之间的通信协议,对数据操作请求进行解析,得到数据操作指令。然后,将数据操作指令保存到第一任务队列中。若第一缓存区中未包含有数据操作请求,检测第二缓存区中是否包含有数据操作请求,若第二缓存区中包含有数据操作请求,根据第一单元与目标第二单元之间的通信协议,对数据操作请求进行解析,得到数据操作指令。然后,将数据操作指令保存到第二任务队列中。其中,第一任务队列和第二任务队列可以是用于保存待执行的任务指令的环形队列。任务指令 可以是指数据操作指令。
再进一步,检测第一任务队列中是否包含有数据操作指令,若第一任务队列中包含有数据操作指令,可以根据数据操作指令,确定待操作的目标数据。然后,对目标数据进行处理,得到处理结果。
若第一任务队列中不包含数据操作指令,检测第二任务队列中是否包含数据操作指令。若第二任务队列中包含数据操作指令,可以根据数据操作指令,确定待操作的目标数据,并对目标数据进行处理,得到处理结果。
以采集温度数据为例,第一单元将数据采集请求通过第一单元与目标第二单元之间的多条通信链路发送给目标第二单元。目标第二单元根据数据采集请求中的数据采集指令,确定出需要采集的温度数据(即,目标数据),然后,获取各温度数据并进行汇总,得到针对温度数据的数据集(即,处理结果)。最后,将数据集发送给第一单元。
在目标第二单元得到处理结果之后,将多个第二收发器的收发状态由数据接收状态切换为数据发送状态。然后,可以通过多个第二收发器将处理结果分别发送给第一单元。目标第二单元在将处理结果发送给第一单元之后,可以将多个第二收发器的收发状态由数据发送状态切换为数据接收状态。
需要说明的是,目标第二单元需要对主第二收发器和辅第二收发器所接收的数据操作指令都执行,即,先后对数据操作指令进行执行,并先后将生成处理结果发送给第一单元。这样,可以避免第一单元和第二单元之间的任意一条通信链路存在异常时,第二单元都能将处理结果发送给第一单元。
在目标第二单元将处理结果发送给第一单元之后,第一单元可以通过各目标第一收发器接收目标第二单元发送的处理结果,并根据处理结果,确定出针对数据操作请求的响应策略,并执行确定出的响应策略。
具体的,第一单元在将各目标第一收发器的收发状态由数据发送状态切换为数据接收状态后,第一单元可以在预设时长内,检测各目标第一收发器是否接收到目标第二单元发送的处理结果。其中,预设时长大于目标第二单元执行数据操作指令的最大执行时长。
第一单元若检测到各目标第一收发器均接收到目标第二单元发送的处理结果,可以根据接收到的第一个处理结果,确定出针对数据操作请求的响应策略,并执行响应策略。同时,删除在接收到第一个处理结果之后接收到的处理结果,以减小第一单元的缓存压 力。其中,响应策略可以包括:将处理结果转发给发送数据操作请求的设备、向发送数据操作请求的设备返回数据操作完成信息等至少一种策略。
若检测到各目标第一收发器均未接收到目标第二单元发送的处理结果,确定出针对数据操作请求的超时处理策略,并执行超时处理策略。其中,超时处理策略可以包括:向目标第二单元重新发送数据操作请求、向发送数据操作请求的设备返回超时提示信息等至少一种策略。
另外,在第一单元接收到处理结果之后,可以将各目标第一收发器的收发状态由数据接收状态切换为数据发送状态。
继续沿用上例,在目标第二单元将数据集发送的第一单元之后,第一单元在接收到数据集之后,可以将数据集转发给发送数据采集请求的设备。
需要说明的是,针对第一单元,多个第一收发器的收发状态默认为数据发送状态,针对第二单元,多个第二收发器的收发状态默认为数据接收状态。
基于上述对第一单元和第二单元之间的通信过程的描述,图2为本说明书实施例提供的一种数据处理方法的流程示意图,该数据处理方法应用于工业控制系统中的第一单元,该数据处理方法包括:
S200:响应于接收到数据操作请求,确定需要执行数据操作的第二单元,作为目标第二单元。
S202:通过所述第一单元与所述目标第二单元之间的多条通信链路,将所述数据操作请求发送给所述目标第二单元,以使所述目标第二单元通过所述多个第二收发器接收所述数据操作请求,并根据所述数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将所述处理结果发送给所述第一单元。
S204:接收所述目标第二单元发送的所述处理结果,并根据所述处理结果,执行针对所述数据操作请求的响应策略。
在本说明书实施例中,该数据处理方法应用于工业控制系统中的第一单元,第一单元对应设置多个第一收发器。工业控制系统中还包括多个第二单元,针对每个第二单元,该第二单元对应设置多个第二收发器,该第二单元与第一单元之间存在多条通信链路,针对每条通信链路,该通信链路是由该第二单元的一个第二收发器和第一单元的一个第一收发器连接所构成的。
在第一单元与第二单元进行通信时,第一单元响应于数据操作请求,确定需要执行数据操作的第二单元,作为目标第二单元。然后,通过第一单元与目标第二单元之间的多条通信链路,将数据操作请求发送给目标第二单元,以使目标第二单元通过多个第二收发器接收数据操作请求,并根据数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将处理结果发送给第一单元。
第一单元接收目标第二单元发送的处理结果,并根据处理结果,执行针对数据操作请求的响应策略。
在接收处理结果时,从多个第一收发器中确定出与目标第二单元对应连接的各第一收发器,作为各目标第一收发器。将各目标第一收发器的收发状态由数据发送状态切换为数据接收状态。然后,在预设时长内,检测各目标第一收发器是否接收到目标第二单元发送的处理结果。其中,预设时长大于目标第二单元执行数据操作指令的最大执行时长。
若检测到各目标第一收发器均接收到目标第二单元发送的处理结果,根据接收到的第一个处理结果,执行针对数据操作请求的响应策略,并删除在接收到第一个处理结果之后接收到的处理结果。最后,将各目标第一收发器的收发状态由数据接收状态切换为数据发送状态。
若检测到各目标第一收发器均未接收到目标第二单元发送的处理结果,确定出针对数据操作请求的超时处理策略,并执行超时处理策略。
另外,基于上述对第一单元和第二单元之间的通信过程的描述,图3为本说明书实施例提供的另一种数据处理方法的流程示意图,该数据处理方法应用于工业控制系统中的第二单元,该数据处理方法包括:
S300:通过与第二单元对应的多个第二收发器接收第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求,其中,所述数据操作请求是所述第一单元所接收到的。
S302:根据所述数据操作请求中的数据操作指令,确定待操作的目标数据,并对所述目标数据进行处理,得到处理结果。
S304:通过所述多个第二收发器,将所述处理结果发送给所述第一单元,以使所述第一单元根据接收到的处理结果,执行针对所述数据操作请求的响应策略。
在本说明书实施例中,该数据处理方法应用于工业控制系统中任意的第二单元。工 业控制系统中还包括第一单元,第一单元对应设置多个第一收发器。针对每个第二单元,该第二单元对应设置多个第二收发器,该第二单元与第一单元之间存在多条通信链路,针对每条通信链路,该通信链路是由该第二单元的一个第二收发器和第一单元的一个第一收发器连接所构成的。其中,多个第二收发器可以包括:主第二收发器、辅第二收发器。
需要说明的是,任意的第二单元可以对应于上述的目标第二单元。
在第一单元与第二单元进行通信时,第二单元可以通过多个第二收发器接收第一单元通过第一单元与第二单元之间的多条通信链路所发送的数据操作请求。其中,数据操作请求是第一单元所接收到的。
第二单元可以根据数据操作请求中的数据操作指令,确定待操作的目标数据,并对目标数据进行处理,得到处理结果。通过多个第二收发器,将处理结果发送给第一单元,以使第一单元根据接收到的处理结果,执行针对数据操作请求的响应策略。
在第二单元接收数据操作请求时,第二单元可以检测主第二收发器是否接收到第一单元通过第一单元与第二单元之间的多条通信链路所发送的数据操作请求。
若主第二收发器接收到数据操作请求,将数据操作请求保存到第一缓存区,并对数据操作请求进行解析,得到数据操作指令,将数据操作指令保存到第一任务队列中。
若主第二收发器未接收到数据操作请求,检测辅第二收发器是否接收到数据操作请求。
若辅第二收发器接收到数据操作请求,将数据操作请求保存到第二缓存区,对数据操作请求进行解析,得到数据操作指令,并将数据操作指令保存到第二任务队列中。
检测第一任务队列中是否包含数据操作指令,若第一任务队列中包含数据操作指令,根据数据操作指令,确定待操作的目标数据,并对目标数据进行处理,得到处理结果。
若第一任务队列中不包含数据操作指令,检测第二任务队列中是否包含数据操作指令,若第二任务队列中包含数据操作指令,根据数据操作指令,确定待操作的目标数据,并对目标数据进行处理,得到处理结果。
最后,第二单元可以通过多个第二收发器,将处理结果发送给第一单元,以使第一单元根据接收到的处理结果,确定针对数据操作请求的响应策略。
需要说明的是,本申请中所有获取信号、信息或数据的动作都是在遵照所在地国家 相应的数据保护法规政策的前提下,并获得由相应装置所有者给予授权的情况下进行的。
通过上述图2和图3所示的方法可见,本说明书针对每个第二单元,第一单元与该第二单元之间存在多条通信链路。第一单元在响应于数据操作请求后,通过第一单元与第二单元之间的多条通信链路,将数据操作请求发送给第二单元。第二单元根据数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将处理结果通过多条通信链路发送给第一单元。第一单元根据处理结果,执行针对数据操作请求的响应策略。在此方法中,第一单元与各第二单元之间进行端到端的通信,并且第一单元与每个第二单元之间存在多条通信链路,以保证第一单元与第二单元之间能够正常通信,并提高工业控制系统的通信稳定。
以上为本说明书实施例提供的数据处理方法,基于同样的思路,本说明书还提供了相应的装置、存储介质和电子设备。
图4为本说明书实施例提供的一种数据处理装置的结构示意图,所述装置包括:
确定模块401,用于响应于接收到数据操作请求,确定需要执行数据操作的第二单元,作为目标第二单元;
发送模块402,用于通过所述第一单元与所述目标第二单元之间的多条通信链路,将所述数据操作请求发送给所述目标第二单元,以使所述目标第二单元通过所述多个第二收发器接收所述数据操作请求,并根据所述数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将所述处理结果发送给所述第一单元;
接收模块403,用于接收所述目标第二单元发送的所述处理结果,并根据所述处理结果,执行针对所述数据操作请求的响应策略。
在一些实施例中,所述接收模块403,用于从所述多个第一收发器中确定出与所述目标第二单元对应连接的第一收发器,作为目标第一收发器;将所述目标第一收发器的收发状态由数据发送状态切换为数据接收状态;在预设时长内,检测所述目标第一收发器中各目标第一收发器是否接收到所述目标第二单元发送的所述处理结果,其中,所述预设时长大于所述目标第二单元执行所述数据操作指令的最大执行时长;若检测到所述目标第一收发器中各目标第一收发器均接收到所述目标第二单元发送的所述处理结果,根据接收到的第一个处理结果,执行针对所述数据操作请求的响应策略,并删除在接收到所述第一个处理结果之后接收到的处理结果;将所述目标第一收发器的收发状态由数据接收状态切换为数据发送状态。
在一些实施例中,所述接收模块403,还用于若检测到所述目标第一收发器中各目标第一收发器均未接收到所述目标第二单元发送的所述处理结果,确定针对所述数据操作请求的超时处理策略,并执行所述超时处理策略。
在一些实施例中,所述多个第一收发器和所述多个第二收发器是RS-485收发器。
图5为本说明书实施例提供的另一种数据处理装置的结构示意图,所述装置包括:
接收模块501,用于通过所述多个第二收发器接收所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求,其中,所述数据操作请求是所述第一单元所接收到的;
确定模块502,用于根据所述数据操作请求中的数据操作指令,确定待操作的目标数据,并对所述目标数据进行处理,得到处理结果;
发送模块503,用于通过所述多个第二收发器,将所述处理结果发送给所述第一单元,以使所述第一单元根据接收到的处理结果,执行针对所述数据操作请求的响应策略。
在一些实施例中,所述多个第二收发器包括:主第二收发器和辅第二收发器。
在一些实施例中,所述接收模块501,用于检测所述主第二收发器是否接收到所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求;若所述主第二收发器接收到所述数据操作请求,将所述数据操作请求保存到第一缓存区,并对所述数据操作请求进行解析,得到数据操作指令,将所述数据操作指令保存到第一任务队列中;若所述主第二收发器未接收到所述数据操作请求,检测所述辅第二收发器是否接收到所述数据操作请求;若所述辅第二收发器接收到所述数据操作请求,将所述数据操作请求保存到第二缓存区,对所述数据操作请求进行解析,得到数据操作指令,并将所述数据操作指令保存到第二任务队列中。
在一些实施例中,所述确定模块502,用于检测所述第一任务队列中是否包含所述数据操作指令,若所述第一任务队列中包含所述数据操作指令,根据所述数据操作指令,确定待操作的目标数据;若所述第一任务队列中不包含所述数据操作指令,检测所述第二任务队列中是否包含所述数据操作指令,若所述第二任务队列中包含所述数据操作指令,根据所述数据操作指令,确定待操作的目标数据。
在一些实施例中,所述发送模块503,用于将所述多个第二收发器的收发状态由数据接收状态切换为数据发送状态;通过所述多个第二收发器,将所述处理结果发送给所述第一单元;将所述多个第二收发器的收发状态由数据发送状态切换为数据接收状态。
本说明书还提供了一种计算机可读存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时可用于执行上述图2和图3提供的数据处理方法。
基于图2和图3所示的数据处理方法,本说明书实施例还提供了图6所示的电子设备的结构示意图。如图6,在硬件层面,该电子设备包括处理器、内部总线、网络接口、内存以及非易失性存储器,当然还可能包括其他业务所需要的硬件。处理器从非易失性存储器中读取对应的计算机程序到内存中然后运行,以实现上述图3和图2所述的数据处理方法。
当然,除了软件实现方式之外,本说明书并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器 以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书时可以把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本说明书的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定 方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书可采用在一个或多个其中包含有计算机可用程序代码的计算 机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本说明书可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本说明书的实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书可以有各种更改和变化。凡在本说明书的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书的权利要求范围之内。

Claims (10)

  1. 一种数据处理方法,其特征在于,所述方法应用于工业控制系统中的第一单元,所述工业控制系统包括对应所述第一单元的多个第一收发器,所述工业控制系统中还包括多个第二单元,针对每个第二单元,所述工业控制系统还包括对应该第二单元的多个第二收发器,该第二单元与所述第一单元之间存在多条通信链路,针对每条通信链路,该通信链路是由该第二单元的所述多个第二收发器中的一个和所述第一单元的所述多个第一收发器中的一个连接所构成的,所述方法包括:
    响应于接收到数据操作请求,确定需要执行数据操作的第二单元,作为目标第二单元;
    通过所述第一单元与所述目标第二单元之间的多条通信链路,将所述数据操作请求发送给所述目标第二单元,以使所述目标第二单元通过所述多个第二收发器接收所述数据操作请求,并根据所述数据操作请求中的数据操作指令,对待操作的目标数据进行处理,得到处理结果,并将所述处理结果发送给所述第一单元;
    接收所述目标第二单元发送的所述处理结果,并根据所述处理结果,执行针对所述数据操作请求的响应策略。
  2. 如权利要求1所述的方法,其特征在于,接收所述目标第二单元发送的所述处理结果,包括:
    从所述多个第一收发器中确定出与所述目标第二单元对应连接的第一收发器,作为目标第一收发器;
    将所述目标第一收发器的收发状态由数据发送状态切换为数据接收状态;
    在预设时长内,检测所述目标第一收发器中各目标第一收发器是否接收到所述目标第二单元发送的所述处理结果,其中,所述预设时长大于所述目标第二单元执行所述数据操作指令的最大执行时长;
    若检测到所述目标第一收发器中各目标第一收发器均接收到所述目标第二单元发送的所述处理结果,根据接收到的第一个处理结果,执行针对所述数据操作请求的响应策略,并删除在接收到所述第一个处理结果之后接收到的处理结果;
    将所述目标第一收发器的收发状态由数据接收状态切换为数据发送状态。
  3. 如权利要求2所述的方法,其特征在于,所述方法还包括:
    若检测到所述目标第一收发器中各目标第一收发器均未接收到所述目标第二单元发送的所述处理结果,确定针对所述数据操作请求的超时处理策略,并执行所述超时处理策略。
  4. 如权利要求1所述的方法,其特征在于,所述多个第一收发器和所述多个第二收发器是RS-485收发器。
  5. 一种数据处理方法,其特征在于,所述方法应用于工业控制系统中的第二单元,所述工业控制系统中还包括第一单元、与所述第一单元对应的多个第一收发器,以及与所述第二单元对应的多个第二收发器,所述第二单元与所述第一单元之间存在多条通信链路,针对每条通信链路,该通信链路是由所述多个第二收发器中的一个和所述多个第一收发器中的一个连接所构成的,所述方法包括:
    通过所述多个第二收发器接收所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求,其中,所述数据操作请求是所述第一单元所接收到的;
    根据所述数据操作请求中的数据操作指令,确定待操作的目标数据,并对所述目标数据进行处理,得到处理结果;
    通过所述多个第二收发器,将所述处理结果发送给所述第一单元,以使所述第一单元根据接收到的处理结果,执行针对所述数据操作请求的响应策略。
  6. 如权利要求5所述的方法,其特征在于,所述多个第二收发器包括:主第二收发器和辅第二收发器;
    通过所述多个第二收发器接收所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求,包括:
    检测所述主第二收发器是否接收到所述第一单元通过所述第一单元与所述第二单元之间的多条通信链路所发送的数据操作请求;
    若所述主第二收发器接收到所述数据操作请求,将所述数据操作请求保存到第一缓存区,并对所述数据操作请求进行解析,得到数据操作指令,将所述数据操作指令保存到第一任务队列中;
    若所述主第二收发器未接收到所述数据操作请求,检测所述辅第二收发器是否接收到所述数据操作请求;
    若所述辅第二收发器接收到所述数据操作请求,将所述数据操作请求保存到第二缓存区,对所述数据操作请求进行解析,得到数据操作指令,并将所述数据操作指令保存到第二任务队列中。
  7. 如权利要求6所述的方法,其特征在于,根据所述数据操作请求中的数据操作指令,确定待操作的目标数据,包括:
    检测所述第一任务队列中是否包含所述数据操作指令,若所述第一任务队列中包含 所述数据操作指令,根据所述数据操作指令,确定待操作的目标数据;
    若所述第一任务队列中不包含所述数据操作指令,检测所述第二任务队列中是否包含所述数据操作指令,若所述第二任务队列中包含所述数据操作指令,根据所述数据操作指令,确定待操作的目标数据。
  8. 如权利要求5所述的方法,其特征在于,通过所述多个第二收发器,将所述处理结果发送给所述第一单元,包括:
    将所述多个第二收发器的收发状态由数据接收状态切换为数据发送状态;
    通过所述多个第二收发器,将所述处理结果发送给所述第一单元;
    将所述多个第二收发器的收发状态由数据发送状态切换为数据接收状态。
  9. 一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述权利要求1-8任一项所述的方法。
  10. 一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现上述权利要求1-8任一项所述的方法。
PCT/CN2022/135798 2022-11-03 2022-12-01 一种数据处理方法、装置、存储介质及电子设备 WO2024092944A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211366660.2 2022-11-03
CN202211366660.2A CN115442443A (zh) 2022-11-03 2022-11-03 一种数据处理方法、装置、存储介质及电子设备

Publications (1)

Publication Number Publication Date
WO2024092944A1 true WO2024092944A1 (zh) 2024-05-10

Family

ID=84252989

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/135798 WO2024092944A1 (zh) 2022-11-03 2022-12-01 一种数据处理方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN115442443A (zh)
WO (1) WO2024092944A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494676A (zh) * 2018-03-21 2018-09-04 广州多益网络股份有限公司 数据传输方法、装置、数据收发设备、系统及存储介质
CN110557657A (zh) * 2018-05-30 2019-12-10 视联动力信息技术股份有限公司 一种基于视联网的数据处理方法及系统
CN110826001A (zh) * 2019-10-30 2020-02-21 深圳前海环融联易信息科技服务有限公司 数据获取请求处理方法、装置、计算机设备及存储介质
CN112333768A (zh) * 2019-08-05 2021-02-05 联发科技(新加坡)私人有限公司 多链路设备之间的数据包重传的装置和方法
CN113301096A (zh) * 2020-12-16 2021-08-24 阿里巴巴集团控股有限公司 内容分发网络中节点间数据传输方法、系统及节点设备

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177082B (zh) * 2019-04-25 2022-03-01 创新先进技术有限公司 一种数据处理方法、设备、介质以及装置
CN113133132B (zh) * 2019-12-31 2022-10-21 中国移动通信有限公司研究院 数据传输方法、装置、相关设备及存储介质
CN113645208A (zh) * 2021-07-29 2021-11-12 北京三快在线科技有限公司 一种数据传输方法、装置、存储介质及电子设备
CN113645283B (zh) * 2021-07-29 2023-04-07 北京三快在线科技有限公司 一种多链路通信方法、装置、存储介质及电子设备
CN113312370B (zh) * 2021-07-30 2021-10-29 北京金山云网络技术有限公司 信息获取方法、装置、电子设备及存储介质
CN113867128B (zh) * 2021-10-26 2024-04-05 南京理工大学 一种数控装备智能冗余控制系统及方法
CN114064435A (zh) * 2021-11-18 2022-02-18 京东科技信息技术有限公司 数据库测试方法、装置、介质与电子设备
CN114924999B (zh) * 2022-07-21 2022-12-09 苏州浪潮智能科技有限公司 一种高速缓存管理方法、装置、系统、设备及介质
CN115268778A (zh) * 2022-07-25 2022-11-01 天翼云科技有限公司 一种数据获取方法、装置及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494676A (zh) * 2018-03-21 2018-09-04 广州多益网络股份有限公司 数据传输方法、装置、数据收发设备、系统及存储介质
CN110557657A (zh) * 2018-05-30 2019-12-10 视联动力信息技术股份有限公司 一种基于视联网的数据处理方法及系统
CN112333768A (zh) * 2019-08-05 2021-02-05 联发科技(新加坡)私人有限公司 多链路设备之间的数据包重传的装置和方法
CN110826001A (zh) * 2019-10-30 2020-02-21 深圳前海环融联易信息科技服务有限公司 数据获取请求处理方法、装置、计算机设备及存储介质
CN113301096A (zh) * 2020-12-16 2021-08-24 阿里巴巴集团控股有限公司 内容分发网络中节点间数据传输方法、系统及节点设备

Also Published As

Publication number Publication date
CN115442443A (zh) 2022-12-06

Similar Documents

Publication Publication Date Title
KR102140414B1 (ko) 블록체인 합의 방법 및 디바이스
KR102208186B1 (ko) 블록체인 합의 방법 및 디바이스
EP3547170A1 (en) Blockchain-based consensus method and device
KR102205750B1 (ko) 메시지 브로드캐스트를 위한 방법 및 디바이스
KR20200028425A (ko) 가상 카드 개설 방법 및 시스템, 결제 시스템, 및 카드 발급 시스템
CN116405554B (zh) 一种网络通信的方法、装置、存储介质及电子设备
CN111355672A (zh) 一种报文转发的方法及装置
US7725591B2 (en) Detecting a timeout of elements in an element processing system
CN110881224B (zh) 一种网络长连接方法、装置、设备及存储介质
WO2024092944A1 (zh) 一种数据处理方法、装置、存储介质及电子设备
WO2024119853A1 (zh) 一种数据库容灾系统、方法、装置、存储介质及电子设备
WO2022095349A1 (zh) 一种集群拓扑更新方法、系统、设备及计算机存储介质
WO2017091963A1 (zh) 一种信息处理方法及装置
WO2024027548A1 (zh) 一种节点选举的方法、装置、存储介质及电子设备
WO2024037629A1 (zh) 区块链的数据整合方法、装置、计算机设备及存储介质
CN116107999B (zh) 一种数据库服务和存储系统及方法
CN112559565A (zh) 一种异常检测方法、系统及装置
CN101471955A (zh) 一种双控制器网络储存环境下的设备数据写入方法
CN115664832A (zh) 一种网络连接的处理方法、装置、设备及存储介质
WO2021078176A1 (zh) 存储过程的运行方法、装置、数据库系统及存储介质
CN115955432B (zh) 一种确定物理链路的方法、装置及电子设备
CN116846517B (zh) 一种网络数据的传输方法、装置、存储介质及电子设备
CN117093161B (zh) 一种基于光收发芯片的内存管理系统、方法、介质及设备
CN116743550B (zh) 一种分布式存储集群的故障存储节点的处理方法
CN116668542B (zh) 一种增强型服务架构下基于异构资源绑定的业务执行方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22964239

Country of ref document: EP

Kind code of ref document: A1