CN112306929A - Method, device and system for transmitting data - Google Patents

Method, device and system for transmitting data Download PDF

Info

Publication number
CN112306929A
CN112306929A CN202010199209.0A CN202010199209A CN112306929A CN 112306929 A CN112306929 A CN 112306929A CN 202010199209 A CN202010199209 A CN 202010199209A CN 112306929 A CN112306929 A CN 112306929A
Authority
CN
China
Prior art keywords
data
protocol
mipi
conforming
transmission
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.)
Pending
Application number
CN202010199209.0A
Other languages
Chinese (zh)
Inventor
不公告发明人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202010199209.0A priority Critical patent/CN112306929A/en
Publication of CN112306929A publication Critical patent/CN112306929A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/38Universal adapter
    • G06F2213/3852Converter between protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Information Transfer Systems (AREA)

Abstract

The embodiment of the disclosure discloses a method, a device and a system for transmitting data. The method for transmitting data comprises the following steps: acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; transmitting the transmission data to a data receiving end; and converting the transmission data into data conforming to the MIPI protocol at a data receiving end. The implementation method can ensure the quality of the MIPI data received by the receiving end in the application scene of transmitting the MIPI data in a longer distance.

Description

Method, device and system for transmitting data
Technical Field
Embodiments of the present disclosure relate to the field of data transmission, and in particular, to a method, an apparatus, and a system for transmitting data.
Background
At present, the functions of multimedia devices are becoming more and more abundant. For example, application scenarios of multimedia devices having a face recognition function are increasingly diversified. Generally, after an image is captured by a camera, the image needs to be converted into data conforming to a Mobile Industry Processor Interface (MIPI) protocol, and then, the MIPI data is transmitted to a Central Processing Unit (CPU) through a MIPI signal line.
The MIPI signal has the characteristics of large bandwidth, convenience in use and the like, but in order to adapt to high-speed transmission and power consumption, the voltage swing is small, so that the MIPI signal is easily interfered during long-distance transmission, and most of MIPI data transmission distances are about 10 centimeters.
Disclosure of Invention
The present disclosure presents methods, apparatuses, and systems for transmitting data.
In a first aspect, an embodiment of the present disclosure provides a method for transmitting data, the method including: acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; transmitting the transmission data to a data receiving end; and converting the transmission data into data conforming to the MIPI protocol at a data receiving end.
In some embodiments, converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol includes: and converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol by adopting a Field Programmable Gate Array (FPGA) chip.
In some embodiments, converting the transmission data into data conforming to the MIPI protocol at the data receiving end includes: and a field programmable gate array FPGA chip arranged at a receiving end is adopted to convert the transmitted data into data conforming to the MIPI protocol.
In some embodiments, transmitting the transmission data to a data receiving end includes: and transmitting the transmission data to a data receiving end by adopting a USB3.0 data line.
In some embodiments, the length of the USB3.0 data line is greater than 10 centimeters.
In some embodiments, the length of the USB3.0 data line is greater than 50 centimeters.
In some embodiments, obtaining target data that conforms to a Mobile Industry Processor Interface (MIPI) protocol includes: acquiring target data which accords with an MIPI (mobile industry processor interface) protocol from a target camera, wherein the target data represents image data of an image shot by the target camera; and, the method further comprises: and adopting a USB3.0 data line to transmit non-target data conforming to a USB2.0 protocol.
In some embodiments, the method further comprises: and supplying power to the target camera through the USB3.0 data line.
In some embodiments, the transfer data conforms to the USB3.0 protocol.
In a second aspect, embodiments of the present disclosure provide an apparatus for transmitting data. The device includes: an acquisition unit configured to acquire target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; a first conversion unit configured to convert the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; a transmission unit configured to transmit transmission data to a data receiving end; and the second conversion unit is configured to convert the transmission data into data conforming to the MIPI protocol at the data receiving end.
In some embodiments, the first conversion unit comprises: and the first conversion subunit is configured to adopt a Field Programmable Gate Array (FPGA) chip to convert the target data into transmission data conforming to a Universal Serial Bus (USB) protocol.
In some embodiments, the second conversion unit comprises: and the second conversion unit is configured to convert the transmission data into data conforming to the MIPI protocol by adopting a Field Programmable Gate Array (FPGA) chip arranged at the receiving end.
In some embodiments, the transmission unit comprises: and the first transmission subunit is configured to transmit the transmission data to the data receiving end by using the USB3.0 data line.
In some embodiments, the length of the USB3.0 data line is greater than 10 centimeters.
In some embodiments, the length of the USB3.0 data line is greater than 50 centimeters.
In some embodiments, the obtaining unit comprises: the system comprises an acquisition subunit, a processing unit and a display unit, wherein the acquisition subunit is configured to acquire target data which accords with a Mobile Industry Processor Interface (MIPI) protocol from a target camera, and the target data represents image data of an image shot by the target camera; and, the apparatus further comprises: and the second transmission subunit is configured to transmit the non-target data conforming to the USB2.0 protocol by adopting the USB3.0 data line.
In some embodiments, the apparatus further comprises: and the power supply unit is configured to supply power to the target camera through the USB3.0 data line.
In some embodiments, the transfer data conforms to the USB3.0 protocol.
In a third aspect, an embodiment of the present disclosure provides a system for transmitting data, where the system includes a first FPGA chip and a second FPGA chip, the first FPGA chip and the second FPGA chip are connected by a USB3.0 data line, where: the first FPGA chip is configured to: acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; the USB3.0 data lines are configured to: transmitting the transmission data to a second FPGA chip; the second FPGA chip is configured to: and converting the transmission data into data conforming to the MIPI protocol.
In some embodiments, the length of the USB3.0 data line is greater than 10 centimeters.
In some embodiments, the length of the USB3.0 data line is greater than 50 centimeters.
In some embodiments, the system further comprises a camera; and, the camera is configured to: and sending the image data which accords with the MIPI protocol of the mobile industry processor interface to a first FPGA chip as target data.
In some embodiments, the USB3.0 data line is further configured to: and supplying power to the camera.
In some embodiments, the USB3.0 data line is further configured to: non-target data conforming to the USB2.0 protocol is transmitted.
In some embodiments, the transfer data conforms to the USB3.0 protocol.
In some embodiments, the system further comprises a central processor; and, the central processor is configured to: and receiving data which are converted by the second FPGA chip and accord with the MIPI protocol.
In a fourth aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; the one or more processors are configured to implement the method of any of the embodiments of the method for transmitting data as described above.
In a fifth aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, which when executed by a processor, implements the method of any of the embodiments of the method for transmitting data as described above.
According to the method for transmitting data, the target data which are in accordance with the MIPI protocol of the mobile industry processor interface are obtained, then the target data are converted into the transmission data which are in accordance with the USB protocol, then the transmission data are transmitted to the data receiving end, and finally the transmission data are converted into the data which are in accordance with the MIPI protocol at the data receiving end, so that the quality of the MIPI data received by the receiving end can be guaranteed in the application scene of transmitting the MIPI data in a long distance.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram for one embodiment of a method for transmitting data, according to the present disclosure;
FIG. 3 is a schematic diagram of one application scenario of a method for transmitting data according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a method for transmitting data according to the present disclosure;
FIG. 5 is a schematic block diagram illustrating one embodiment of an apparatus for transmitting data according to the present disclosure;
FIG. 6 is an interaction process schematic diagram of one embodiment of a system for transmitting data according to the present disclosure;
FIG. 7 is a schematic block diagram illustrating one embodiment of a system for transmitting data according to the present disclosure;
FIG. 8 is a schematic structural diagram of a computer system suitable for use with the electronic device used to implement embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary system architecture 100 of an embodiment of a method for transmitting data, an apparatus for transmitting data, or a system for transmitting data to which embodiments of the present disclosure may be applied.
As shown in fig. 1, system architecture 100 may include terminal device 101, network 102, and server 103. Network 102 is the medium used to provide communication links between terminal devices 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal apparatus 101 may interact with the server 103 through the network 102 to receive or transmit data or the like. Optionally, various client applications, such as an image processing application, a music playing software application, and the like, may be installed on the terminal device 101. The terminal device 101 may include a camera and a central processing unit therein. After the camera shoots the image, the image can be converted into data which accords with the MIPI protocol and then is sent out. The central processing unit may receive various data, for example, data according to the MIPI protocol, which is sent by the camera.
The terminal apparatus 101 may be hardware or software. When the terminal device 101 is hardware, it can be various electronic devices including, but not limited to, a robot, a face recognition system, and the like. When the terminal apparatus 101 is software, it can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 103 may be a server that provides various services, such as a background server that provides support for the terminal device 101. As an example, the server 103 may be a cloud server.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
Here, the method for transmitting data provided by the embodiments of the present disclosure is generally performed by a terminal device (or an FPGA chip included in the terminal device). Accordingly, the means for transmitting data are typically provided in the terminal device.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for transmitting data in accordance with the present disclosure is shown. The method for transmitting data comprises the following steps:
step 201, target data conforming to the MIPI protocol is acquired.
In this embodiment, an executing body (e.g., the terminal device shown in fig. 1) of the method for transmitting data may acquire target data conforming to the MIPI protocol.
The target data may be any data conforming to the MIPI protocol. As an example, the target data may be image data (e.g., pixel information of an image captured by a camera).
In practice, MIPI signal lines are typically used to transmit data (including target data) conforming to the MIPI protocol. Therefore, the execution body can acquire target data conforming to the MIPI protocol through the MIPI signal line.
Generally, the long distance transmission of MIPI data (i.e., data conforming to the MIPI protocol) is prone to signal interference, and therefore, the length of a MIPI signal line is often less than 10 centimeters.
Step 202, converting the target data into transmission data conforming to the USB protocol.
In this embodiment, the execution main body may convert the target data, which is obtained in step 201 and conforms to the MIPI protocol, into data (i.e., transmission data) conforming to a USB (Universal Serial Bus) protocol.
It is understood that the MIPI protocol specifies that 200 mv is in packets during transmission, that packets are in packets, and that 1.2 v is between packets and at packet start and end. Two different sets of LVDS (Low-Voltage Differential Signaling) driving circuits are required to work in alternate switching. For safe and reliable transition between data packets in the transmission process, the MIPI protocol defines a relatively long reliable transition time from start to data transmission, which adds up to 600 nanoseconds. Furthermore, it is also specified that each time parameter is adjustable, so that a certain waiting time is required, buffering is required, and a register can be used to replace a FIFO (First in First out) memory, with 128 bytes per channel.
Specifically, the executing entity may convert the target data into transmission data conforming to the USB3.0 protocol, or may convert the target data into transmission data conforming to the USB2.0 protocol.
Here, the execution body may convert the target data into the transmission data conforming to the USB protocol using at least one Programmable Device (PLD) of a Programmable Logic Array (PLA), a Programmable Array Logic (PAL), a General Array Logic (GAL), an Erasable Programmable Logic Device (EPLD), a Complex Programmable Logic Device (CPLD), and a Field Programmable Gate Array (FPGA).
For example, the execution body may adopt an FPGA chip to convert the target data into transmission data conforming to a USB protocol.
It can be understood that the FPGA chip includes a programmable input/output unit, a configurable logic block, a digital clock management module, an embedded block RAM (Random Access Memory), a wiring resource, an embedded dedicated hard core, and a bottom layer embedded functional unit. Technicians can analyze target data conforming to the MIPI protocol, and then program the target data on an FPGA chip through languages such as VHDL (Very High Speed Hardware Description Language) and Verilog, so that the target data are converted into transmission data conforming to the USB protocol.
Step 203, transmitting the transmission data to a data receiving end.
In this embodiment, the execution body may use a USB2.0 or USB3.0 data line to transmit the transmission data to the data receiving end. Accordingly, the transmission data may be data conforming to the USB2.0 protocol, or data conforming to the USB3.0 protocol.
The data receiving end may indicate a location in the execution body for receiving the transmission data.
It can be understood that the length of the USB data line is within 1.5 meters, which generally ensures the signal stability of the transmitted data.
It can be understood that when the execution main body described above transmits transmission data to the data receiving end using the USB3.0 data line, the transmission speed can be increased.
Step 204, the data receiving end converts the transmission data into data conforming to the MIPI protocol.
In this embodiment, the execution body may convert, at the data receiving end, the transmission data conforming to the USB protocol into data conforming to the MIPI protocol.
Here, the execution body may use at least one of a programmable logic array, a programmable array logic, a general array logic, an erasable programmable logic device, a complex programmable logic device, and a field programmable gate array disposed at the data receiving end to convert the transmission data into data conforming to the MIPI protocol.
In some optional implementation manners of this embodiment, the execution main body may adopt an FPGA chip disposed at the receiving end to convert the transmission data into data conforming to the MIPI protocol.
It can be understood that a technician can parse target data conforming to the USB protocol, and then program the target data on the FPGA chip through languages such as VHDL and Verilog, so as to convert transmission data conforming to the USB protocol into data conforming to the MIPI protocol.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for transmitting data according to the present embodiment. In the application scenario of fig. 3, the face recognition robot 30 transmits target data 302 conforming to the MIPI protocol from the camera 301 (for example, through a MIPI signal line) to a location 303 in the face recognition robot 30 (for example, the location 303 may be provided with an FPGA chip for converting data conforming to the MIPI protocol into data conforming to the USB protocol). Thereafter, the face recognition robot 30 may convert the target data 302 into the transmission data 304 conforming to the USB protocol, and then the face recognition robot 30 may transmit (e.g., transmit through a USB data line) the transmission data 304 from the location 303 to the data receiving terminal 305 (the data receiving terminal 305 may be provided with an FPGA chip for converting the data conforming to the USB protocol into the data conforming to the MIPI protocol). Finally, the face recognition robot 30 may convert the transmission data 304 into data 306 conforming to the MIPI protocol at the data receiving end 305. Optionally, the face recognition robot 30 may also transmit the data 306 conforming to the MIPI protocol from the data receiving terminal 305 to the central processing unit 307 in the face recognition robot 30.
It should be noted that the application scenario shown in fig. 3 is only an example of the embodiment, and should not play any limiting role in the embodiment of the present application.
According to the method for transmitting data provided by the embodiment of the disclosure, the target data conforming to the MIPI protocol is obtained, then the target data is converted into the transmission data conforming to the USB protocol, then the transmission data is transmitted to the data receiving end, and finally the transmission data is converted into the data conforming to the MIPI protocol at the data receiving end, so that the quality of the MIPI data received by the receiving end can be ensured in an application scene of transmitting the MIPI data at a longer distance.
In some optional implementations of this embodiment, the length of the USB3.0 data line is greater than 10 centimeters.
It can be understood that in the prior art, MIPI signal lines are generally used for transmitting MIPI data, and the long-distance transmission of MIPI data is easy to generate signal interference, so that the length of the MIPI signal lines is often less than 10 centimeters. In the above optional implementation manner, the length of the USB3.0 data line may be greater than 10 centimeters, so that the transmission distance of the MIPI data may be increased.
In some optional implementations of this embodiment, the length of the USB3.0 data line is greater than 50 centimeters.
It will be appreciated that MIPI data tends to need to be transmitted over long distances for large devices. For example, the distance between a camera and a central processing unit in a large device is often 50 cm to 1 m, and thus, data conforming to the MIPI protocol needs to be transmitted by 50 cm to 1 m. When the length of the USB3.0 data line is greater than 50 cm, signal interference can still be reduced, and the quality of data transmitted in the USB data line (i.e., transmission data conforming to the USB3.0 protocol) is ensured, so the above optional implementation manner can be applied to more transmission scenarios of MIPI data, and signal interference caused by long-distance transmission of MIPI data is reduced.
In some optional implementations of this embodiment, the executing main body may execute the step 201 as follows: and acquiring target data which accords with a MIPI protocol of a mobile industry processor interface from the target camera. The target data represents image data of an image shot by the target camera.
Based on this, the execution main body can also adopt the USB3.0 data line to transmit target data conforming to the USB3.0 protocol and non-target data conforming to the USB2.0 protocol.
In this scenario, the execution subject may be an electronic device (e.g., a large-scale face recognition system) including a camera. In addition, the target camera may also be a camera communicatively connected to the execution main body, and in this scenario, for example, the execution main body may at least include: the system comprises an FPGA chip for converting data conforming to the MIPI protocol into data conforming to the USB protocol, an FPGA chip for converting data conforming to the USB protocol into data conforming to the MIPI protocol, and a USB data line for connecting the two FPGA chips.
Here, the executing body may transmit the data conforming to the MIPI protocol obtained in step 204 from the data receiving end to the central processing unit in the executing body. As an example, the execution body may transmit data conforming to the MIPI protocol from a data receiving end to the central processing unit in the execution body through the MIPI signal line.
The non-target data may include data other than the target data, which is transmitted between the target camera and the central processing unit. For example, the non-target data may include data sent by the processor to the target camera for controlling the target camera.
It is understood that the USB3.0 data line can be used to transmit data conforming to both the USB3.0 protocol and the USB2.0 protocol. Here, the execution main body may adopt a USB3.0 data line to transmit non-target data conforming to a USB2.0 protocol, and complete functions such as configuration and status check of a target camera, without adding a cable, so that the system is simplified.
In some optional implementation manners of this embodiment, the execution main body may further supply power to the target camera through a USB3.0 data line.
It can be understood that, in the above alternative implementation manner, the power supply function of the USB3.0 data line may be utilized to supply power to the target camera by adding a voltage conversion device at one end of the target camera.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for transmitting data is shown. The method for transmitting data comprises the following steps:
step 401, target data conforming to the MIPI protocol of the mobile industry processor interface is obtained.
In this embodiment, step 401 is substantially the same as step 201 in the corresponding embodiment of fig. 2, and is not described here again.
And 402, converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol by adopting an FPGA chip.
In this embodiment, an execution main body (for example, the terminal device shown in fig. 1) of the method for transmitting data may employ an FPGA chip to convert target data into transmission data conforming to the USB protocol.
It can be understood that the FPGA chip contains a programmable input/output unit, a configurable logic block, a digital clock management module, an embedded block RAM, a wiring resource, an embedded special hard core and a bottom layer embedded functional unit. Technicians can analyze target data conforming to the MIPI protocol and then program the target data on an FPGA chip through VHDL and/or Verilog languages, so that the target data are converted into transmission data conforming to the USB protocol.
Step 403, transmitting the transmission data to the data receiving end.
In this embodiment, step 403 is substantially the same as step 203 in the corresponding embodiment of fig. 2, and is not described herein again.
And step 404, converting the transmission data into data conforming to the MIPI protocol by adopting an FPGA chip arranged at a receiving end.
In this embodiment, the execution main body may adopt an FPGA chip disposed at the receiving end to convert the transmission data into data conforming to the MIPI protocol.
It can be understood that a technician can parse target data conforming to the USB protocol, and then program the target data on the FPGA chip through languages such as VHDL and Verilog, so as to convert data transmitted conforming to the USB protocol into data conforming to the MIPI protocol.
It should be noted that, besides the above-mentioned contents, the embodiment of the present application may further include the same or similar features and effects as the embodiment corresponding to fig. 2, and details are not repeated herein.
As can be seen from fig. 4, in the process 400 of the method for transmitting data in this embodiment, the FPGA chip is used to convert the target data conforming to the MIPI protocol into the transmission data conforming to the USB protocol, and after the target data is transmitted for a certain distance, the FPGA chip is used to convert the transmission data conforming to the USB protocol into the data conforming to the MIPI protocol. For adopting proprietary chip to turn into the data that accords with the MIPI agreement with the data that accords with HDMI (High Definition Multimedia Interface) agreement, reuse another proprietary chip to turn into the technical scheme that accords with the data of MIPI agreement with the data of HDMI agreement, not only can reduce the price of the chip that uses, moreover, adopt USB data line transmission data, for adopting the HDMI line, can reduce the price of data line, reduce the use quantity of data line, simplify the complexity of the hardware connection who is used for transmitting MIPI data.
With further reference to fig. 5, the present disclosure provides one embodiment of an apparatus for transmitting data as an implementation of the methods illustrated in the above figures. This apparatus embodiment corresponds to the method embodiment shown in fig. 2, which may include the same or corresponding features as the method embodiment shown in fig. 2 and produce the same or corresponding effects as the method embodiment shown in fig. 2, in addition to the features described below. The device can be applied to various electronic equipment.
As shown in fig. 5, the apparatus 500 for transmitting data of the present embodiment includes: an obtaining unit 501 configured to obtain target data conforming to a mobile industry processor interface MIPI protocol; a first conversion unit 502 configured to convert the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; a transmission unit 503 configured to transmit transmission data to a data receiving end; a second conversion unit 504 configured to convert the transmission data into data conforming to the MIPI protocol at the data receiving end.
In this embodiment, the obtaining unit 501 of the apparatus 500 for transmitting data may obtain target data compliant with the MIPI protocol.
In this embodiment, the first converting unit 502 may convert the target data acquired by the acquiring unit 501 into transmission data conforming to a USB protocol.
In this embodiment, the transmission unit 503 may transmit the transmission data obtained by the first conversion unit 502 to the data receiving end.
In this embodiment, the second converting unit 504 may convert the transmission data into data conforming to the MIPI protocol at the data receiving end.
In some optional implementations of the present embodiment, the first converting unit 502 includes: and the first conversion subunit (not shown in the figure) is configured to adopt a Field Programmable Gate Array (FPGA) chip to convert the target data into transmission data conforming to a Universal Serial Bus (USB) protocol.
In some optional implementations of this embodiment, the second conversion unit 504 includes: and a second conversion unit (not shown in the figure) configured to convert the transmission data into data conforming to the MIPI protocol by using a field programmable gate array FPGA chip provided at the receiving end.
In some optional implementations of this embodiment, the transmission unit 503 includes: and a first transmission subunit (not shown in the figure) configured to transmit the transmission data to the data receiving end by using the USB3.0 data line.
In some optional implementations of this embodiment, the length of the USB3.0 data line is greater than 10 centimeters.
In some optional implementations of this embodiment, the length of the USB3.0 data line is greater than 50 centimeters.
In some optional implementations of this embodiment, the obtaining unit 501 includes: an obtaining subunit (not shown in the figure), configured to obtain, from the target camera, target data that conforms to the MIPI protocol, where the target data represents image data of an image captured by the target camera; and, the apparatus further comprises: and a second transmission subunit (not shown in the figure) configured to transmit the non-target data conforming to the USB2.0 protocol by using the USB3.0 data line.
In some optional implementations of this embodiment, the apparatus 500 further includes: and a power supply unit (not shown in the figure) configured to supply power to the target camera through the USB3.0 data line.
In some optional implementations of the embodiment, the transmission data conforms to the USB3.0 protocol.
The apparatus for transmitting data according to the above embodiment of the present disclosure acquires target data conforming to the MIPI protocol through the acquiring unit 501, then the first converting unit 502 converts the target data into transmission data conforming to the USB protocol, then the transmitting unit 503 transmits the transmission data to the data receiving end, and finally the second converting unit 504 converts the transmission data into data conforming to the MIPI protocol at the data receiving end, so that the quality of the MIPI data received by the receiving end can be ensured in an application scenario where the MIPI data is transmitted over a long distance.
With continuing reference to fig. 6, fig. 6 is a schematic diagram of an interaction process for one embodiment of a system for transmitting data according to the present disclosure. The system comprises a first FPGA chip and a second FPGA chip, wherein the first FPGA chip is connected with the second FPGA chip through a USB3.0 data line, and the system comprises: the first FPGA chip is configured to: acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; the USB3.0 data lines are configured to: transmitting the transmission data to a second FPGA chip; the second FPGA chip is configured to: and converting the transmission data into data conforming to the MIPI protocol.
It should be noted that, besides the contents described below, the embodiment or the alternative implementation of fig. 6 may further include the same or similar features and effects as those of the embodiment corresponding to fig. 2 and/or fig. 4, and details are not repeated herein. In addition, the interaction process diagram shown in fig. 6 is only an example, and should not play any limiting role in the present embodiment.
As shown in fig. 6, in step 601, the first FPGA chip acquires target data conforming to the MIPI protocol.
In this embodiment, the first FPGA chip may obtain target data conforming to the MIPI protocol.
In step 602, the first FPGA chip converts the target data into transmission data conforming to the USB protocol.
In this embodiment, the first FPGA chip may convert the target data into transmission data conforming to a USB protocol.
In step 603, the first FPGA chip transmits the transmission data to the second FPGA chip through the USB3.0 data line.
In this embodiment, the first FPGA chip may transmit the transmission data to the second FPGA chip through the USB3.0 data line.
In step 604, the second FPGA chip converts the transmission data into data conforming to the MIPI protocol.
In this embodiment, the second FPGA chip may convert the transmission data into data conforming to the MIPI protocol.
In some optional implementations of this embodiment, the length of the USB3.0 data line is greater than 10 centimeters.
In some optional implementations of this embodiment, the length of the USB3.0 data line is greater than 50 centimeters.
In some optional implementations of this embodiment, the system further includes a camera; and, the camera is configured to: and sending the image data which accords with the MIPI protocol of the mobile industry processor interface to a first FPGA chip as target data.
In some optional implementations of the present embodiment, the USB3.0 data line is further configured to: and supplying power to the camera.
In some optional implementations of the present embodiment, the USB3.0 data line is further configured to: non-target data conforming to the USB2.0 protocol is transmitted.
In some optional implementations of the embodiment, the transmission data conforms to the USB3.0 protocol.
In some optional implementations of this embodiment, the system further includes a central processing unit. The central processor is configured to: and receiving data which are converted by the second FPGA chip and accord with the MIPI protocol.
By way of example, referring to fig. 7, fig. 7 is a schematic block diagram of one embodiment of a system for transmitting data according to the present disclosure. As shown in fig. 7, the system includes a first FPGA chip 702 and a second FPGA chip 703, and the first FPGA chip 702 and the second FPGA chip 703 are connected by a USB3.0 data line. Wherein: the first FPGA chip 702 is configured to: acquiring target data conforming to an MIPI protocol; converting the target data into transmission data conforming to a USB protocol; the USB3.0 data lines are configured to: transmitting the transmission data to the second FPGA chip 703; the second FPGA chip 703 is configured to: and converting the transmission data into data conforming to the MIPI protocol. Optionally, the system for transmitting data may further include a camera 701. The camera 701 may be connected to the first FPGA chip 702 through an MIPI signal line. Further, in some cases, the system for transferring data described above may also include a central processor 704. The central processor 704 may be connected to the second FPGA chip 703 through a MIPI signal line.
The system for transmitting data provided by the above embodiment of the present application includes a first FPGA chip and a second FPGA chip, where the first FPGA chip is connected to the second FPGA chip through a USB3.0 data line, where: the first FPGA chip is configured to: acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; the USB3.0 data lines are configured to: transmitting the transmission data to a second FPGA chip; the second FPGA chip is configured to: and converting the transmission data into data conforming to the MIPI protocol. Therefore, the quality of the MIPI data received by the receiving end can be ensured in the application scene of transmitting the MIPI data in a longer distance.
Referring now to FIG. 8, shown is a schematic diagram of an electronic device 800 suitable for use in implementing embodiments of the present disclosure. The electronic device shown in fig. 8 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 8, an electronic device 800 may include a processor 801. The processor 801 may include a Programmable Device 8012 that may determine its Logic function in accordance with the programming of the Device by a technician. Optionally, the processor 801 may further include a central processor 8011. An input/output (I/O) interface 803 is connected to bus 802. In some cases, the following devices may be connected to the I/O interface 803: including, for example, a camera 804. The image data captured by the camera 804 may be processed by the programmable device 8012 and transmitted to the central processing unit 8011.
While fig. 8 illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 8 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network, or embodied in the programmable device 8012. The computer program, when executed, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as VHDL, Verilog, Python, Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a first conversion unit, a transmission unit, and a second conversion unit. The names of these units do not in some cases form a limitation on the unit itself, for example, the acquiring unit may also be described as a "unit for acquiring target data conforming to the MIPI protocol of the mobile industry processor interface".
As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol; transmitting the transmission data to a data receiving end; and converting the transmission data into data conforming to the MIPI protocol at a data receiving end.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept as defined above. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (20)

