CN108737900A - A kind of output method of terminal signaling - Google Patents

A kind of output method of terminal signaling Download PDF

Info

Publication number
CN108737900A
CN108737900A CN201810375046.XA CN201810375046A CN108737900A CN 108737900 A CN108737900 A CN 108737900A CN 201810375046 A CN201810375046 A CN 201810375046A CN 108737900 A CN108737900 A CN 108737900A
Authority
CN
China
Prior art keywords
signal
interface
data
data selector
output
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.)
Withdrawn
Application number
CN201810375046.XA
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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201810375046.XA priority Critical patent/CN108737900A/en
Publication of CN108737900A publication Critical patent/CN108737900A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

An embodiment of the present invention provides a kind of output method of terminal signaling and devices, terminal inner is provided with processor and data selector, exterior of terminal is provided with signaling interface, the processor transmits the first data-signal to the data selector and the second data-signal, the data selector are connected with the signaling interface;The method includes:Input signal outside scanning;When scanning is to preset input signal, the first enabled control signal is sent to the data selector, to drive the data selector to export second data-signal by the signaling interface;When not scanning preset input signal, the second enabled control signal is sent to the data selector, to drive the data selector to export first data-signal by the signaling interface.By being multiplexed existing external interface, internal signal is directly acquired, any change occurs for the physical interface for not needing periphery, at low cost, and it is multi-purpose to realize a bite.

Description

