CN106681950B - Signal transmission processing method and device - Google Patents

Signal transmission processing method and device Download PDF

Info

Publication number
CN106681950B
CN106681950B CN201710019828.5A CN201710019828A CN106681950B CN 106681950 B CN106681950 B CN 106681950B CN 201710019828 A CN201710019828 A CN 201710019828A CN 106681950 B CN106681950 B CN 106681950B
Authority
CN
China
Prior art keywords
signal
power button
control
interface
type
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.)
Active
Application number
CN201710019828.5A
Other languages
Chinese (zh)
Other versions
CN106681950A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710019828.5A priority Critical patent/CN106681950B/en
Publication of CN106681950A publication Critical patent/CN106681950A/en
Application granted granted Critical
Publication of CN106681950B publication Critical patent/CN106681950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The application provides a signal transmission processing method and a signal transmission processing device, wherein the method can be applied to a control device based on a preset transmission interface, and comprises the steps of obtaining an original control signal of the control device; performing preset signal conversion processing on the original control signal to obtain a control signal meeting the data requirement of the preset transmission interface; and transmitting the control signal to a control object by using the preset transmission interface. When being applied to the docking station based on the type-C interface, the physical power button signal generated by the power button of the docking station can be converted into the control signal meeting the data requirement of the type-C interface through the control signal, so that the power button signal of the docking station based on the type-C interface can be effectively transmitted, and therefore, the problem that the power button signal cannot be effectively transmitted through the docking station based on the type-C interface is solved, and the state of the computer equipment can be effectively controlled through the power button of the docking station.

Description