1. A method for transmitting data, comprising:
acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol;
converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol;
transmitting the transmission data to a data receiving end;
and converting the transmission data into data conforming to the MIPI protocol at the data receiving end.
2. The method of claim 1, wherein the converting the target data into transmission data compliant with a Universal Serial Bus (USB) protocol comprises:
and converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol by adopting a Field Programmable Gate Array (FPGA) chip.
3. The method of claim 1, wherein the converting the transmission data into data conforming to the MIPI protocol at the data receiving end comprises:
and converting the transmission data into data conforming to the MIPI protocol by adopting a Field Programmable Gate Array (FPGA) chip arranged at the receiving end.
4. The method of claim 1, wherein the transmitting the transmission data to a data receiving end comprises:
and transmitting the transmission data to a data receiving end by adopting a USB3.0 data line.
5. The method of claim 4, wherein the USB3.0 data line is greater than 10 centimeters in length.
6. The method of claim 4, wherein the USB3.0 data line is greater than 50 centimeters in length.
7. The method of claim 4, wherein the obtaining target data compliant with a Mobile Industry Processor Interface (MIPI) protocol comprises:
acquiring target data which accords with an MIPI (Mobile industry processor interface) protocol from a target camera, wherein the target data represents image data of an image shot by the target camera; and
the method further comprises the following steps:
and transmitting non-target data conforming to the USB2.0 protocol by adopting the USB3.0 data line.
8. The method of claim 7, wherein the method further comprises:
and supplying power to the target camera through the USB3.0 data line.
9. The method according to one of claims 1 to 8, wherein the transmission data conforms to the USB3.0 protocol.
10. An apparatus for transmitting data, comprising:
an acquisition unit configured to acquire target data conforming to a Mobile Industry Processor Interface (MIPI) protocol;
a first conversion unit configured to convert the target data into transmission data conforming to a Universal Serial Bus (USB) protocol;
a transmission unit configured to transmit the transmission data to a data receiving end;
a second conversion unit configured to convert the transmission data into data conforming to the MIPI protocol at the data receiving end.
11. The utility model provides a system for transmitting data, the system includes first FPGA chip and second FPGA chip, first FPGA chip is connected through USB3.0 data line with second FPGA chip, wherein:
the first FPGA chip is configured to: acquiring target data conforming to a Mobile Industry Processor Interface (MIPI) protocol; converting the target data into transmission data conforming to a Universal Serial Bus (USB) protocol;
the USB3.0 data line is configured to: transmitting the transmission data to the second FPGA chip;
the second FPGA chip is configured to: and converting the transmission data into data conforming to the MIPI protocol.
12. The system of claim 11, wherein the USB3.0 data line is greater than 10 centimeters in length.
13. The system of claim 11, wherein the USB3.0 data line is greater than 50 centimeters in length.
14. The system of claim 11, wherein the system further comprises a camera; and
the camera is configured to: and sending the image data which accords with the MIPI protocol of the mobile industry processor interface to the first FPGA chip as target data.
15. The system of claim 14, wherein the USB3.0 data line is further configured to:
and supplying power to the camera.
16. The system of one of claims 11-15, wherein the USB3.0 data line is further configured to:
non-target data conforming to the USB2.0 protocol is transmitted.
17. The system of any of claims 11-15, wherein the transmission data conforms to the USB3.0 protocol.
18. The system of any of claims 11-15, wherein the system further comprises a central processor; and
the central processor is configured to: and receiving the data which are converted by the second FPGA chip and accord with the MIPI protocol.
19. An electronic device, comprising:
one or more processors;
the one or more processors are configured to implement the method of any one of claims 1-9.
20. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-9.
CN202010199209.0A 2020-03-20 2020-03-20 Method, device and system for transmitting data Pending CN112306929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010199209.0A CN112306929A (en) 2020-03-20 2020-03-20 Method, device and system for transmitting data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010199209.0A CN112306929A (en) 2020-03-20 2020-03-20 Method, device and system for transmitting data

