CN113795830A - Signal transmission method, device and system based on TYPE-C interface and storage medium - Google Patents

Signal transmission method, device and system based on TYPE-C interface and storage medium Download PDF

Info

Publication number
CN113795830A
CN113795830A CN202080032038.0A CN202080032038A CN113795830A CN 113795830 A CN113795830 A CN 113795830A CN 202080032038 A CN202080032038 A CN 202080032038A CN 113795830 A CN113795830 A CN 113795830A
Authority
CN
China
Prior art keywords
sideband
channel
female
side band
clock signal
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
CN202080032038.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.)
SZ DJI Technology Co Ltd
Original Assignee
SZ DJI 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 SZ DJI Technology Co Ltd filed Critical SZ DJI Technology Co Ltd
Publication of CN113795830A publication Critical patent/CN113795830A/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/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/04Generating or distributing clock signals or signals derived directly therefrom
    • G06F1/06Clock generators producing several clock signals
    • 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
    • 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/42Bus transfer protocol, e.g. handshake; Synchronisation

Abstract

The embodiment of the application provides a signal transmission method, a device, a system and a storage medium based on a TYPE-C interface, which comprises the following steps: the method comprises the steps of identifying the insertion direction of a TYPE-C interface connected to first equipment by second equipment, determining sideband channels for signal transmission of the first equipment and the second equipment in the TYPE-C interface according to an identification result, transmitting signals based on the sideband channels, identifying the insertion direction, and determining the sideband channels for signal transmission based on the identification result, so that the problems of high cost and the like caused by the need of other resources (such as resources of software simulation time sequences) in the related technology are solved, the communication cost is saved, and the technical effects of flexibility and diversity of signal transmission are realized.

Description