Terminal signal output method
The present application is a divisional application of chinese patent application 201510116154.1 entitled "a method and apparatus for outputting terminal signals" filed on 3, 17/2015.
Technical Field
The present invention relates to the field of signal processing technologies, and in particular, to a method and an apparatus for outputting a terminal signal.
Background
With the rapid development of science and technology, in order to meet the further demands of users for quality of life, various terminals are rapidly growing and widely popularized.
At present, some signals in some terminals do not have special interfaces to the outside, and under some conditions, the signals can be used, a user can only disassemble the terminal, connect the internal interfaces and acquire the signals, the operation is very troublesome, the technical threshold is high, and otherwise, all parts of the terminal are easily damaged when the terminal is disassembled.
Taking a television and a set-top box as examples, a Universal Asynchronous Receiver Transmitter/Transmitter (UART) in most of the television and the set-top box is generally integrated on the connection of other communication interfaces, no external interface is provided, and when the television and the set-top box have a fault, the position of the fault needs to be located and the reason of the fault needs to be analyzed, and UART signals of the Universal Asynchronous Receiver Transmitter/Transmitter need to be used. At this time, the user can only disassemble the television, connect the internal UART interface of the universal asynchronous receiver/transmitter, and acquire the UART signal of the universal asynchronous receiver/transmitter, which is time-consuming and labor-consuming.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a method for outputting a terminal signal and a corresponding apparatus for outputting a terminal signal that overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a method for outputting a terminal signal, where a processor and a data selector are arranged inside a terminal, and a signal interface is arranged outside the terminal, the processor transmits a first data signal and a second data signal to the data selector, and the data selector is connected to the signal interface;
the method comprises the following steps:
scanning an external input signal;
when a preset input signal is scanned, sending a first enabling control signal to the data selector so as to drive the data selector to output the second data signal through the signal interface;
and when a preset input signal is not scanned, sending a second enabling control signal to the data selector so as to drive the data selector to output the first data signal through the signal interface.
Preferably, before the step of scanning an external input signal, the method further comprises:
a power-up signal is received.
Preferably, after the step of sending a first enable control signal to the data selector to drive the data selector to output the second data signal through the signal interface when a preset signal is scanned;
or,
after the step of sending a second enable control signal to the data selector to drive the data selector to output the first data signal through the signal interface when a preset signal is not scanned, the method further includes:
the scanning of the external input signal is stopped.
Preferably, after the step of stopping scanning the external input signal, the method further includes:
the operating system is started.
Preferably, the data selector has a first input port, a second input port, a third input port and an output port;
the first input port, the second input port and the third input port are connected with the processor, and the output port is connected with the signal interface;
wherein the first input port is configured to receive the first data signal;
the second input port is used for receiving the second data signal;
the third input port is configured to receive the first enable control signal or a second enable control signal;
the output port is configured to output the first data signal or the second data signal to the signal interface.
Preferably, the step of scanning an external input signal includes:
an external input signal is scanned for a preset time.
Preferably, the first data signal comprises a Universal Serial Bus (USB) signal, the second data signal comprises a Universal Asynchronous Receiver Transmitter (UART) signal, and the signal interface comprises a Universal Serial Bus (USB) interface.
The embodiment of the invention also discloses a terminal signal output device, wherein a processor and a data selector are arranged in the terminal, a signal interface is arranged outside the terminal, the processor transmits a first data signal and a second data signal to the data selector, and the data selector is connected with the signal interface;
the device comprises:
the signal scanning module is used for scanning external input signals;
the first enabling output module is used for sending a first enabling control signal to the data selector when a preset input signal is scanned so as to drive the data selector to output the second data signal through the signal interface;
and the second enabling output module is used for sending a second enabling control signal to the data selector when a preset input signal is not scanned so as to drive the data selector to output the first data signal through the signal interface.
Preferably, the apparatus further comprises:
and the power-on signal receiving module is used for receiving the power-on signal.
Preferably, the apparatus further comprises:
and the scanning stopping module is used for stopping scanning external input signals.
Preferably, the apparatus further comprises:
and the system starting module is used for starting the operating system.
Preferably, the apparatus further comprises:
the signal receiving module is used for receiving the signal transmitted by the data selector through a communication channel of the first data signal or the second data signal; the signal is an external signal input by the signal interface.
Preferably, the data selector has a first input port, a second input port, a third input port and an output port;
the first input port, the second input port and the third input port may be connected to the processor, and the output port is connected to the signal interface;
wherein the first input port is configured to receive the first data signal;
the second input port is used for receiving the second data signal;
the third input port is configured to receive the first enable control signal or a second enable control signal;
the output port is configured to output the first data signal or the second data signal to the signal interface.
Preferably, the signal scanning module includes:
and the time scanning submodule is used for scanning an external input signal within preset time.
In a specific implementation, the first data signal may include a Universal Serial Bus (USB) signal, the second data signal may include a Universal Asynchronous Receiver Transmitter (UART) signal, and the signal interface may include a Universal Serial Bus (USB) interface.
The embodiment of the invention has the following advantages:
according to the embodiment of the invention, the external input signal is scanned, the external signal interface is controlled to output the internal second data signal through the enable control signal, the user can directly acquire the internal signal by multiplexing the existing external interface without any change of the peripheral physical interface, the cost is low, one port is multipurpose, the operation is simple, the user does not need to disassemble the terminal, the technical threshold is reduced, and the practicability of the terminal is improved.
Drawings
Fig. 1 is a schematic structural diagram of a terminal of the present invention;
FIG. 2 is a schematic diagram of a data selector according to the present invention;
fig. 3 is a flowchart of the steps of an embodiment 1 of a method for outputting a terminal signal according to the present invention;
FIG. 4 is a diagram of an exemplary output of a termination signal of the present invention;
fig. 5 is a flowchart of the steps of an embodiment 2 of a method for outputting a terminal signal according to the present invention;
fig. 6 is a block diagram of an embodiment of a terminal signal output apparatus according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Most terminals are generally provided with interfaces at the outside to directly output signals to the outside, and the interfaces are not always occupied and are in an idle state at many times.
Based on this, one of the core concepts of the embodiments of the present invention is proposed, which multiplexes the existing external interface and outputs other signals inside the system, i.e. one port is multi-purpose, so that the signals inside the system can be directly read without disassembling the terminal.
Referring to fig. 1, a schematic diagram of a terminal according to the present invention is shown.
The terminal 100 may be a display terminal, i.e., a device that plays a video.
In one embodiment, the display terminal may receive a Television signal (e.g., an analog signal), and the display device may also be referred to as a Television (Television, TV, Video), and may particularly refer to a technology and a device for transmitting a moving image by using an electronic device, that is, a Television receiver.
The tv may include an LCD (Liquid Crystal Display) tv, an LED (light emitting Diode) tv, a plasma tv, and the like, which is not limited in the embodiments of the present invention.
Further, the television may include a smart television, which may refer to a fully-open platform, which is loaded with an operating system, such as an Android system, an IOS system, a Windows system, and the like, and may be used by a user to install and uninstall applications (i.e., third-party applications) provided by third-party service providers, such as application programs, games, and the like, and continuously expand functions of the television through the applications, and may be used to implement internet access through a network cable and a wireless network.
In another embodiment, the display terminal may not receive television signals (e.g., analog signals), but may be connected to an electronic device such as a computer or a mobile phone, and perform input of information such as video and games, or perform other interactive operations via the electronic device such as the computer or the mobile phone.
Of course, the terminal 100 may also be other electronic devices, such as a personal computer, a notebook computer, and the like, which is not limited in this embodiment of the invention.
The terminal 100 is provided with a processor 101 and a data selector 102 inside, and the terminal 100 is provided with a signal interface 103 outside.
In embodiments of the present invention, "internal" may refer to within the housing of terminal 100 and not directly facing the user, and "external" may refer to within the housing of potential terminal 100 or disposed outside of the housing of terminal 100 and directly facing the user.
The processor 101 is a core of the terminal, and is a hardware unit for controlling and assisting the operation of the system.
One application of the processor 101 may be an embedded Microcontroller (MCU), such as a single chip Microcomputer (MCU), which has various functions and peripherals such as ROM/EPROM, RAM, bus logic, timing/counter, I/O, serial port, pwm output, a/D, D/a, Flash RAM, EEPROM, and the like integrated inside the chip.
The data selector 102 may be connected to the processor 101, and the processor 101 may transmit various signals to the data selector 102 through a bus or the like.
In an embodiment of the present invention, the processor 101 may transmit an enable control signal, a first data signal and a second data signal to the data selector 102.
It should be noted that, the processor 101 may transmit multiple data signals to the data selector 102, for example, a Universal Serial Bus USB (Universal Serial Bus) Signal, a Universal asynchronous receiver transmitter UART Signal, an enable control Signal, a CVBS (Composite Video Broadcast Signal or Composite Video Blanking and Sync), a network interface Signal, an earphone Signal, a microphone Signal, etc., which are not limited in this respect.
The first data signal and the second data signal in the embodiment of the present invention may be any two signals in a plurality of signals transmitted from the processor 101 to the data selector 102.
Specifically, the data selector may have a first input port, a second input port, a third input port;
the first input port, the second input port and the third input port can be connected with the processor;
wherein the first input port may be for receiving the first data signal;
the second input port may be for receiving the second data signal;
the third input port may be for receiving the first enable control signal or the second enable control signal.
Generally, one of the paths (e.g. the first data signal) has an adaptive external input/output interface (e.g. the signal interface 103), that is, the first data signal is adaptive to the signal interface 103, and the path (e.g. the first data signal) may be directly input from the outside or directly output to the outside.
The other signal (such as the second data signal) does not have an adaptive external input/output interface, i.e., the signal (such as the second data signal) generally cannot be directly input from the outside or directly output to the outside.
Of course, the other signal (e.g., the second data signal) may also have an adaptive external input/output interface, and may be directly input from the outside or directly output to the outside, which is not limited in the embodiment of the present invention.
The term "adaptation" in the embodiments of the present invention may refer to a signal interface designed to be specially used for outputting a certain path of data signals, for example, a USB interface of a universal serial bus is adapted to USB signals of the universal serial bus.
In most terminals, a certain signal is directly transmitted to an adaptive output interface, for example, a Universal Serial Bus (USB) signal is directly transmitted to a USB interface and is output to the outside.
The embodiment of the invention improves the architecture of the terminal, the data selector 102 is connected with the signal interface 103, and the data selector 102 selects which signal is output to the output interface 103.
In particular, the data selector may have an output port, which may be connected to the signal interface, which may be used to output the first data signal or the second data signal to the signal interface.
For example, a universal serial bus USB interface is used to output a universal asynchronous receiver transmitter UART signal, an earphone interface is used to output a universal asynchronous receiver transmitter UART signal, a network cable interface is used to output a universal asynchronous receiver transmitter UART signal, and so on.
In order to make the embodiment of the present invention better understood by those skilled in the art, in the embodiment of the present invention, a USB signal of a universal serial bus is used as a first data signal, a UART signal of a universal asynchronous receiver transmitter is used as a second data signal, and a USB interface of a universal serial bus is used as an example of the signal interface 103.
Referring to fig. 2, a schematic diagram of a data selector of the present invention is shown.
As shown in fig. 2, a may represent the second data signal, B may represent the first data signal, EN may represent the enable control signal, and Y may represent the output signal, which is output to the output interface 103.
When EN is high level, Y is a, even if the enable control signal is the first enable control signal (e.g. high level), outputting a second data signal, e.g. UART signal;
when EA is low level, Y is B, even if the control signal is the second even if the control signal is able to be (such as low level), the first data signal, such as USB signal, is output.
Of course, when the signal transmitted to the data selector 102 has more than two paths, the enable control signal may use a control signal of a multi-bit data bit.
Referring to fig. 3, a flowchart illustrating steps of embodiment 1 of a method for outputting a terminal signal according to the present invention is shown, which may specifically include the following steps:
step 301, scanning an external input signal;
in the embodiment of the invention, a detection program can be added in the Bootloader to scan external input signals.
After the terminal is powered on or reset, the processor typically fetches instructions from an address that is pre-arranged by the processor manufacturer.
For example, a processor of a certain model normally fetches its first instruction from address 0x00000000 upon reset. Embedded systems built on the basis of a CPU usually have some type of solid-state memory device (e.g., ROM, EEPROM, or FLASH) mapped to this prearranged address.
Therefore, after the terminal is powered on or reset, the processor usually executes the system boot loader Bootloader first, so as to realize rapid discovery of the external input signal in the boot process.
Of course, a detection program may be added to other programs to scan an external input signal, which is not limited in the embodiment of the present invention.
In a preferred embodiment of the present invention, step 301 may comprise the following sub-steps:
and a sub-step S11 of scanning the external input signal for a preset time.
The embodiment of the invention can detect the external input signal within the time (such as 2-3 seconds) after the start-up, realize the conversion output of the signal and ensure that the normal operation system function is not influenced.
Step 302, when a preset input signal is scanned, sending an enable control signal to the data selector to drive the data selector to output the second data signal through the signal interface;
in the embodiment of the invention, a user can trigger the preset signal through specified operation to realize the conversion output of the signal.
In a specific implementation, as shown in fig. 4, the preset signal may include at least one of the following:
a level signal;
in this example, the user may press a key designated in the panel, and a GPIO (General Purpose Input/Output) interface connected to the key by the processor may have a change in the level signal, so that the change in the level signal may be detected, and thus, the press of the key designated in the panel may be detected.
An infrared signal;
in this example, the user can press the designated key in the remote controller, the remote controller sends out an infrared signal, and the infrared receiving head of the processor receives the infrared signal and converts the infrared signal into a code value, so that the code value can be detected, and further the designated key in the remote controller is detected to be pressed.
Of course, the preset signal is only an example, and when the embodiment of the present invention is implemented, other preset signals may be set according to practical situations, which is not limited in the embodiment of the present invention. In addition, besides the preset signals, those skilled in the art may also use other preset signals according to actual needs, and the embodiment of the present invention is not limited thereto.
The data selector can be connected with a processor, such as a GPIO interface of an internal singlechip, so that the working state of the data selector is controlled by the processor in a standby state or a starting state.
When the preset signal is detected, as shown in fig. 4, the system boot loader Bootloader may drive the processor to send an Enable control signal (Enable) to the data selector.
Wherein the enable control signal may be responsible for input and output of the control signal.
In a specific implementation, the data selector may select the corresponding second data signal according to the enable control signal, and the second data signal is output by the signal interface.
It should be noted that the signal interface generally supports the output of the second data signal, and the second data signal may not be subjected to data conversion.
Of course, when the signal interface does not support the output of the second data signal, the second data signal may perform corresponding data conversion to obtain the support of the signal interface. After the data conversion, the data is output through the signal interface, which is not limited in this embodiment of the present invention.
If the second data signal is a UART signal, as shown in fig. 4, two pins are involved in the process, one of which is an input pin (RXD) for inputting (RX) data from the data selector, and the other is an output pin (TXD) for outputting (TX) data from the processor to the data selector, and for outputting by the USB interface.
Step 303, when a preset input signal is not scanned, sending a second enable control signal to the data selector to drive the data selector to output the first data signal through the signal interface.
If the preset signal is not received, the signal interface is used as a normal first data signal.
It should be noted that the second enable control signal may be a low level signal.
As shown in fig. 4, if the first Data signal is a USB signal, since the USB is a differential bus and Data is determined by a difference between Positive and negative signals, two pins are involved in communication, one of the two pins is a pin for transmitting (input/output) a Positive Data signal (DP) and the other pin is a pin for transmitting (input/output) a negative Data signal (Data Minus, DM).
The embodiment of the invention scans the external input signal, controls the external signal interface to output the internal second data signal through the enable control signal, and directly obtains the internal signal by multiplexing the existing external interface without any change of the peripheral physical interface, thereby having low cost, realizing one-port multi-purpose, being simple to operate, reducing the technical threshold and improving the practicability of the terminal without disassembling the terminal by the user.
Referring to fig. 5, a flowchart illustrating steps of embodiment 2 of a method for outputting a terminal signal according to the present invention is shown, which may specifically include the following steps:
step 501, receiving a power-on signal;
in a specific implementation, a user may start the terminal (also referred to as "power on") by pressing a power key, etc., power up the terminal, and send a power-up signal to the processor.
When the processor receives the power-on signal, the power-on operation is carried out, the single chip microcomputer program in the processor is started, the fixed register value can be read, the value is the storage address of the program in the memory (such as a Flash memory), and the program at the fixed position in the memory is read into the memory so as to start the program before the operating system is started. In practical applications, a person skilled in the art may select a program to be started according to practical situations, for example, in an embedded system, a system boot loader Bootloader is a first section of code that is executed by the embedded system after power-up, and may be run before an operating system kernel is started.
In order to make those skilled in the art better understand the embodiment of the present invention, in the embodiment of the present invention, a system boot loader Bootloader is described as an example of a booted program.
The boot process of the system boot loader Bootloader can be roughly divided into a Single-Stage (Single-Stage) and a Multi-Stage (Multi-Stage).
Generally, the multi-stage system boot loader Bootloader has more complex functions and better portability. The boot loader Bootloader booted from the solid-state storage device mostly adopts two stages, that is, the boot process can be divided into stage1 and stage 2:
stage1 completes initializing the hardware, prepares memory space for stage2, copies stage2 into memory, sets the stack, and then jumps to stage 2. (ii) a
Step 502, scanning an external input signal;
in a specific implementation, when a power-on signal is received, the system boot loader Bootloader is started, and the system boot loader Bootloader scans an external input signal.
Step 503, when a preset signal is scanned, sending a first enable control signal to the data selector to drive the data selector to output the second data signal through the signal interface;
step 504, when a preset signal is not scanned, sending a second enable control signal to the data selector to drive the data selector to output the first data signal through the signal interface.
Step 505, receiving the signal transmitted by the data selector through the communication channel of the first data signal or the second data signal;
wherein the signal is an external signal input by the signal interface.
In an embodiment of the invention, a user may input a signal to the processor through the signal interface to instruct the processor to perform processing.
Specifically, upon input of a signal, the data selector may select a communication channel on which the signal is currently being used, transmitting the signal to the processor.
If the first data signal is currently being used, a signal may be input to the processor by the communication channel of the first data signal.
For example, if the first data signal is a USB signal, and if the first input signal is not scanned and the scanning of the external first input signal is stopped, the data selector uses the USB signal, the signal can be input to the processor through the USB signal.
If the second data signal is currently being used, a signal may be transmitted to the processor by the communication channel of the second data signal.
For example, assuming that the second data signal is a UART signal, and the data selector uses the UART signal when scanning to the specified first input signal, an input (RX) signal may be input to the processor through the input pin (RXD).
Step 506, stopping scanning the external input signal.
Before the operating system is loaded, a process for scanning the external first input signal in a (kill) program (such as a system boot loader Bootloader) can be closed, so that the process for scanning the external input is stopped after the operating system is started.
At this time, the designated first input signal is invalid, the second data signal is not output at the signal interface adapted to the first data signal, and the first data signal is output by the adapted signal interface, so that the normal output of the first data signal is ensured.
It should be noted that, no matter the first data signal or the second data signal is currently output, the embodiment of the present invention may stop scanning the external first input signal for a preset time (e.g., 2 to 3 seconds), so as to ensure that the normal operation of the operating system is ensured while the output of the second data signal is completed.
In step 507, the operating system is started.
If the program is a system boot loader Bootloader, the hardware device can be initialized, and a memory control mapping diagram can be established, so that the software and the hardware of the operating system are brought to a proper state, a correct environment is prepared for finally calling an operating system kernel, the system image of the operating system or the solidified embedded application program is loaded into a memory, then the control where the operating system is located is skipped, and the operating system is started to run.
The embodiment of the invention stops detecting the external input signal and starts the operating system, thereby ensuring the normal work of the operating system and the normal output of the first data signal.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a block diagram of an embodiment of a terminal signal output apparatus according to the present invention is shown, where a processor and a data selector are disposed inside a terminal, and a signal interface is disposed outside the terminal, the processor transmits a first data signal and a second data signal to the data selector, and the data selector is connected to the signal interface;
the apparatus may include the following modules:
a signal scanning module 601, configured to scan an external first input signal;
a first enable output module 602, configured to send a first enable control signal to the data selector when a preset signal is scanned, so as to drive the data selector to output the second data signal through the signal interface;
a second enable output module 603, configured to send a second enable control signal to the data selector when a preset signal is not scanned, so as to drive the data selector to output the first data signal through the signal interface.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
and the power-on signal receiving module is used for receiving the power-on signal.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
and the scanning stopping module is used for stopping scanning external input signals.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
and the system starting module is used for starting the operating system.
In a preferred embodiment of the present invention, the apparatus may further include the following modules:
the signal receiving module is used for receiving the signal transmitted by the data selector through a communication channel of the first data signal or the second data signal; the signal is an external signal input by the signal interface.
In a specific implementation, the preset input signal may include at least one of:
level signals, infrared signals.
In practical applications, the data selector may have a first input port, a second input port, a third input port, and an output port;
the first input port, the second input port and the third input port may be connected to the processor, and the output port may be connected to the signal interface;
wherein the first input port may be for receiving the first data signal;
the second input port may be for receiving the second data signal;
the third input port may be for receiving the first enable control signal or a second enable control signal;
the output port may be to output the first data signal or the second data signal to the signal interface.
In a preferred embodiment of the present invention, the signal scanning module 601 may include the following sub-modules:
and the time scanning submodule is used for scanning an external input signal within preset time.
In a specific implementation, the first data signal may include a Universal Serial Bus (USB) signal, the second data signal may include a Universal Asynchronous Receiver Transmitter (UART) signal, and the signal interface may include a Universal Serial Bus (USB) interface.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, 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 terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a terminal signal output method and a terminal signal output device, and a specific example is applied in this document to explain the principle and the implementation of the present invention, and the above description of the embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (5)