Publications (1)

Publication Number Publication Date
CN112306929A true CN112306929A (en) 2021-02-02

Family

ID=74336439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010199209.0A Pending CN112306929A (en) 2020-03-20 2020-03-20 Method, device and system for transmitting data

Country Status (1)

Country Link
CN (1) CN112306929A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201536171U (en) * 2009-09-25 2010-07-28 北京爱国者存储科技有限责任公司 USB 3.0-B adapter
CN104065919A (en) * 2014-05-06 2014-09-24 深圳市道通科技有限公司 Long-distance digital video signal transmission method and apparatus
CN204045891U (en) * 2014-05-08 2014-12-24 深圳市江波龙电子有限公司 USB data line
CN205510311U (en) * 2016-01-27 2016-08-24 北京小鸟看看科技有限公司 Sound video output equipment and system
CN105902252A (en) * 2015-02-24 2016-08-31 圻逸科技有限公司 Endoscope system
CN107371017A (en) * 2017-08-29 2017-11-21 深圳市度信科技有限公司 A kind of MIPI camera signals long haul transmission system and method
CN110740281A (en) * 2019-10-10 2020-01-31 南京大鱼半导体有限公司 MIPI signal transmission equipment, system and electronic equipment
CN110769206A (en) * 2019-11-19 2020-02-07 深圳开立生物医疗科技股份有限公司 Electronic endoscope signal transmission method, device and system and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201536171U (en) * 2009-09-25 2010-07-28 北京爱国者存储科技有限责任公司 USB 3.0-B adapter
CN104065919A (en) * 2014-05-06 2014-09-24 深圳市道通科技有限公司 Long-distance digital video signal transmission method and apparatus
CN204045891U (en) * 2014-05-08 2014-12-24 深圳市江波龙电子有限公司 USB data line
CN105902252A (en) * 2015-02-24 2016-08-31 圻逸科技有限公司 Endoscope system
CN205510311U (en) * 2016-01-27 2016-08-24 北京小鸟看看科技有限公司 Sound video output equipment and system
CN107371017A (en) * 2017-08-29 2017-11-21 深圳市度信科技有限公司 A kind of MIPI camera signals long haul transmission system and method
CN110740281A (en) * 2019-10-10 2020-01-31 南京大鱼半导体有限公司 MIPI signal transmission equipment, system and electronic equipment
CN110769206A (en) * 2019-11-19 2020-02-07 深圳开立生物医疗科技股份有限公司 Electronic endoscope signal transmission method, device and system and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何广军: "现代测试技术原理与应用", vol. 978, 西安交通大学出版社, pages: 74 *