Signal transmission method, device and system based on TYPE-C interface and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a signal transmission method, apparatus, system, and storage medium based on a TYPE-C interface.
Background
The TYPE-C interface, which is fully called USB TYPE-C interface, also called USB-C interface, is increasingly widely used because it supports a "positive and negative insertion" function that can be inserted from both the positive and negative sides.
However, since the TYPE-C interface has a function of supporting "forward and backward insertion", the first device and the second device connected based on the TYPE-C interface generally cannot communicate with each other, and a single-wire communication may be adopted in the case of simulating the timing sequence through other software.
The inventor finds that at least the following problems exist in the process of implementing the invention: the communication mode between the first equipment and the second equipment based on the TYPE-C interface connection is single.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present application provide a signal transmission method, device, system and storage medium based on a TYPE-C interface.
In one aspect, an embodiment of the present application provides a signal transmission method based on a TYPE-C interface, where the method includes:
identifying an insertion direction of a TYPE-C interface connected to the first device by the second device;
determining sideband channels for signal transmission of the first equipment and the second equipment in the TYPE-C interface according to the identification result;
transmitting the signal based on the sideband channel.
In the embodiment of the application, when the second device is connected with the first device through the TYPE-C interface, the insertion method of the TYPE-C interface can be identified, and the sideband channel can be determined according to the identification result obtained by the identification, and the sideband channel can be used for transmitting the signal of the first device to the second device, so that the communication between the first device and the second device is realized, and the flexibility and the reliability of the communication between the first device and the second device are improved.
In some embodiments, the signal comprises a clock signal and a data signal, the sideband channels comprise sideband channels corresponding to the clock signal and the data signal, and transmitting the signal based on the sideband channels comprises:
and transmitting the clock signal and the data signal through the respective corresponding sideband channels.
In the embodiment of the application, the number of the sideband channels is the same as the number of the types of the signals, and one sideband channel can transmit one type of signal, so that when the signals to be transmitted include two types of signals (i.e., a clock signal and a data signal), the clock signal can be transmitted through the sideband channel corresponding to the clock signal, and the data signal can be transmitted through the sideband channel corresponding to the data signal, so that the transmission of the two types of signals is realized, and the technical effect of realizing the reliability of the signal transmission between the first device and the second device is realized.
In some embodiments, the TYPE-C interface includes a sideband use 1 and a sideband use 2 of a female socket connected with the first device, and a sideband use 1 and a sideband use 2 of a male socket connected with the second device, and if the identification result is a forward-insertion direction, the sideband channel includes: the side band channel is formed by using a side band 1 of the female seat and connecting the side band 1 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band 2 of the male head.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the male header, the determining, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result includes:
determining a sideband channel formed by connecting a sideband use 1 of the female socket and a sideband use 1 of the male connector as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the female socket and the sideband use 2 of the male connector as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the positive insertion direction, and the second device receives the clock signal through the sideband use 1 of the male connector, the clock signal configured by the first device may be sequentially transmitted to the second device through the sideband use 1 of the female connector and the sideband use 1 of the male connector, and the data signal configured by the first device may be sequentially transmitted to the second device through the sideband use 2 of the female connector and the sideband use 2 of the male connector.
In some embodiments, if the second device receives the clock signal through the sideband usage 2 of the male header, the determining, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result includes:
determining a sideband channel formed by connecting the sideband use 2 of the female socket and the sideband use 2 of the male connector as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the female socket and the sideband use 1 of the male connector as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the positive insertion direction, and the second device receives the clock signal through the sideband use 2 of the male connector, the clock signal configured by the first device may be sequentially transmitted to the second device through the sideband use 2 of the female connector and the sideband use 2 of the male connector, and the data signal configured by the first device may be sequentially transmitted to the second device through the sideband use 1 of the female connector and the sideband use 1 of the male connector.
In some embodiments, the TYPE-C interface includes a sideband use 1 and a sideband use 2 of a female socket connected to the first device, and a sideband use 1 and a sideband use 2 of a male socket connected to the second device, and if the identification result is an inverse direction, the sideband channel includes: the side band channel is formed by using a side band 1 of the female seat and connecting the side band with a side band 2 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band with a side band 1 of the male head.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the male header, the determining, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result includes:
determining a sideband channel formed by connecting a sideband use 2 of the female socket with a sideband use 1 of the male socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the female socket and the sideband use 2 of the male socket as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the reverse insertion direction, and the second device receives the clock signal through the sideband use 1 of the male connector, the clock signal configured by the first device may be sequentially transmitted to the second device through the sideband use 2 of the female connector and the sideband use 1 of the male connector, and the data signal configured by the first device may be sequentially transmitted to the second device through the sideband use 1 of the female connector and the sideband use 2 of the male connector.
In some embodiments, if the second device receives the clock signal through the sideband use 2 of the male header, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result includes:
determining a sideband channel formed by connecting a sideband use 1 of the female socket with a sideband use 2 of the male socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the female socket and the sideband use 1 of the male connector as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the reverse insertion direction, and the second device receives the clock signal through the sideband use 2 of the male connector, the clock signal configured by the first device may be sequentially transmitted to the second device through the sideband use 1 of the female connector and the sideband use 2 of the male connector, and the data signal configured by the first device may be sequentially transmitted to the second device through the sideband use 2 of the female connector and the sideband use 1 of the male connector.
In some embodiments, the TYPE-C interface includes a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a forward insertion direction, the sideband channel includes: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band channel formed by connecting a side band of the first female seat with a side band of the second female seat by using 2.
In the embodiment of the present application, the second device may be connected to the first device through a C to C data line (also referred to as TYPE-C data line), and specifically, the second device may be connected to the first device through female sockets (i.e., a first female socket and a second female socket) respectively disposed at two ends of the C to C data line.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the second mother socket, the determining, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result includes:
determining a sideband channel formed by connecting the sideband use 1 of the first female socket and the sideband use 1 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the first female socket and the sideband use 2 of the second female socket as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the forward insertion direction, and the second device receives the clock signal through the sideband use 1 of the second mother socket, the clock signal configured by the first device may be transmitted to the second device through the sideband use 1 of the first mother socket and the sideband use 1 of the second mother socket in sequence, and the data signal configured by the first device may be transmitted to the second device through the sideband use 2 of the first mother socket and the sideband use 2 of the second mother socket in sequence.
In some embodiments, if the second device receives the clock signal through the sideband usage 2 of the second mother socket, the determining, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result includes:
determining a sideband channel formed by connecting the sideband use 2 of the first female socket and the sideband use 2 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the first female socket and the sideband use 1 of the second female socket as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the forward insertion direction, and the second device receives the clock signal through the sideband use 2 of the second mother socket, the clock signal configured by the first device may be transmitted to the second device sequentially through the sideband use 2 of the first mother socket and the sideband use 2 of the second mother socket, and the data signal configured by the first device may be transmitted to the second device sequentially through the sideband use 1 of the first mother socket and the sideband use 1 of the second mother socket.
In some embodiments, the TYPE-C interface includes a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a reverse insertion direction, the sideband channel includes: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band of the first female seat by using 2, and the side band channel is formed by connecting a side band of the first female seat with a side band of the first female seat by using 1.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the second mother socket, the determining, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result includes:
determining a sideband channel formed by connecting a sideband use 2 of the first female socket and a sideband use 1 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the first female socket and the sideband use 2 of the second female socket as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the reverse plug direction, and the second device receives the clock signal through the sideband use 1 of the second mother socket, the clock signal configured by the first device may be transmitted to the second device sequentially through the sideband use 2 of the first mother socket and the sideband use 1 of the second mother socket, and the data signal configured by the first device may be transmitted to the second device sequentially through the sideband use 1 of the first mother socket and the sideband use 2 of the second mother socket.
In some embodiments, if the second device receives the clock signal through the sideband usage 2 of the second mother socket, the determining, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result includes:
determining a sideband channel formed by connecting a sideband use 1 of the first female socket and a sideband use 2 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the first female socket and the sideband use 1 of the second female socket as a sideband channel for transmitting the data signal.
In this embodiment of the application, if the identification result is the reverse plug direction, and the second device receives the clock signal through the sideband use 2 of the second mother socket, the clock signal configured by the first device may be transmitted to the second device sequentially through the sideband use 1 of the first mother socket and the sideband use 2 of the second mother socket, and the data signal configured by the first device may be transmitted to the second device sequentially through the sideband use 2 of the first mother socket and the sideband use 1 of the second mother socket.
In some embodiments, prior to said identifying the insertion direction of the TYPE-C interface connected by the second device to the first device, the method further comprises:
in response to the second device being connected to the first device based on the TYPE-C interface, determining task information that the second device has access to the first device;
identifying an insertion direction of a TYPE-C interface connected to the first device by the second device comprises: and if the task information is a two-wire communication task, identifying the insertion direction of the TYPE-C interface.
In the embodiment of the application, the insertion direction is determined and identified for the task information of the two-wire communication task, so that the technical effects of accuracy, timeliness and reliability of communication between the first device and the second device can be improved.
In another aspect, an embodiment of the present application further provides a signal transmission apparatus based on a TYPE-C interface, including: a processor and a transceiver, wherein,
the processor is used for identifying the insertion direction of the TYPE-C interface connected to the first equipment by the second equipment;
the processor is further configured to determine, in the TYPE-C interface, sideband channels for signal transmission of the first device and the second device according to the identification result;
the transceiver is configured to transmit the signal based on the sideband channel.
In some embodiments, the signal comprises a clock signal and a data signal, the sideband channels comprise respective sideband channels corresponding to the clock signal and the data signal, and the transceiver is configured to transmit the clock signal and the data signal over the respective sideband channels.
In some embodiments, the TYPE-C interface includes a sideband use 1 and a sideband use 2 of a female socket connected with the first device, and a sideband use 1 and a sideband use 2 of a male socket connected with the second device, and if the identification result is a forward-insertion direction, the sideband channel includes: the side band channel is formed by using a side band 1 of the female seat and connecting the side band 1 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band 2 of the male head.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the male, the processor is configured to determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 1 connected with the sideband use 1 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 2 connected with the sideband use 2 of the male as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband use 2 of the male, the processor is configured to determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 2 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 1 of the male as a sideband channel for transmitting the data signal.
In some embodiments, the TYPE-C interface includes a sideband use 1 and a sideband use 2 of a female socket connected to the first device, and a sideband use 1 and a sideband use 2 of a male socket connected to the second device, and if the identification result is an inverse direction, the sideband channel includes: the side band channel is formed by using a side band 1 of the female seat and connecting the side band with a side band 2 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band with a side band 1 of the male head.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the male, the processor is configured to determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 1 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 2 of the male as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband use 2 of the male, the processor is configured to determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 2 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 1 of the male as a sideband channel for transmitting the data signal.
In some embodiments, the TYPE-C interface includes a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a forward insertion direction, the sideband channel includes: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band channel formed by connecting a side band of the first female seat with a side band of the second female seat by using 2.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the second mother socket, the processor is configured to determine a sideband channel formed by connecting the sideband use 1 of the first mother socket and the sideband use 1 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband use 2 of the first mother socket and the sideband use 2 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband use 2 of the second mother socket, the processor is configured to determine a sideband channel formed by connecting the sideband use 2 of the first mother socket and the sideband use 2 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband use 1 of the first mother socket and the sideband use 1 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, the TYPE-C interface includes a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a reverse insertion direction, the sideband channel includes: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band of the first female seat by using 2, and the side band channel is formed by connecting a side band of the first female seat with a side band of the first female seat by using 1.
In some embodiments, if the second device receives the clock signal through the sideband usage 1 of the second mother socket, the processor is configured to determine a sideband channel formed by connecting the sideband usage 2 of the first mother socket and the sideband usage 1 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband usage 1 of the first mother socket and the sideband usage 2 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband usage 2 of the second mother socket, the processor is configured to determine a sideband channel formed by connecting the sideband usage 1 of the first mother socket and the sideband usage 2 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband usage 2 of the first mother socket and the sideband usage 1 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, the processor is configured to, in response to the second device being connected to the first device based on the TYPE-C interface, determine task information that the second device accesses to the first device, and identify an insertion direction of the TYPE-C interface if the task information is a communication task.
In another aspect, an embodiment of the present application further provides a communication system, where the communication system includes a first device and a second device connected based on a TYPE-C interface, and the apparatus according to any of the above embodiments.
In another aspect, an embodiment of the present application further provides a movable platform, where the movable platform includes a main body and the apparatus according to any of the above embodiments.
In some embodiments, the body includes a first device and a second device connected based on a TYPE-C interface.
In another aspect, the present application further provides a computer-readable storage medium, which includes instructions, when executed on a computer, cause the computer to perform the method according to any one of the above embodiments.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario according to an embodiment of the present application;
fig. 2 is a schematic diagram of an unmanned aerial vehicle according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a TYPE-C interface;
fig. 4 is a schematic flowchart of a signal transmission method based on a TYPE-C interface according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a signal transmission method based on a TYPE-C interface according to another embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an application of an embodiment of the present application;
fig. 7 is a schematic flowchart of a signal transmission method based on a TYPE-C interface according to another embodiment of the present application;
FIG. 8 is a schematic diagram of another embodiment of the present application;
fig. 9 is a schematic flowchart of a signal transmission method based on a TYPE-C interface according to another embodiment of the present application;
FIG. 10 is a schematic diagram of another embodiment of the present application;
fig. 11 is a schematic flowchart of a signal transmission method based on a TYPE-C interface according to another embodiment of the present application;
FIG. 12 is a schematic diagram of another embodiment of the present application;
FIG. 13 is a schematic diagram of another embodiment of the present application;
fig. 14 is a schematic flowchart of a signal transmission method based on a TYPE-C interface according to another embodiment of the present application;
fig. 15 is a schematic diagram of a signal transmission apparatus based on a TYPE-C interface according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the present application provides a signal transmission method based on a TYPE-C interface (hereinafter, referred to as a signal transmission method for short), which may be applied to a product that can be connected based on the TYPE-C interface.
For example, as can be seen from fig. 1 (fig. 1 is an application scenario schematic diagram of the embodiment of the present application), the signal transmission method of the embodiment of the present application may be applied to the unmanned aerial vehicle 100 and the storage device 200 based on TYPE-C interface connection.
Among them, the drone 100 may include an unmanned aerial vehicle, an agricultural drone, and the like.
In some embodiments, as shown in fig. 2, the drone 100 may include an unmanned aerial vehicle 110, a display device 130, and a control terminal 140. Unmanned aerial vehicle 110 may include, among other things, a power system 150, a flight control system 160, a frame, and a pan and tilt head 120 carried on the frame. The unmanned aerial vehicle 110 may be in wireless communication with the control terminal 140 and the display device 130. The UAV 110 further includes a battery (not shown) for providing power to the power system 150. The unmanned aerial vehicle 110 may be an agricultural drone or an industrial utility drone, with the need for cyclic operation. Accordingly, the battery also has a demand for a cycle operation.
The airframe may include a fuselage and a foot rest (also referred to as a landing gear). The fuselage may include a central frame and one or more arms connected to the central frame, the one or more arms extending radially from the central frame. The foot rests are connected to the fuselage for support during landing of the UAV 110.
The power system 150 may include one or more electronic governors (abbreviated as electric governors) 151, one or more propellers 153, and one or more motors 152 corresponding to the one or more propellers 153, wherein the motors 152 are connected between the electronic governors 151 and the propellers 153, the motors 152 and the propellers 153 are disposed on the horn of the unmanned aerial vehicle 110; the electronic governor 151 is configured to receive a drive signal generated by the flight control system 160 and provide a drive current to the motor 152 based on the drive signal to control the rotational speed of the motor 152. The motor 152 is used to drive the propeller to rotate, thereby providing power for the flight of the UAV 110, which enables the UAV 110 to achieve one or more degrees of freedom of motion. In certain embodiments, the UAV 110 may rotate about one or more axes of rotation. For example, the above-mentioned rotation axes may include a Roll axis (Roll), a Yaw axis (Yaw) and a pitch axis (pitch). It should be understood that the motor 152 may be a dc motor or an ac motor. The motor 152 may be a brushless motor or a brush motor.
Flight control system 160 may include a flight controller 161 and a sensing system 162. The sensing system 162 is used to measure attitude information of the drone, i.e., position information and status information of the drone 110 in space, such as three-dimensional position, three-dimensional angle, three-dimensional velocity, three-dimensional acceleration, three-dimensional angular velocity, and the like. The sensing system 162 may include, for example, at least one of a gyroscope, an ultrasonic sensor, an electronic compass, an Inertial Measurement Unit (IMU), a vision sensor, a global navigation satellite system, and a barometer. For example, the Global navigation satellite System may be a Global Positioning System (GPS). The flight controller 161 is used to control the flight of the unmanned aerial vehicle 110, and for example, the flight of the unmanned aerial vehicle 110 may be controlled based on the attitude information measured by the sensing system 162. It should be understood that the flight controller 161 may control the unmanned aerial vehicle 110 according to preprogrammed instructions, or may control the unmanned aerial vehicle 110 in response to one or more remote control signals from the control terminal 140.
The pan/tilt head 120 may include a motor 122. The pan/tilt head is used to carry a load, which may be, for example, the camera 123. Flight controller 161 may control the movement of pan/tilt head 120 via motor 122. Optionally, as another embodiment, the pan/tilt head 120 may further include a controller for controlling the movement of the pan/tilt head 120 by controlling the motor 122. It should be understood that the pan/tilt head 120 may be independent of the unmanned aerial vehicle 110, or may be part of the unmanned aerial vehicle 110. It should be understood that the motor 122 may be a dc motor or an ac motor. The motor 122 may be a brushless motor or a brush motor. It should also be understood that the pan/tilt head 120 may be located at the top of the UAV 110, and may also be located at the bottom of the UAV 110.
The photographing device 123 may be, for example, a device for capturing an image such as a camera or a video camera, and the photographing device 123 may communicate with the flight controller and perform photographing under the control of the flight controller. The image capturing Device 123 of this embodiment at least includes a photosensitive element, such as a Complementary Metal Oxide Semiconductor (CMOS) sensor or a Charge-coupled Device (CCD) sensor. For example, the photographing device 123 may include an infrared sensor (not shown in the drawings) and a visible light sensor (not shown in the drawings). The infrared sensor may be used to acquire an infrared image for the object and the visible light image may be used to acquire a visible light image for the object. It is understood that the camera 123 may be directly fixed to the unmanned aerial vehicle 110 or the flight control system 160, and thus the pan/tilt head 120 may be omitted.
If the camera 123 is directly fixed to the flight control system 160, the camera 123 may transmit the infrared image collected by the infrared sensor to the flight control system 160 and transmit the visible light image collected by the visible light sensor to the flight control system 160. The flight control system 160 may execute the image processing method of the embodiment of the present application, adjust the visible light image, and control the flight of the unmanned aerial vehicle 110 according to the adjusted visible light image. Or the camera 123 adjusts the visible light image and performs image recognition based on the adjusted visible light image, or the camera 123 may send the adjusted visible light image and the infrared image to the terminal device or the control device through the wireless link for display.
The display device 130 is located at the ground end of the unmanned flight system 100, can communicate with the unmanned aerial vehicle 110 in a wireless manner, and can be used to display attitude information of the unmanned aerial vehicle 110. In addition, an image photographed by the photographing device 123 may also be displayed on the display apparatus 130. It should be understood that the display device 130 may be a stand-alone device or may be integrated into the control terminal 140.
The control terminal 140 is located at the ground end of the drone 100, and can communicate with the unmanned aerial vehicle 110 in a wireless manner for remote control of the unmanned aerial vehicle 110.
The storage device 200 may include a computer storage device and a mobile storage device, the computer storage device may be a Solid State Disk (SSD), and the mobile storage device may be a USB flash drive (USB flash drive).
As another example, as can be seen from fig. 1, the signal transmission method according to the embodiment of the present application may also be applied to the unmanned aerial vehicle 100 and the chip 300 to be authenticated, which are connected based on the TYPE-C interface.
For another example, as can be seen from fig. 1, the signal transmission method according to the embodiment of the present application may also be applied to the terminal device 400 and the storage device 200 connected based on the TYPE-C interface.
The terminal device may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device may also be a smart watch, a tablet computer, or the like.
As can be seen from fig. 1, the signal transmission method according to the embodiment of the present application can also be applied to the monitoring device 500 and the storage device 200 connected based on the TYPE-C interface.
It should be noted that fig. 1 is only used to exemplarily illustrate an application scenario to which the TYPE-C interface-based signal transmission method according to the embodiment of the present application may be applied, and is not to be construed as a limitation to the application scenario.
Wherein the TYPE-C interface comprises a female socket and a male socket, the TYPE-C interface will now be described in detail with reference to fig. 3.
As shown in fig. 3, the female socket and the male socket both include 24 pins, and both include a surface a and a surface B, and the definition sequence of each pin is still the same after the surface a and the surface B are turned over, so the TYPE-C interface can be configured without dividing the front side and the back side.
The TYPE-C interface is introduced as follows, taking the female socket as an example:
as shown in fig. 3, 12 pins (a 1-a 12 shown in fig. 3) of the a surface of the female socket are GND, TX1+, TX1-, VBUS, CC1, D +, D-, SBU1, VBUS, RX2-, RX2+, and GND, respectively; the 12 pins (B12-B1 shown in FIG. 3) on the B surface of the female socket are GND, RX1+, RX1-, VBUS, SBU2, D-, D +, CC2, VBUS, TX2-, TX2+ and GND respectively.
The pins a1, a12, B1 and B12 are Cable Ground (GND) pins, the pins a4, a9, B4 and B9 are Cable Bus Power (VBUS) pins, and the GND and the VBUS are used for supplying Power to the TYPE-C interface.
TX1+, TX1-, RX 2-and RX2+ are used to provide one or more lanes, such as to provide two-lane ultraspeed data links, enabling bi-directional broadband, e.g., up to 20Gbps bandwidth bi-directionally.
CC1 and CC2 are configured with channel signals for discovery, configuration, management, etc. of connections. It is worth noting that one of the signals CC1 and CC2 is used as a configuration channel, and the other is used in the upstream data port to power USB logic.
D + and D-are used to provide signal paths, such as for USB2.0 signals.
SBUs 1 and SUB2 are used to transmit non-USB signals, such as for analog audio modes.
For the description of each pin of the male head, reference may be made to the above example, which is not described herein again.
Based on the above analysis, in the TYPE-C interface, SBUs 1 and SUB2 may be used to transmit non-USB signals, such as signals for simulating audio mode, that is, SBUs 1 and SBUs 2 of the TYPE-C interface may be used as ports for audio reservation, that is, in the related art, when communication between two devices connected through the TYPE-C interface is implemented based on SBUs 1 and SUB2, it needs to be implemented in a simulation manner.
That is, in the related art, the communication method between two devices connected based on the TYPE-C interface is strictly restricted, the communication method between the two devices is single, and other resource overhead, such as the overhead of the above analog resource, needs to be increased.
The embodiment of the application provides a signal transmission method, which comprises the steps of determining a channel for signal transmission of two devices connected based on a TYPE-C interface by identifying positive and negative insertions of the TYPE-C interface, and carrying out signal transmission based on the determined channel.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
According to an aspect of the embodiment of the present application, an embodiment of the present application provides a signal transmission method based on a TYPE-C interface, which may be applied to an application scenario as shown in fig. 1.
Referring to fig. 4, fig. 4 is a schematic flowchart illustrating a signal transmission method based on a TYPE-C interface according to an embodiment of the present application.
As shown in fig. 4, the method includes:
s101: an insertion direction of a TYPE-C interface connected by a second device to a first device is identified.
The execution main body in the embodiment of the present application may be a movable platform, a processor, a controller, a chip, and the like, and the execution main body may be disposed in the first device, which is not limited in the embodiment of the present application.
In combination with the application scenario shown in fig. 1, the second device may be a storage device and a chip to be authenticated, and the first device may be an unmanned aerial vehicle, a terminal device, and a monitoring device.
In this embodiment of the present application, in order to make the reader understand the scheme of this embodiment of the present application more thoroughly, and avoid tedious redundancy, to execute the main part as movable platform, first equipment is unmanned aerial vehicle, second equipment is for waiting to authenticate the chip for example and describe exemplarily.
That is, in the embodiment implementation process, treat that the authentication chip can be connected to unmanned aerial vehicle through TYPE-C interface, movable platform can treat that the authentication chip is connected to unmanned aerial vehicle and monitors, if movable platform monitors to treat that the authentication chip passes through TYPE-C interface connection to unmanned aerial vehicle, and movable platform monitors to treat that the authentication chip inserts to unmanned aerial vehicle through TYPE-C interface promptly, and then movable platform can discern the direction of insertion of TYPE-C interface.
The method for identifying the insertion direction of the TYPE-C interface by the mobile platform is not limited in the embodiment of the present application, and for example, the method may be implemented by monitoring whether the pull-down resistor exists in CC1 or CC2 of the TYPE-C interface, and a specific monitoring principle may refer to related technologies, which is not described herein again.
S102: and determining sideband channels for signal transmission of the first equipment and the second equipment in the TYPE-C interface according to the identification result.
Among other things, sideband channels can be used for characterization, two-wire channels consisting of sideband usages (SBU1 and SBU2) of TYPE-C interfaces, and the channels are used for signal transmission.
Based on the analysis, the TYPE-C interface has the function of supporting 'positive and negative insertion', so that when the chip to be authenticated is connected to the unmanned aerial vehicle through the TYPE-C interface, the chip to be authenticated and the unmanned aerial vehicle cannot communicate under the condition of no utilization of other resources, and when the time sequence is simulated through software, the communication between the chip to be authenticated and the unmanned aerial vehicle can be realized.
In the embodiment of the application, the movable platform determines the sideband channel according to the identification result of the insertion direction of the TYPE-C interface, and can determine the communication channel (namely the sideband channel) between two devices (namely the unmanned aerial vehicle and the chip to be authenticated) so as to transmit signals through the sideband channel, thereby avoiding the problem of higher communication cost caused by the fact that the unmanned aerial vehicle needs to be communicated with the chip to be authenticated by means of software simulation time sequence in the related technology, and further realizing the technical effect of saving the communication cost.
S103: the signal is transmitted based on the sideband channel.
Based on the above analysis, an embodiment of the present application provides a signal transmission method based on a TYPE-C interface, including: the method comprises the steps of identifying the insertion direction of a TYPE-C interface connected to first equipment by second equipment, determining sideband channels for signal transmission of the first equipment and the second equipment in the TYPE-C interface according to an identification result, transmitting signals based on the sideband channels, identifying the insertion direction, and determining the sideband channels for signal transmission based on the identification result, so that the problems of high cost and the like caused by the need of other resources (such as resources of software simulation time sequences) in the related technology are solved, the communication cost is saved, and the technical effects of flexibility and diversity of signal transmission are realized.
It should be noted that the signal transmitted between the unmanned aerial vehicle and the chip to be authenticated may include a clock Signal (SCL) and a Data Signal (SDA), and it can be known from the analysis that the identification result may be a forward insertion direction or a backward insertion direction, so that the reader may more clearly understand the scheme of the embodiment of the present application, and now, when the identification result is the forward insertion direction, the signal transmission method based on the TYPE-C interface according to the embodiment of the present application is described in detail with reference to fig. 5 to 8.
As shown in fig. 5, the method includes:
s201: an insertion direction of a TYPE-C interface connected by a second device to a first device is identified.
For the description of S201, reference may be made to S101, which is not described herein again.
S202: if the identification result is the positive insertion direction, the sideband channel comprises: the side band channel is formed by connecting an SBU1 of a female seat with an SBU1 of a male head, and the side band channel is formed by connecting an SBU2 of the female seat with an SBU2 of the male head.
S203: when the second device receives the clock signal through the SBU1 of the male, the sideband channel formed by connecting the SBU1 of the female and the SBU1 of the male is determined as a sideband channel for transmitting the clock signal, and the sideband channel formed by connecting the SBU2 of the female and the SBU2 of the male is determined as a sideband channel for transmitting the data signal.
S204: clock signals are transmitted based on a sideband channel formed by connecting the SBU1 of the female socket and the SBU1 of the male header, and data signals are transmitted based on a sideband channel formed by connecting the SBU2 of the female socket and the SBU2 of the male header.
The embodiment shown in fig. 5 is exemplarily described with reference to fig. 6, and in fig. 6, the second device is taken as a chip to be authenticated, and the first device is taken as an unmanned aerial vehicle.
As shown in fig. 6, the drone includes a Micro Controller Unit (MCU), the MCU is connected to the I2C pin on the PD protocol chip through a bus pin (Inter-Integrated Circuit, I2C), the I2C pin on the MCU may be referred to as I2C0 BOST, and the I2C pin on the PD protocol chip may be referred to as I2C SLV.
The MCU may further include two clock signal pins and two data signal pins, that is, the MCU includes four pins for transmitting two clock signals and two data signals, which are SCL1, SCL2, SDA1 and SDA2, respectively, and as shown in fig. 6, the MCU may control SCL1 and SDA1 to transmit one clock signal and one data signal, and control SCL2 and SDA2 to transmit the other clock signal and the other data signal.
Of course, the MCU may also be provided with a pin for transmitting one clock signal and one data signal, or may be provided with a pin for transmitting more clock signals and more data signals, which is not limited in the embodiments of the present application.
The PD protocol chip can comprise a CC1 and a CC2, and the VBUS is used for providing power for the PD protocol chip. Based on the above example, the PD protocol chip may recognize the insertion direction of the TYPE-C interface based on the pull-down resistors of CC1 and CC2, and may transmit the recognition result to the MCU through I2C SLV.
It is worth to be noted that the PD protocol chip may be a part of the drone, that is, as shown in fig. 6, the drone includes the PD protocol chip, and in other embodiments, the PD protocol chip may also be an external device of the drone, which is not limited in this embodiment of the present application.
Wherein, TYPE-C interface can include female seat and public head, and female seat is connected with unmanned aerial vehicle, public head with treat that the authentication chip is connected.
In this embodiment of the application, when the PD protocol chip determines that the TYPE-C interface is in the forward insertion direction, that is, the CC1 of the female base is connected to the CC1 of the male header, the CC2 of the female base is connected to the CC2 of the male header, the SBU1 of the female base is connected to the SBU1 of the male header, and the SBU2 of the female base is connected to the SBU2 of the male header, the PD protocol chip may send the identification result carrying the forward insertion direction to the MCU, the MCU configures a clock signal for the SCL1 set on the MCU, the clock signal is transmitted to the SBU1 of the male header through the SBU1 of the female base and is transmitted to the SCL of the chip to be authenticated through the SBU1, and thus, the chip to be authenticated obtains the clock signal transmitted by the unmanned aerial vehicle.
Correspondingly, MCU is the SDA1 configuration data signal that sets up on the MCU, and data signal transmits to public head SBU2 through female SBU2 of seat to transmit to treating the SDA of authentication chip through SBU2, so far, treat that the authentication chip obtains the data signal by unmanned aerial vehicle transmission.
It is worth to be noted that, when the MCU is provided with two pins for transmitting clock signals and data signals, if the two pins for transmitting clock signals and data signals are all in an idle state, the MCU can randomly select one of the two pins for transmitting clock signals and data signals, and configure the clock signals and data signals based on the selected pin; if one of the pins for transmitting the clock signal and the data signal is in an idle state, the MCU can select one of the pins for transmitting the clock signal and the data signal in the idle state, and configure the clock signal and the data signal on the basis.
In the embodiment of the application, when the TYPE-C interface is the forward plug direction, the clock signal of the MCU can sequentially pass through SCL1, SBU1 of the female seat and SBU1 of the male head are transmitted to SCL, the data signal of the MCU can sequentially pass through SDA1, SBU2 of the female seat and SBU2 of the male head are transmitted to SDA, thereby realizing communication between two devices based on TYPE-C interface connection, avoiding the disadvantages of port resource waste caused by the fact that SBU1 and SBU2 of the TYPE-C interface are only used as ports reserved for audio in the related art, and realizing the technical effects of flexibility and diversity of communication between two devices based on TYPE-C interface connection.
It is worth mentioning that fig. 5 and 6 illustrate in detail the method and principle of the second device when it is connected to the first device by means of a direct plug-in, while in other embodiments the second device may be connected to the first device by means of a data line.
For example, the TYPE-C interface includes a C to C data line, one end of the C to C data line is connected with the first device through the first female socket, the other end is connected with the second device through the second female socket, if the identification result is a forward insertion direction, the sideband channel includes: the side band channel is formed by connecting the SBU1 of the first female seat with the SBU1 of the second female seat, and the side band channel is formed by connecting the SBU2 of the first female seat with the SBU2 of the second female seat.
And if the second device receives the clock signal through the SBU1 of the second mother socket, determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the recognition result includes:
determining a sideband channel formed by connecting the SBU1 of the first female socket and the SBU1 of the second female socket as a sideband channel for transmitting clock signals;
the sideband channel formed by connecting the SBU2 of the first female chassis and the SBU2 of the second female chassis is determined as a sideband channel for transmitting data signals.
That is to say, the female seat in fig. 6 may be a first female seat, the male head in fig. 6 may be a second female seat, and accordingly, the clock signal of the MCU may be transmitted to the SCL sequentially through the SCL1, the SBU1 of the first female seat and the SBU1 of the second female seat, and the data signal of the MCU may be transmitted to the SDA sequentially through the SDA1, the SBU2 of the first female seat and the SBU2 of the second female seat.
As can be seen from the examples shown in fig. 5 and 6, the male SBU1 may receive a clock signal, while in other embodiments the male SBU2 may also receive a clock signal, as will be described in detail in conjunction with fig. 7 and 8. Details of the contents already described in the above example are not repeated in this embodiment, such as the connection relationship between the components in fig. 8.
Fig. 7 is a detailed illustration of a signal transmission method based on the TYPE-C interface according to another embodiment of the present application.
As shown in fig. 7, the method includes:
s301: an insertion direction of a TYPE-C interface connected by a second device to a first device is identified.
For the description of S301, reference may be made to S101, which is not described herein again.
S302: if the identification result is the positive insertion direction, the sideband channel comprises: the side band channel is formed by connecting an SBU1 of the female seat with an SBU1 of the male seat, and the side band channel is formed by connecting an SBU2 of the female seat with an SBU2 of the male seat.
S303: when the second device receives the clock signal through the male SBU2, the sideband channel formed by connecting the female SBU2 and the male SBU2 is determined as a sideband channel for transmitting the clock signal, and the sideband channel formed by connecting the female SBU1 and the male SBU1 is determined as a sideband channel for transmitting the data signal.
S304: clock signals are transmitted based on a sideband channel formed by connecting an SBU2 of the female socket and an SBU2 of the male header, and data signals are transmitted based on a sideband channel formed by connecting an SBU1 of the female socket and an SBU1 of the male header.
With reference to fig. 8, in this embodiment of the application, when the PD protocol chip determines that the TYPE-C interface is in the forward insertion direction, that is, the CC1 of the female socket is connected to the CC1 of the male socket, the CC2 of the female socket is connected to the CC2 of the male socket, the SBU1 of the female socket is connected to the SBU1 of the male socket, and the SBU2 of the female socket is connected to the SBU2 of the male socket, the PD protocol chip may send the identification result carrying the forward insertion direction to the MCU, the MCU configures a clock signal for the SCL1 set on the MCU, the clock signal is transmitted to the SBU2 of the male socket via the SBU2 of the female socket and is transmitted to the SCL of the chip to be authenticated via the SBU2, so far, the chip to be authenticated obtains the clock signal transmitted by the unmanned aerial vehicle.
Correspondingly, MCU for the SDA1 configuration data signal that sets up on the MCU, data signal transmit to public head SBU1 through female SBU1 of seat to through SBU1 transmission to treating the SDA1 of authenticating the chip, so far, treat that the chip of authenticating obtains the data signal by unmanned aerial vehicle transmission.
Similarly, in this embodiment of the application, when the TYPE-C interface is the forward plug direction, the clock signal of the MCU may sequentially pass through SCL1, SBU2 of the female seat and SBU2 of the male head are transmitted to SCL, the data signal of the MCU may sequentially pass through SDA1, SBU1 of the female seat and SBU1 of the male head are transmitted to SDA, thereby realizing communication between two devices based on the TYPE-C interface connection, avoiding the disadvantages of port resource waste and the like caused by SBU1 and SBU2 of the TYPE-C interface only being as the port reserved for audio in the related art, and realizing the technical effects of flexibility and diversity of communication between two devices based on the TYPE-C interface connection.
Similarly, when the second equipment is connected to first equipment through the mode of C to C data line, if the one end of Cto C data line is connected with first equipment through first female seat, the other end passes through the female seat of second and is connected with the second equipment, if the direction is just inserting to the recognition result, then the sideband passageway includes: the side band channel is formed by connecting the SBU1 of the first female seat with the SBU1 of the second female seat, and the side band channel is formed by connecting the SBU2 of the first female seat with the SBU2 of the second female seat.
And if the second device receives the clock signal through the SBU2 of the second mother socket, determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the recognition result includes:
determining a sideband channel formed by connecting the SBU2 of the first female socket and the SBU2 of the second female socket as a sideband channel for transmitting clock signals;
the sideband channel formed by connecting the SBU1 of the first female chassis and the SBU1 of the second female chassis is determined as a sideband channel for transmitting data signals.
That is to say, the female seat in fig. 8 may be a first female seat, the male head in fig. 8 may be a second female seat, and accordingly, the clock signal of the MCU may be transmitted to the SCL sequentially through the SCL1, the SBU2 of the first female seat and the SBU2 of the second female seat, and the data signal of the MCU may be transmitted to the SDA sequentially through the SDA1, the SBU1 of the first female seat and the SBU1 of the second female seat.
Based on the above analysis, it can be known that the recognition result may be in a forward insertion direction or a backward insertion direction, and the signal transmission method based on the TYPE-C interface according to the embodiment of the present application will be described in detail with reference to fig. 9 to 12 when the recognition result is in the backward insertion direction.
As shown in fig. 9, the method includes:
s401: an insertion direction of a TYPE-C interface connected by a second device to a first device is identified.
For the description of S401, reference may be made to S101, which is not described herein again.
S402: if the identification result is in the reverse insertion direction, the sideband channel comprises: the side band channel is formed by connecting an SBU1 of the female seat with an SBU2 of the male seat, and the side band channel is formed by connecting an SBU2 of the female seat with an SBU1 of the male seat.
S403: when the second device receives the clock signal through the male SBU1, the sideband channel formed by connecting the female SBU2 and the male SBU1 is determined as a sideband channel for transmitting the clock signal, and the sideband channel formed by connecting the female SBU1 and the male SBU2 is determined as a sideband channel for transmitting the data signal.
S404: clock signals are transmitted based on a sideband channel formed by connecting an SBU2 of the female socket and an SBU1 of the male header, and data signals are transmitted based on a sideband channel formed by connecting an SBU1 of the female socket and an SBU2 of the male header.
With reference to fig. 10, in this embodiment of the application, when the PD protocol chip determines that the TYPE-C interface is in the reverse plug direction, that is, the CC1 of the female socket is connected to the CC2 of the male header, the CC2 of the female socket is connected to the CC1 of the male header, the SBU1 of the female socket is connected to the SBU2 of the male header, and the SBU2 of the female socket is connected to the SBU1 of the male header, the PD protocol chip may send the identification result carrying the reverse plug direction to the MCU, the MCU configures a clock signal for the SCL1 set on the MCU, the clock signal is transmitted to the SBU1 of the male header through the SBU2 of the female socket, and is transmitted to the SCL of the chip to be authenticated through the SBU1 of the male header, so far, the chip to be authenticated obtains the clock signal transmitted by the unmanned aerial vehicle.
Correspondingly, MCU for the SDA1 configuration data signal that sets up on the MCU, data signal transmit to public head SBU2 through female SBU1 of seat to through SBU2 transmission to treating the SDA1 of authenticating the chip, so far, treat that the chip of authenticating obtains the data signal by unmanned aerial vehicle transmission.
Similarly, in this embodiment of the application, when the TYPE-C interface is in the reverse plug direction, the clock signal of the MCU may sequentially pass through SCL1, SBU2 of the female seat and SBU1 of the male head are transmitted to SCL, the data signal of the MCU may sequentially pass through SDA1, SBU1 of the female seat and SBU2 of the male head are transmitted to SDA, thereby realizing communication between two devices connected based on the TYPE-C interface, avoiding the disadvantages of port resource waste and the like caused by SBU1 and SBU2 of the TYPE-C interface being only used as ports reserved for audio in the related art, and realizing the technical effects of flexibility and diversity of communication between two devices connected based on the TYPE-C interface.
Similarly, when the second equipment is connected to first equipment through the mode of C to C data line, if the one end of Cto C data line is connected with first equipment through first female seat, the other end passes through the female seat of second and is connected with the second equipment, if the recognition result is reverse plug direction, then the sideband passageway includes: the side band channel is formed by connecting the SBU1 of the first female seat with the SBU2 of the second female seat, and the side band channel is formed by connecting the SBU2 of the first female seat with the SBU1 of the second female seat.
And if the second device receives the clock signal through the SBU1 of the second mother socket, determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the recognition result includes:
determining a sideband channel formed by connecting the SBU2 of the first female socket and the SBU1 of the second female socket as a sideband channel for transmitting clock signals;
the sideband channel formed by connecting the SBU1 of the first female chassis and the SBU2 of the second female chassis is determined as a sideband channel for transmitting data signals.
That is to say, the female seat in fig. 10 may be a first female seat, the male head in fig. 10 may be a second female seat, and accordingly, the clock signal of the MCU may be transmitted to the SCL sequentially through the SCL1, the SBU2 of the first female seat and the SBU1 of the second female seat, and the data signal of the MCU may be transmitted to the SDA sequentially through the SDA1, the SBU1 of the first female seat and the SBU2 of the second female seat.
As can be seen from the examples shown in fig. 9 and 10, the male SBU1 may receive a clock signal, while in other embodiments the male SBU2 may also receive a clock signal, as will now be described in detail in conjunction with fig. 11 and 12.
Fig. 11 is a diagram illustrating a signal transmission method based on a TYPE-C interface according to another embodiment of the present application in detail.
As shown in fig. 11, the method includes:
s501: an insertion direction of a TYPE-C interface connected by a second device to a first device is identified.
For the description of S501, reference may be made to S101, which is not described herein again.
S502: if the identification result is in the reverse insertion direction, the sideband channel comprises: the side band channel is formed by connecting an SBU1 of the female seat with an SBU2 of the male seat, and the side band channel is formed by connecting an SBU2 of the female seat with an SBU1 of the male seat.
S503: when the second device receives the clock signal through the male SBU2, the sideband channel formed by connecting the female SBU1 with the male SBU2 is determined as a sideband channel for transmitting the clock signal, and the sideband channel formed by connecting the female SBU2 with the male SBU1 is determined as a sideband channel for transmitting the data signal.
S504: clock signals are transmitted based on a sideband channel formed by connecting an SBU1 of the female socket and an SBU2 of the male header, and data signals are transmitted based on a sideband channel formed by connecting an SBU2 of the female socket and an SBU1 of the male header.
As can be seen from fig. 12, in this embodiment of the application, when the PD protocol chip determines that the TYPE-C interface is in the reverse plug direction, that is, the CC1 of the female socket is connected to the CC2 of the male connector, the CC2 of the female socket is connected to the CC1 of the male connector, the SBU1 of the female socket is connected to the SBU2 of the male connector, and the SBU2 of the female socket is connected to the SBU1 of the male connector, the PD protocol chip may send the identification result carrying the reverse plug direction to the MCU, the MCU configures a clock signal for the SCL1 disposed on the MCU, the clock signal is transmitted to the SBU2 of the male connector through the SBU1 of the female socket and is transmitted to the SCL of the chip to be authenticated through the SBU2, so far, the chip to be authenticated obtains the clock signal transmitted by the unmanned aerial vehicle.
Correspondingly, MCU for the SDA1 configuration data signal that sets up on the MCU, data signal transmit to public head SBU1 through female SBU2 of seat to through SBU1 transmission to treating the SDA1 of authenticating the chip, so far, treat that the chip of authenticating obtains the data signal by unmanned aerial vehicle transmission.
Similarly, in this embodiment of the application, when the TYPE-C interface is in the reverse plug direction, the clock signal of the MCU may sequentially pass through SCL1, SBU1 of the female seat and SBU2 of the male head are transmitted to SCL, the data signal of the MCU may sequentially pass through SDA1, SBU2 of the female seat and SBU1 of the male head are transmitted to SDA, thereby realizing communication between two devices connected based on the TYPE-C interface, avoiding the disadvantages of port resource waste and the like caused by SBU1 and SBU2 of the TYPE-C interface being only used as ports reserved for audio in the related art, and realizing the technical effects of flexibility and diversity of communication between two devices connected based on the TYPE-C interface.
Similarly, when the second equipment is connected to first equipment through the mode of C to C data line, if the one end of Cto C data line is connected with first equipment through first female seat, the other end passes through the female seat of second and is connected with the second equipment, if the recognition result is reverse plug direction, then the sideband passageway includes: the side band channel is formed by connecting the SBU1 of the first female seat with the SBU2 of the second female seat, and the side band channel is formed by connecting the SBU2 of the first female seat with the SBU1 of the second female seat.
And if the second device receives the clock signal through the SBU2 of the second mother socket, determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the recognition result includes:
determining a sideband channel formed by connecting the SBU1 of the first female socket and the SBU2 of the second female socket as a sideband channel for transmitting clock signals;
the sideband channel formed by connecting the SBU2 of the first female chassis and the SBU1 of the second female chassis is determined as a sideband channel for transmitting data signals.
That is to say, the female seat in fig. 12 may be a first female seat, the male head in fig. 12 may be a second female seat, and accordingly, the clock signal of the MCU may be transmitted to the SCL sequentially through the SCL1, the SBU1 of the first female seat and the SBU2 of the second female seat, and the data signal of the MCU may be transmitted to the SDA sequentially through the SDA1, the SBU2 of the first female seat and the SBU1 of the second female seat.
In combination with the above analysis, in some embodiments, the signal transmission may be implemented by setting at least one pin of the clock signal and the data signal in the MCU, and in other embodiments, the signal transmission may also be implemented by setting at least two chips in the drone, and the method for implementing the signal transmission based on the TYPE-C interface in the chip mode is described in detail with reference to fig. 13. Fig. 13 is a schematic connection diagram of two chips according to an embodiment of the present disclosure.
As shown in fig. 13, the two chips may be U93 (specific model of chip) of SGM3157, U96 (specific model of chip) of SGM 3157.
Pin 1 (i.e., pin NO) of U93 is connected to SBU2 of the female housing, pin 2 (i.e., pin GND) of U93 is grounded, pin 3 (i.e., pin NC) of U93 is connected to SBU1 of the female housing, pin 4 (i.e., pin COM) of U93 is connected to SCL of the MCU, pin 5 (i.e., pin VCC) of U93 is connected to reference voltage 3.3V (i.e., pin REG 3V3), and pin 6 (i.e., pin IN) of U93 is connected to control pin (i.e., pin I2C _ MUX _ SW).
Pin 1 (i.e., pin NO) of U96 is connected to SBU1 of the female socket, pin 2 (i.e., pin GND) of U96 is grounded, pin 3 (i.e., pin NC) of U96 is connected to SBU2 of the female socket, pin 4 (i.e., pin COM) of U96 is connected to SDA of MCU, pin 5 (i.e., pin VCC) of U96 is connected to reference voltage 3.3V (i.e., pin REG 3V3), and pin 6 (i.e., pin IN) of U96 is connected to control pin (i.e., pin I2C _ MUX _ SW).
For example, when the PD protocol chip determines that the TYPE-C interface is in the forward insertion direction, the identification result carrying the forward insertion direction may be sent to the MCU, the MCU may determine the level attribute of I2C _ MUX _ SW, that is, I2C _ MUX _ SW is low level or high level, if the identification result is in the forward insertion direction, I2C _ MUX _ SW is low level, the MCU may configure a clock signal for the SCL set on the MCU, the clock signal is transmitted to the SBU1 of the male via the SBU1 of the female seat and is transmitted to the SCL of the chip to be authenticated via the SBU1, and the chip to be authenticated obtains the clock signal transmitted by the drone.
Correspondingly, MCU configures data signal for the SDA that sets up on the MCU, and data signal transmits to public head SBU2 through female SBU2 of seat to transmit to treating the SDA1 of authentication chip through SBU2, so far, treat that the authentication chip obtains the data signal by unmanned aerial vehicle transmission.
For another example, when the PD protocol chip determines that the TYPE-C interface is in the reverse plug direction, the PD protocol chip may send the identification result carrying the reverse plug direction to the MCU, and the MCU may determine the level attribute of I2C _ MUX _ SW, that is, I2C _ MUX _ SW is low level or high level, if the identification result is in the forward plug direction, I2C _ MUX _ SW is high level, the MCU may configure a clock signal for the SCL set on the MCU, and the clock signal is transmitted to the SBU1 of the male via the SBU2 of the female socket and transmitted to the SCL of the chip to be authenticated via the SBU1, where the chip to be authenticated obtains the clock signal transmitted by the drone.
Correspondingly, MCU configures data signal for the SDA that sets up on the MCU, and data signal transmits to public head SBU2 through female SBU1 of seat to transmit to treating the SDA1 of authentication chip through SBU2, so far, treat that the authentication chip obtains the data signal by unmanned aerial vehicle transmission.
It should be noted that the above examples are only for exemplarily illustrating the principle of implementing the TYPE-C interface based signaling method based on the added chip, and are not to be construed as a limitation of the chip and the like.
In the embodiment of the present application, by implementing the signal transmission method based on the TYPE-C interface in a manner of combining with a chip, pin resources for transmitting clock signals and data signals that are set on the MCU can be saved, that is, signal transmission can be implemented by setting a pin for a path of clock signals and data signals.
Based on the above analysis, in the related art, the first device and the second device connected based on the TYPE-C interface generally cannot communicate with each other, and in the case of simulating the timing by other software, a single-wire communication may be adopted, such as General-purpose input/output (GPIO) to implement the single-wire communication by software simulation timing, and in this embodiment, the SBU1 and SBU2 corresponding to the TYPE-C interface may be used to implement the single-wire communication between the first device and the second device in the case of simulating the timing by software. As can be seen from the embodiments developed based on the inventive concept of the present application, by adopting the solution of the embodiments of the present application, the communication between the first device and the second device can be realized without software simulation of a time-series manner. Now, with reference to fig. 14, a signal transmission method based on a TYPE-C interface according to an embodiment of the present application will be described in detail with reference to how to trigger communication.
As shown in fig. 14, the method includes:
s601: and in response to the second device being connected to the first device based on the TYPE-C interface, determining task information accessed by the second device to the first device.
The task information may be used for characterizing that the second device is connected to the first device, for example, to implement audio transmission between the first device and the second device, that is, the TYPE-C interfaces SBU1 and SBU2 are audio ports, that is, the first device and the second device implement single-line communication based on the TYPE-C interfaces SBU1 and SBU 2; for example, in order to implement data reading and writing between the first device and the second device, the two-wire communication between the first device and the second device is implemented based on the TYPE-C interfaces SBU1 and SBU 2.
S602: and if the task information is a two-wire communication task, identifying the insertion direction of the TYPE-C interface.
In the embodiment of the present application, the two-wire communication task may be understood as that the second device is connected to the first device based on the TYPE-C interface, and it is desired to implement the two-wire communication between the second device and the first device through the TYPE-C interface.
Based on the above example, when the movable platform monitors that the chip to be authenticated is connected to the unmanned aerial vehicle based on the TYPE-C interface, it is determined that the chip to be authenticated is accessed to the unmanned aerial vehicle based on the TYPE-C interface (i.e., task information), and if the chip to be authenticated is accessed to the unmanned aerial vehicle based on the TYPE-C interface so as to achieve two-wire communication, the movable platform identifies the insertion direction of the TYPE-C interface.
S603: and determining sideband channels for signal transmission of the first equipment and the second equipment in the TYPE-C interface according to the identification result.
S604: the signal is transmitted based on the sideband channel.
For the description of S603 and S604, reference may be made to the above description, for example, refer to the description shown in any one of fig. 4 to fig. 12, which is not described herein again.
According to another aspect of the embodiments of the present application, there is also provided a signal transmission apparatus based on a TYPE-C interface, configured to perform the method according to any of the above embodiments, such as the method shown in any of fig. 4 to 14.
Referring to fig. 15, fig. 15 is a schematic diagram of a signal transmission apparatus based on a TYPE-C interface according to an embodiment of the present application.
As shown in fig. 15, the apparatus includes: a processor 11 and a transceiver 12, wherein,
the processor 11 is configured to identify an insertion direction of a TYPE-C interface connected to the first device by the second device;
the processor 11 is further configured to determine, in the TYPE-C interface, a sideband channel for signal transmission of the first device and the second device according to the identification result;
the transceiver 12 is configured to transmit the signal based on the sideband channel.
In some embodiments, the signal comprises a clock signal and a data signal, the sideband channels comprise respective sideband channels corresponding to the clock signal and the data signal, and the transceiver is configured to transmit the clock signal and the data signal over the respective sideband channels.
In some embodiments, the TYPE-C interface includes a sideband use 1 and a sideband use 2 of a female socket connected with the first device, and a sideband use 1 and a sideband use 2 of a male socket connected with the second device, and if the identification result is a forward-insertion direction, the sideband channel includes: the side band channel is formed by using a side band 1 of the female seat and connecting the side band 1 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band 2 of the male head.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the male, the processor 11 is configured to determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 1 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 2 of the male as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband use 2 of the male, the processor 11 is configured to determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 2 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 1 of the male as a sideband channel for transmitting the data signal.
In some embodiments, the TYPE-C interface includes a sideband use 1 and a sideband use 2 of a female socket connected to the first device, and a sideband use 1 and a sideband use 2 of a male socket connected to the second device, and if the identification result is an inverse direction, the sideband channel includes: the side band channel is formed by using a side band 1 of the female seat and connecting the side band with a side band 2 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band with a side band 1 of the male head.
In some embodiments, if the second device receives the clock signal through the sideband use 1 of the male, the processor 11 is configured to determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 1 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 2 of the male as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband use 2 of the male, the processor 11 is configured to determine a sideband channel formed by the sideband use 1 of the female socket and the sideband use 2 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by the sideband use 2 of the female socket and the sideband use 1 of the male as a sideband channel for transmitting the data signal.
In some embodiments, the TYPE-C interface includes a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a forward insertion direction, the sideband channel includes: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band channel formed by connecting a side band of the first female seat with a side band of the second female seat by using 2.
In some embodiments, if the second device receives the clock signal through the sideband usage 1 of the second mother socket, the processor 11 is configured to determine a sideband channel formed by connecting the sideband usage 1 of the first mother socket and the sideband usage 1 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband usage 2 of the first mother socket and the sideband usage 2 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband usage 2 of the second mother socket, the processor 11 is configured to determine a sideband channel formed by connecting the sideband usage 2 of the first mother socket and the sideband usage 2 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband usage 1 of the first mother socket and the sideband usage 1 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, the TYPE-C interface includes a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a reverse insertion direction, the sideband channel includes: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band of the first female seat by using 2, and the side band channel is formed by connecting a side band of the first female seat with a side band of the first female seat by using 1.
In some embodiments, if the second device receives the clock signal through the sideband usage 1 of the second mother socket, the processor 11 is configured to determine a sideband channel formed by connecting the sideband usage 2 of the first mother socket and the sideband usage 1 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband usage 1 of the first mother socket and the sideband usage 2 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, if the second device receives the clock signal through the sideband usage 2 of the second mother socket, the processor 11 is configured to determine a sideband channel formed by connecting the sideband usage 1 of the first mother socket and the sideband usage 2 of the second mother socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by connecting the sideband usage 2 of the first mother socket and the sideband usage 1 of the second mother socket as a sideband channel for transmitting the data signal.
In some embodiments, the processor 11 is configured to, in response to the second device being connected to the first device based on the TYPE-C interface, determine task information that the second device accesses to the first device, and identify an insertion direction of the TYPE-C interface if the task information is a communication task.
According to another aspect of the embodiments of the present application, there is also provided a communication system, which includes a first device and a second device connected based on a TYPE-C interface, and the apparatus as described in any of the above embodiments, that is, the communication system may include a first device and a second device connected based on a TYPE-C interface, and the apparatus as shown in fig. 15.
In some embodiments, the first device is a drone and the second device is a chip to be authenticated.
According to another aspect of the embodiments of the present application, there is also provided a movable platform including a main body and the apparatus according to any one of the embodiments above, such as the apparatus shown in fig. 15.
In some embodiments, the body includes a first device and a second device connected based on a TYPE-C interface.
According to another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium including instructions, which when executed on a computer, cause the computer to perform the method according to any one of the above embodiments, such that the computer performs the method according to any one of fig. 4 to 14.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted over a computer-readable storage medium. The computer instructions may be transmitted from one website site, computer, server, or data center to another website site, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solution of the present application can be achieved, and the present invention is not limited thereto.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (34)

