Search

CN-121979824-A - Multi-interface data transmission system, method, electronic device and storage medium

CN121979824ACN 121979824 ACN121979824 ACN 121979824ACN-121979824-A

Abstract

The application provides a multi-interface data transmission system, a multi-interface data transmission method, electronic equipment and a storage medium, which relate to the technical field of data transmission, wherein each communication interface is respectively and electrically connected with an arbitration unit and communication equipment; the APB bridging unit is respectively and electrically connected with the arbitration unit and the plurality of external devices, each communication interface is respectively used for acquiring communication data from the communication device and transmitting the communication data to the arbitration unit, the arbitration unit is used for carrying out protocol conversion on each communication data to obtain a plurality of target communication data, the scheduling sequence is determined according to access target addresses carried in each target communication data and comprises a parallel scheduling sequence and a time-sharing scheduling sequence, each target communication data and each access target address are transmitted to the APB bridging unit according to the scheduling sequence, and the APB bridging unit is used for respectively transmitting each target communication data to the corresponding external device according to each access target address. The application realizes the improvement of the data transmission bandwidth and the interface utilization rate.

Inventors

  • LIANG XIAOBING

Assignees

  • 皇虎测试科技(深圳)有限公司

Dates

Publication Date
20260505
Application Date
20260408

Claims (10)

  1. 1. A multi-interface data transmission system is characterized by comprising a plurality of communication interfaces, an arbitration unit and an APB bridging unit; Each communication interface is respectively and electrically connected with the arbitration unit and the communication equipment; The arbitration unit is also electrically connected with the APB bridging unit; the APB bridging unit is also respectively and electrically connected with a plurality of external devices; each communication interface is respectively used for acquiring communication data from the communication equipment and respectively sending the acquired communication data to the arbitration unit; The arbitration unit is used for respectively carrying out protocol conversion on each communication data to obtain a plurality of target communication data, respectively extracting access target addresses carried in each target communication data, and determining the scheduling sequence of each target communication data according to each access target address, wherein the scheduling sequence comprises a parallel scheduling sequence and a time-sharing scheduling sequence; And the APB bridging unit is used for respectively transmitting each target communication data to the corresponding external device according to each access target address.
  2. 2. The multi-interface data transmission system according to claim 1, wherein each of the communication interfaces corresponds to a different communication protocol, and wherein the protocol conversion is performed on each of the communication data to obtain a plurality of target communication data, respectively, includes: and respectively converting the communication protocols corresponding to the communication data into APB bus protocols, and respectively determining the communication data after protocol conversion as target communication data.
  3. 3. The multi-interface data transmission system according to claim 2, wherein said determining a scheduling order of each of the target communication data based on each of the access target addresses comprises: Respectively carrying out uniqueness verification on each access target address; the target communication data corresponding to at least two access target addresses with the same check result are configured into a time-sharing scheduling sequence; And configuring the target communication data corresponding to at least two access target addresses with different verification results into a parallel scheduling sequence.
  4. 4. A multi-interface data transmission system according to claim 3, wherein said target communication data corresponding to said at least two access target addresses having different check results are configured in a parallel scheduling order, comprising: Allocating the same transmission channel identifier for the target communication data corresponding to at least two access target addresses with different verification results, and configuring a synchronous transmission trigger instruction; Binding the target communication data corresponding to at least two access target addresses with different verification results with corresponding transmission channel identifiers and synchronous transmission instructions; and determining the transmission rule of each bound target communication data as a parallel scheduling sequence.
  5. 5. The multi-interface data transmission system according to claim 4, wherein the target communication data corresponding to the at least two access target addresses having the same check result are configured as a time-sharing scheduling order, comprising: according to preset priority configuration information, sequentially sequencing the target communication data corresponding to at least two access target addresses with the same verification result; allocating sequentially increasing transmission time sequence numbers to each sorted target communication data, and associating corresponding access target addresses; And determining the transmission rule of each target communication data with the transmission time sequence number as a time-sharing scheduling sequence.
  6. 6. The multi-interface data transmission system according to any one of claims 1 to 5, wherein the transmitting the respective target communication data and the access target address to which the respective target communication data correspond to the APB bridge unit in the scheduling order includes: sequencing each target communication data according to the scheduling sequence to generate a data transmission queue; performing association binding on each access target address and the corresponding target communication data; And sequentially sending each target communication data and the access target address corresponding to each target communication data to the APB bridging unit according to the sequence of the data sending queue.
  7. 7. The multi-interface data transmission system according to claim 6, wherein before each of the target communication data is transmitted to the corresponding external device according to each of the access target addresses, the system further comprises: And according to each access target address, respectively matching corresponding external equipment for each target communication data.
  8. 8. A multi-interface data transmission method, characterized in that it is applied to the multi-interface data transmission system according to any one of claims 1 to 7, the method comprising: each communication interface respectively acquires communication data from communication equipment and respectively sends the communication data acquired by each communication interface to an arbitration unit; The arbitration unit respectively carries out protocol conversion on each communication data to obtain a plurality of target communication data, respectively extracts access target addresses carried in each target communication data, and determines the scheduling sequence of each target communication data according to each access target address, wherein the scheduling sequence comprises a parallel scheduling sequence and a time-sharing scheduling sequence; and the APB bridging unit respectively transmits each target communication data to the corresponding external device according to each access target address.
  9. 9. An electronic device comprising a memory and a processor, the memory storing a computer program that, when run on the processor, performs the multi-interface data transmission method of claim 8.
  10. 10. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the multi-interface data transmission method of claim 8.

