Multi-interface data transmission system, method, electronic device and storage medium
By using the arbitration unit and APB bridging unit in the multi-interface data transmission system, parallel and time-sharing scheduling of multiple low-speed interfaces of intelligent devices is realized, solving the problem of low interface resource utilization and improving data transmission efficiency and bandwidth.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- KINGTIGER TESTING TECH (SZ) LTD
- Filing Date
- 2026-04-08
- Publication Date
- 2026-06-19
AI Technical Summary
In existing technologies, only one of the multiple low-speed interfaces of a smart device can be active at any given time, making it impossible to transmit data simultaneously, resulting in low interface resource utilization.
A multi-interface data transmission system is adopted, including multiple communication interfaces, arbitration units, and APB bridging units. The arbitration unit performs protocol conversion and determines the scheduling order of communication data, realizing parallel and time-sharing scheduling and breaking the limitation of single interface single operation.
It achieves efficient and orderly transmission of multiple low-speed interfaces, solves the interface access conflict problem, and improves data transmission bandwidth and interface utilization.
Smart Images

Figure CN121979824B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data transmission technology, and more specifically, to a multi-interface data transmission system, method, electronic device, and storage medium. Background Technology
[0002] With the development of embedded systems and Internet of Things (IoT) technologies, the demand for data communication between smart devices and external devices is increasing. Low-speed interfaces such as Serial Peripheral Interface (SPI) and Inter-Integrated Circuit (I2C) are widely used for data transmission between smart devices and external devices.
[0003] In existing technologies, only one of the multiple low-speed interfaces of a smart device can be active at any given time for data exchange with external devices, while the other interfaces remain idle and cannot transmit data simultaneously, resulting in low interface resource utilization. Summary of the Invention
[0004] In view of this, the purpose of this application is to overcome the shortcomings of the prior art and provide a multi-interface data transmission system, method, electronic device, and storage medium. This application provides the following technical solution:
[0005] In a first aspect, this application provides a multi-interface data transmission system, the system comprising: multiple communication interfaces, an arbitration unit, and an APB bridging unit;
[0006] Each of the aforementioned communication interfaces is electrically connected to the arbitration unit and the communication device, respectively;
[0007] The arbitration unit is also electrically connected to the APB bridging unit;
[0008] The APB bridging unit is also electrically connected to multiple external devices.
[0009] Each of the aforementioned communication interfaces is used to acquire communication data from the communication device and send the acquired communication data to the arbitration unit respectively;
[0010] The arbitration unit is configured to perform protocol conversion on each of the communication data to obtain multiple target communication data; extract the access target address carried in each of the target communication data; determine the scheduling order of each of the target communication data according to each access target address, the scheduling order including: parallel scheduling order and time-division scheduling order; and send each of the target communication data and the access target address corresponding to each of the target communication data to the APB bridging unit according to the scheduling order.
[0011] The APB bridging unit is used to transmit the target communication data of each target to the corresponding external device according to the target address of each target.
[0012] In one embodiment, each of the communication interfaces corresponds to a different communication protocol. The step of converting each of the communication data into multiple target communication data includes: converting the communication protocol corresponding to each of the communication data into the APB bus protocol, and determining each of the protocol-converted communication data as target communication data.
[0013] In one embodiment, determining the scheduling order of each target communication data according to each of the access target addresses includes: performing uniqueness verification on each of the access target addresses; configuring the target communication data corresponding to at least two access target addresses with the same verification result as a time-sharing scheduling order; and configuring the target communication data corresponding to at least two access target addresses with different verification results as a parallel scheduling order.
[0014] In one embodiment, configuring the target communication data corresponding to at least two access target addresses with different verification results as a parallel scheduling order includes:
[0015] Assign the same transmission channel identifier to the target communication data corresponding to at least two access target addresses with different verification results, and configure a synchronization transmission trigger command;
[0016] Bind the target communication data corresponding to at least two access target addresses with different verification results to the corresponding transmission channel identifier and synchronous transmission instruction;
[0017] The transmission rules for the bound target communication data are determined as a parallel scheduling order.
[0018] In one embodiment, configuring the target communication data corresponding to at least two access target addresses with the same verification result as a time-division scheduling order includes: sorting the target communication data corresponding to at least two access target addresses with the same verification result in sequence according to preset priority configuration information; assigning sequentially increasing transmission timing numbers to each of the sorted target communication data and associating them with the corresponding access target addresses; and determining the transmission rules of each of the target communication data with transmission timing numbers as a time-division scheduling order.
[0019] In one embodiment, sending each target communication data and the access target address corresponding to each target communication data to the APB bridging unit according to the scheduling order includes:
[0020] The target communication data are sorted according to the scheduling order to generate a data transmission queue;
[0021] Associate and bind each of the access target addresses with the corresponding target communication data;
[0022] According to the order of the data transmission queue, each target communication data and the access target address corresponding to each target communication data are sent to the APB bridging unit in sequence.
[0023] In one embodiment, before transmitting the target communication data to the corresponding external device according to each of the access target addresses, the method further includes:
[0024] Based on the respective access target addresses, a corresponding external device is matched for each of the target communication data.
[0025] Secondly, this application provides a multi-interface data transmission method, applied to the multi-interface data transmission system described in the first aspect, the method comprising:
[0026] Each communication interface obtains communication data from the communication device and sends the obtained communication data to the arbitration unit respectively;
[0027] The arbitration unit performs protocol conversion on each of the communication data to obtain multiple target communication data; extracts the access target address carried in each of the target communication data, and determines the scheduling order of each target communication data according to each access target address. The scheduling order includes: parallel scheduling order and time-division scheduling order; and sends each of the target communication data and the access target address corresponding to each target communication data to the APB bridging unit according to the scheduling order.
[0028] The APB bridging unit transmits the target communication data to the corresponding external device according to the target address.
[0029] Thirdly, this application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the computer program executes the multi-interface data transmission method described in the second aspect when it is run on the processor.
[0030] Fourthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the multi-interface data transmission method described in the second aspect.
[0031] This application achieves efficient and orderly transmission of data from multiple low-speed interfaces, which not only solves the conflict problem of multiple interfaces accessing peripherals and breaks the limitation of single interface working only, but also improves data transmission bandwidth and interface utilization.
[0032] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0033] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0034] Figure 1 A schematic diagram of the structure of a multi-interface data transmission system provided in an embodiment of this application is shown;
[0035] Figure 2 A flowchart of a multi-interface data transmission method provided in an embodiment of this application is shown;
[0036] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown.
[0037] Explanation of key component symbols:
[0038] 100 - Multi-interface data transmission system; 110 - Communication interface; 120 - Arbitration unit; 130 - APB bridging unit; 200 - Communication equipment; 300 - External equipment; 400 - Electronic equipment; 401 - Transceiver; 402 - Processor; 403 - Memory. Detailed Implementation
[0039] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0040] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0041] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the template description is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0042] Example 1
[0043] Smart devices often use low-speed interfaces such as Serial Peripheral Interface (SPI) and Inter-Integrated Circuit (I2C) to communicate with external devices. In existing technologies, only one interface can operate at a time, while the others remain idle, preventing simultaneous data transmission and resulting in low interface resource utilization. For further information, please refer to [link to relevant documentation / reference]. Figure 1 This application provides a multi-interface data transmission system 100, including: multiple communication interfaces 110, an arbitration unit 120, and an APB bridging unit 130; each of the communication interfaces 110 is electrically connected to the arbitration unit 120 and a communication device 200 respectively; the arbitration unit 120 is also electrically connected to the APB bridging unit 130 (APB_bridge); the APB bridging unit 130 is also electrically connected to multiple external devices 300 respectively;
[0044] Each of the communication interfaces 110 is used to obtain communication data from the communication device 200 and send the obtained communication data to the arbitration unit 120 respectively;
[0045] The arbitration unit 120 is used to perform protocol conversion on each of the communication data to obtain multiple target communication data; extract the access target address carried in each of the target communication data; determine the scheduling order of each of the target communication data according to each access target address, the scheduling order including: parallel scheduling order and time-division scheduling order; and send each of the target communication data and the access target address corresponding to each of the target communication data to the APB bridging unit 130 according to the scheduling order.
[0046] The APB bridging unit 130 is used to transmit the target communication data to the corresponding external device 300 according to the target address.
[0047] In this embodiment, the communication interface 110 includes, but is not limited to: Serial Peripheral Interface (SPI), Improved Inter-Integrated Circuit (I3C), Inter-Integrated Circuit (I2C), Universal Asynchronous Receiver / Transmitter (UART), General Purpose Input / Output (GPIO), Controller Area Network (CAN), and Local Interconnect Network (LIN). Each communication interface 110 is electrically connected to the communication device 200 and simultaneously connected to the arbitration unit 120.
[0048] When communication device 200 transmits data to multiple external devices simultaneously through multiple communication interfaces 110, each communication interface 110 first transmits its received communication data to arbitration unit 120. Arbitration unit 120 first performs protocol conversion on each communication data to obtain adapted target communication data, then extracts the access target address from each target communication data, and determines the scheduling order by verifying the uniqueness of the address—parallel scheduling order is configured for target communication data accessing different external devices 300, and time-division scheduling order is configured for target communication data accessing the same external device 300. Subsequently, arbitration unit 120 sends each target communication data and its corresponding access target address to APB bridging unit according to the scheduling order. APB bridging unit then transmits each target communication data to the corresponding external device 300 based on the access target address.
[0049] It is understandable that the protocol conversion and scheduling of the arbitration unit 120 breaks the limitation that only one interface can work at the same time in the traditional multiple low-speed interfaces. It supports parallel data transmission of multiple interfaces accessing different external devices 300 at the same time, and can also solve the conflict problem of multiple interfaces accessing the same external device 300 through time-sharing scheduling. At the same time, it allows various interfaces to share the access path of the APB bridging unit 130, improves the access bandwidth, and makes the upper-layer software more flexible in configuring multiple interfaces.
[0050] In one embodiment, each of the communication interfaces 110 corresponds to a different communication protocol. The step of converting each of the communication data into a protocol to obtain multiple target communication data includes: converting the communication protocol corresponding to each of the communication data into the APB bus protocol, and determining each of the protocol-converted communication data as target communication data.
[0051] In this embodiment, each communication interface 110 is adapted to different communication protocols such as SPI, I3C, I2C, UART, GPIO, CAN, and LIN. The communication data obtained by each interface from the communication device 200 also carries the format characteristics of the corresponding protocol. The arbitration unit 120 performs targeted conversion processing on the original protocol type of each communication data, converting all communication data with different protocol formats into the APB bus protocol format. Then, the communication data after the protocol conversion is determined as the target communication data. This allows communication data that was originally based on different protocols and could not be directly transmitted through the APB bridging unit 130 to be adapted to the unified transmission format of the APB bus, eliminating transmission compatibility barriers between different protocols and ensuring the uniformity and smoothness of the subsequent scheduling of all target communication data by the arbitration unit 120.
[0052] In one embodiment, determining the scheduling order of each target communication data according to each of the access target addresses includes: performing uniqueness verification on each of the access target addresses; configuring the target communication data corresponding to at least two access target addresses with the same verification result as a time-sharing scheduling order; and configuring the target communication data corresponding to at least two access target addresses with different verification results as a parallel scheduling order.
[0053] In this embodiment, when the arbitration unit 120 determines the scheduling order based on the access target address of each target communication data, it first performs a uniqueness check on all the extracted access target addresses one by one. After the check is completed, it performs differentiated scheduling configuration based on the result. The target communication data corresponding to the access target addresses with different check results are configured as parallel scheduling order, and the target communication data corresponding to at least two access target addresses with the same check result are configured as time-sharing scheduling order.
[0054] In this process, address uniqueness verification provides a basis for the selection of scheduling mode, allowing the arbitration unit 120 to automatically distinguish between parallel and time-sharing scheduling logics based on the actual access needs of each target communication data to peripheral devices. Parallel scheduling is adopted for the needs of accessing different external devices 300, so that data from multiple interfaces can be transmitted simultaneously, fully releasing the transmission capacity of the APB bus. Time-sharing scheduling is adopted for conflicting needs of accessing the same external device 300, avoiding transmission conflicts caused by multiple data accessing the same peripheral device at the same time.
[0055] In one embodiment, configuring the target communication data corresponding to at least two access target addresses with different verification results into a parallel scheduling order includes: assigning the same transmission channel identifier to the target communication data corresponding to at least two access target addresses with different verification results, and configuring a synchronization transmission trigger instruction; binding the target communication data corresponding to at least two access target addresses with different verification results to the corresponding transmission channel identifier and the synchronization transmission instruction; and determining the transmission rules of each bound target communication data into a parallel scheduling order.
[0056] In this embodiment, when the arbitration unit 120 configures the parallel scheduling order for target communication data corresponding to access target addresses with different verification results, it first assigns the same transmission channel identifier to these target communication data, configures a synchronous transmission trigger instruction, then associates and binds each target communication data with the corresponding transmission channel identifier and synchronous transmission trigger instruction, and finally determines the transmission rules of each target communication data after binding as the parallel scheduling order.
[0057] This configuration process achieves the unification of transmission path for multiple target communication data through a unified transmission channel identifier. With the help of synchronous transmission triggering instructions, it ensures that multiple data can start transmission in the same preset time sequence, allowing multiple target communication data accessing different external devices 300 to achieve synchronous parallel transmission based on unified rules, making full use of the transmission bandwidth of the APB bus.
[0058] In one embodiment, configuring the target communication data corresponding to at least two access target addresses with the same verification result as a time-division scheduling order includes: sorting the target communication data corresponding to at least two access target addresses with the same verification result in sequence according to preset priority configuration information; assigning sequentially increasing transmission timing numbers to each of the sorted target communication data and associating them with the corresponding access target addresses; and determining the transmission rules of each of the target communication data with transmission timing numbers as a time-division scheduling order.
[0059] In this embodiment, when the arbitration unit 120 configures the time-sharing scheduling order for target communication data corresponding to at least two access target addresses with the same verification result, it first sorts these target communication data that need to access the same external device 300 according to the preset priority configuration information, and then assigns a sequentially increasing transmission timing number to each sorted target communication data. At the same time, it associates and binds each number with the access target address of the corresponding target communication data, and determines the transmission rules of each target communication data with the transmission timing number as the time-sharing scheduling order.
[0060] This configuration process uses a preset priority as the sorting basis, giving the transmission order of multiple conflicting data a clear and configurable criterion. The sequentially increasing transmission timing numbers define a clear order of transmission for the multiple data streams. The association and binding of the number with the access target address ensures that the timing number always matches the access requirements of the corresponding peripheral device, avoiding the problem of address and data transmission order being disordered.
[0061] In one embodiment, sending each target communication data and the corresponding access target address to the APB bridging unit 130 according to the scheduling order includes: sorting each target communication data according to the scheduling order to generate a data sending queue; associating each access target address with the corresponding target communication data; and sending each target communication data and the corresponding access target address to the APB bridging unit 130 sequentially according to the order of the data sending queue.
[0062] In this embodiment, when the arbitration unit 120 sends the target communication data and the corresponding access target address to the APB bridging unit 130 according to the scheduling order, it first sorts all the target communication data to be transmitted in a unified manner according to the determined parallel or time-sharing scheduling order to generate a regular data transmission queue. Then, it associates and binds each target communication data with its corresponding access target address one by one. Finally, it transmits each group of bound target communication data and access target address to the APB bridging unit 130 in strict accordance with the predetermined order of the data transmission queue.
[0063] In one embodiment, before transmitting each target communication data to the corresponding external device 300 according to each of the access target addresses, the method further includes: matching each target communication data to a corresponding external device 300 according to each of the access target addresses.
[0064] In this embodiment, before transmitting the target communication data to the corresponding external device 300 based on each access target address, the APB bridging unit 130 first performs a matching operation between the access target address and the external device 300. Specifically, it extracts the access target address corresponding to each group of received target communication data, maps each access target address to the external device 300, and accurately matches a unique corresponding external device 300 for each target communication data according to the address matching result. Data transmission is then performed after the matching is completed.
[0065] This application provides a multi-interface data transmission system 100, comprising: multiple communication interfaces 110, an arbitration unit 120, and an APB bridging unit 130; each communication interface 110 is electrically connected to the arbitration unit 120 and a communication device 200; the arbitration unit 120 is also electrically connected to the APB bridging unit 130; the APB bridging unit 130 is also electrically connected to multiple external devices 300; each communication interface 110 is used to acquire communication data from the communication device 200 and send the acquired communication data to the arbitration unit 120; the arbitration unit 110... 20 is used to perform protocol conversion on each of the communication data to obtain multiple target communication data; extract the access target address carried in each of the target communication data respectively, and determine the scheduling order of each of the target communication data according to each access target address, the scheduling order including: parallel scheduling order and time-division scheduling order; send each of the target communication data and the access target address corresponding to each of the target communication data to the APB bridging unit 130 according to the scheduling order; the APB bridging unit 130 is used to transmit each of the target communication data to the corresponding external device 300 according to each access target address. This application realizes efficient and orderly transmission of multiple low-speed interface data, which not only solves the conflict problem of multiple interfaces accessing peripherals and breaks the limitation of single interface single operation, but also improves data transmission bandwidth and interface utilization.
[0066] Example 2
[0067] In addition, please see Figure 2 This application also provides a multi-interface data transmission method, applied to the multi-interface data transmission system 100 described in Embodiment 1, the method including steps S210~S230.
[0068] In step S210, each communication interface 110 obtains communication data from the communication device 200 and sends the obtained communication data to the arbitration unit 120 respectively.
[0069] In step S220, the arbitration unit 120 performs protocol conversion on each of the communication data to obtain multiple target communication data; extracts the access target address carried in each of the target communication data, and determines the scheduling order of each of the target communication data according to each access target address. The scheduling order includes: parallel scheduling order and time-division scheduling order; and sends each of the target communication data and the access target address corresponding to each of the target communication data to the APB bridging unit 130 according to the scheduling order.
[0070] In step S230, the APB bridging unit 130 transmits the target communication data to the corresponding external device 300 according to the respective access target addresses.
[0071] The multi-interface data transmission method provided in this application embodiment is applied to the multi-interface data transmission system 100 described in Embodiment 1. To avoid repetition, it will not be described again here.
[0072] Example 3
[0073] Furthermore, this application provides an electronic device 400, including a memory 403 and a processor 402. The memory 403 stores a computer program, which executes the multi-interface data transmission method provided in embodiment 2 when running on the processor 402.
[0074] For details, please see Figure 3 The electronic device 400 includes: a transceiver 401, a bus interface and a processor 402. The processor 402 is used for each communication interface 110 to obtain communication data from the communication device 200 and send the obtained communication data to the arbitration unit 120 respectively.
[0075] The arbitration unit 120 performs protocol conversion on each of the communication data to obtain multiple target communication data; extracts the access target address carried in each of the target communication data, determines the scheduling order of each of the target communication data according to each access target address, the scheduling order including: parallel scheduling order and time-division scheduling order; and sends each of the target communication data and the access target address corresponding to each of the target communication data to the APB bridging unit 130 according to the scheduling order.
[0076] The APB bridging unit 130 transmits the target communication data to the corresponding external device 300 according to the respective access target addresses.
[0077] In this embodiment of the application, the electronic device 400 further includes a memory 403. Figure 3In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors 402 (represented by processor 402) and memory 403 (represented by memory 403). The bus architecture can also link various other circuits, such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. The transceiver 401 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. The processor 402 is responsible for managing the bus architecture and general processing, and the memory 403 can store data used by the processor 402 during operation.
[0078] The electronic device 400 provided in this application embodiment can execute the multi-interface data transmission method provided in the above-described method embodiment 2. To avoid repetition, it will not be described again here.
[0079] Example 4
[0080] Furthermore, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the multi-interface data transmission method provided in Embodiment 2.
[0081] In this embodiment, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0082] The computer-readable storage medium provided in this embodiment can implement the multi-interface data transmission method provided in Embodiment 2. To avoid repetition, it will not be described again here.
[0083] In all examples shown and described herein, any specific values should be interpreted as merely exemplary and not as limitations; therefore, other examples of exemplary embodiments may have different values.
[0084] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0085] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these modifications and improvements all fall within the protection scope of this application.
Claims
1. A multi-interface data transmission system, characterized in that, The system includes: multiple communication interfaces, an arbitration unit, and an APB bridging unit; Each of the aforementioned communication interfaces is electrically connected to the arbitration unit and the communication device, respectively; The arbitration unit is also electrically connected to the APB bridging unit; The APB bridging unit is also electrically connected to multiple external devices. Each of the aforementioned communication interfaces is used to acquire communication data from the communication device and send the acquired communication data to the arbitration unit respectively; The arbitration unit is configured to perform protocol conversion on each of the communication data to obtain multiple target communication data; extract the access target address carried in each of the target communication data; determine the scheduling order of each of the target communication data according to each access target address, the scheduling order including: parallel scheduling order and time-division scheduling order; and send each of the target communication data and the access target address corresponding to each of the target communication data to the APB bridging unit according to the scheduling order. The APB bridging unit is used to transmit each target communication data to the corresponding external device according to each access target address; each communication interface corresponds to a different communication protocol; the step of converting each communication data into multiple target communication data includes: converting the communication protocol corresponding to each communication data into the APB bus protocol, and determining each communication data after protocol conversion as target communication data. The step of determining the scheduling order of each target communication data according to each of the access target addresses includes: Perform a uniqueness check on each of the aforementioned access target addresses; Configure the target communication data corresponding to at least two access target addresses with the same verification result as a time-sharing scheduling order; The target communication data corresponding to at least two access target addresses with different verification results are configured as a parallel scheduling order.
2. The multi-interface data transmission system according to claim 1, characterized in that, The step of configuring the target communication data corresponding to at least two access target addresses with different verification results as a parallel scheduling order includes: Assign the same transmission channel identifier to the target communication data corresponding to at least two access target addresses with different verification results, and configure a synchronization transmission trigger command; Bind the target communication data corresponding to at least two access target addresses with different verification results to the corresponding transmission channel identifier and synchronous transmission trigger instruction; The transmission rules for the bound target communication data are determined as a parallel scheduling order.
3. The multi-interface data transmission system according to claim 2, characterized in that, The step of configuring the target communication data corresponding to at least two access target addresses with the same verification result as a time-sharing scheduling order includes: According to the preset priority configuration information, the target communication data corresponding to at least two access target addresses with the same verification result are sorted in sequence; Assign sequentially increasing transmission timing numbers to each of the sorted target communication data, and associate them with the corresponding access target addresses; The transmission rules for each of the target communication data with transmission timing numbers are determined as a time-division scheduling order.
4. The multi-interface data transmission system according to any one of claims 1-3, characterized in that, Sending each target communication data and the access target address corresponding to each target communication data to the APB bridging unit according to the scheduling order includes: The target communication data are sorted according to the scheduling order to generate a data transmission queue; Associate and bind each of the access target addresses with the corresponding target communication data; According to the order of the data transmission queue, each target communication data and the access target address corresponding to each target communication data are sent to the APB bridging unit in sequence.
5. The multi-interface data transmission system according to claim 4, characterized in that, Before transmitting the target communication data to the corresponding external device according to each of the access target addresses, the method further includes: Based on the respective access target addresses, a corresponding external device is matched for each of the target communication data.
6. A multi-interface data transmission method, characterized in that, The method, applied to the multi-interface data transmission system according to any one of claims 1-5, comprises: Each communication interface obtains communication data from the communication device and sends the obtained communication data to the arbitration unit respectively; The arbitration unit performs protocol conversion on each of the communication data to obtain multiple target communication data; extracts the access target address carried in each of the target communication data, and determines the scheduling order of each target communication data according to each access target address. The scheduling order includes: parallel scheduling order and time-division scheduling order; and sends each of the target communication data and the access target address corresponding to each target communication data to the APB bridging unit according to the scheduling order. The APB bridging unit transmits the target communication data to the corresponding external device according to the target address.
7. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores a computer program, and the computer program executes the multi-interface data transmission method of claim 6 when it is run on the processor.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the multi-interface data transmission method of claim 6.
Citation Information
Patent Citations
Cache request playback processing method and device, electronic equipment and storage medium
CN121681411A
Master-slave equipment interconnection system
CN212541322U