Signal transmission processing method and device
Technical Field
The invention belongs to the technical field of signal transmission and control, and particularly relates to a signal transmission processing method and device.
Background
The Type-C is a connection interface of a USB (Universal Serial Bus) interface, can be inserted without dividing into a front side and a back side, has a size of about 8.3mm × 2.5mm, and supports functions of charging, data transmission, display output and the like of a USB standard as other interfaces, and theoretically, the transmission speed of the USB 3.1 Type-C can reach 10 Gbps.
At present, newly developed docking stations based on a type-C interface generally require that a power button of the docking station can be used to control the states of computer devices such as a notebook computer, for example, the functions of turning on and off, going in and out of S3 (hibernation), etc., but since the type-C interface cannot transmit physical power button signals, such as power button signals for turning on, turning off, or hibernation, etc., the docking station based on the type-C interface cannot effectively transmit the power button signals, and further cannot realize the control of turning on, turning off, or hibernation of the computer devices such as the notebook computer, etc., based on the type-C interface.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and an apparatus for signal transmission processing, which are used to solve the problem that a docking station based on a type-C interface cannot effectively transmit a power button signal, so that a power button of the docking station can effectively control the state of a computer device such as a notebook computer.
Therefore, the invention discloses the following technical scheme:
a signal transmission processing method is applied to a control device based on a preset transmission interface, and the method comprises the following steps:
obtaining an original control signal of the control device;
performing preset signal conversion processing on the original control signal to obtain a control signal meeting the data requirement of the preset transmission interface;
and transmitting the control signal to a control object by using the preset transmission interface.
In the above method, preferably, the obtaining of the original control signal of the control device includes:
detecting and acquiring a first power button signal of the control device in the form of an analog signal; the first power button signal is any one of a power-on signal, a power-off signal or a dormancy signal in an analog signal form.
In the above method, preferably, the performing of the preset signal conversion processing on the original control signal includes:
performing analog-to-digital conversion on the first power button signal to obtain a second power button signal in a digital signal form;
and carrying out format conversion on the second power button signal to obtain a third power button signal which meets the data format requirement of the preset transmission interface.
In the method, preferably, the predetermined transmission interface is a type-C interface, and the format conversion of the second power button signal includes:
converting the second power button signal into a third power button signal in the form of developer customized information (VDM); the first pin of the type-C interface supports transmission of Universal Serial Bus (USB) signals conforming to the standard in the industry, the second pin of the type-C interface supports transmission of VDM signals, and the VDM signals correspond to a predefined data format frame which can be supported by the second pin of the type-C interface.
In the above method, preferably, the transmitting the control signal to the control object by using the predetermined transmission interface includes:
and transmitting the control signal to a controller built in the control object by using the preset transmission interface, so that the controller controls the control object based on the control signal.
The above method, preferably, further comprises:
judging whether a feedback signal of the control object is received within a preset time;
if not, the process of transmitting the control signal to the control object by using the preset transmission interface is executed circularly, and the process is finished when the preset condition is met.
The method preferably, the ending when the predetermined condition is met includes:
and ending when a feedback signal of the control object is received, or when the execution times of the loop execution reaches a preset number, or the time is out.
A signal transmission processing device is applied to a control device based on a preset transmission interface, and comprises:
the acquisition module is used for acquiring an original control signal of the control device;
the first processing module is used for carrying out preset signal conversion processing on the original control signal to obtain a control signal which meets the data requirement of the preset transmission interface;
and the transmission module is used for transmitting the control signal to a control object by using the preset transmission interface.
Preferably, in the transmission processing apparatus, the obtaining module is specifically configured to:
detecting and acquiring a first power button signal of the control device in the form of an analog signal; the first power button signal is any one of a power-on signal, a power-off signal or a dormancy signal in an analog signal form.
Preferably, in the transmission processing apparatus, the first processing module is specifically configured to:
performing analog-to-digital conversion on the first power button signal to obtain a second power button signal in a digital signal form; and carrying out format conversion on the second power button signal to obtain a third power button signal which meets the data format requirement of the preset transmission interface.
In the foregoing transmission processing apparatus, preferably, the predetermined transmission interface is a type-C interface, and the format conversion of the second power button signal by the first processing module specifically includes: converting the second power button signal into a third power button signal in the form of developer customized information (VDM); the first pin of the type-C interface supports transmission of Universal Serial Bus (USB) signals conforming to the standard in the industry, the second pin of the type-C interface supports transmission of VDM signals, and the VDM signals correspond to a predefined data format frame which can be supported by the second pin of the type-C interface.
Preferably, in the above transmission processing apparatus, the transmission module is specifically configured to: and transmitting the control signal to a controller built in the control object by using the preset transmission interface, so that the controller controls the control object based on the control signal.
The above transmission processing apparatus preferably further includes:
the second processing module is used for judging whether a feedback signal of the control object is received within a preset time length; and if the judgment result is negative, circularly executing the process of transmitting the control signal to the control object by using the preset transmission interface, and finishing when the preset condition is met.
Preferably, in the transmission processing apparatus, the ending of the second processing module when the predetermined condition is met specifically includes: and ending when a feedback signal of the control object is received, or when the execution times of the loop execution reaches a preset number, or the time is out.
According to the scheme, the application provides a signal transmission processing method and a signal transmission processing device, wherein the method can be applied to a control device based on a preset transmission interface, and comprises the steps of obtaining an original control signal of the control device; performing preset signal conversion processing on the original control signal to obtain a control signal meeting the data requirement of the preset transmission interface; and transmitting the control signal to a control object by using the preset transmission interface. When the scheme of the application is applied to the docking station based on the type-C interface, the physical power button signals (such as on and off signals or dormant signals) generated by the power button of the docking station can be converted into the control signals meeting the data requirements of the type-C interface to realize the effective transmission of the power button signals of the docking station based on the type-C interface, so that the problem that the docking station based on the type-C interface can not effectively transmit the power button signals is solved, and the power button of the docking station can effectively control the state of computer equipment such as a notebook computer.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a first embodiment of a signal transmission processing method provided in the present application;
fig. 2 is a flowchart of a second embodiment of a signal transmission processing method provided in the present application;
fig. 3 is a flowchart of a third embodiment of a signal transmission processing method provided in the present application;
fig. 4 is a schematic structural diagram of a fourth embodiment of a signal transmission processing apparatus provided in the present application;
fig. 5 is a schematic structural diagram of a sixth embodiment of a signal transmission processing apparatus provided in the present application.
Detailed Description
For the sake of reference and clarity, the technical terms, abbreviations or abbreviations used hereinafter are to be interpreted in summary as follows:
docking station: the Docking Station is a base for extending the functions of a notebook computer, and can be connected with various external devices such as a driver, a large-screen display, a keyboard, a printer, a scanner and the like through an interface and a slot. The design can make up the defect that a light and thin notebook computer carries fewer accessories, and the design enables a user to enjoy the same convenience and comfort as a desktop computer in an office and can also play the portability of the notebook computer in mobile office.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, fig. 1 is a flowchart of a first embodiment of a signal transmission processing method provided in the present application, where the method is applicable to a control device based on a predetermined transmission interface, for example, the method is particularly applicable to a docking station based on a type-C interface, so as to solve a problem that a docking station in the prior art cannot implement effective transmission of a docking station power button signal through the type-C interface, and further cannot perform state control such as turning on, turning off, or sleeping on a computer device such as a notebook computer through the type-C interface, as shown in fig. 1, the method may include the following steps:
s101: an original control signal of the control device is obtained.
For example, the original control signal of the control device may specifically be a power button signal of the control device, and taking the docking station based on the type-C interface as an example, the control signal may specifically be a power-on signal, a power-off signal, a hibernation signal, or the like, which is triggered by a user operating a power button of the docking station.
In practical applications, the original control signal of the control device may be detected and obtained by using a corresponding detecting device, for example, in a docking station based on a Type-C interface, a Power-on/off signal or a sleep signal triggered by a user at a Power button of the docking station may be detected and obtained by using a Type-C dock PD IC (Power Delivery integrated circuit of the docking station), where the Type-C dock PD IC is mainly responsible for signal communication between the Type-C interface and the docking station.
S102: and carrying out preset signal conversion processing on the original control signal to obtain a control signal meeting the data requirement of the preset transmission interface.
After obtaining the original control signal of the control device, based on the data specification supported by the predetermined transmission interface of the control device, such as the supported signal form, data format, and the like, the original control signal may be subjected to corresponding signal conversion processing, so that the original control signal is converted into the control signal meeting the data requirement of the predetermined transmission interface, and further, the transmission of the control signal can be supported at the predetermined transmission interface.
In the docking station based on the type-C interface, a power button signal of the docking station needs to be converted into a control signal which can be supported by the type-C interface.
S103: and transmitting the control signal to a control object by using the preset transmission interface.
Finally, the control signal according with the data requirement (predetermined transmission interface) of the control device can be transmitted to the control object by using the predetermined transmission interface of the control device, so that the control device can control the control object based on the predetermined transmission interface. For the docking station based on the type-C interface, the type-C interface can perform corresponding signal conversion processing on the power button signal of the docking station, so that the type-C interface based on the docking station can perform effective transmission of the power button signal (converted on/off or sleep signal) to the control object such as the notebook computer, and the like, and further the docking station can perform state control such as on/off or sleep on the computer equipment such as the notebook computer and the like at the power button thereof based on the type-C interface.
According to the above scheme, the present application provides a signal transmission processing method, which is applicable to a control device based on a predetermined transmission interface, and the method includes obtaining an original control signal of the control device; performing preset signal conversion processing on the original control signal to obtain a control signal meeting the data requirement of the preset transmission interface; and transmitting the control signal to a control object by using the preset transmission interface. When the scheme of the application is applied to the docking station based on the type-C interface, the physical power button signals (such as on and off signals or dormant signals) generated by the power button of the docking station can be converted into the control signals according with the data requirements of the type-C interface to realize the effective transmission of the power button signals of the docking station based on the type-C interface, so that the problem that the docking station based on the type-C interface can not effectively transmit the power button signals is solved, and the power button of the docking station can effectively control the state of a computer.
Example two
In this embodiment, a second possible implementation manner of the signal transmission processing method is provided, and referring to a flowchart of a signal transmission processing method shown in fig. 2, in this embodiment, the method may specifically be implemented through the following processes:
s201: detecting and acquiring a first power button signal of the control device in the form of an analog signal; the first power button signal is any one of a starting signal, a shutdown signal or a dormancy signal in an analog signal form;
s202: performing analog-to-digital conversion on the first power button signal to obtain a second power button signal in a digital signal form;
s203: and carrying out format conversion on the second power button signal to obtain a third power button signal which meets the data format requirement of the preset transmission interface.
S204: and transmitting the control signal (i.e., the third power button signal) to a controller built in the control object using the predetermined transmission interface, so that the controller controls the control object based on the control signal.
In this embodiment, the original control signal obtained by detection may be, but is not limited to, a power button signal of the control device, for example, a power button signal such as a power on/off signal or a sleep signal of the docking station detected by a Type-C dock PD IC of the docking station, where the detected signal is specifically an analog signal.
However, the predetermined transmission interface of the control device, such as the type-C interface of the docking station, can only support data transmission in a digital signal form and with a certain data format, and based on this, this embodiment first performs analog-to-digital conversion on the original control signal of the control device, such as detecting and acquiring the first power button signal of the control device, to obtain the second power button signal in a corresponding digital signal form, and then continues to perform corresponding format conversion on the second power button signal in a digital signal form, so as to convert the second power button signal into the data format that can be supported by the predetermined transmission interface of the control device, and obtain the third power button signal that meets the data format requirement of the predetermined transmission interface.
On this basis, the third power button signal can be transmitted to the controller of the corresponding control object through the predetermined transmission interface, so that the controller controls the control object based on the control signal, and the control of the corresponding control object, such as on/off or dormancy, is realized.
Next, the present embodiment specifically uses the docking station based on the type-C interface as an example to exemplarily describe the signal conversion processing and transmission process.
The Type-C interface of the docking station is a standard port of a new generation USB, which can transmit USB signals conforming to the industry standard, and besides, the current Type-C interface can also transmit VDM (developer definition Message) signals from the Type-C dock PD IC of the docking station, specifically, some pins (first pins) provided by the Type-C interface are responsible for transmitting USB signals conforming to the industry standard, and some other pins (second pins) provided by the Type-C interface are responsible for transmitting VDM signals. The Type-C dock PD IC is mainly responsible for signal communication between the Type-C and the docking station, and a VDM signal format for being opened to a technician is predefined, and generally, the VDM signal format only defines a data frame with a coarser granularity, and some positions are reserved in the frame for the technician to customize the required data requirements in the actual application.
Based on this, this embodiment specifically performs function improvement on the existing Type-C dock PD IC, so that it can detect the power button signal of the docking station, and on this basis, sequentially performs analog-to-digital conversion and data format conversion on the detected power button signal such as power on/off or sleep, and converts it into a VDM signal, so that the signal can be effectively transmitted on the Type-C interface of the docking station. The data format of the VDM signal can be specifically predefined by those skilled in the art based on the coarse-grained VDM data framework provided by the Type-C dock PD IC.
And then, power button signals such as a power on/off signal or a sleep signal in a VDM signal form can be transmitted to the notebook computer through the Type-C interface of the docking station, so that the power button of the docking station can perform required state control on control objects such as the notebook computer.
The Type-C interface of the docking station may specifically transmit a power button signal in the form of a VDM signal to a system PD IC of a control object such as a notebook computer, and the system PD IC transmits the power button signal to a system EC (embedded controller) of the notebook computer through an I2C (Inter-Integrated Circuit) bus after receiving the power button signal, and finally, the system EC performs state control such as matched power on, power off, or hibernation on an operating system of the notebook computer based on the power button signal.
The system PD IC and the system EC are both built in a control object such as a notebook computer.
In summary, the solution of this embodiment solves the problem that the docking station based on the type-C interface cannot effectively transmit the power button signal, so that the power button of the docking station can effectively control the state of the computer device such as the notebook computer, such as being turned on, turned off, or put to sleep.
EXAMPLE III
In this embodiment, the method of each of the above embodiments is supplemented, and with reference to a flowchart of a signal transmission processing method shown in fig. 3, in this embodiment, the method may further include the following steps:
s104: judging whether a feedback signal of the control object is received within a preset time;
s105: if not, the process of transmitting the control signal to the control object by using the preset transmission interface is executed circularly, and the process is finished when the preset condition is met.
The present embodiment specifically designs/defines the control object as follows: when the control object successfully receives the control signal from the control device, the control object feeds back an acknowledgement signal to the control device, so that the control device can know whether the control object successfully receives the control signal according to the feedback condition of the acknowledgement signal, and further know whether the transmission of the control signal can realize effective state control on the control object.
On the basis of designing/limiting the control object, after the control device sends a control signal to the control object through a preset transmission interface of the control device, judging whether a feedback signal of the control object is received within a preset time; if a feedback signal from the control object is received, the control signal sent by the control device is successfully received by the control object, so that the control object can be controlled in a required state, and the control process of the control device can be directly ended under the condition.
If the feedback signal from the control object is not received within the predetermined time length, it indicates that the control signal may be lost in the transmission process, which results in that the control object does not successfully receive the signal, and in order to make the control object still perform effective state control under the condition of signal loss and the like as much as possible, for such a case, the process of transmitting (can be cyclically transmitted based on the predetermined time length period) the control signal to the control object by using the predetermined transmission interface of the control device is cyclically executed, so as to ensure that the control object can receive the control signal sent by the control device to the maximum extent until the predetermined condition is met.
The predetermined condition may specifically be that a feedback signal of the control object is received, or the number of execution times of the loop execution reaches a predetermined number of times, or a timeout occurs.
In the docking station application example based on the Type-C interface, when the feedback signal from the system EC of the notebook computer is not received within the predetermined time, the process of sending the control signal to the system EC of the notebook computer through the Type-C interface can be automatically and circularly executed in the Type-C dock PD IC of the docking station without the user physically triggering by operating the power button of the docking station again or multiple times until the confirmation signal fed back by the system EC of the notebook computer is received, or the number of times of circulating execution reaches the predetermined number of times (such as 3 times), or the process is ended when the timeout is over.
In the embodiment, the process of transmitting the control signal to the control object is automatically and circularly executed when the control object does not successfully receive the control signal of the control device, so that the effective state control of the control object can be ensured to a greater extent, and the success probability of the state control of the control object is further improved.
Example four
Referring to fig. 4, fig. 4 is a schematic structural diagram of a fourth embodiment of a signal transmission processing apparatus provided in the present application, which is applicable to a control apparatus based on a predetermined transmission interface, for example, the apparatus is specifically applicable to a docking station based on a type-C interface, so as to solve the problem that the docking station in the prior art cannot implement effective transmission of a docking station power button signal through the type-C interface thereof, and further cannot perform state control such as on, off, or hibernation on a computer device such as a notebook computer through the type-C interface, as shown in fig. 4, the apparatus may include an obtaining module 100, a first processing module 200, and a transmission module 300.
An obtaining module 100, configured to obtain an original control signal of the control device.
For example, the original control signal of the control device may specifically be a power button signal of the control device, and taking the docking station based on the type-C interface as an example, the control signal may specifically be a power-on signal, a power-off signal, a hibernation signal, or the like, which is triggered by a user operating a power button of the docking station.
In practical applications, the original control signal of the control device can be detected and obtained by using a corresponding detection device, for example, in a docking station based on a Type-C interface, a power-on/off signal or a sleep signal triggered by a power button of the docking station by a user can be detected and obtained by using a Type-C dock PD IC, wherein the Type-C dock PD IC is mainly responsible for signal communication between the Type-C interface and the docking station.
The first processing module 200 is configured to perform preset signal conversion processing on the original control signal to obtain a control signal meeting the data requirement of the predetermined transmission interface.
After obtaining the original control signal of the control device, based on the data specification supported by the predetermined transmission interface of the control device, such as the supported signal form, data format, and the like, the original control signal may be subjected to corresponding signal conversion processing, so that the original control signal is converted into the control signal meeting the data requirement of the predetermined transmission interface, and further, the transmission of the control signal can be supported at the predetermined transmission interface.
In the docking station based on the type-C interface, a power button signal of the docking station needs to be converted into a control signal which can be supported by the type-C interface.
A transmission module 300, configured to transmit the control signal to a control object by using the predetermined transmission interface.
Finally, the control signal according with the data requirement (predetermined transmission interface) of the control device can be transmitted to the control object by using the predetermined transmission interface of the control device, so that the control device can control the control object based on the predetermined transmission interface. For the docking station based on the type-C interface, the type-C interface can perform corresponding signal conversion processing on the power button signal of the docking station, so that the type-C interface based on the docking station can perform effective transmission of the power button signal (converted on/off or sleep signal) to the control object such as the notebook computer, and the like, and further the docking station can perform state control such as on/off or sleep on the computer equipment such as the notebook computer and the like at the power button thereof based on the type-C interface.
According to the scheme, the signal transmission processing device provided by the application can convert physical power button signals (such as on, off signals or sleep signals) generated by a power button of the docking station into control signals meeting the data requirements of the type-C interface when the device is applied to the docking station based on the type-C interface, so that the power button signals of the docking station can be effectively transmitted based on the type-C interface.
EXAMPLE five
This fifth embodiment provides a possible implementation manner of the apparatus for processing signal transmission.
In this embodiment, the fetching module 100 is specifically configured to detect and obtain a first power button signal in the form of an analog signal of the control device; the first power button signal is any one of a power-on signal, a power-off signal or a dormancy signal in an analog signal form.
The first processing module 200 is specifically configured to perform analog-to-digital conversion on the first power button signal to obtain a second power button signal in a digital signal form; and carrying out format conversion on the second power button signal to obtain a third power button signal which meets the data format requirement of the preset transmission interface.
The transmission module 300 is specifically configured to transmit the control signal (i.e., the third power button signal) to a controller built in the control object by using the predetermined transmission interface, so that the controller controls the control object based on the control signal.
In this embodiment, the original control signal obtained by detection may be, but is not limited to, a power button signal of the control device, for example, a power button signal such as an on/off signal or a sleep signal of the docking station obtained by detection of a Type-C dock PD IC of the docking station, where the signal obtained by detection is specifically an analog signal.
However, the predetermined transmission interface of the control device, such as the type-C interface of the docking station, can only support data transmission in a digital signal form and with a certain data format, and based on this, this embodiment first performs analog-to-digital conversion on the original control signal of the control device, such as detecting and acquiring the first power button signal of the control device, to obtain the second power button signal in a corresponding digital signal form, and then continues to perform corresponding format conversion on the second power button signal in a digital signal form, so as to convert the second power button signal into the data format that can be supported by the predetermined transmission interface of the control device, and obtain the third power button signal that meets the data format requirement of the predetermined transmission interface.
On this basis, the third power button signal can be transmitted to the controller of the corresponding control object through the predetermined transmission interface, so that the controller controls the control object based on the control signal, and the control of the corresponding control object, such as on/off or dormancy, is realized.
Next, the present embodiment specifically uses the docking station based on the type-C interface as an example to exemplarily describe the signal conversion processing and transmission process.
The Type-C interface of the docking station is a standard port of a new generation of USB, which can transmit USB signals conforming to the industry standard, and besides, the current Type-C interface can also transmit VDM signals from the Type-C dock PD IC of the docking station, specifically, some pins (first pins) provided by the Type-C interface are responsible for transmitting USB signals conforming to the industry standard, and some other pins (second pins) provided by the Type-C interface are responsible for transmitting VDM signals. The Type-C dock PDIC is mainly responsible for signal communication between the Type-C and the docking station, and a VDM signal format for being opened to a technician is predefined, and generally, the VDM signal format only defines a data frame with a coarser granularity, and some positions are reserved in the frame for the technician to customize the required data requirements in the actual application.
Based on this, this embodiment specifically performs function improvement on the existing Type-C dock PD IC, so that it can detect the power button signal of the docking station, and on this basis, sequentially performs analog-to-digital conversion and data format conversion on the detected power button signal such as power on/off or sleep, and converts it into a VDM signal, so that the signal can be effectively transmitted on the Type-C interface of the docking station. The data format of the VDM signal can be specifically predefined by those skilled in the art based on the coarse-grained VDM data framework provided by the Type-C dock PD IC.
And then, power button signals such as a power on/off signal or a sleep signal in a VDM signal form can be transmitted to the notebook computer and the like through the Type-C interface of the docking station, so that the power button of the docking station can perform required state control on a control object such as the notebook computer and the like.
The Type-C interface of the docking station can specifically transmit a power button signal in a VDM signal form to a system PD IC of a control object such as a notebook computer, the system PD IC receives the power button signal and transmits the power button signal to a system EC of the notebook computer through an I2C bus, and finally, the system EC performs state control such as matched on, off or hibernation on an operating system of the notebook computer based on the power button signal.
The system PD IC and the system EC are both built in a control object such as a notebook computer.
In summary, the solution of this embodiment solves the problem that the docking station based on the type-C interface cannot effectively transmit the power button signal, so that the power button of the docking station can effectively control the state of the computer device such as the notebook computer, such as being turned on, turned off, or put to sleep.
EXAMPLE six
In this embodiment, continuing to add to the apparatus in the above embodiments, referring to a schematic structural diagram of a signal transmission processing apparatus shown in fig. 5, in this embodiment, the apparatus may further include:
the second processing module 400 is configured to determine whether a feedback signal of the control object is received within a predetermined time period; and if the judgment result is negative, circularly executing the process of transmitting the control signal to the control object by using the preset transmission interface, and finishing when the preset condition is met.
The present embodiment specifically designs/defines the control object as follows: when the control object successfully receives the control signal from the control device, the control object feeds back an acknowledgement signal to the control device, so that the control device can know whether the control object successfully receives the control signal according to the feedback condition of the acknowledgement signal, and further know whether the transmission of the control signal can realize effective state control on the control object.
On the basis of designing/limiting the control object, after the control device sends a control signal to the control object through a preset transmission interface of the control device, judging whether a feedback signal of the control object is received within a preset time; if a feedback signal from the control object is received, the control signal sent by the control device is successfully received by the control object, so that the control object can be controlled in a required state, and the control process of the control device can be directly ended under the condition.
If the feedback signal from the control object is not received within the predetermined time length, it indicates that the control signal may be lost in the transmission process, which results in that the control object does not successfully receive the signal, and in order to make the control object still perform effective state control under the condition of signal loss and the like as much as possible, for such a case, the process of transmitting (can be cyclically transmitted based on the predetermined time length period) the control signal to the control object by using the predetermined transmission interface of the control device is cyclically executed, so as to ensure that the control object can receive the control signal sent by the control device to the maximum extent until the predetermined condition is met.
The predetermined condition may specifically be that a feedback signal of the control object is received, or the number of execution times of the loop execution reaches a predetermined number of times, or a timeout occurs.
In the docking station application example based on the Type-C interface, when the feedback signal from the system EC of the notebook computer is not received within the predetermined time period, the process of sending the control signal to the system EC of the notebook computer through the Type-C interface can be automatically and circularly executed in the Type-C dock PD IC of the docking station without the user physically triggering by operating the power button of the docking station again or multiple times until the confirmation signal of the feedback of the system EC of the notebook computer is received, or the number of times of circulating execution reaches the predetermined number of times (such as 3 times), or the process is ended when the timeout is over.
In the embodiment, the process of transmitting the control signal to the control object is automatically and circularly executed when the control object does not successfully receive the control signal of the control device, so that the effective state control of the control object can be ensured to a greater extent, and the success probability of the state control of the control object is further improved.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
For convenience of description, the above system or apparatus is described as being divided into various modules or units by function, respectively. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
Finally, it is further noted that, herein, relational terms such as first, second, third, fourth, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (6)