Similar Documents

Publication Publication Date Title
US10783111B2 (en) Peripheral module validation for modular digital optical gunsight systems
CN102681971A (en) Aurora protocol based method for conducting high-speed interconnection between field programmable gate arrays (FPGAs)
CN113285931B (en) Streaming media transmission method, streaming media server and streaming media system
CN102917213B (en) System and method for transmitting optical fiber video images
CN208013943U (en) A kind of spaceborne high-resolution imaging data transmission and acquisition system
CN112702581A (en) Video acquisition circuit
CN103606367A (en) Signal cascade transmission method and signal cascade device
CN109194889A (en) Low speed signal conversion module for DP interface
CN112311477B (en) Method, device and system for transmitting data
CN102917212A (en) 3G (The 3rd Generation Telecommunication) wireless video monitoring implementation method and 3G wireless video monitoring system based on RTP (Real Time Protocol) and RTSP (Real Time Streaming Protocol)
CN112306929A (en) Method, device and system for transmitting data
CN105357450A (en) Video stitching control system
CN204790967U (en) Mosaicing processing ware that can show high definition picture
CN105025277A (en) Optical fiber transmission system for LED display screen
JP2024500483A (en) Configuration method and device
CN203522918U (en) HDMI-to-PCIE acquisition card
CN203840344U (en) Serial data transmission system
CN112995557B (en) Parallel processing method and device for multichannel image
CN112311458A (en) Signal transmission method, device, equipment and system
CN104717440A (en) LED transmitting card cascade interface
CN204145666U (en) A kind of multi-path light terminal without the need to external distributor
CN218825618U (en) Video data processing device and vehicle
CN112054875A (en) Multi-channel data transmission method and system, electronic equipment and near-to-eye display equipment
CN210515372U (en) High-speed image processing circuit box
CN114035705B (en) Intelligent screen data processing method based on Socket message

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