1. A signal transmission method based on a TYPE-C interface is characterized by comprising the following steps:
identifying an insertion direction of a TYPE-C interface connected to the first device by the second device;
determining sideband channels for signal transmission of the first equipment and the second equipment in the TYPE-C interface according to the identification result;
transmitting the signal based on the sideband channel.
2. The method of claim 1, wherein the signal comprises a clock signal and a data signal, wherein the sideband channels comprise sideband channels corresponding to the clock signal and the data signal, and wherein transmitting the signal based on the sideband channels comprises:
and transmitting the clock signal and the data signal through the respective corresponding sideband channels.
3. The method of claim 2, wherein the TYPE-C interface comprises sideband usage 1 and sideband usage 2 of a female socket connected with the first device, and sideband usage 1 and sideband usage 2 of a male socket connected with the second device, and if the identification result is a male direction, the sideband channel comprises: the side band channel is formed by using a side band 1 of the female seat and connecting the side band 1 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band 2 of the male head.
4. The method of claim 3, wherein if the second device receives the clock signal through the sideband use 1 of the male header, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting a sideband use 1 of the female socket and a sideband use 1 of the male connector as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the female socket and the sideband use 2 of the male connector as a sideband channel for transmitting the data signal.
5. The method of claim 3, wherein if the second device receives the clock signal through the sideband use 2 of the male, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting the sideband use 2 of the female socket and the sideband use 2 of the male connector as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the female socket and the sideband use 1 of the male connector as a sideband channel for transmitting the data signal.
6. The method of claim 2, wherein the TYPE-C interface comprises sideband usage 1 and sideband usage 2 of a female socket connected with the first device, and sideband usage 1 and sideband usage 2 of a male socket connected with the second device, and if the identification result is an anti-plug direction, the sideband channel comprises: the side band channel is formed by using a side band 1 of the female seat and connecting the side band with a side band 2 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band with a side band 1 of the male head.
7. The method of claim 6, wherein if the second device receives the clock signal through the sideband use 1 of the male header, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting a sideband use 2 of the female socket with a sideband use 1 of the male socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the female socket and the sideband use 2 of the male socket as a sideband channel for transmitting the data signal.
8. The method of claim 6, wherein if the second device receives the clock signal through the sideband use 2 of the male header, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting a sideband use 1 of the female socket with a sideband use 2 of the male socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the female socket and the sideband use 1 of the male connector as a sideband channel for transmitting the data signal.
9. The method of claim 2, wherein the TYPE-C interface comprises a C to C data line, one end of the C to C data line is connected with the first device through a first female socket, the other end of the C to C data line is connected with the second device through a second female socket, and if the identification result is a forward-insertion direction, the sideband channel comprises: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band channel formed by connecting a side band of the first female seat with a side band of the second female seat by using 2.
10. The method of claim 9, wherein if the second device receives the clock signal through the sideband of the second mother socket using 1, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting the sideband use 1 of the first female socket and the sideband use 1 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the first female socket and the sideband use 2 of the second female socket as a sideband channel for transmitting the data signal.
11. The method of claim 9, wherein if the second device receives the clock signal through the sideband use 2 of the second mother socket, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting the sideband use 2 of the first female socket and the sideband use 2 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the first female socket and the sideband use 1 of the second female socket as a sideband channel for transmitting the data signal.
12. The method of claim 2, wherein the TYPE-C interface comprises a C to C data line, one end of the C to C data line is connected with the first device through a first female socket, the other end of the C to C data line is connected with the second device through a second female socket, and if the identification result is a reverse plug direction, the sideband channel comprises: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band of the first female seat by using 2, and the side band channel is formed by connecting a side band of the first female seat with a side band of the first female seat by using 1.
13. The method of claim 12, wherein if the second device receives the clock signal through the sideband of the second mother socket using 1, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting a sideband use 2 of the first female socket and a sideband use 1 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 1 of the first female socket and the sideband use 2 of the second female socket as a sideband channel for transmitting the data signal.
14. The method of claim 12, wherein if the second device receives the clock signal through the sideband use 2 of the second mother socket, the determining the sideband channel of the first device and the second device signal transmission in the TYPE-C interface according to the identification result comprises:
determining a sideband channel formed by connecting a sideband use 1 of the first female socket and a sideband use 2 of the second female socket as a sideband channel for transmitting the clock signal;
and determining a sideband channel formed by connecting the sideband use 2 of the first female socket and the sideband use 1 of the second female socket as a sideband channel for transmitting the data signal.
15. The method of any of claims 1-14, wherein prior to said identifying an insertion direction of a TYPE-C interface connected to the first device by a second device, the method further comprises:
in response to the second device being connected to the first device based on the TYPE-C interface, determining task information that the second device has access to the first device;
the identifying an insertion direction of a TYPE-C interface connected to the first device by a second device comprises: and if the task information is a two-wire communication task, identifying the insertion direction of the TYPE-C interface.
16. A signal transmission apparatus based on TYPE-C interface, comprising: a processor and a transceiver, wherein,
the processor is configured to identify an insertion direction of a TYPE-C interface connected to the first device by a second device;
the processor is further configured to determine, in the TYPE-C interface, sideband channels for signal transmission of the first device and the second device according to the identification result;
the transceiver is configured to transmit the signal based on the sideband channel.
17. The apparatus of claim 16, wherein the signal comprises a clock signal and a data signal, wherein the sideband channels comprise respective sideband channels corresponding to the clock signal and the data signal, and wherein the transceiver is configured to transmit the clock signal and the data signal over the respective sideband channels.
18. The apparatus of claim 17, wherein the TYPE-C interface comprises sideband usage 1 and sideband usage 2 of a female socket connected with the first device, and sideband usage 1 and sideband usage 2 of a male socket connected with the second device, and if the identification result is a male direction, the sideband channel comprises: the side band channel is formed by using a side band 1 of the female seat and connecting the side band 1 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band 2 of the male head.
19. The apparatus of claim 18, wherein if the second device receives the clock signal via sideband use 1 of the male, the processor is configured to determine a sideband channel formed by sideband use 1 of the female and a sideband use 1 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 2 of the female and a sideband use 2 of the male as a sideband channel for transmitting the data signal.
20. The apparatus of claim 18, wherein if the second device receives the clock signal via sideband use 2 of the male, the processor is configured to determine a sideband channel formed by sideband use 2 of the female and sideband use 2 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 1 of the female and sideband use 1 of the male as a sideband channel for transmitting the data signal.
21. The apparatus of claim 17, wherein the TYPE-C interface comprises sideband usage 1 and sideband usage 2 of a female socket connected with the first device, and sideband usage 1 and sideband usage 2 of a male socket connected with the second device, and if the identification result is an anti-plug direction, the sideband channel comprises: the side band channel is formed by using a side band 1 of the female seat and connecting the side band with a side band 2 of the male head, and the side band channel is formed by using a side band 2 of the female seat and connecting the side band with a side band 1 of the male head.
22. The apparatus of claim 21, wherein if the second device receives the clock signal via sideband use 1 of the male, the processor is configured to determine a sideband channel formed by sideband use 2 of the female socket and sideband use 1 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 1 of the female socket and sideband use 2 of the male as a sideband channel for transmitting the data signal.
23. The apparatus of claim 21, wherein if the second device receives the clock signal via sideband use 2 of the male, the processor is configured to determine a sideband channel formed by sideband use 1 of the female and sideband use 2 of the male as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 2 of the female and sideband use 1 of the male as a sideband channel for transmitting the data signal.
24. The apparatus of claim 17, wherein the TYPE-C interface comprises a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a forward insertion direction, the sideband channel comprises: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band channel formed by connecting a side band of the first female seat with a side band of the second female seat by using 2.
25. The apparatus of claim 24, wherein if the second device receives the clock signal via sideband use 1 of the second female socket, the processor is configured to determine a sideband channel formed by sideband use 1 of the first female socket and a sideband channel connected with sideband use 1 of the second female socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 2 of the first female socket and a sideband channel connected with sideband use 2 of the second female socket as a sideband channel for transmitting the data signal.
26. The apparatus of claim 24, wherein if the second device receives the clock signal via sideband use 2 of the second female socket, the processor is configured to determine a sideband channel formed by sideband use 2 of the first female socket and a sideband channel connected with sideband use 2 of the second female socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 1 of the first female socket and a sideband channel connected with sideband use 1 of the second female socket as a sideband channel for transmitting the data signal.
27. The apparatus of claim 17, wherein the TYPE-C interface comprises a C to C data line, one end of the C to C data line is connected to the first device through a first female socket, and the other end of the C to C data line is connected to the second device through a second female socket, and if the identification result is a reverse plug direction, the sideband channel comprises: the side band channel is formed by connecting a side band of the first female seat with a side band of the second female seat by using 1 and a side band of the first female seat by using 2, and the side band channel is formed by connecting a side band of the first female seat with a side band of the first female seat by using 1.
28. The apparatus of claim 27, wherein if the second device receives the clock signal via sideband use 1 of the second female socket, the processor is configured to determine a sideband channel formed by sideband use 2 of the first female socket and a sideband channel connected with sideband use 1 of the second female socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 1 of the first female socket and a sideband channel connected with sideband use 2 of the second female socket as a sideband channel for transmitting the data signal.
29. The apparatus of claim 27, wherein if the second device receives the clock signal via sideband use 2 of the second female socket, the processor is configured to determine a sideband channel formed by sideband use 1 of the first female socket and a sideband channel connected with sideband use 2 of the second female socket as a sideband channel for transmitting the clock signal, and determine a sideband channel formed by sideband use 2 of the first female socket and a sideband channel connected with sideband use 1 of the second female socket as a sideband channel for transmitting the data signal.
30. The apparatus of any one of claims 16-29, wherein the processor is configured to, in response to the second device being connected to the first device based on the TYPE-C interface, determine task information that the second device accesses to the first device, and if the task information is a communication task, identify an insertion direction of the TYPE-C interface.
31. A communication system comprising a first device and a second device connected based on a TYPE-C interface, and an apparatus according to any of claims 16 to 30.
32. A movable platform comprising a body and an apparatus as claimed in any one of claims 16 to 30.
33. The movable platform of claim 32, wherein the body comprises a first device and a second device based on a TYPE-C interface connection.
34. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 15.
CN202080032038.0A 2020-08-11 2020-08-11 Signal transmission method, device and system based on TYPE-C interface and storage medium Pending CN113795830A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/108447 WO2022032480A1 (en) 2020-08-11 2020-08-11 Signal transmission method, apparatus and system based on type-c interface, and storage medium