Description

Multi-interface data transmission system, method, electronic device and storage medium Technical Field The present application relates to the field of data transmission technologies, and in particular, to a multi-interface data transmission system, a multi-interface data transmission method, an electronic device, and a storage medium. Background With the development of embedded systems and internet of things, data communication requirements between intelligent devices and external devices are increasing, and low-speed interfaces such as serial peripheral interfaces (SPI, serial Peripheral Interface) and integrated circuit buses (I2C, inter-INTEGRATED CIRCUIT) are widely used for data transmission between intelligent devices and external devices. In the prior art, only one of a plurality of low-speed interfaces of the intelligent device is in an active state at the same time and used for data exchange with external devices, and other interfaces are in an idle state and cannot simultaneously transmit data, so that the utilization rate of interface resources is low. Disclosure of Invention In view of the above, the present application aims to overcome the shortcomings in the prior art, and provide a multi-interface data transmission system, a multi-interface data transmission method, an electronic device and a storage medium. The application provides the following technical scheme: In a first aspect, the present application provides a multi-interface data transmission system comprising a plurality of communication interfaces, an arbitration unit and an APB bridge unit; Each communication interface is respectively and electrically connected with the arbitration unit and the communication equipment; The arbitration unit is also electrically connected with the APB bridging unit; the APB bridging unit is also respectively and electrically connected with a plurality of external devices; each communication interface is respectively used for acquiring communication data from the communication equipment and respectively sending the acquired communication data to the arbitration unit; The arbitration unit is used for respectively carrying out protocol conversion on each communication data to obtain a plurality of target communication data, respectively extracting access target addresses carried in each target communication data, and determining the scheduling sequence of each target communication data according to each access target address, wherein the scheduling sequence comprises a parallel scheduling sequence and a time-sharing scheduling sequence; And the APB bridging unit is used for respectively transmitting each target communication data to the corresponding external device according to each access target address. In one embodiment, each communication interface corresponds to a different communication protocol, and the step of performing protocol conversion on each communication data to obtain a plurality of target communication data includes converting each communication protocol corresponding to each communication data into an APB bus protocol, and determining each communication data after protocol conversion as a target communication data. In an embodiment, determining the scheduling sequence of the target communication data according to the access target addresses includes performing unique verification on the access target addresses respectively, configuring the target communication data corresponding to at least two access target addresses with the same verification result into a time-sharing scheduling sequence, and configuring the target communication data corresponding to at least two access target addresses with different verification results into a parallel scheduling sequence. In an embodiment, the configuring the target communication data corresponding to the at least two access target addresses with different verification results into a parallel scheduling sequence includes: Allocating the same transmission channel identifier for the target communication data corresponding to at least two access target addresses with different verification results, and configuring a synchronous transmission trigger instruction; Binding the target communication data corresponding to at least two access target addresses with different verification results with corresponding transmission channel identifiers and synchronous transmission instructions; and determining the transmission rule of each bound target communication data as a parallel scheduling sequence. In an embodiment, the configuration of the target communication data corresponding to at least two access target addresses with the same check result is a time-sharing scheduling sequence, and the configuration comprises the steps of sequentially sequencing the target communication data corresponding to at least two access target addresses with the same check result according to preset priority configuration information, distributing sequentially-increasing tra