1. A signal transmission processing method is applied to a control device based on a preset transmission interface, and the method comprises the following steps:
obtaining an original control signal of the control device;
performing preset signal conversion processing on the original control signal to obtain a control signal meeting the data requirement of the preset transmission interface;
transmitting the control signal to a control object by using the predetermined transmission interface;
the obtaining of the original control signal of the control device and the performing of the preset signal conversion processing on the original control signal comprise: detecting and acquiring a first power button signal of the control device in the form of an analog signal; performing analog-to-digital conversion on the first power button signal to obtain a second power button signal in a digital signal form; carrying out format conversion on the second power button signal to obtain a third power button signal which meets the data format requirement of the preset transmission interface;
the preset transmission interface is a type-C interface;
the format converting the second power button signal comprises: converting the second power button signal into a third power button signal in the form of developer customized information (VDM); the first pin of the type-C interface supports transmission of Universal Serial Bus (USB) signals conforming to the standard in the industry, the second pin of the type-C interface supports transmission of VDM signals, and the VDM signals correspond to a predefined data format frame which can be supported by the second pin of the type-C interface.
2. The method of claim 1, wherein the first power button signal is any one of a power-on signal, a power-off signal, or a sleep signal in the form of an analog signal.
3. The method of claim 1, wherein the transmitting the control signal to a control object using the predetermined transmission interface comprises:
and transmitting the control signal to a controller built in the control object by using the preset transmission interface, so that the controller controls the control object based on the control signal.
4. The method of any one of claims 1-3, further comprising:
judging whether a feedback signal of the control object is received within a preset time;
if not, the process of transmitting the control signal to the control object by using the preset transmission interface is executed circularly, and the process is finished when the preset condition is met.
5. The method of claim 4, wherein said ending when a predetermined condition is met comprises:
and ending when a feedback signal of the control object is received, or when the execution times of the loop execution reaches a preset number, or the time is out.
6. A signal transmission processing apparatus, applied to a control apparatus based on a predetermined transmission interface, the signal transmission processing apparatus comprising:
the acquisition module is used for acquiring an original control signal of the control device;
the first processing module is used for carrying out preset signal conversion processing on the original control signal to obtain a control signal which meets the data requirement of the preset transmission interface;
the transmission module is used for transmitting the control signal to a control object by using the preset transmission interface;
the acquisition module is specifically configured to: detecting and acquiring a first power button signal of the control device in the form of an analog signal; the first processing module is specifically configured to: performing analog-to-digital conversion on the first power button signal to obtain a second power button signal in a digital signal form; carrying out format conversion on the second power button signal to obtain a third power button signal which meets the data format requirement of the preset transmission interface;
the preset transmission interface is a type-C interface;
the first processing module performing format conversion on the second power button signal comprises: converting the second power button signal into a third power button signal in the form of developer customized information (VDM); the first pin of the type-C interface supports transmission of Universal Serial Bus (USB) signals conforming to the standard in the industry, the second pin of the type-C interface supports transmission of VDM signals, and the VDM signals correspond to a predefined data format frame which can be supported by the second pin of the type-C interface.
CN201710019828.5A 2017-01-11 2017-01-11 Signal transmission processing method and device Active CN106681950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710019828.5A CN106681950B (en) 2017-01-11 2017-01-11 Signal transmission processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710019828.5A CN106681950B (en) 2017-01-11 2017-01-11 Signal transmission processing method and device

