CN114238179A - Data transmission system, method, device and medium - Google Patents
Data transmission system, method, device and medium Download PDFInfo
- Publication number
- CN114238179A CN114238179A CN202111421419.0A CN202111421419A CN114238179A CN 114238179 A CN114238179 A CN 114238179A CN 202111421419 A CN202111421419 A CN 202111421419A CN 114238179 A CN114238179 A CN 114238179A
- Authority
- CN
- China
- Prior art keywords
- instruction
- module
- scd
- target api
- target
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000005540 biological transmission Effects 0.000 title claims abstract description 46
- 238000001514 detection method Methods 0.000 claims description 121
- 230000006870 function Effects 0.000 claims description 96
- 238000004590 computer program Methods 0.000 claims description 19
- 238000010586 diagram Methods 0.000 description 29
- 238000012545 processing Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 16
- 230000002159 abnormal effect Effects 0.000 description 8
- 230000005856 abnormality Effects 0.000 description 5
- NBIIXXVUZAFLBC-UHFFFAOYSA-N Phosphoric acid Chemical compound OP(O)(O)=O NBIIXXVUZAFLBC-UHFFFAOYSA-N 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
- G06F13/124—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
- G06F13/126—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
- G06F13/12—Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/30145—Instruction analysis, e.g. decoding, instruction word fields
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Communication Control (AREA)
Abstract
Embodiments of the present invention provide a data transmission system, method, device and medium, so as to solve the problems of incompatibility and incompatibility among the sonoc, the SCD and the SDK in the prior art. In the embodiment of the present invention, after the OA module of the sonoc acquires the first instruction, the OA module converts the first instruction into the second instruction in the format that can be recognized by the SCD module, and the SCD module determines the target API identifier corresponding to the target function included in the second instruction according to the correspondence between the function and the API identifier, determines the target API corresponding to the target API identifier, and sends the second instruction to the SDK module corresponding to the target API.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data transmission system, method, device, and medium.
Background
With the progress of society, computers are applied more and more, and usually, an operating System (SONIC) at an upper layer of the computer, a Switch Chip Driver (SCD) and a Software Development Kit (SDK) at a lower layer of the computer are developed by the same chip manufacturer. The SONIC, the SCD and the SDK developed by the same chip manufacturer clearly show the corresponding relation of functions, so that the service of a certain function can be effectively processed.
Fig. 1 is a schematic structural diagram of an sonoc, a Switch Chip Driver (SCD) and an SDK in the prior art. As shown in fig. 1, the SONIC corresponds to a Control stack (Control stack), the SCD corresponds to a middle layer, one side of the SCD is the SONIC, the other side of the SCD is an Adapter (Adapter), and the SDK is disposed at the Adapter. And the functions of the SONIC and the SCD mainly comprise: mandatory functions, optional functions, and custom functions. Wherein, the mandatory function refers to a function required by the basic forwarding operation of the Control stack; optional functions refer to functions defined in a compatible SCD Adapter, but not necessarily a set of additional functions that enable the uncore forwarding function in a standard manner; user-defined functions refer to additional sets of functions that are neither defined nor required by the compatible SCD Adapter implementation.
However, the functions of the sonoc, the functions of the SCD, and the APIs of the SDK developed by different chip manufacturers for the same service are all different, so that the application layer software codes of the sonoc, the SCD, and the SDK provided by the manufacturers when executing the same service are different, and the APP layer software codes of the sonoc are not common, so that the service with a certain function cannot be effectively processed, that is, the sonoc, the SCD, and the SDK developed by different chip manufacturers cannot be compatible and adapted.
Disclosure of Invention
Embodiments of the present invention provide a data transmission system, method, device and medium, so as to solve the problems of incompatibility and incompatibility among the sonoc, the SCD and the SDK in the prior art.
In a first aspect, an embodiment of the present invention provides a data transmission system, where the system includes: the system comprises an operation system SONIC housekeeper OA module, a switch chip driving SCD module and a software development kit SDK module;
the OA module is used for receiving a first instruction carrying a target function, converting the first instruction into a format which can be identified by the SCD module to obtain a second instruction, and sending the second instruction to the SCD module;
the SCD module is used for receiving the second instruction, determining a target API (application programming interface) identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, determining a target API corresponding to the target API identifier, and sending the second instruction to the SDK module corresponding to the target API;
and the SDK module is used for configuring and managing the switching chip.
Further, the system further comprises: an application program APP module of the SONIC;
the APP module is used for receiving the current operation, determining an objective function corresponding to the current operation according to the corresponding relation between the operation and the function, and sending a first instruction carrying the objective function to the OA module.
Further, the OA module is specifically configured to convert the first instruction into a second instruction in a format recognizable by the SCD module by using a P/S asynchronous message notification mechanism.
Further, the system also includes a detection module;
the OA module is used for sending the first instruction to the detection module;
the SCD module is used for sending the second instruction to the detection module;
the SDK module is used for sending the target API identification to the detection module;
the detection module is used for recording the corresponding relation between the first instruction, the second instruction and the target API identification.
Further, the detection module is configured to receive a detection instruction sent by the SCD module, where the detection instruction carries a third instruction, a fourth instruction, and an API identifier that are determined when the instruction cannot be sent to the SDK module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module;
the OA module is used for sending a second instruction to the SCD module if the second instruction sent by the detection module is received;
and the SCD module is used for sending the fourth instruction to the SDK module corresponding to the API corresponding to the target API identifier if the fourth instruction and the target API identifier sent by the detection module are received.
In a second aspect, an embodiment of the present invention further provides a data transmission method, where the method includes:
receiving a first instruction carrying a target function, converting the first instruction into a format which can be recognized by an SCD module to obtain a second instruction, and sending the second instruction to the SCD module, so that the SCD module determines a target API identifier corresponding to the target function contained in the second instruction according to a corresponding relation between functions and API identifiers, determines a target API of the target API identifier, and sends the second instruction to an SDK module corresponding to the target API.
Further, the converting the first instruction into a recognizable format of the SCD module to obtain a second instruction includes:
and converting the first instruction into a second instruction in a recognizable format of the SCD module by adopting a P/S asynchronous message notification mechanism.
Further, the method further comprises:
sending the first instruction to a detection module so that the detection module records a second instruction corresponding to the first instruction and a target API (application program interface) identifier; and if a second instruction sent by the detection module is received, sending the second instruction to the SCD module.
In a third aspect, an embodiment of the present invention provides a data transmission method, where the method includes:
receiving a second instruction sent by the OA module; the second instruction is the OA module, receives a first instruction carrying an objective function, and converts the first instruction into a format which can be identified by the SCD module to obtain a second instruction;
and determining a target API identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, determining a target API corresponding to the target API identifier, and sending the second instruction to the SDK module corresponding to the target API.
Further, the method further comprises:
sending the second instruction to a detection module so that the detection module records the second instruction corresponding to the first instruction and a target API (application program interface) identifier;
and if a fourth instruction and a target API identification sent by the detection module are received, determining a target API corresponding to the target API identification, and sending the fourth instruction to an SDK module corresponding to the target API.
In a fourth aspect, an embodiment of the present invention further provides a data transmission method, where the method includes:
receiving a first instruction sent by an OA module; receiving a second instruction sent by the SCD module; receiving a target API identification sent by the SDK module; and recording the corresponding relation among the first instruction, the second instruction and the target API identification.
Further, the method further comprises:
receiving a detection instruction sent by an SCD module, wherein the detection instruction carries a third instruction, a fourth instruction and an API (application program interface) identifier which are determined when the instruction cannot be sent to an SDK (software development kit) module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module. In a fifth aspect, an embodiment of the present invention further provides a data transmission apparatus, where the apparatus includes:
the first receiving module is used for receiving a first instruction carrying a target function;
and the first processing module is used for converting the first instruction into a format which can be identified by the SCD module to obtain a second instruction, and sending the second instruction to the SCD module.
Further, the first processing module is specifically configured to convert the first instruction into a second instruction in a format that can be recognized by the SCD module by using a P/S asynchronous message notification mechanism.
Further, the first processing module is further configured to send the first instruction to a detection module, so that the detection module records a second instruction and a target API identifier corresponding to the first instruction; and if a second instruction sent by the detection module is received, sending the second instruction to the SCD module.
In a sixth aspect, an embodiment of the present invention further provides a data transmission apparatus, where the apparatus includes:
the receiving and determining module is used for receiving a second instruction sent by the OA module, determining a target API identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, and determining a target API corresponding to the target API identifier;
and the sending module is used for sending the second instruction to the SDK module corresponding to the target API.
Further, the sending module is further configured to send the second instruction to a detection module, so that the detection module records the second instruction and the target API identifier corresponding to the first instruction; and if a fourth instruction and a target API identification sent by the detection module are received, determining a target API corresponding to the target API identification, and sending the fourth instruction to an SDK module corresponding to the target API.
In a seventh aspect, an embodiment of the present invention further provides a data transmission apparatus, where the apparatus includes:
the second receiving module is used for receiving the first instruction sent by the OA module; receiving a second instruction sent by the SCD module; receiving a target API identification sent by the SDK module;
and the second processing module is used for recording the corresponding relation among the first instruction, the second instruction and the target API identification.
Further, the second processing module is further configured to receive a detection instruction sent by the SCD module, where the detection instruction carries a third instruction, a fourth instruction, and an API identifier that are determined when the instruction cannot be sent to the SDK module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module.
In an eighth aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes at least a processor and a memory, and the processor is configured to execute the steps of data transmission when executing a computer program stored in the memory.
In a ninth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, performs the steps of data transmission described above.
In the embodiment of the present invention, after the OA module of the sonac acquires the first instruction, the OA module converts the first instruction into the second instruction in the format that can be recognized by the SCD module, and after the SCD module acquires the second instruction, according to the correspondence between the function and the API identifier, the SCD module determines the target API identifier corresponding to the target function included in the second instruction, determines the target API identified as the target API identifier, and sends the second instruction to the SDK module corresponding to the target API.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of the SONIC, SCD and SDK structure in the prior art;
fig. 2 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a data transmission process according to an embodiment of the present invention;
fig. 4 is a schematic process diagram of a data transmission method according to an embodiment of the present invention;
fig. 5 is a schematic process diagram of a data transmission method according to an embodiment of the present invention;
fig. 6 is a schematic process diagram of a data transmission method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 2 is a schematic structural diagram of a data transmission system according to an embodiment of the present invention, where the data transmission system includes: SONIC's housekeeper (OA) module 201, SCD module 202, SDK module 203;
the OA module 201 is configured to receive a first instruction carrying an objective function, convert the first instruction into a format that can be recognized by the SCD module to obtain a second instruction, and send the second instruction to the SCD module;
the SCD module 202 is configured to receive the second instruction, determine a target API corresponding to a target function included in the second instruction according to a correspondence between functions and APIs, and send the second instruction to the SDK module corresponding to the target API;
the SDK module 203 is configured to configure and manage a switch chip.
In the embodiment of the present invention, the SONIC includes an OA module, and when a user operates on a display interface of the terminal, the OA module receives a first instruction responding to the operation, where the first instruction is sent to the OA module by another module of the SONIC, and the first instruction carries a target function corresponding to the operation, and after receiving the first instruction, the OA module converts the first instruction into a format that can be recognized by the SCD module, so as to obtain a second instruction, and after obtaining the second instruction corresponding to the first instruction, sends the second instruction to the SCD module.
After the SCD module receives the second instruction, because the second instruction is in a format that the SCD module can recognize, the SCD module can recognize the second instruction, and the function and the API identifier have a corresponding relationship, the SCD module can recognize the second instruction and can obtain the target API identifier corresponding to the target function carried in the second instruction according to the corresponding relationship between the function and the API identifier. The SCD module can identify a second instruction sent by the OA module of the SONIC and acquire a target API identifier corresponding to a target function carried in the second instruction according to the corresponding relation between the stored function and the API identifier, so that the SONIC and the SCD can be compatible and adaptive.
The SDK module is used to configure and manage the switch chip, and includes a switch chip, a Physical Layer (phy) chip, a Central Processing Unit (CPU) chip, and other drivers, an operation interface of the device, and an application Layer interface, which encapsulates a general interface for the operation of the user application.
In the embodiment of the present invention, after the OA module of the sonac acquires the first instruction, the OA module converts the first instruction into the second instruction in the format that can be recognized by the SCD module, and after the SCD module acquires the second instruction, according to the correspondence between the function and the API identifier, the SCD module determines the target API identifier corresponding to the target function included in the second instruction, determines the target API identified as the target API identifier, and sends the second instruction to the SDK module corresponding to the target API.
Example 2:
in order to accurately determine the first instruction, on the basis of the above embodiment, in an embodiment of the present invention, the system further includes: an APP module 204 of the SONIC;
the APP module 204 is configured to receive a current operation, determine an objective function corresponding to the current operation according to a correspondence between the operation and the function, and send a first instruction carrying the objective function to the OA module.
In the embodiment of the present invention, the SONIC further includes an Application program (APP) module, where the APP module is a service command line input port, and information such as a functional component service is issued on the SONIC, and when a user performs an operation such as a click on a terminal, the APP module receives a current operation of the user, and after receiving the current operation of the user, determines an objective function corresponding to the current operation according to a correspondence between the operation and the function, carries the objective function in the first instruction, and sends the first instruction to the OA module of the SONIC. Specifically, how to determine the objective function according to the current operation is the prior art, and is not described herein again.
The detailed process of sending the first instruction to the OA module is as follows: the APP module issues the first instruction to an APP database (Data Base, DB) through the command line management component, the APP DB determines the OA module corresponding to the first instruction according to the received first instruction and the characteristics of the required instruction corresponding to different OA modules, namely the OA module acquires the first instruction which correspondingly occurs to the APP DB, namely the APP module sends the first instruction to the APP DB, and the APP DB sends the first instruction to the corresponding OA module. Specifically, how the OA module obtains the first instruction in the APP DB is the prior art, and is not described herein again. And in the embodiment of the present invention, the APP module may send the first instruction to the APP DB through a poll/select (P/S) asynchronous message notification mechanism.
In order to accurately determine the second instruction, on the basis of the foregoing embodiments, in an embodiment of the present invention, the OA module is specifically configured to convert the first instruction into the second instruction in the format that can be recognized by the SCD module by using a P/S asynchronous message notification mechanism.
In order to enable the SCD module to determine the corresponding target API, in the embodiment of the present invention, the OA module converts the first instruction into a second instruction in a format that can be recognized by the SCD module, and in the specific OA module, the poll/select (P/S) asynchronous message notifier performs synchronous processing to convert the first instruction into the second instruction, that is, the poll function or the select function is used to convert the first instruction into the second instruction.
Example 3:
in order to record the corresponding relationship between the first instruction, the second instruction and the target API, on the basis of the foregoing embodiments, in an embodiment of the present invention, the system further includes a detection module 205;
the OA module 201 is configured to send the first instruction to the detection module;
the SCD module 202 is configured to send the second instruction to the detection module;
the SDK module 203 is configured to send the target API identifier to the detection module;
the detection module 205 is configured to record a corresponding relationship between the first instruction, the second instruction, and the target API identifier.
In order to record the corresponding relationship between the first instruction, the second instruction and the target API identifier, in an embodiment of the present invention, the data transmission system further includes a detection module, and the detection module records the corresponding relationship between the first instruction, the second instruction and the target API identifier. Specifically, after acquiring the first instruction, the OA module sends the first instruction to the detection module, the SCD module sends the second instruction to the detection module after receiving the second instruction, the SDK module sends the corresponding target API identifier to the detection module, and the detection module records the corresponding relationship between the first instruction, the second instruction, and the target API identifier, where the detection module can recognize the first instruction, the second instruction, and the target API identifier, and since the second instruction is the first instruction after converting the format, the detection module can determine the corresponding relationship between the first instruction and the second instruction, and since the target API identifier is determined according to the target function carried in the second instruction and the corresponding relationship between the function and the API identifier, the detection module can determine the corresponding relationship between the second instruction and the target API identifier. In addition, in the embodiment of the present invention, a bitmap table may be further stored, and the corresponding relationship between the first instruction, the second instruction, and the target API identifier may be stored in the bitmap table. In other words, in practical application, after the OA module obtains the first instruction, the OA module sends the first instruction to the detection module, and continues to convert the first instruction into the second instruction in the format recognizable by the SCD module, after the SCD module receives the second instruction, the SCD module sends the second instruction to the detection module, and continues to obtain the corresponding target API identifier, and sends the second instruction to the SDK module corresponding to the target API identifier through the target API identifier, and after the SDK module receives the second instruction, the SDK module sends the corresponding target API identifier to the detection module.
In addition, in the embodiment of the present invention, the OA module may send the first instruction and the second instruction obtained after the format conversion to the detection module, the SCD module sends the received second instruction and the target API obtained correspondingly to the detection module, and the detection module may record a corresponding relationship between the first instruction and the second instruction and a corresponding relationship between the second instruction and the target API identifier, that is, the detection module may record a corresponding relationship between the first instruction, the second instruction, and the target API identifier.
In order to accurately perform data transmission, on the basis of the foregoing embodiments, in an embodiment of the present invention, the detection module 205 receives a detection instruction sent by an SCD module, where the detection instruction carries a third instruction, a fourth instruction and an API identifier that are determined when the instruction cannot be sent to an SDK module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module;
the OA module is used for sending a second instruction to the SCD module if the second instruction sent by the detection module is received;
and the SCD module is used for sending the fourth instruction to the SDK corresponding to the target API identification if the fourth instruction and the target API identification sent by the detection module are received.
In the embodiment of the present invention, when the instruction determined by the OA module and the SCD module is abnormal or when the determined API identifier is abnormal, so that data cannot be processed effectively, the detection module receives a detection instruction sent by the SCD module, where the detection instruction carries a third instruction, a fourth instruction, and an API identifier determined when the detection instruction is abnormal. And after the detection module receives the detection instruction, the detection module determines whether the fourth instruction in the detection instruction or the API identifier in the detection instruction is abnormal in the corresponding relationship among the first instruction, the second instruction and the target API identifier stored in the bit diagram, and determines the accurate instruction of the fourth instruction with the abnormality in the detection instruction when the abnormality does not occur or the accurate API identifier of the API identifier with the abnormality does not occur according to the corresponding relationship among the first instruction, the second instruction and the target API identifier, so that the OA module or the SCD module continues to transmit data through the accurate instruction or the accurate API identifier.
Specifically, after the detection module receives the detection instruction, the third instruction, the fourth instruction and the API identifier, which are carried in the detection instruction and determined when there is an abnormality, are obtained, and according to the pre-stored correspondence between the first instruction, the second instruction and the target API identifier, which of the third instruction, the fourth instruction and the API identifier has an abnormality is determined. Specifically, the determination process of which one of the third instruction, the fourth instruction and the API identifier has an exception is as follows: acquiring a first instruction matched with a third instruction from a pre-stored corresponding relation of a first instruction, a second instruction and a target API identification, judging whether a second instruction corresponding to the first instruction is consistent with a fourth instruction or not after acquiring the first instruction matched with the third instruction, if the second instruction corresponding to the first instruction is inconsistent with the fourth instruction, indicating that the fourth instruction is abnormal, acquiring a second instruction which can be identified by an SCD module and corresponds to the first instruction matched with the third instruction in a bitmap table, namely, an instruction which is converted into a format which can be identified by the SCD module and corresponds to the third instruction is a second instruction, in order to enable an OA module and the SCD module to continue to carry out data transmission through the accurate second instruction, a detection module sends the second instruction to an OA module, the OA module sends the second instruction to the SCD module after receiving the second instruction sent by the detection module, and enabling the SCD module to determine the corresponding API identification according to the second instruction, thereby realizing the transmission of the data.
If the second instruction corresponding to the first instruction is consistent with the fourth instruction, it is determined that the fourth instruction is not abnormal, whether a target API identifier corresponding to the first instruction is consistent with an API identifier carried in the detection instruction is obtained, if the target APIs corresponding to the first instruction and the second instruction are not consistent with the API identifier carried in the detection instruction, it is determined that the API identifier is abnormal, a target API identifier corresponding to the first instruction matched with the third instruction in the bitmap is obtained, that is, the API identifier corresponding to the third instruction that is not abnormal should be the target API identifier corresponding to the first instruction, in order to enable the SCD module to continue to perform data transmission through the accurate API identifier, the detection module sends the fourth instruction and the correct target API identifier corresponding to the fourth instruction to the SCD module, and if the SCD module receives the fourth instruction and the target API identifier sent by the detection module, if the target API identifier is the target API identifier corresponding to the fourth instruction, the SCD module sends the fourth instruction to the SCD module corresponding to the target API identifier, thereby improving the accuracy of data transmission.
Example 4:
in an actual application process, the transmission system further includes a synchronization process (Syncd), where the Syncd is configured to receive the second instruction sent by the OA module, send the obtained second instruction to the SCD module, and send the second instruction to the Syncd by the specific process: and the OA module issues the second instruction to an integrated circuit (ASIC) DB, and the ASIC DB determines the Syncd corresponding to the second instruction according to the received second instruction and the characteristics of the required instruction corresponding to different Syncds, namely the Syncd acquires the second instruction in the ASIC DB. Specifically, how the Syncd obtains the second instruction in the ASIC DB is the prior art, and is not described herein again. In the embodiment of the invention, the Syncd can send the corresponding second instruction to the SCD module through a client/server (C/S) message notification mechanism.
The OA module realizes the conversion of instructions in the APP DB and the ASIC DB on the OA module through a P/S asynchronous message notification mechanism, and the problem of inconsistent preset mapping relation of the traditional function is solved through the P/S asynchronous message notification mechanism. The Syncd realizes API conversion between the ASIC DB and the SCD module in a C/S mode, and shields the difference of different chip manufacturers.
In the embodiment of the invention, the SCD module is used for adapting the SONIC and the bottom layer SDK, so that the difference of different chip manufacturers is shielded by an interface on one side; and the interface on the other side shields the difference of different SONiC, thereby realizing the high decoupling of software and hardware.
Fig. 3 is a schematic diagram of a data transmission process according to an embodiment of the present invention.
As shown in fig. 3, the APP module of the sonac receives a current operation, acquires a target function corresponding to the current operation, carries the target function in a first instruction, sends the first instruction to the APP DB through a P/S mechanism, the OA module acquires the first instruction in the APP DB, the OA module converts the first instruction into a second instruction in a format recognizable by the SCD module through the P/S mechanism, sends the second instruction to the ASIC DB, the Syncd acquires a second instruction in the ASIC DB, and sends the second instruction to the SCD module through the C/S mechanism, the SCD module acquires a corresponding target API identifier according to the second instruction, determines a target API corresponding to the target API identifier, and sends the second instruction to the SDK module corresponding to the target API through the target API.
Example 5:
fig. 4 is a schematic process diagram of a data transmission method according to an embodiment of the present invention, where the process includes:
s401: receiving a first instruction carrying a target function;
s402: and converting the first instruction into a format which can be recognized by an SCD module to obtain a second instruction, and sending the second instruction to the SCD module, so that the SCD module determines a target API identifier corresponding to a target function contained in the second instruction according to a corresponding relation between a function and the API identifier, determines a target API corresponding to the target API identifier, and sends the second instruction to an SDK module corresponding to the target API.
In a possible implementation, the converting the first instruction into a recognizable format of the SCD module to obtain a second instruction includes:
and converting the first instruction into a second instruction in a recognizable format of the SCD module by adopting a P/S asynchronous message notification mechanism.
In one possible embodiment, the method further comprises:
sending the first instruction to a detection module so that the detection module records a second instruction corresponding to the first instruction and a target API (application program interface) identifier; and if a second instruction sent by the detection module is received, sending the second instruction to the SCD module.
The method is applied to the OA module, and the specific process of the OA module executing the data transmission method may refer to the other embodiments, which are not described in detail again.
Fig. 5 is a schematic process diagram of a data transmission method according to an embodiment of the present invention, where the process includes:
s501: receiving a second instruction sent by the OA module; the second instruction is the OA module, receives a first instruction carrying an objective function, and converts the first instruction into a format which can be identified by the SCD module to obtain a second instruction;
s502: and determining a target API identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, determining a target API corresponding to the target API identifier, and sending the second instruction to the SDK module corresponding to the target API.
In one possible embodiment, the method further comprises: sending the second instruction to a detection module so that the detection module records the second instruction corresponding to the first instruction and a target API (application program interface) identifier;
and if a fourth instruction and a target API identification sent by the detection module are received, determining a target API corresponding to the target API identification, and sending the fourth instruction to an SDK module corresponding to the target API.
The method is applied to the SCD module, and specific processes of the SCD module for executing the data transmission method may refer to the other embodiments, which are not described in detail herein.
Fig. 6 is a schematic process diagram of a data transmission method according to an embodiment of the present invention, where the process includes:
s601: receiving a first instruction sent by an OA module;
s602: receiving a second instruction sent by the SCD module; receiving a target API identification sent by the SDK module; and recording the corresponding relation among the first instruction, the second instruction and the target API identification. In one possible embodiment, the method further comprises:
receiving a detection instruction sent by an SCD module, wherein the detection instruction carries a third instruction, a fourth instruction and an API (application program interface) identifier which are determined when the instruction cannot be sent to an SDK (software development kit) module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module.
The method is applied to the detection module, and the specific process of executing the data transmission method by the detection module may refer to the other embodiments described above, and details are not described again.
Example 6:
fig. 7 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, where the device includes:
a first receiving module 701, configured to receive a first instruction carrying an objective function;
the first processing module 702 is configured to convert the first instruction into an identifiable format of an SCD module to obtain a second instruction, and send the second instruction to the SCD module.
In a possible implementation manner, the first processing module 702 is specifically configured to convert the first instruction into a second instruction in a format that can be recognized by the SCD module by using a P/S asynchronous message notification mechanism.
In a possible implementation manner, the first processing module 702 is further configured to send the first instruction to a detection module, so that the detection module records a second instruction and a target API identifier corresponding to the first instruction; and if a second instruction sent by the detection module is received, sending the second instruction to the SCD module.
Fig. 8 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, where the device includes:
a receiving determining module 801, configured to receive a second instruction sent by the OA module, determine, according to a correspondence between a function and an API identifier, a target API identifier corresponding to a target function included in the second instruction, and determine a target API corresponding to the target API identifier;
a sending module 802, configured to send the second instruction to the SDK module corresponding to the target API.
Further, the sending module 802 is further configured to send the second instruction to a detection module, so that the detection module records the second instruction and the target API identifier corresponding to the first instruction; and if a fourth instruction and a target API identification sent by the detection module are received, determining a target API corresponding to the target API identification, and sending the fourth instruction to an SDK module corresponding to the target API.
Fig. 9 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention, where the device includes:
a second receiving module 901, configured to receive the first instruction sent by the OA module; receiving a second instruction sent by the SCD module; receiving a target API identification sent by the SDK module;
a second processing module 902, configured to record a corresponding relationship between the first instruction, the second instruction, and the target API identifier.
Further, the second processing module 902 is further configured to receive a detection instruction sent by the SCD module, where the detection instruction carries a third instruction, a fourth instruction, and an API identifier that are determined when the instruction cannot be sent to the SDK module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module.
Example 7:
fig. 10 is a schematic structural diagram of an electronic device provided by the present invention, and on the basis of the foregoing embodiments, an embodiment of the present invention further provides an electronic device, as shown in fig. 10, including: the system comprises a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002 and the memory 1003 are communicated with each other through the communication bus 1004;
the memory 1003 has stored therein a computer program which, when executed by the processor 1001, causes the processor 1001 to perform the steps of:
receiving a first instruction carrying a target function, converting the first instruction into a format which can be recognized by an SCD module to obtain a second instruction, and sending the second instruction to the SCD module, so that the SCD module determines a target API identifier corresponding to the target function contained in the second instruction according to a corresponding relation between functions and API identifiers, determines a target API corresponding to the target API identifier, and sends the second instruction to an SDK module corresponding to the target API.
In a possible implementation, the converting the first instruction into a recognizable format of the SCD module to obtain a second instruction includes:
and converting the first instruction into a second instruction in a recognizable format of the SCD module by adopting a P/S asynchronous message notification mechanism.
In one possible embodiment, the method further comprises:
sending the first instruction to a detection module so that the detection module records a second instruction corresponding to the first instruction and a target API (application program interface) identifier; and if a second instruction sent by the detection module is received, sending the second instruction to the SCD module.
On the basis of the above embodiments, an embodiment of the present invention further provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus.
The memory has stored therein a computer program which, when executed by the processor 1201, causes the processor to perform the steps of:
receiving a second instruction sent by the OA module; the second instruction is the OA module, receives a first instruction carrying an objective function, and converts the first instruction into a format which can be identified by the SCD module to obtain a second instruction;
and determining a target API identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, determining a target API corresponding to the target API identifier, and sending the second instruction to the SDK module corresponding to the target API.
In one possible embodiment, the method further comprises:
sending the second instruction to a detection module so that the detection module records the second instruction corresponding to the first instruction and a target API (application program interface) identifier;
and if a fourth instruction and a target API identification sent by the detection module are received, determining a target API corresponding to the target API identification, and sending the fourth instruction to an SDK module corresponding to the target API.
On the basis of the above embodiments, an embodiment of the present invention further provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus.
The memory has stored therein a computer program which, when executed by the processor 1201, causes the processor to perform the steps of: receiving a first instruction sent by an OA module; receiving a second instruction sent by the SCD module; receiving a target API identification sent by the SDK module; and recording the corresponding relation among the first instruction, the second instruction and the target API identification. In one possible embodiment, the method further comprises:
receiving a detection instruction sent by an SCD module, wherein the detection instruction carries a third instruction, a fourth instruction and an API (application program interface) identifier which are determined when the instruction cannot be sent to an SDK (software development kit) module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module.
The communication bus mentioned in the above server may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital instruction processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
Example 8:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer-readable storage medium, in which a computer program executable by an electronic device is stored, and when the program is run on the electronic device, the electronic device is caused to execute the following steps:
the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of:
receiving a first instruction carrying a target function, converting the first instruction into a format which can be recognized by an SCD module to obtain a second instruction, and sending the second instruction to the SCD module, so that the SCD module determines a target API identifier corresponding to the target function contained in the second instruction according to a corresponding relation between functions and API identifiers, determines a target API corresponding to the target API identifier, and sends the second instruction to an SDK module corresponding to the target API.
In a possible implementation, the converting the first instruction into a recognizable format of the SCD module to obtain a second instruction includes:
and converting the first instruction into a second instruction in a recognizable format of the SCD module by adopting a P/S asynchronous message notification mechanism.
In one possible embodiment, the method further comprises:
sending the first instruction to a detection module so that the detection module records a second instruction corresponding to the first instruction and a target API (application program interface) identifier; and if a second instruction sent by the detection module is received, sending the second instruction to the SCD module.
On the basis of the foregoing embodiments, the present invention further provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
receiving a second instruction sent by the OA module; the second instruction is the OA module, receives a first instruction carrying an objective function, and converts the first instruction into a format which can be identified by the SCD module to obtain a second instruction;
and determining a target API identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, determining a target API corresponding to the target API identifier, and sending the second instruction to the SDK module corresponding to the target API.
In one possible embodiment, the method further comprises:
sending the second instruction to a detection module so that the detection module records the second instruction corresponding to the first instruction and a target API (application program interface) identifier;
and if a fourth instruction and a target API identification sent by the detection module are received, determining a target API corresponding to the target API identification, and sending the fourth instruction to an SDK module corresponding to the target API.
On the basis of the foregoing embodiments, the present invention further provides a computer-readable storage medium, in which a computer program executable by a processor is stored, and when the program runs on the processor, the processor is caused to execute the following steps:
receiving a first instruction sent by an OA module; receiving a second instruction sent by the SCD module; receiving a target API identification sent by the SDK module; and recording the corresponding relation among the first instruction, the second instruction and the target API identification.
In one possible embodiment, the method further comprises:
receiving a detection instruction sent by an SCD module, wherein the detection instruction carries a third instruction, a fourth instruction and an API (application program interface) identifier which are determined when the instruction cannot be sent to an SDK (software development kit) module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (12)
1. A data transmission system, the system comprising: the system comprises an operation system SONIC housekeeper OA module, a switch chip driving SCD module and a software development kit SDK module;
the OA module is used for receiving a first instruction carrying a target function, converting the first instruction into a format which can be identified by the SCD module to obtain a second instruction, and sending the second instruction to the SCD module;
the SCD module is used for receiving the second instruction, determining a target API (application programming interface) identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, determining a target API corresponding to the target API identifier, and sending the second instruction to the SDK module corresponding to the target API;
and the SDK module is used for configuring and managing the switching chip.
2. The system of claim 1, further comprising: an application program APP module of the SONIC;
the APP module is used for receiving the current operation, determining an objective function corresponding to the current operation according to the corresponding relation between the operation and the function, and sending a first instruction carrying the objective function to the OA module.
3. The system of claim 1, wherein the OA module is further configured to convert the first instruction into a second instruction in a recognizable format of the SCD module using a P/S asynchronous message notification mechanism.
4. The system of claim 1, further comprising a detection module;
the OA module is used for sending the first instruction to the detection module;
the SCD module is used for sending the second instruction to the detection module;
the SDK module is used for sending the target API identification to the detection module;
the detection module is used for recording the corresponding relation between the first instruction, the second instruction and the target API identification.
5. The system according to claim 4, wherein the detection module is configured to receive a detection instruction sent by the SCD module, where the detection instruction carries a third instruction, a fourth instruction, and an API identifier that are determined when the instruction cannot be sent to the SDK module; acquiring a first instruction matched with the third instruction, and judging whether the fourth instruction is consistent with a second instruction recorded correspondingly to the first instruction; if not, sending the second instruction to the OA module; if yes, judging whether the API identification is consistent with a target API identification recorded corresponding to the first instruction, and if not, sending the fourth instruction and the target API identification to the SCD module;
the OA module is used for sending a second instruction to the SCD module if the second instruction sent by the detection module is received;
and the SCD module is used for sending the fourth instruction to the SDK module corresponding to the API corresponding to the target API identifier if the fourth instruction and the target API identifier sent by the detection module are received.
6. A method of data transmission, the method comprising:
receiving a first instruction carrying a target function, converting the first instruction into a format which can be recognized by an SCD module to obtain a second instruction, and sending the second instruction to the SCD module, so that the SCD module determines a target API identifier corresponding to the target function contained in the second instruction according to a corresponding relation between functions and API identifiers, determines a target API corresponding to the target API identifier, and sends the second instruction to an SDK module corresponding to the target API.
7. The method of claim 6, wherein converting the first instruction into a recognizable format of an SCD module to obtain a second instruction comprises:
and converting the first instruction into a second instruction in a recognizable format of the SCD module by adopting a P/S asynchronous message notification mechanism.
8. The method of claim 6, further comprising:
sending the first instruction to a detection module so that the detection module records a second instruction corresponding to the first instruction and a target API (application program interface) identifier; and if a second instruction sent by the detection module is received, sending the second instruction to the SCD module.
9. A method of data transmission, the method comprising:
receiving a second instruction sent by the OA module; the second instruction is the OA module, receives a first instruction carrying an objective function, and converts the first instruction into a format which can be identified by the SCD module to obtain a second instruction;
and determining a target API identifier corresponding to a target function contained in the second instruction according to the corresponding relation between the function and the API identifier, determining a target API corresponding to the target API identifier, and sending the second instruction to the SDK module corresponding to the target API.
10. The method of claim 9, further comprising:
sending the second instruction to a detection module so that the detection module records the second instruction corresponding to the first instruction and a target API (application program interface) identifier;
and if a fourth instruction and a target API identification sent by the detection module are received, determining to identify a target API corresponding to the target API identification, and sending the fourth instruction to an SDK module corresponding to the target API.
11. An electronic device, characterized in that the electronic device comprises at least a processor and a memory, the processor being adapted to perform the steps of the data transmission according to any of the claims 6-10 when executing a computer program stored in the memory.
12. A computer-readable storage medium, characterized in that it stores a computer program which, when being executed by a processor, carries out the steps of data transmission according to any one of claims 6 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111421419.0A CN114238179B (en) | 2021-11-26 | 2021-11-26 | Data transmission system, method, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111421419.0A CN114238179B (en) | 2021-11-26 | 2021-11-26 | Data transmission system, method, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114238179A true CN114238179A (en) | 2022-03-25 |
CN114238179B CN114238179B (en) | 2024-08-20 |
Family
ID=80751466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111421419.0A Active CN114238179B (en) | 2021-11-26 | 2021-11-26 | Data transmission system, method, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114238179B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174671A (en) * | 2022-07-12 | 2022-10-11 | 网络通信与安全紫金山实验室 | Data message transmission system and method |
DE102022204016A1 (en) | 2022-04-26 | 2023-10-26 | Robert Bosch Gesellschaft mit beschränkter Haftung | Method for creating a software framework |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104950839A (en) * | 2015-04-30 | 2015-09-30 | 张陵 | Switchboard control method and device |
CN105530268A (en) * | 2016-02-24 | 2016-04-27 | 华为技术有限公司 | Heterogeneous protocol interconnection method and controller |
CN105677345A (en) * | 2016-01-04 | 2016-06-15 | 段利平 | Switcher control method and device |
CN110389538A (en) * | 2018-04-20 | 2019-10-29 | 比亚迪股份有限公司 | Vehicle and its vehicle safety control method, system based on open platform |
CN110795154A (en) * | 2019-10-10 | 2020-02-14 | 深圳市证通电子股份有限公司 | Cross-platform device driving method, device, equipment and computer readable storage medium |
CN111400016A (en) * | 2020-03-25 | 2020-07-10 | 新华三信息安全技术有限公司 | Method and equipment for calling application program interface function |
CN111817988A (en) * | 2020-06-23 | 2020-10-23 | 天津芯海创科技有限公司 | Ethernet switch and network system |
CN112100013A (en) * | 2020-11-18 | 2020-12-18 | 北京智芯微电子科技有限公司 | Method, device and system for testing security chip SPI (Serial peripheral interface) |
US20210096938A1 (en) * | 2019-10-01 | 2021-04-01 | The Bank Of New York Mellon | Api hub architecture |
CN113360386A (en) * | 2021-06-17 | 2021-09-07 | 锐捷网络股份有限公司 | Switching chip drive test method, device, electronic equipment and storage medium |
-
2021
- 2021-11-26 CN CN202111421419.0A patent/CN114238179B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104950839A (en) * | 2015-04-30 | 2015-09-30 | 张陵 | Switchboard control method and device |
CN105677345A (en) * | 2016-01-04 | 2016-06-15 | 段利平 | Switcher control method and device |
CN105530268A (en) * | 2016-02-24 | 2016-04-27 | 华为技术有限公司 | Heterogeneous protocol interconnection method and controller |
CN110389538A (en) * | 2018-04-20 | 2019-10-29 | 比亚迪股份有限公司 | Vehicle and its vehicle safety control method, system based on open platform |
US20210096938A1 (en) * | 2019-10-01 | 2021-04-01 | The Bank Of New York Mellon | Api hub architecture |
CN110795154A (en) * | 2019-10-10 | 2020-02-14 | 深圳市证通电子股份有限公司 | Cross-platform device driving method, device, equipment and computer readable storage medium |
CN111400016A (en) * | 2020-03-25 | 2020-07-10 | 新华三信息安全技术有限公司 | Method and equipment for calling application program interface function |
CN111817988A (en) * | 2020-06-23 | 2020-10-23 | 天津芯海创科技有限公司 | Ethernet switch and network system |
CN112100013A (en) * | 2020-11-18 | 2020-12-18 | 北京智芯微电子科技有限公司 | Method, device and system for testing security chip SPI (Serial peripheral interface) |
CN113360386A (en) * | 2021-06-17 | 2021-09-07 | 锐捷网络股份有限公司 | Switching chip drive test method, device, electronic equipment and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102022204016A1 (en) | 2022-04-26 | 2023-10-26 | Robert Bosch Gesellschaft mit beschränkter Haftung | Method for creating a software framework |
CN115174671A (en) * | 2022-07-12 | 2022-10-11 | 网络通信与安全紫金山实验室 | Data message transmission system and method |
CN115174671B (en) * | 2022-07-12 | 2024-02-06 | 网络通信与安全紫金山实验室 | Data message transmission system and method |
Also Published As
Publication number | Publication date |
---|---|
CN114238179B (en) | 2024-08-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020000745A1 (en) | Log management method and apparatus, computer device, and storage medium | |
CN114238179A (en) | Data transmission system, method, device and medium | |
WO2021008413A1 (en) | Fault prompting method for internet of things device, and related apparatus | |
CN111382008B (en) | Virtual machine data backup method, device and system | |
CN101771565B (en) | Analogy method for realizing multitudinous or different baseboard management controllers by single server | |
US8781607B2 (en) | System, method and recording medium for driving a programmable logic controller | |
CN105005526A (en) | Information reminding method and mobile terminal | |
CN108830562B (en) | Attendance card punching method and related equipment | |
CN113485939A (en) | Software system error code management method and device, electronic equipment and storage medium | |
CN116701168A (en) | Peripheral interface testing method, device, equipment and storage medium | |
CN112241362B (en) | Test method, test device, server and storage medium | |
CN112597049A (en) | Interrupt response time testing method, device and medium | |
CN109558315B (en) | Method, device and equipment for determining test range | |
CN106775818B (en) | ECU (electronic control Unit) upgrading method and ECU upgrading equipment based on CAN (controller area network) bus | |
CN113010122A (en) | Image forming apparatus monitoring apparatus, method, system, and storage medium | |
CN112817883A (en) | Method, device and system for adapting interface platform and computer readable storage medium | |
JP6574310B2 (en) | Evaluation information matching method, apparatus and server | |
CN115933591A (en) | Controller diagnosis method, device, equipment and storage medium | |
CN104572418A (en) | Diagnostic method, device and system for mobile terminal | |
CN111092765B (en) | Intelligent driving method, system, electronic device and readable storage medium | |
CN109039711B (en) | Hardware accelerator replacement method and device and server | |
CN115643223B (en) | Interrupt signal transmission method and device | |
CN111813621A (en) | Data processing method, device, equipment and medium based on Flume data middlebox | |
CN116234062B (en) | One-to-many input device connection method and device and computer device | |
CN117251769B (en) | Abnormal data identification method, device, equipment and medium based on monitoring component |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |