A method, apparatus, electronic device, storage medium, and product for retrieving resources.

By introducing a pre-defined exchange module and a protocol-independent mimic scheduler into the energy information system, the system's resistance to attacks and reliability are improved without changing the business logic. This solves the data reliability problem of the energy information system under attack, reduces maintenance costs, and improves operational efficiency.

CN119520108BActive Publication Date: 2026-01-06PURPLE MOUNTAIN LAB
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411669193.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2026-01-06
Estimated Expiration
2044-11-21

AI Technical Summary

Technical Problem

How can we improve the resilience of energy information systems to resource allocation without modifying their original business logic, ensure high reliability and stability, and avoid energy supply interruptions caused by frequent hardware and software replacements?

Method used

The system acquires the operation data to be executed by the business heterogeneous processing unit in the energy information system through a preset exchange module, uses a protocol-independent mimicry scheduler to determine the target operation data, and sends it to an external device. The target data is then fed back to the business heterogeneous processing unit for processing, achieving seamless data acquisition and avoiding attacks that could affect data reliability.

Benefits of technology

It improves the energy information system's resistance to attacks, ensures high system reliability and operational efficiency, reduces maintenance costs, and has good scalability and seamless data acquisition capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119520108B_ABST
    Figure CN119520108B_ABST
Patent Text Reader

Abstract

The application discloses a resource calling method and device, electronic equipment, storage medium and product, and relates to the technical field of computer network security. The method comprises the following steps: obtaining to-be-executed operation data sent by a business heterogeneous processing unit in an energy information system based on a preset exchange module; determining target operation data based on the to-be-executed operation data through a protocol-independent quasi-state scheduler, and sending the target operation data to an external device; obtaining target data collected by the external device based on the target operation data, and feeding back the target data to the business heterogeneous processing unit according to the target operation data, so that the business heterogeneous processing unit uploads the target data to the target device for processing. The application improves the accuracy of the target operation data, avoids affecting the reliability of the to-be-executed operation data due to attacks, and reduces the maintenance cost caused by the introduction of security. Meanwhile, by adding the preset exchange module, the problem that multiple business heterogeneous processing units cannot be accessed simultaneously can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer network security technology, and in particular to a resource access method, apparatus, electronic device, storage medium, and product. Background Technology

[0002] With the rapid development of information technology, the information services, communication networks, and physical entities of energy information systems are gradually becoming deeply integrated, making energy-side perception and control more accurate and efficient. However, this deep integration also introduces potential cyberattack risks. Energy information systems not only affect the management security and quality of energy enterprises but also involve the security of customers' own information. Therefore, strengthening the construction of energy information systems and improving their security is essential. Energy information systems need to adopt effective anti-attack technologies and methods to address these challenges. Among them, reliable, intrinsically secure peripheral collaborative resource invocation methods are an important research direction. By optimizing and collaboratively invoking peripheral resources, the response speed and accuracy of energy information systems can be improved, thereby enhancing their resistance to cyberattacks. In addition, this method can also improve the automation and intelligence level of energy systems, making them more adaptable to the development needs of modern energy systems.

[0003] Researching the reliability and security of energy information systems against attacks has significant practical implications and application value. Continuous technological innovation and optimization can further improve the security and reliability of energy information systems, ensuring their stable operation and customer information security. However, if introducing security measures alters the business logic of the energy information system, it necessitates hardware replacement and software reprogramming. This compromises the continuity and stability of energy supply, and system adjustments or interruptions leading to energy supply disruptions or fluctuations inevitably result in malfunctions or accidents. Ensuring high system reliability is crucial for the safe and stable operation of energy systems. Frequent modifications to the business logic during system operation increase the difficulty and cost of maintenance and upgrades. Therefore, ensuring the attack resistance of energy information system resource allocation without modifying the original business logic has become an urgent problem to be solved. Summary of the Invention

[0004] This invention provides a resource mobilization method, apparatus, electronic device, storage medium, and product to ensure the resistance to attacks in the resource mobilization of the energy information system without modifying the original business logic of the energy information system, which is an urgent problem to be solved.

[0005] According to one aspect of the present invention, a resource retrieval method is provided, wherein the method includes:

[0006] The system acquires operation data to be executed sent by the heterogeneous processing unit of the energy information system based on a preset exchange module; wherein, the number of the heterogeneous processing unit is at least two.

[0007] The protocol-independent mimicry scheduler determines the target operation data based on the operation data to be executed, and sends the target operation data to an external device;

[0008] The system acquires target data collected by the external device based on the target operation data, and feeds the target data back to the business heterogeneous processing unit according to the target operation data, so that the business heterogeneous processing unit uploads the target data to the target device for processing.

[0009] According to another aspect of the present invention, a resource mobilization apparatus is provided, wherein the apparatus comprises:

[0010] The data acquisition module is used to acquire the operation data to be executed sent by the heterogeneous processing unit of the energy information system based on the preset exchange module; wherein, the number of the heterogeneous processing unit is at least two.

[0011] The data determination module is used to determine the target operation data based on the operation data to be executed through a protocol-independent mimicry scheduler, and send the target operation data to an external device;

[0012] The data transmission module is used to acquire target data collected by the external device based on the target operation data, and to feed the target data back to the business heterogeneous processing unit according to the target operation data, so that the business heterogeneous processing unit can upload the target data to the target device for processing.

[0013] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0014] At least one processor; and

[0015] A memory communicatively connected to the at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the resource retrieval method according to any embodiment of the present invention.