1. A terminal signal output method is characterized in that a processor and a data selector are arranged in a terminal, and a USB interface, an earphone interface or a network cable interface is arranged outside the terminal; the processor is an internal single chip microcomputer, and the data selector is accessed to a GPIO (general purpose input/output) interface of the internal single chip microcomputer;
the method comprises the following steps:
powering on and starting up;
scanning an infrared signal input by an external remote controller or a level signal input by a key;
when a preset infrared signal or a preset level signal is scanned, a system starts a loader Bootloader to drive the processor to send a first enabling control signal to the data selector in a bus mode so as to drive the data selector to output a Universal Asynchronous Receiver Transmitter (UART) signal through the USB interface, the earphone interface or the network cable interface;
when a preset infrared signal or a preset level signal is not scanned, a system starts a loader Bootloader to drive the processor to send a second enabling control signal to the data selector in a bus mode so as to drive the data selector to output a first data signal through the USB interface, the earphone interface or the network cable interface;
the operating system is started.
2. The method according to claim 1, wherein after the step of sending a first enable control signal to the data selector to drive the data selector to output the UART signal from the USB interface or the earphone interface or the network cable interface when a preset infrared signal or a preset level signal is scanned;
or,
after the step of sending a second enable control signal to the data selector to drive the data selector to output the first data signal through the USB interface, the headset interface, or the network cable interface when a preset infrared signal or a preset level signal is not scanned, the method further includes:
and stopping scanning the infrared signal input by the external remote controller or the level signal input by the key.
3. The method of claim 1,
the data selector has a first input port, a second input port, a third input port, and an output port;
the first input port, the second input port and the third input port are connected with the processor, and the output port is connected with the USB interface, the earphone interface or the network cable interface;
wherein the first input port is configured to receive the first data signal;
the second input port is used for receiving the UART signal of the universal asynchronous receiving and transmitting transmitter;
the third input port is configured to receive the first enable control signal or a second enable control signal;
the output port is used for outputting the first data signal or the UART signal to the USB interface or the earphone interface or the network cable interface.
4. The method of claim 1, 2 or 3, wherein the step of scanning an infrared signal inputted from an external remote controller or a level signal inputted from a key comprises:
and scanning an infrared signal input by an external remote controller or a level signal input by a key within a preset time.
5. A method according to claim 1, 2 or 3, wherein the first data signal comprises a universal serial bus, USB, signal.
CN201810375046.XA 2015-03-17 2015-03-17 A kind of output method of terminal signaling Withdrawn CN108737900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810375046.XA CN108737900A (en) 2015-03-17 2015-03-17 A kind of output method of terminal signaling

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810375046.XA CN108737900A (en) 2015-03-17 2015-03-17 A kind of output method of terminal signaling
CN201510116154.1A CN104731734B (en) 2015-03-17 2015-03-17 A kind of output method and device of terminal signaling

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510116154.1A Division CN104731734B (en) 2015-03-17 2015-03-17 A kind of output method and device of terminal signaling