Publications (2)

Publication Number Publication Date
CN106681950A CN106681950A (en) 2017-05-17
CN106681950B true CN106681950B (en) 2020-03-24

Family

ID=58850549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710019828.5A Active CN106681950B (en) 2017-01-11 2017-01-11 Signal transmission processing method and device

Country Status (1)

Country Link
CN (1) CN106681950B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107066065A (en) * 2017-03-03 2017-08-18 联想(北京)有限公司 A kind of control method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322975A (en) * 2000-05-04 2001-11-21 瓦苏技术有限公司 Mountable electronic controller
CN1869919A (en) * 2005-05-24 2006-11-29 乐金电子(昆山)电脑有限公司 Operating control device and method for express card in extension dock
CN101685323A (en) * 2008-09-22 2010-03-31 联想(北京)有限公司 Computer docking station and switching working method thereof
CN103312718A (en) * 2013-06-25 2013-09-18 龙迅半导体科技(合肥)有限公司 Device control method and device and multimedia equipment
CN103713913A (en) * 2012-09-28 2014-04-09 联想(北京)有限公司 Method and device for controlling working states of laptop
CN203759698U (en) * 2014-01-07 2014-08-06 上海斐讯数据通信技术有限公司 Universal serial bus (USB) interface compatibility circuit
CN105554611A (en) * 2014-12-29 2016-05-04 北京小鸟听听科技有限公司 Earphone and implementation method thereof
CN205692122U (en) * 2016-05-17 2016-11-16 深圳慧能泰半导体科技有限公司 A kind of USB Type C interface circuit and control device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059715B (en) * 2016-05-18 2019-02-22 珠海格力电器股份有限公司 Multi-variable air conditioning unit and its data transmission method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1322975A (en) * 2000-05-04 2001-11-21 瓦苏技术有限公司 Mountable electronic controller
CN1869919A (en) * 2005-05-24 2006-11-29 乐金电子(昆山)电脑有限公司 Operating control device and method for express card in extension dock
CN101685323A (en) * 2008-09-22 2010-03-31 联想(北京)有限公司 Computer docking station and switching working method thereof
CN103713913A (en) * 2012-09-28 2014-04-09 联想(北京)有限公司 Method and device for controlling working states of laptop
CN103312718A (en) * 2013-06-25 2013-09-18 龙迅半导体科技(合肥)有限公司 Device control method and device and multimedia equipment
CN203759698U (en) * 2014-01-07 2014-08-06 上海斐讯数据通信技术有限公司 Universal serial bus (USB) interface compatibility circuit
CN105554611A (en) * 2014-12-29 2016-05-04 北京小鸟听听科技有限公司 Earphone and implementation method thereof
CN205692122U (en) * 2016-05-17 2016-11-16 深圳慧能泰半导体科技有限公司 A kind of USB Type C interface circuit and control device thereof