[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the resource access method described in any embodiment of the present invention.

[0018] According to another aspect of the present invention, embodiments of the present invention also provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the resource retrieval method of any embodiment of the present invention.

[0019] The technical solution of this invention acquires pending operation data sent by heterogeneous processing units in an energy information system based on a preset exchange module; wherein the number of heterogeneous processing units is at least two; a protocol-independent mimicry scheduler determines target operation data based on the pending operation data and sends the target operation data to an external device, improving the accuracy of the target operation data and avoiding the impact of attacks on the reliability of the pending operation data; by acquiring target data collected by the external device based on the target operation data, and feeding the target data back to the heterogeneous processing units according to the target operation data, the heterogeneous processing units upload the target data to the target device for processing without modifying the original business logic code of the heterogeneous processing units, allowing the original business heterogeneous processing units to seamlessly run and be integrated into their original business operations for data acquisition tasks; at the same time, it can ensure the high reliability of the energy information system, significantly reduce the maintenance costs brought about by the introduction of security, and improve operational efficiency; furthermore, by adding a preset exchange module, it can solve the problem of not being able to access multiple heterogeneous processing units simultaneously, providing good scalability and facilitating timely acquisition of pending operation data sent by multiple heterogeneous processing units.

[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is a flowchart of a resource retrieval method provided in Embodiment 1 of the present invention;

[0023] Figure 2 This is a flowchart of a resource retrieval method provided according to Embodiment 2 of the present invention;

[0024] Figure 3 This is a schematic diagram of a resource retrieval system architecture provided in Embodiment 3 of the present invention;

[0025] Figure 4This is a schematic diagram of a heterogeneous processing unit according to Embodiment 3 of the present invention;

[0026] Figure 5 This is a schematic diagram of a resource retrieval device according to Embodiment 4 of the present invention;

[0027] Figure 6 This is a schematic diagram of the structure of an electronic device that implements the resource retrieval method of this invention. Detailed Implementation

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

[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0030] Example 1

[0031] Figure 1 This is a flowchart of a resource retrieval method according to Embodiment 1 of the present invention. This embodiment is applicable to situations where an energy information system acquires target data. The method can be executed by a resource retrieval device, which can be implemented in hardware and / or software. This resource retrieval device can be configured in a security defense chip, which is installed between the energy information system terminal and external devices. The security defense chip can be installed in an electronic device. Figure 1 As shown, the method includes:

[0032] S110. Obtain the operation data to be executed sent by the business heterogeneous processing unit in the energy information system based on the preset exchange module; wherein, the number of business heterogeneous processing units is at least two.

[0033] The preset switching module, or preset switch module, can uniformly connect and manage all Ethernet interfaces (ETH), General-Purpose Input / Output (GPIO), or Fiber Optic (FIBER) peripheral interfaces of all heterogeneous service processing units. The switch module merges data according to the interface type and sends it to the corresponding peripheral interface on the security defense chip. In one embodiment, the preset switching module may include a unified interface module, an intelligent identification and configuration module, a dynamic data routing module, and a data processing optimization module. The unified interface module unifies different protocol physical interfaces and protocols into a specific physical interface and communication protocol, supporting plug-and-play functionality for various types of heterogeneous service processing units and the expansion of additional peripheral interfaces without requiring additional protocol conversion devices or software. The intelligent identification and configuration module can automatically identify the type, model, and transmission protocol of the connected heterogeneous service processing units and automatically configure the data transmission parameters for the operation to be executed according to preset rules or user instructions. It internally sets up a data buffer to accommodate data transmission rate mismatches between different heterogeneous service processing units. The dynamic data routing module enables dynamic data routing. Specifically, it flexibly selects the optimal data transmission path based on the destination, priority, and peripheral status of the data to be executed, ensuring efficient and reliable transmission. The data processing optimization module performs preliminary processing on the collected data, such as format conversion, filtering, and compression, to improve its availability and transmission efficiency.

[0034] An energy information system can be understood as a comprehensive system for collecting, processing, analyzing, and managing energy-related data. For example, an energy information system may include a power system. In actual operation, an energy information system may include external devices, heterogeneous processing units, and upstream devices (target devices). External devices can be connected to data acquisition devices to collect target data, such as voltage and current. The upstream device (target device) can be a device that requires the target data. The heterogeneous processing unit can report the target data to the target device through interfaces such as Ethernet (ETH) or fiber optic (FIBER) peripheral interfaces. A heterogeneous processing unit refers to a component used to process different types of business data; the number of heterogeneous processing units can be multiple. The data to be executed can be understood as the parameter information for the execution operation that requires data acquisition, generated by each heterogeneous processing unit. In one embodiment, the data to be executed may include the heterogeneous processing core number and the service processing core number of the heterogeneous processing unit, the type of the peripheral interface of the heterogeneous unit to be executed, the number of the peripheral interface of the heterogeneous unit to be executed, the transmission protocol information of the peripheral interface of the heterogeneous unit to be executed and the relevant commands specified by the protocol, the length and format of the target data to be collected, and the transmission time information. Here, the heterogeneous unit to be executed refers to the service heterogeneous unit from which the data to be executed originates. Each service heterogeneous processing unit may include at least one heterogeneous unit to be executed. In one embodiment, each heterogeneous unit to be executed may correspond to one service.

[0035] In one embodiment, a preset switching module can be used to collect data on operations to be executed generated by heterogeneous processing units in an energy information system. Generally, the preset switching module can connect to different peripheral interfaces of the heterogeneous processing units. For example, the preset switching module can collect data on operations to be executed from the heterogeneous processing units through GPIO, ETH, and FIBER interfaces.

[0036] S120. The target operation data is determined based on the operation data to be executed by the protocol-independent mimic scheduler, and the target operation data is sent to the external device.

[0037] The protocol-independent mimic scheduler can be used to determine the target operation data based on the data to be executed. In actual operation, the protocol-independent mimic scheduler is protocol-independent, pre-encapsulating the data to be executed into messages, such as User Datagram Protocol (UDP) messages, to prevent the data from modifying the functionality of the pre-defined mimic scheduler. In practice, a pre-defined unified protocol processing module can be set up to add pre-defined byte headers to the data to be executed, transforming it into a message for easier decision-making by the protocol-independent mimic scheduler. The target operation data can be understood as the data to be executed after the decision. Generally, the data to be executed generated by each heterogeneous processing unit is the same. However, in the event of a malicious attack, a heterogeneous processing unit may be attacked, resulting in its generated data differing from other heterogeneous processing units. The target operation data can be determined based on the data generated by each heterogeneous processing unit. External devices refer to devices used to collect target data; these devices can be used to collect data information outside the energy information system.

[0038] In this embodiment, the data to be executed can be input to a protocol-independent mimicry scheduler, which then determines the target operation data. Generally, the data to be executed can be encapsulated into an execution message. During actual operation, the protocol-independent mimicry scheduler can determine whether the data to be executed are the same. If they are the same, the data to be executed is selected as the target operation data. If they are different, the scheduler can determine the number of times the historical data to be executed from the different heterogeneous processing units to which they belong is inconsistent with the historical data to be executed from other heterogeneous processing units. If the number of inconsistencies is greater than or equal to a preset threshold, the same data to be executed is selected as the target operation data. If the number of inconsistencies is less than the preset threshold, the result can be fed back to the heterogeneous processing unit so that it can regenerate the data to be executed. After the target operation data is determined, it can be sent to an external device so that the external device can obtain the target data based on the target operation data.

[0039] S130. Obtain target data from external devices based on target operation data, and feed the target data back to the business heterogeneous processing unit according to the target operation data, so that the business heterogeneous processing unit can upload the target data to the target device for processing.

[0040] Here, target data refers to data acquired by the target device according to target operation data. For example, target data may include, but is not limited to, voltage and current. The target device can be understood as a higher-level device, the device that requests the target data. In one embodiment, target data may also be a response indicating successful or unsuccessful processing.

[0041] In this embodiment, an external device can acquire target data according to the target operation data. The security defense chip can acquire the target data collected by the external device and send the target data to the service heterogeneous processing unit according to the type, number, transmission protocol information, and related commands specified in the protocol of the heterogeneous unit peripheral interface to be executed in the target operation data. After acquiring the target data, the service heterogeneous processing unit can upload the target data to the target device for processing. In actual operation, a protocol-independent mimicry scheduler can be integrated into the security defense chip. The security defense chip can copy and send the target data to the service heterogeneous processing unit through the protocol-independent mimicry scheduler. Since the operation data to be executed is pre-encapsulated into a message before being input into the protocol-independent mimicry scheduler, the target data can be unpacked after being copied by the protocol-independent mimicry scheduler before being sent to the service heterogeneous processing unit.

[0042] This invention, in its embodiments, acquires pending operation data sent by heterogeneous processing units in an energy information system; wherein the number of heterogeneous processing units is at least two; a protocol-independent mimicry scheduler determines target operation data based on the pending operation data and sends the target operation data to an external device, improving the accuracy of the target operation data and preventing attacks from affecting the reliability of the pending operation data; by acquiring target data collected by the external device based on the target operation data, and feeding the target data back to the heterogeneous processing units according to the target operation data, the heterogeneous processing units upload the target data to the target device for processing without modifying the original business logic code of the heterogeneous processing units, allowing the original business heterogeneous processing units to seamlessly run and be integrated into their original business operations for data acquisition tasks; simultaneously, it ensures the high reliability of the energy information system, significantly reduces the maintenance costs brought about by the introduction of security measures, and improves operational efficiency; furthermore, by adding a preset exchange module, it solves the problem of not being able to access multiple heterogeneous processing units simultaneously, providing good scalability and facilitating timely acquisition of pending operation data sent by multiple heterogeneous processing units.

[0043] In one embodiment, the heterogeneous processing unit includes: a heterogeneous processing core, a preset heterogeneous unit peripheral interface, and at least one service processing core;

[0044] Among them, the preset heterogeneous unit peripheral interface is connected to the preset switching module;

[0045] The preset exchange module is used to collect the number of the peripheral interface of the heterogeneous unit to be executed in the heterogeneous processing unit, the transmission protocol information of the peripheral interface of the heterogeneous unit to be executed, and the length and format of the target data to be collected.

[0046] The heterogeneous processing cores typically consist of multiple different types of processors, such as a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), and a Digital Signal Processor (DSP). The heterogeneous core architecture within each heterogeneous unit can employ one of the following: Advanced RISC Machines (ARM), RISC Five (RISCV), or a microprocessor without interlocked pipeline stages (MIPS). The default heterogeneous unit peripheral interface can be understood as an interface used for data transmission; for example, the default heterogeneous unit peripheral interface may include, but is not limited to, GPIO peripheral interfaces, ETH interfaces, and FIBER peripheral interfaces. The service processing core is used to handle different services; the service processing core can be an XMOS.

[0047] Example 2

[0048] Figure 2 This is a flowchart of a resource retrieval method according to Embodiment 2 of the present invention. This embodiment is a further explanation of a resource retrieval method based on the above embodiments. Figure 2 As shown, the method includes:

[0049] S201. Receive operation data collected by a preset exchange module connected to the heterogeneous processing unit as operation data to be executed.

[0050] The data to be executed includes: the number of the peripheral interface of the heterogeneous unit to be executed in the heterogeneous processing unit, the transmission protocol information of the peripheral interface of the heterogeneous unit to be executed, and the length and format of the target data to be collected.

[0051] The heterogeneous processing core number is used to indicate the heterogeneous processing core; the service processing core number is used to indicate the service processing core; the type of the heterogeneous unit peripheral interface to be executed can include, but is not limited to, GPIO peripheral interface, ETH interface and FIBER peripheral interface; the transmission protocol information of the heterogeneous unit peripheral interface to be executed can include, but is not limited to, the Inter-Integrated Circuit (I2C) protocol, the Serial Peripheral Interface (SPI) protocol, etc.; the transmission time information refers to the time synchronization information, which is used to synchronize with the target device and to record logs for easy backtracking in case of anomalies.

[0052] In this embodiment, after the heterogeneous processing unit generates operation data, the preset exchange module can collect the operation data and use it as the operation data to be executed. During actual operation, the preset exchange module can adaptively identify the type of the heterogeneous processing unit and determine the operation data from different peripheral interfaces, such as GPIO, ETH, and FIBER interfaces, and use the received operation data as the operation data to be executed.

[0053] S202. The pre-defined unified protocol processing module encapsulates the operation data to be executed into an execution message.

[0054] The preset unified protocol processing module can be used to add a pre-defined header byte to the data to be executed, encapsulating the data into an execution message. In actual operation, the execution message can be a UDP message.

[0055] In this embodiment, the data to be executed can be input into a preset unified protocol processing module. The preset unified protocol processing module adds information such as message headers to the data to be executed and encapsulates the data to be executed into a message to be executed.

[0056] S203. Input each message to be executed into the protocol-independent mimicry scheduler, and determine whether each message to be executed is the same based on the protocol-independent mimicry scheduler.

[0057] Among them, the protocol-independent mimicry scheduler is used to make decisions on the message to be executed to determine the target operation data.

[0058] In this embodiment, each message to be executed can be simultaneously input into a protocol-independent mimicry scheduler, which then determines whether the messages to be executed are the same.

[0059] S204. When it is determined that all messages to be executed are the same, the message to be executed is determined as the target operation data.

[0060] In this embodiment, when it is determined that all messages to be executed are the same, the message to be executed can be used as the target operation data.

[0061] S205. When it is determined that the pending messages are different, the business heterogeneous processing unit to which the different pending messages belong is identified as the abnormal heterogeneous processing unit. The historical pending messages of the abnormal heterogeneous processing unit are extracted, and the number of times the historical pending messages are inconsistent with the historical pending messages of other business heterogeneous processing units is determined.

[0062] Among them, "historical pending messages" refers to pending messages generated by heterogeneous business processing units in the past. "Abnormal heterogeneous processing units" refers to heterogeneous business processing units to which different pending messages belong.

[0063] In this embodiment, when it is determined that the messages to be executed are different, the heterogeneous processing unit to which the different messages belong can be identified as the abnormal heterogeneous processing unit, indicating that the abnormal heterogeneous processing unit has an anomaly. Historical messages to be executed from the abnormal heterogeneous processing unit and historical messages to be executed from other heterogeneous processing units can be extracted to determine the number of times the historical messages to be executed from the abnormal heterogeneous processing unit are inconsistent with those from other heterogeneous processing units.

[0064] S206. When the number of inconsistencies is greater than or equal to the preset threshold, the data to be executed corresponding to the same data to be executed in each data to be executed message shall be used as the target data to be executed.

[0065] The preset count threshold can be understood as a pre-set count threshold. When the number of inconsistencies is greater than or equal to the preset count threshold, the corresponding execution operation data for the same execution message in each execution message can be identified, and that execution operation data can be used as the target operation data.

[0066] In one embodiment, before using the same execution operation data corresponding to each execution message as the target operation data, the method further includes:

[0067] The abnormal heterogeneous processing unit is initialized.

[0068] In an embodiment, when the number of times the abnormal heterogeneous processing unit is inconsistent with other heterogeneous processing units is greater than or equal to a preset threshold, the abnormal heterogeneous processing unit can be converted to a cleaning state, i.e., initialized.

[0069] S207. When the number of inconsistencies is less than the preset threshold, feedback information indicating that the pending messages are different is sent to the abnormal service heterogeneous processing unit.

[0070] In this embodiment, when the number of inconsistencies is less than a preset threshold, response information can be generated and fed back to the abnormal service heterogeneous processing unit so that the abnormal service heterogeneous processing unit can determine that an anomaly exists.

[0071] S208. Send the target operation data to the external device.

[0072] S290: Receive data collected by an external device based on a preset peripheral interface, according to the length and format of the target data to be collected in the target operation data, as the target data.

[0073] The preset peripheral interface can be understood as an interface used for data transmission. For example, the preset peripheral interface may include, but is not limited to, GPIO peripheral interface, ETH interface and FIBER peripheral interface.

[0074] In this embodiment, after receiving the target operation data, the external device can collect data according to the target operation data, and then receive the data collected by the external device according to the target operation data as the target data through a preset peripheral interface. In actual operation, the external device can parse the target operation data and collect data through information such as the format and length of the target data to be collected in the target operands. After collecting data, the external device can proactively report the data to the security defense chip; alternatively, the security defense chip can proactively acquire the data collected by the external device.

[0075] S210. Copy the target data through the protocol-independent mimicry scheduler, and transmit the target data to the service heterogeneous processing unit according to the number of the heterogeneous unit peripheral interface to be executed and the transmission protocol information of the heterogeneous unit peripheral interface to be executed in the target operation data.

[0076] In this embodiment, once the target data is determined, the target data can be processed by a protocol-independent mimicry scheduler. The target service heterogeneous processing unit receiving the target data is determined by the number of the peripheral interface of the heterogeneous unit to be executed. The target data is then sent to the service heterogeneous processing unit by means of the transmission protocol information of the peripheral interface of the heterogeneous unit to be executed. In this embodiment of the invention, operation data collected by a preset switching module connected to a heterogeneous business processing unit is received as operation data to be executed. Based on a preset unified protocol processing module, the operation data to be executed is encapsulated into execution messages. The operation data to be executed in each execution message is input into a preset mimicry scheduler protocol-independent mimicry scheduler. Based on the preset mimicry scheduler protocol-independent mimicry scheduler, it is determined whether the execution messages of each operation data to be executed are the same. If the execution messages are the same, the execution message is determined as the target operation data. If the execution messages are different, the heterogeneous business processing unit to which the different execution messages belong is determined as an abnormal heterogeneous processing unit. Historical execution messages of the abnormal heterogeneous processing unit are extracted, and the number of times the historical execution messages of other business heterogeneous processing units are inconsistent is determined. When inconsistencies are determined... If the number of inconsistencies is greater than or equal to a preset threshold, the data corresponding to the same pending operation message in each pending operation message is taken as the target operation data. If the number of inconsistencies is less than the preset threshold, a response message indicating that the pending operation messages are different is sent to the abnormal service heterogeneous processing unit. The target operation data is then sent to an external device. The data collected by the external device according to the length and format of the target data in the target operation data is received based on a preset peripheral interface. The target data is copied through a protocol-independent mimicry scheduler and transmitted to the service heterogeneous processing unit according to the number of the peripheral interface of the pending heterogeneous unit and the transmission protocol information of the peripheral interface of the pending heterogeneous unit in the target operation data. This eliminates the need to directly connect the service heterogeneous processing unit to an external device to collect target data, thus improving the security of the collected target data.

[0077] In one embodiment, after receiving data collected by an external device according to the target data length and format in the target operation data based on a preset peripheral interface, the method further includes:

[0078] Encapsulate the target data into a target message.

[0079] In this embodiment, since the protocol-independent mimic scheduler performs replication, distribution, and adjudication in a protocol-independent manner, after receiving data collected by external devices according to the target data length and format in the target operation data based on a preset peripheral interface, the target data can be encapsulated into a target message, which can be a UDP message. In actual operation, a preset unified protocol processing module can be set in the security defense chip. This module handles the forwarding of the operation data to be executed, the target operation data, and the target data. Upon receiving the target message, the protocol-independent mimic scheduler no longer parses the content, thus accelerating message processing and forwarding. Simultaneously, a configuration interface for the byte header content is reserved in the register for user modification, ensuring the protocol-independent nature of the mimic scheduler's message processing and avoiding extensive modifications to its functionality. Encapsulating and unpacking messages using the preset unified protocol processing module improves the execution efficiency of the protocol-independent mimic scheduler.

[0080] In one embodiment, before transmitting the target data to the service heterogeneous processing unit according to the number of the heterogeneous unit peripheral interface to be executed and the transmission protocol information of the heterogeneous unit peripheral interface to be executed in the target operation data, the method further includes:

[0081] Extract the data contained in the target message as the target data.

[0082] In this embodiment, before transmitting the target data to the service heterogeneous processing unit according to the number of the heterogeneous unit peripheral interface to be executed and the transmission protocol information of the heterogeneous unit peripheral interface to be executed in the target operation data, the target operation data and the target data parsing message can be transmitted to facilitate the service heterogeneous processing unit and external devices to read the corresponding data content.

[0083] Example 3

[0084] Figure 3 This is a schematic diagram of a resource invocation system architecture according to Embodiment 3 of the present invention. Based on the above embodiments, this embodiment takes three heterogeneous processing units as an example, using these units as business heterogeneous processing units. The preset peripheral interfaces include GPIO peripheral interfaces, ETH and FIBER peripheral interfaces for processing message information synchronization, a protocol-independent mimicry scheduler IP, and a security defense chip including preset peripheral interfaces, a coprocessor running operating system, a unified protocol processing module, a protocol-independent mimicry scheduler IP, and a mimicry strategy module. This further illustrates a resource invocation method. Figure 3 As shown, the system includes: external devices, a security defense chip, and a heterogeneous processing unit.

[0085] The coprocessor-running operating system is used for the operation data to be executed, the target operation data, and the forwarding of the target data; the protocol-independent mimicry scheduler IP is used to determine the operation data to be executed and obtain the target operation data; and the mimicry strategy module is used to provide the decision strategy.

[0086] In one embodiment, Figure 4 This is a schematic diagram of a heterogeneous processing unit according to Embodiment 3 of the present invention, as shown below. Figure 4 As shown, the heterogeneous processing unit of the energy information system initiates operations requiring data acquisition or message transmission at the peripheral interface. The heterogeneous processing unit contains four XMOS business processing cores for handling different businesses, and also contains a heterogeneous processing core. The heterogeneous core architecture in each heterogeneous unit can adopt one of ARM, RISC, or MIPS. The heterogeneous processing unit also includes a GPIO peripheral interface for external data acquisition, and ETH and FIBER peripheral interfaces for handling message information synchronization.

[0087] Each business core in a heterogeneous processing unit (HPU) involves a set of GPIO ports and an ETH interface when running energy-related services. Since multiple business cores within an HPU run different business logics, the large number of peripheral interfaces makes data packet management inconvenient for the mimicry security chip. Furthermore, the limited number of peripheral interfaces on the mimicry security chip prevents a one-to-one correspondence and hinders its ability to adapt to future additions of HPUs. Therefore, this invention innovatively designs a switch module to manage all GPIO and ETH interfaces of all HPUs. The switch module merges data based on interface type and sends it to the corresponding peripheral interface on the mimicry security chip. The mimicry security chip analyzes the data reported by the switch module to determine the peripheral type, number, and associated HPU before proceeding with further processing. This effectively solves the problem of insufficient peripheral interfaces in the mimicry security chip and allows for flexibility in adapting to future deployment changes in the number of HPUs. In one embodiment, the preset switching module may include a unified interface module, an intelligent identification and configuration module, a dynamic data routing module, and a data processing optimization module. The unified interface module unifies different protocol physical interfaces and protocols into a specific physical interface and communication protocol, supporting plug-and-play functionality for various types of heterogeneous processing units and the expansion of additional peripheral interfaces without requiring additional protocol conversion devices or software. The intelligent identification and configuration module automatically identifies the type, model, and transmission protocol of the connected heterogeneous processing units and automatically configures the data transmission parameters for the operation to be executed according to preset rules or user instructions. It internally sets up a data buffer to accommodate data transmission rate mismatches between different heterogeneous processing units. The dynamic data routing module enables dynamic data routing. Specifically, it flexibly selects the optimal data transmission path based on the destination, priority, and peripheral status of the data to be executed, ensuring efficient and reliable transmission. The data processing optimization module performs preliminary processing on the collected data to be executed, such as format conversion, filtering, and compression, to improve the availability and transmission efficiency of the data.

[0088] The mimicry security defense chip (i.e., security defense chip) adopts peripheral interface multiplexing technology, and obtains the requested operation or data (operation data to be executed) from the GPIO port, ETH port or Fiber port through the Switch module.

[0089] The pre-defined unified protocol processing module, running the operating system application, encapsulates the data to be executed from each heterogeneous processor into UDP packets and sends them to the protocol-independent mimic scheduler IP. The purpose of packet encapsulation is to avoid modifying the functionality of the mimic scheduler IP, as it is protocol-independent. The data to be executed includes: the heterogeneous processing core number and the service processing core number in the service heterogeneous processing unit; the type of the peripheral interface of the heterogeneous unit to be executed; the number of the peripheral interface of the heterogeneous unit to be executed; the transmission protocol information of the peripheral interface of the heterogeneous unit to be executed; the relevant commands specified by the protocol; the length and format of the target data to be collected; and synchronization message information. The synchronization message information refers to time synchronization information, such as Network Time Protocol (NTP). Used to maintain time synchronization of all heterogeneous execution devices and upper-level devices, and to record logs for easy backtracking when problems are discovered; the related commands specified by the protocol refer to the commands specified by the protocol transmitted through peripherals, such as the Inter-Integrated Circuit (I2C) protocol (i2c) and the Serial Peripheral Interface (SPI) protocol, etc., which allow GPIO pins to be written only.

[0090] The unified protocol processing module can be used to add a pre-defined header byte to the data to be executed, encapsulating the data into an execution message. In actual operation, the execution message can be a UDP message.

[0091] The protocol-independent mimicry scheduler IP evaluates the UDP packets sent by each heterogeneous processing unit and outputs the result deemed correct by the scheduler. The evaluation refers to the comparison of the UDP packets output by the three heterogeneous processing units used for mimicry evaluation by the protocol-independent mimicry scheduler IP. If the UDP packets output by the three heterogeneous processing units are consistent, the UDP packet is used as the target operation data. If there are heterogeneous processing units with inconsistent results, and the number of inconsistencies reaches a preset threshold, the heterogeneous processing unit is converted to a cleaning state (restart or initialization), and the UDP packets output by the heterogeneous processing unit with consistent results are used as the target operation data.

[0092] The target operation data can be returned to the coprocessing module to run the operating system for processing. The coprocessing module runs a packet processing task in real time on the operating system. This task is used to handle the data interaction between the heterogeneous processing unit, the protocol-independent mimic scheduler IP, and the external device. The messages obtained from the heterogeneous processing unit and the external device are encapsulated into UDP by the unified protocol processing module and sent to the protocol-independent mimic scheduler IP. The output of the protocol-independent mimic scheduler IP is unpacked to obtain the source data and sent to the heterogeneous processing unit or the external device. Here, the unpacking obtains the heterogeneous processing core number and the command word to be sent, the type and number of the peripheral interface to be operated, the data to be collected and its length and format, and the message information to be synchronized, etc.

[0093] The mimicry security defense chip sends the target operation data to the external device through the multiplexed GPIO port peripheral interface to collect external data, and sends the message information to the external device through the multiplexed ETH or Fiber port to exchange message information. At this point, the downlink business process ends.

[0094] External devices collect power energy data such as voltage and current, or synchronized message results, as target data and return it to the GPIO, ETH, and FIBER peripheral interfaces connected to the mimicry security defense chip. The operating system of the preset unified protocol processing module on the mimicry security defense chip obtains the target data through the connected preset peripheral interfaces. The operating system task running on it adds a header to the collected data and encapsulates it into a UDP packet, selecting the Gigabit Ethernet (GE) / 10 Gigabit Ethernet (XGE) processing flow. The target data finally enters the protocol-independent mimicry scheduler IP. The protocol-independent mimicry scheduler IP copies and distributes the target data to the preset unified protocol processing module running the operating system for processing according to the distribution, voting, and scheduling mechanism issued by the mimicry policy module. After copying and distributing, the packet is sent to the packet processing task for unpacking to obtain the operation data that the peripherals can parse. The operation data of the peripherals is sent to each CPU of the heterogeneous processing unit through the ETH, Fiber, or GPIO interfaces directly connected to the heterogeneous processing unit. At this point, the uplink business is also completed, and all uplink and downlink business of the energy information system is also completed.

[0095] This invention incorporates a mimicry scheduler security defense chip between the energy system terminal and external devices. The energy system terminal is transformed into a heterogeneous processing unit. The data and messages to be collected and processed by each heterogeneous processing unit are mimicked, preventing abnormal heterogeneous processing units from participating in data collection tasks. This effectively improves the reliability and availability of the energy information system. Simultaneously, the method of data and message interaction between the energy system terminal and external devices is changed to the energy system terminal collecting data from the mimicry security defense module, which then requests data from external devices. Corresponding preset peripheral interaction interfaces are implemented at both ends, ensuring that the energy system terminal's data is secure while still appearing to be collecting data from external devices as before, achieving the advantage of no modification to business logic. If the data from the energy system terminal becomes unreliable, the mimicry judgment identifies the abnormal heterogeneous processing unit and applies a cleaning and recovery mechanism to ensure rapid business recovery and re-launch, further enhancing the overall security of the product and facilitating rapid recovery and seamless switching of energy information services.

[0096] Example 4

[0097] Figure 5 This is a schematic diagram of a resource retrieval device according to Embodiment 4 of the present invention. Figure 5 As shown, the device includes: a data acquisition module 51, a data determination module 52, and a data transmission module 53.

[0098] The data acquisition module 51 is used to acquire the data to be executed sent by the heterogeneous processing unit of the business in the energy information system based on the preset exchange module; wherein the number of heterogeneous processing units is at least two.

[0099] The data determination module 52 is used to determine the target operation data based on the operation data to be executed through a protocol-independent mimicry scheduler, and send the target operation data to an external device.

[0100] The data transmission module 53 is used to acquire target data collected by external devices based on target operation data, and to feed the target data back to the business heterogeneous processing unit according to the target operation data, so that the business heterogeneous processing unit can upload the target data to the target device for processing.

[0101] This invention, in its embodiments, acquires pending operation data sent by heterogeneous processing units in an energy information system via a preset exchange module data acquisition module. The number of heterogeneous processing units is at least two. A data determination module uses a protocol-independent mimicry scheduler to determine target operation data based on the pending operation data and sends this target operation data to an external device, improving the accuracy of the target operation data and preventing attacks from affecting its reliability. A data transmission module acquires target data collected by the external device based on the target operation data and feeds this target data back to the heterogeneous processing unit, enabling the heterogeneous processing unit to upload the target data to the target device for processing. This eliminates the need to modify the original business logic code of the heterogeneous processing unit, allowing it to seamlessly run and perform data acquisition tasks. Simultaneously, it ensures high reliability of the energy information system, significantly reduces maintenance costs associated with security measures, and improves operational efficiency. Furthermore, by adding a preset exchange module, it solves the problem of not being able to simultaneously access multiple heterogeneous processing units, providing excellent scalability and facilitating timely acquisition of pending operation data from multiple heterogeneous processing units.

[0102] The heterogeneous processing unit includes: a heterogeneous processing core, a preset heterogeneous unit peripheral interface, and at least one business processing core.

[0103] Among them, the preset heterogeneous unit peripheral interface is connected to the preset switching module;

[0104] The preset exchange module is used to collect the number of the peripheral interface of the heterogeneous unit to be executed in the heterogeneous processing unit, the transmission protocol information of the peripheral interface of the heterogeneous unit to be executed, and the length and format of the target data to be collected.

[0105] In one embodiment, the data acquisition module 51 includes:

[0106] The data acquisition unit is used to receive operation data collected by a preset exchange module connected to the business heterogeneous processing unit as operation data to be executed.

[0107] The data to be executed includes: the number of the peripheral interface of the heterogeneous unit to be executed in the heterogeneous processing unit, the transmission protocol information of the peripheral interface of the heterogeneous unit to be executed, and the length and format of the target data to be collected.

[0108] In one embodiment, the data determination module 52 includes:

[0109] The format conversion unit is used to encapsulate the data to be executed into a message to be executed based on the preset unified protocol processing module.

[0110] The data input unit is used to input each message to be executed into the protocol-independent mimicry scheduler, and to determine whether each message to be executed is the same based on the protocol-independent mimicry scheduler; wherein, the protocol-independent mimicry scheduler is used to make decisions on the messages to be executed to determine the target operation data.

[0111] The target data determination unit is used to determine the target operation data when all the messages to be executed are the same.

[0112] The count determination unit is used to determine the business heterogeneous processing unit to which the different execution messages belong as the abnormal heterogeneous processing unit when it is determined that the execution messages are different. It extracts the historical execution messages of the abnormal heterogeneous processing unit and determines the number of times the historical execution messages are inconsistent with the historical execution messages of other business heterogeneous processing units.

[0113] The first comparison unit is used to take the data of the operation to be executed corresponding to the same operation to be executed in each operation to be executed message as the target operation data when the number of inconsistencies is greater than or equal to the preset number threshold.

[0114] The second comparison unit is used to send response information indicating that the messages to be executed are different to the abnormal service heterogeneous processing unit when the number of times the inconsistency is determined to be less than the preset threshold.

[0115] In one embodiment, the resource retrieval device further includes:

[0116] The initialization module is used to initialize the abnormal heterogeneous processing unit.

[0117] In one embodiment, the data transmission module 53 includes:

[0118] The target data acquisition unit is used to receive data collected by external devices based on a preset peripheral interface, according to the length and format of the target data to be acquired in the target operation data, as the target data.

[0119] The data transmission unit is used to copy the target data through a protocol-independent mimicry scheduler and transmit the target data to the business heterogeneous processing unit according to the number of the heterogeneous unit peripheral interface to be executed and the transmission protocol information of the heterogeneous unit peripheral interface to be executed in the target operation data.

[0120] The resource calling device provided in the embodiments of the present invention can execute the resource calling method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the method execution.

[0121] Example 5

[0122] Figure 6This is a schematic diagram of the structure of an electronic device implementing the resource retrieval method of embodiments of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.

[0123] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0124] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0125] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as resource invocation methods.