Publications (1)

Publication Number Publication Date
CN113795830A true CN113795830A (en) 2021-12-14

Family

ID=79181426

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080032038.0A Pending CN113795830A (en) 2020-08-11 2020-08-11 Signal transmission method, device and system based on TYPE-C interface and storage medium

Country Status (2)

Country Link
CN (1) CN113795830A (en)
WO (1) WO2022032480A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115994109A (en) * 2023-03-21 2023-04-21 合肥集创微电子科技有限公司 Data transmission method based on Type-C physical interface and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677611A (en) * 2015-12-31 2016-06-15 北京小鸟看看科技有限公司 Portable device and method for controlling HDMI signal outputting
CN107301148A (en) * 2017-06-27 2017-10-27 龙迅半导体(合肥)股份有限公司 USB Type C interface modular converter, system and connection method
CN107643994A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 Terminal, terminal peripheral hardware, signal sending and receiving method, data transmission system
CN109660894A (en) * 2017-10-12 2019-04-19 中兴通讯股份有限公司 The transmission method of terminal peripheral hardware and audio signal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10929520B2 (en) * 2017-05-31 2021-02-23 Dell Products L.P. Secure read-only connection to peripheral device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677611A (en) * 2015-12-31 2016-06-15 北京小鸟看看科技有限公司 Portable device and method for controlling HDMI signal outputting
CN107643994A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 Terminal, terminal peripheral hardware, signal sending and receiving method, data transmission system
CN107301148A (en) * 2017-06-27 2017-10-27 龙迅半导体(合肥)股份有限公司 USB Type C interface modular converter, system and connection method
CN109660894A (en) * 2017-10-12 2019-04-19 中兴通讯股份有限公司 The transmission method of terminal peripheral hardware and audio signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115994109A (en) * 2023-03-21 2023-04-21 合肥集创微电子科技有限公司 Data transmission method based on Type-C physical interface and electronic equipment
CN115994109B (en) * 2023-03-21 2023-07-21 合肥集创微电子科技有限公司 Data transmission method based on Type-C physical interface and electronic equipment