Also Published As

Publication number Publication date
CN106681950A (en) 2017-05-17

Similar Documents

Publication Publication Date Title
CN105743158B (en) Apparatus and method for charging an electronic device having a battery
KR101843782B1 (en) Mobile devices
US20130234668A1 (en) Universal serial bus apparatus and power supply method thereof
US20150194834A1 (en) Charging method and charging apparatus for electronic device
US20110286504A1 (en) Wireless modem device, wireless modem system, wireless modem device sleep/wake-up method, and terminal
EP2938137A1 (en) Power management method and apparatus for network access module
US20180321728A1 (en) Remote wake-up of mobile devices
CN105183439A (en) Real-time Modification Of Input Method Based On Language Context
CN101573676B (en) Power control for serial bus peripheral device
CN109144582A (en) Wake-up circuit and electronic equipment
CN106681950B (en) Signal transmission processing method and device
JP7270719B2 (en) Terminal and Type C interface anti-corrosion method
US8897705B2 (en) Data transmitting system and data transmitting method
US9570922B2 (en) Charging method and electronic device
KR102520533B1 (en) Method, device, mobile terminal, network-side device and medium for switching resource pools
CN110168511B (en) Electronic equipment and method and device for reducing power consumption
JP6806072B2 (en) Communication equipment, information processing equipment, and communication methods
CN111542037B (en) Instruction transmission method, apparatus and storage medium
CN114297322A (en) Data processing method, device, terminal and storage medium
CN104932854B (en) A kind of information processing method and electronic equipment
CN101989194A (en) Secondary development method for wireless communication module
CN115022452B (en) Communication method, device, equipment and storage medium of audio equipment
CN105224059A (en) The method of remote access data and local side device
US11997460B2 (en) Electronic device for audio input and method for operating the same
CN215679338U (en) High-performance wireless portable printing device and 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
GR01 Patent grant
GR01 Patent grant