[0126] In some embodiments, the resource retrieval method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the resource retrieval method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to execute the resource retrieval method by any other suitable means (e.g., by means of firmware).

[0127] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0128] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0129] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0130] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0131] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

[0132] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.

[0133] In one embodiment, the present invention further includes a computer program product, which includes a computer program that, when executed by a processor, implements the resource retrieval method of any embodiment of the present invention.

[0134] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0135] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and no limitation is imposed herein.

[0136] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A resource invocation method, characterized by, The method comprises the following steps: acquiring operation data to be executed sent by a business heterogeneous processing unit in an energy information system based on a preset exchange module; the number of the business heterogeneous processing units is at least two; determining target operation data based on the operation data to be executed by a protocol-independent metasomatism scheduler, and sending the target operation data to an external device; acquiring target data collected by the external device based on the target operation data, and feeding back the target data to the business heterogeneous processing unit according to the target operation data, so that the business heterogeneous processing unit uploads the target data to a target device for processing; wherein the determination of the target operation data based on the operation data to be executed by the protocol-independent metasomatism scheduler comprises: encapsulating the operation data to be executed into operation messages to be executed based on a preset unified protocol processing module; inputting each operation message to be executed into a protocol-independent metasomatism scheduler, and determining whether each operation message to be executed is the same based on the protocol-independent metasomatism scheduler; the protocol-independent metasomatism scheduler is used for determining the target operation data based on the operation messages to be executed; when it is determined that each operation message to be executed is the same, determining the operation message to be executed as the target operation data; when it is determined that each operation message to be executed is not the same, determining the business heterogeneous processing unit to which the operation message to be executed that is not the same belongs as an abnormal heterogeneous processing unit, extracting historical operation messages to be executed of the abnormal heterogeneous processing unit, and determining the number of times that the historical operation message to be executed is inconsistent with historical operation messages to be executed of other business heterogeneous processing units; when it is determined that the number of times of inconsistency is greater than or equal to a preset number threshold, determining the operation data to be executed corresponding to the operation message to be executed that is the same in each operation message to be executed as the target operation data; when it is determined that the number of times of inconsistency is less than the preset number threshold, feeding back response information that the operation messages to be executed are not the same to the abnormal business heterogeneous processing unit.