Also Published As

Publication number Publication date
WO2022032480A1 (en) 2022-02-17

Similar Documents

Publication Publication Date Title
CN109643265B (en) Universal Serial Bus (USB) C-port for automatically configuring computing devices
CN106253010B (en) Method and apparatus for providing an interface
EP3113298B1 (en) Connecting device and method for recognizing device
US9459670B2 (en) Adapter for use with a portable electronic device
CN109155494B (en) Dual-purpose connector for separable portions of a computing device
JP5917408B2 (en) Configurable connector for system level communication
US9710024B2 (en) Electronic device
US9059906B1 (en) Data communication interface
EP3683687B1 (en) Method of communication between multiple devices using usb type-c interface and electronic device implementing same
CN112639751A (en) Method of identifying external electronic device based on power information, and electronic device and storage medium for supporting the same
CN106294221B (en) Electronic device and method for controlling signal strength according to mode
CN106878613B (en) Data communication device and method and unmanned aerial vehicle
EP2860638A1 (en) Serial communication over communication control pin
US10496558B2 (en) Modular device, system, and method for reconfigurable data distribution
KR20200140097A (en) Apparatus and method for measuring location of multiple electronic devices based on time scheduling in ultra wide band
WO2015126383A1 (en) Adapter for transmitting signals
US11263160B2 (en) Apparatus and method for performing data transmission with docking device by using USB interface
WO2018045870A1 (en) Usb type-c connector with a secondary port
CN113795830A (en) Signal transmission method, device and system based on TYPE-C interface and storage medium
KR101319981B1 (en) Communication connector enabling to identify communication status independently and communication apparatus comprising the communication connector
CN107506322B (en) Type-C adapter for realizing detection of USB equipment and channel control method
US20220147130A1 (en) Method for selectively controlling voltage, and electronic device and external electronic device therefor
US8832339B1 (en) Full-duplex asynchronous communications using synchronous interfaces
US20180011704A1 (en) Development platform for multi-wireless transmission capabilities
CN209861062U (en) Unmanned aerial vehicle wiFi image transmission integrated circuit's test system

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