Publications (1)

Publication Number Publication Date
CN108737900A true CN108737900A (en) 2018-11-02

Family

ID=53455639

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201810375046.XA Withdrawn CN108737900A (en) 2015-03-17 2015-03-17 A kind of output method of terminal signaling
CN201510116154.1A Active CN104731734B (en) 2015-03-17 2015-03-17 A kind of output method and device of terminal signaling

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201510116154.1A Active CN104731734B (en) 2015-03-17 2015-03-17 A kind of output method and device of terminal signaling

Country Status (1)

Country Link
CN (2) CN108737900A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436768A (en) * 2017-08-01 2017-12-05 合肥联宝信息技术有限公司 A kind of bus control method and electronic equipment
CN110139096A (en) * 2019-04-17 2019-08-16 深圳康佳电子科技有限公司 TV automated testing method, storage medium, TV and external detection equipment
CN111400144A (en) * 2020-03-18 2020-07-10 上海闻泰信息技术有限公司 Fault information acquisition method and device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107563171B (en) * 2017-09-11 2020-08-28 英业达科技有限公司 Storage device with biological characteristic identification module
CN112212476B (en) * 2020-09-18 2021-12-14 海信(广东)空调有限公司 Remote controller and control method thereof

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408869A (en) * 2006-01-05 2009-04-15 株式会社Telechips Audio system, and usb/uart common communication system for the same
US20100161842A1 (en) * 2008-12-16 2010-06-24 Lenovo (Beijing) Limited Mobile terminal and switching method for controlling data transmission interface thereof
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN101937414A (en) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN102469190A (en) * 2010-11-19 2012-05-23 比亚迪股份有限公司 Complete machine debugging method and device based on mobile communication terminal
CN103078224A (en) * 2013-01-07 2013-05-01 华为终端有限公司 Connecting line, control method, control circuit and electronic equipment
CN103365753A (en) * 2012-04-02 2013-10-23 仁宝电脑工业股份有限公司 Debugging device and method for performing debugging process to target system
CN103888873A (en) * 2014-03-04 2014-06-25 苏州佳世达电通有限公司 Electronic device and UART output system and method
CN104021060A (en) * 2013-02-28 2014-09-03 鸿富锦精密工业(深圳)有限公司 BMC serial port debugging system and method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452433B (en) * 2007-11-30 2011-06-22 中兴通讯股份有限公司 Diplex interface recognition device and method
US8064613B1 (en) * 2008-03-03 2011-11-22 Maxim Integrated Products, Inc. Electret microphone detection using a current source
US7802044B2 (en) * 2008-12-24 2010-09-21 Mediatek Inc. Pin sharing device and method thereof for a universal asynchronous receiver/transmitter module and a universal serial bus module
CN102572352B (en) * 2011-12-26 2014-12-10 中兴通讯股份有限公司 HDMI multiplexing method, HDMI, and equipped provided with HDMI
US9183168B2 (en) * 2013-02-22 2015-11-10 Dell Products, Lp Dual mode USB and serial console port

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408869A (en) * 2006-01-05 2009-04-15 株式会社Telechips Audio system, and usb/uart common communication system for the same
US20100161842A1 (en) * 2008-12-16 2010-06-24 Lenovo (Beijing) Limited Mobile terminal and switching method for controlling data transmission interface thereof
CN101937414A (en) * 2010-08-26 2011-01-05 惠州Tcl移动通信有限公司 Method and device of sharing minitype USB interface for UART (Universal Asynchronous Receive/Transmitter) and USB (Universal Serial Bus)
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface
CN102469190A (en) * 2010-11-19 2012-05-23 比亚迪股份有限公司 Complete machine debugging method and device based on mobile communication terminal
CN103365753A (en) * 2012-04-02 2013-10-23 仁宝电脑工业股份有限公司 Debugging device and method for performing debugging process to target system
CN103078224A (en) * 2013-01-07 2013-05-01 华为终端有限公司 Connecting line, control method, control circuit and electronic equipment
CN104021060A (en) * 2013-02-28 2014-09-03 鸿富锦精密工业(深圳)有限公司 BMC serial port debugging system and method
CN103888873A (en) * 2014-03-04 2014-06-25 苏州佳世达电通有限公司 Electronic device and UART output system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107436768A (en) * 2017-08-01 2017-12-05 合肥联宝信息技术有限公司 A kind of bus control method and electronic equipment
CN110139096A (en) * 2019-04-17 2019-08-16 深圳康佳电子科技有限公司 TV automated testing method, storage medium, TV and external detection equipment
CN111400144A (en) * 2020-03-18 2020-07-10 上海闻泰信息技术有限公司 Fault information acquisition method and device