2. The method of claim 1, wherein, The business heterogeneous processing unit comprises a heterogeneous processing core, a preset heterogeneous unit peripheral interface, and at least one business processing core; the preset heterogeneous unit peripheral interface is connected with a preset exchange module; the preset exchange module is used for collecting the number of a heterogeneous unit peripheral interface to be executed, transmission protocol information of the heterogeneous unit peripheral interface to be executed, the length and format of target data to be collected in the business heterogeneous processing unit.

3. The method of claim 1, wherein, The method comprises the following steps: receiving operation data collected by a preset exchange module connected with the business heterogeneous processing unit as operation data to be executed; wherein the operation data to be executed comprises the number of a heterogeneous unit peripheral interface to be executed, transmission protocol information of the heterogeneous unit peripheral interface to be executed, the length and format of target data to be collected in the business heterogeneous processing unit.

4. The method of claim 1, wherein, Before the operation data to be executed corresponding to the operation message to be executed that is the same in each operation message to be executed is determined as the target operation data, the method further comprises the following step: initializing the abnormal heterogeneous processing unit.

5. The method of claim 1, wherein, The obtaining the target data collected by the external device based on the target operation data, and feeding back the target data to the business heterogeneous processing unit according to the target operation data comprises: Receiving, based on a preset peripheral interface, data collected by the external device as target data according to the length and format of the target data to be collected in the target operation data; Copying the target data through the protocol-independent quasi-state scheduler, and transmitting the target data to the business heterogeneous processing unit according to the number of the heterogeneous unit peripheral interface to be executed in the target operation data and the transmission protocol information of the heterogeneous unit peripheral interface to be executed.

6. A resource invocation apparatus characterized by comprising: Comprise: The data acquisition module is used for obtaining the to-be-executed operation data sent by the business heterogeneous processing unit in the energy information system based on a preset exchange module; wherein, the number of the business heterogeneous processing unit is at least two; The data determination module is used for determining target operation data based on the to-be-executed operation data through a protocol-independent quasi-state scheduler, and sending the target operation data to an external device; The data transmission module is used for obtaining target data collected by the external device based on the target operation data, and feeding back the target data to the business heterogeneous processing unit according to the target operation data, so that the business heterogeneous processing unit uploads the target data to a target device for processing; Wherein, the data determination module comprises: The format conversion unit is used for encapsulating the to-be-executed operation data into to-be-executed messages based on a preset unified protocol processing module; The data input unit is used for inputting each to-be-executed message into a protocol-independent quasi-state scheduler, and determining whether each to-be-executed message is the same based on the protocol-independent quasi-state scheduler; wherein, the protocol-independent quasi-state scheduler is used for determining target operation data by decision-making on the to-be-executed message; The target data determination unit is used for determining the to-be-executed message as target operation data when it is determined that each to-be-executed message is the same; The number determination unit is used for determining the business heterogeneous processing unit to which the different to-be-executed messages belong as an abnormal heterogeneous processing unit when it is determined that each to-be-executed message is different, extracting historical to-be-executed messages of the abnormal heterogeneous processing unit, and determining the number of times that the historical to-be-executed message is inconsistent with the historical to-be-executed messages of other business heterogeneous processing units; The first number comparison unit is used for determining the to-be-executed operation data corresponding to the same to-be-executed message in each to-be-executed message as target operation data when it is determined that the number of times of inconsistency is greater than or equal to a preset number threshold; The second number comparison unit is used for feeding back response information that the to-be-executed messages are different to the abnormal business heterogeneous processing unit when it is determined that the number of times of inconsistency is less than the preset number threshold.

7. An electronic device, comprising: The electronic device comprises: At least one processor; and The memory is connected in communication with the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the resource calling method in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to implement the resource calling method in any one of claims 1-5 when executed.

9. A computer program product, characterised in that, The computer program product comprises a computer program which, when executed by a processor, implements the resource calling method according to any one of claims 1-5.

Citation Information

Patent Citations

  • Weighted decision and random scheduling method based on physical heterogeneous redundancy

    CN108134740A

  • Heterogeneous computing framework-based processing method and apparatus, and device and medium

    WO2023125463A1