Also Published As

Publication number Publication date
CN104731734B (en) 2018-08-03
CN104731734A (en) 2015-06-24

Similar Documents

Publication Publication Date Title
CN104731734B (en) A kind of output method and device of terminal signaling
AU2019239357B2 (en) Data transmission device, and data transmission method
US8165633B2 (en) Passive interface and software configuration for portable devices
US20130132614A1 (en) Re-enumeration of usb 3.0 compatible devices
US8886996B2 (en) Debugging device and method for performing a debugging process to a target system
US20160011999A1 (en) Apparatus for inter-connection and multi-screen interactive communication, system and method employing the same
CN104572564B (en) It is a kind of to realize android movement equipment and the method for USB OTG host communications
US11144422B2 (en) Apparatus and method for controlling external device
KR20130097381A (en) Apparatus and method for identifying operating system of host device in portable terminal
US7937598B2 (en) Method for operating TV tuner card
US9602756B2 (en) Display apparatus and control method thereof
US20150249802A1 (en) Terminal and method for controlling background projection
CN107317687B (en) Remote control method, equipment and system
US20080104284A1 (en) Device switching methods and computer systems
CN102833513B (en) High definition player
CN104333734A (en) Video image processing equipment of full color display screen without PC and method thereof
US20160291657A1 (en) Computer and method for preventing error shutdown
US9965421B2 (en) Electronic device coupling system and method
CN110232934B (en) Display device and control method thereof
CN209170528U (en) A kind of signal processing apparatus
US20080134272A1 (en) Service providing system and application executing method employing the same
KR101262539B1 (en) Method for controlling usb terminal and apparatus for performing the same
CN101751294A (en) BIOS instruction control method
EP3413205A1 (en) Re-enumeration of usb 3.0 compatible devices
KR101485155B1 (en) Mobile terminal for connection with docking device, and Method for outputting web page thereof

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20181102

WW01 Invention patent application withdrawn after publication