CN115718684A - OTG function detection method, system, device and equipment - Google Patents

OTG function detection method, system, device and equipment Download PDF

Info

Publication number
CN115718684A
CN115718684A CN202211475151.3A CN202211475151A CN115718684A CN 115718684 A CN115718684 A CN 115718684A CN 202211475151 A CN202211475151 A CN 202211475151A CN 115718684 A CN115718684 A CN 115718684A
Authority
CN
China
Prior art keywords
tested
power supply
equipment
detection signal
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211475151.3A
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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202211475151.3A priority Critical patent/CN115718684A/en
Publication of CN115718684A publication Critical patent/CN115718684A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2733Test interface between tester and unit under test

Landscapes

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

Abstract

The invention provides a method, a system, a device and equipment for detecting an OTG function, wherein the automatic detection of the OTG function can be executed by an upper computer, and the method comprises the following steps: the upper computer sends a first control instruction to the first equipment to be tested and the second equipment to be tested, the first control instruction is used for configuring the first equipment to be tested as power supply equipment and the second equipment to be tested as powered equipment, and the USB interface of the first equipment to be tested is connected with the USB interface of the second equipment to be tested through a USB OTG line. The upper computer receives a first detection signal from first equipment to be tested through a first transmission line and receives a second detection signal from second equipment to be tested through a second transmission line; and determining whether the OTG function of the first transmission direction of the USBOTG line is normal or not according to the first detection signal and the second detection signal. The method can solve the problems of low efficiency and high detection cost of the OTG function test scheme.

Description

OTG function detection method, system, device and equipment
Technical Field
The present invention relates to the field of communications, and in particular, to a method, a system, a device, and an apparatus for detecting an OTG function.
Background
At present, USB interfaces on mobile terminals such as mobile phones and smart watches are very popular. The development of USB technology has enabled Personal Computers (PCs) and other devices to connect various types of data transfer speed devices together in a simple manner at moderate manufacturing cost. Universal Serial Bus (USB) in-progress interface (OTG) technology is to implement data transfer between devices without a Host device (Host). Through OTG technique, can expand USB interface accessory for mobile terminal to mobile terminal's function is richened.
In order to determine the performance of a data transmission channel between hardware devices in the production process of a product, a performance test needs to be performed on the input and output functions of the OTG. In the testing process, one-way testing can be performed generally only by externally connecting and plugging the device, and in order to ensure the accuracy of the testing result of the hardware system, the external device is plugged and plugged manually for many times and the judgment of the transmission result is performed, so as to complete the evaluation of the product to be tested. The mode of testing the OTG function of the USB is not only low in efficiency, but also is inconvenient to plug and verify for many times due to the limitation of the service life of the USB interface, and the stability of the function of the product cannot be guaranteed. Therefore, the OTG function test scheme in the prior art has the problems of low efficiency, short service life and high detection cost.
Disclosure of Invention
The invention aims to provide a method, a system, a device and equipment for detecting an OTG function, which are used for solving the problems of low efficiency and high detection cost of an OTG function test scheme.
In a first aspect, the present invention provides a method for detecting OTG function, the method comprising;
sending a first control instruction to a first device to be tested and a second device to be tested, wherein the first control instruction is used for configuring the first device to be tested as a power supply device and the second device to be tested as a powered device, and a USB interface of the first device to be tested is connected with a USB interface of the second device to be tested through a USB OTG (Universal Serial bus on-Board Transmission) line;
receiving a first detection signal from the first equipment to be tested through a first transmission line, and receiving a second detection signal from the second equipment to be tested through a second transmission line;
and determining whether the OTG function of the first transmission direction of the USBOTG line is normal or not according to the first detection signal and the second detection signal.
The method has the advantages that the method can realize the one-way test of the OTG function and can detect the stability of the OTG function in a certain transmission direction.
In one possible design, the method further includes:
sending a second control instruction to the first device to be tested and the second device to be tested, wherein the second control instruction is used for configuring the first device to be tested as a power receiving device and the second device to be tested as a power supply device;
receiving a third detection signal from the first equipment to be tested through the first transmission line, and receiving a fourth detection signal from the second equipment to be tested through the second transmission line;
and determining whether the OTG function of the USBOTG line in the second transmission direction is normal or not according to the third detection signal and the fourth detection signal.
The first equipment to be tested is configured to be powered equipment and the second equipment to be tested is configured to be power supply equipment through a second control instruction, whether the OTG function of the USBOTG line in the second transmission direction is normal or not can be determined based on the third detection signal and the fourth detection signal, the method can achieve bidirectional testing of the OTG function, the bidirectional testing can automatically detect the change of a host machine converted into a slave machine, the cable connecting line is reduced, and the detection efficiency is improved.
In a possible design, before sending the first control instruction to the first device under test and the second device under test, the method further includes:
the USB interface of the first to-be-tested device is connected through a first USB data line; the USB interface is connected with the second device to be tested through a second USB data line;
sending a first control instruction to a first device to be tested and a second device to be tested, comprising:
sending a first control instruction to the first equipment to be tested through a first USB data line; and sending a first control instruction to the second device to be tested through a second USB data line.
The signaling transmission between the equipment to be tested and the upper computer can be realized through the first USB data line and the second USB data line, so that the upper computer can control the equipment to be tested.
In a possible design, before sending the first control instruction to the first device under test and the second device under test, the method further includes:
connecting the first equipment to be tested through a short-distance wireless network; and connecting the second device to be tested through a short-distance wireless network;
sending a first control instruction to a first device to be tested and a second device to be tested, comprising:
and sending a first control instruction to the first equipment to be tested and the second equipment to be tested through the short-distance wireless network.
The connection between the equipment to be tested and the upper computer can be established through the short-distance wireless network, so that signaling transmission is completed, and the upper computer can control the equipment to be tested conveniently.
In one possible embodiment, the first detection signal comprises a first supply voltage analog signal and a first supply current analog signal of the first device under test; the second detection signal comprises a second power supply voltage analog signal and a second power supply current analog signal of the second device to be detected;
determining whether the OTG function of the USBOTG line in the first transmission direction is normal or not according to the first detection signal and the second detection signal, wherein the determining step comprises the following steps:
converting the first supply voltage analog signal and the first supply current analog signal of the first to-be-tested device into a first supply voltage digital signal and a first supply current digital signal of the first to-be-tested device; converting a second power supply voltage analog signal and a second power supply current analog signal of the second device to be tested into a second power supply voltage digital signal and a second power supply current digital signal of the second device to be tested;
when the first power supply voltage digital signal and the first power supply current digital signal of the first equipment to be tested and the second power supply voltage digital signal and the second power supply current digital signal of the second equipment to be tested meet preset requirements, determining that the OTG function of the first transmission direction of the USBOTG line is normal, wherein the first transmission direction is that the first equipment to be tested supplies power to the second equipment to be tested.
By converting the supply voltage analog signal and the supply current analog signal, the voltage and current state of the USB interface of the device to be tested can be analyzed based on the converted supply voltage digital signal and the converted supply current digital signal, so that the transmission performance of the USBOTG line in the first transmission direction can be determined.
In one possible design, the third detection signal includes a third supply voltage analog signal and a third supply current analog signal of the first device under test; the fourth detection signal comprises a fourth power supply voltage analog signal and a fourth power supply current analog signal of the second device to be detected;
determining whether the OTG function of the USBOTG line in the second transmission direction is normal or not according to the third detection signal and the fourth detection signal, wherein the determining step comprises the following steps:
converting a third supply voltage analog signal and a third supply current analog signal of the first equipment to be tested into a third supply voltage digital signal and a third supply current digital signal of the first equipment to be tested; converting a fourth power supply voltage analog signal and a fourth power supply current analog signal of the second device to be tested into a fourth power supply voltage digital signal and a fourth power supply current digital signal of the second device to be tested;
and when the third power supply voltage digital signal and the third power supply current digital signal of the first equipment to be tested and the fourth power supply voltage digital signal and the fourth power supply current digital signal of the second equipment to be tested meet preset requirements, determining that the OTG function of the USBOTG line in the second transmission direction is normal, wherein the second transmission direction is that the second equipment to be tested supplies power to the first equipment to be tested.
By converting the supply voltage analog signal and the supply current analog signal, the voltage and current state of the USB interface of the device to be tested can be analyzed based on the converted supply voltage digital signal and supply current digital signal, so that the transmission performance of the USBOTG line in the second transmission direction can be determined.
In a second aspect, the present invention further provides an OTG function detecting system, which includes a first device to be detected, a second device to be detected, a usb OTG line, a first transmission line, a second transmission line, and an upper computer;
the upper computer is used for sending a first control instruction to a first device to be tested and a second device to be tested, the first control instruction is used for configuring the first device to be tested as a power supply device and the second device to be tested as a power receiving device, and a USB interface of the first device to be tested is connected with a USB interface of the second device to be tested through a USB OTG (Universal Serial bus on-Board test) line;
the first equipment to be tested is used for transmitting a first detection signal of the first equipment to be tested to the upper computer through a first transmission line;
the second device to be tested is used for transmitting a second detection signal of the second device to be tested to the upper computer through a second transmission line;
the upper computer is also used for receiving a first detection signal from the first equipment to be detected through a first transmission line and receiving a second detection signal from the second equipment to be detected through a second transmission line; and determining whether the OTG function of the first transmission direction of the USBOTG line is normal or not according to the first detection signal and the second detection signal.
The host computer in the system may perform any one of the possible design methods of the first aspect.
In a third aspect, the present invention also provides an OTG functionality detection device comprising a module/unit for performing the method of any one of the possible designs of the second aspect described above. These modules/units may be implemented by hardware, or by hardware executing corresponding software.
In a fourth aspect, the present invention provides an electronic device comprising a processor and a memory. Wherein the memory is used to store one or more computer programs; the one or more computer programs stored in the memory, when executed by the processor, enable the terminal device to implement the method of any of the possible designs of the second aspect described above.
In a fifth aspect, the present invention also provides a computer-readable storage medium comprising a computer program which, when run on an electronic device, causes the electronic device to perform any one of the possible design methods of any of the above aspects.
In a sixth aspect, the present invention further provides a method comprising a computer program product, which, when run on a terminal, causes the electronic device to perform any one of the possible designs of any one of the above aspects.
In a seventh aspect, the present invention further provides a chip or a chip module, which is coupled to a memory and configured to execute a computer program stored in the memory, so that the electronic device performs any one of the possible design methods of the foregoing aspects.
As for the advantageous effects of the above second to seventh aspects, reference may be made to the description of the above first aspect.
Drawings
FIG. 1 is a schematic diagram of an OTG application scenario;
fig. 2 is a schematic diagram of an OTG function detection system architecture provided in the present invention;
FIG. 3 is a schematic diagram of another OTG function detection system architecture provided in the present invention;
fig. 4 is a schematic structural diagram of a terminal device provided in the present invention;
FIG. 5 is a schematic flow chart of a method for detecting OTG function according to the present invention;
FIG. 6 is a schematic flow chart of another OTG function detection method provided by the present invention;
FIG. 7 is a schematic view of an OTG function detecting device provided by the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
Before describing the embodiments of the present invention in detail, some terms used in the embodiments of the present invention will be explained below to facilitate understanding by those skilled in the art.
1. OTG technology
The OTG technology is mainly applied to connection and data transmission between various mobile devices such as mobile phones.
The interface of the USB connector is a master-slave interface, and a Host device, i.e. Host, is required for data transmission, while the USB OTG technology realizes data transmission between devices without Host. When a terminal supporting the USB OTG function (i.e., the terminal Device described in the embodiment of the present invention) is used alone, the terminal Device is in a Device (Device) state, and when the OTG Device is accessed, a Device type Identifier (ID) signal in the USB standard signal is pulled low, so that the terminal Device is switched from the Device state to a Host state, and interaction between the two devices can be further achieved.
2. Universal Serial Bus (USB)
USB is an external bus standard used to standardize the connection and communication between computers and external devices. Is an interface technology applied in the field of PC. The USB interface mainly exists in the following three types: a Standard Downlink Port (SDP), a Dedicated Charging Port (DCP), and a Charging Downlink Port (CDP).
Five pins of the USB interface are VCC, UD-, UD +, ID and GND respectively, and can be classified into three types: power supply line, data line and OTG status line. The USB line signal compound switch is responsible for controlling the on-off or off of a power supply line and a data line in the USB interface, and the OTG state line is directly controlled by the main control chip so as to realize the effect of switching the OTG mode.
At present, by using the OTG technology, a mobile phone is directly connected to USB external devices such as a USB flash disk, an MP3, a keyboard, and a game pad to perform functions such as data line transmission, input operation, or charging without using a computer as a transfer station. As shown in fig. 1, an OTG line is directly connected to the mobile phone and the usb disk, and the mobile phone can read information in the usb disk and copy a transfer file, which is equivalent to that the usb disk can be used for capacity expansion of the mobile phone. Therefore, when the user travels outside, the user can only take one OTG line and one large-capacity U disk. The picture is taken, the picture is copied to the U disk at night, and the mobile phone has enough space to take a new picture the next day. In addition, under outdoor or the scene that is difficult to find fixed socket, utilize the OTG technique, can realize the purpose of mutual filling between two electronic equipment through connecting the go, OTG. Carry out mutual charging between the different electronic equipment through the OTG, connect two electronic equipment through the charging wire, manual operation selects an electronic equipment as power supply unit, and another electronic equipment is as the powered device. Therefore, it is necessary to detect the OTG function. Before USB interfaces in products such as mobile phones, tablet computers, digital cameras and printers are connected with external equipment, in order to ensure the accuracy of the USB transmission data direction of the products and ensure that the OTG of each USB product after testing is normal, the PCBA after mounting needs to be subjected to board level judgment. The USB device is divided into a master device and a slave device, and data transmission can be realized only when one master device is connected to one slave device, and the OTG device can serve as both the master device and the slave device, so that the accuracy of the USB data transmission function when one USB device serves as the master device or the slave device needs to be verified.
The current OTG test system is limited to test through an external switch device and a switching control device, and in addition, when the OTG function is verified, other host and slave devices need to be externally connected and replaced, a plurality of cables need to be manually plugged, and the requirement of rapid test cannot be met. After the components and parts paster is completed in the paster factory, the reliability of the paster needs to be quickly determined, the OTG function is critically important to detect, a large amount of time is spent in the manual testing process, and the accuracy of the OTG function in a hardware system is not favorably and quickly detected.
Therefore, the invention provides the OTG function detection method, the method can be used for mutually connecting the two devices to be detected through the USBOTG line without the help of switching equipment, a relay or a switch element, and the charging or power receiving master-slave relation between the two devices to be detected is controlled by the upper computer, so that the accuracy of the USB data transmission function when the devices to be detected are used as master devices or slave devices is verified. According to the method, the equipment is connected and disconnected without manual plugging or external switches, and the detection processing of the bidirectional transmission capability of the OTG function of the equipment to be detected can be completed in a full-automatic detection process.
The technical solutions in the embodiments of the present invention are described below with reference to the drawings in the embodiments of the present invention. In the description of the embodiments of the present invention, the terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present invention, "at least one", "one or more" means one or more than two (including two). The term "and/or" is used to describe an association relationship that associates objects, meaning that three relationships may exist; for example, a and/or B, may represent: a exists singly, A and B exist simultaneously, and B exists singly, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present invention. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise. The term "coupled" includes direct coupling and indirect coupling, unless otherwise noted. "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
As shown in fig. 2, an embodiment of the present invention provides a frame diagram of an OTG function detection system, where the system includes a first device under test 201, a second device under test 202, a USB OTG line 300, a first transmission line 401, a second transmission line 402, and an upper computer 500. The USB interface of the first device under test 201 is connected to the USB interface of the second device under test 202 via an USB OTG line. The first device under test 201 is connected to the upper computer 500 through a first transmission line 401, and the second device under test 202 is connected to the upper computer 500 through a second transmission line 402. One end of the first transmission line 401 may be a probe, and the other end may be a USB interface, and similarly, one end of the second transmission line 402 may be a probe, and the other end may be a USB interface.
The upper computer 500 may send a control instruction to the first device under test 201 and the second device under test 202 in a wired or short-distance wireless network manner, so as to control the states of the master device and the slave device. The upper computer 500 may further obtain detection signals from the first device under test 201 and the second device under test 202 through the first transmission line 401 and the second transmission line 402, so as to analyze whether the OTG functions of the first device under test 201 and the second device under test 202 are normal. The short-range wireless network may be a WiFi hotspot network, a WiFi P2P network, a bluetooth network, a sub-lattice (zigbee) network, or a Near Field Communication (NFC) network, among other short-range communication networks.
In some embodiments of the present invention, as shown in fig. 3, the upper computer 500 includes a PC502 and a controller 501, wherein the controller 501 includes an analog-to-digital converter. The USB OTG line 300 mainly includes an a terminal and a B terminal. Before performing reverse charging, a user may connect the end a of the USB OTG line 300 with the USB interface 2011 of the first device under test 201, and connect the end B of the USB OTG line 300 with the USB interface 2011 of the second device under test 202. The first device under test 201 may output electrical energy from the USB interface 2011 to the a end of the USB OTG line 300, and the electrical energy received by the a end of the USB OTG line 300 is transmitted to the B end of the USB OTG line 300 and is input to the second device under test 202 through the USB interface 2011. The second device under test 202 may further operate or charge with the power input by the USB interface 2022. The interface 5011 of the controller 501 is connected to the first device under test 201 through the first transmission line 401, and the interface 5012 of the controller 502 is connected to the second device under test 202 through the second transmission line 402. One end of the first transmission line 401 may be a probe, and the other end may be a USB interface.
It should be noted that the shape of the USB OTG line 300 in the embodiment of the present invention may be a linear shape, or may be a nonlinear shape such as a square shape and a circular shape, and the shape of the USB OTG line 300 in the embodiment of the present invention is not limited to many.
It should be noted that the interface type of the B end of the USB OTG line 300 is equivalent to the interface type of the USB interface. That is to say, the USB OTG line 300 does not change the interface type of the USB interface, and the first device under test 201 and the second device under test 202 can recognize the interface type of the USB interface through the USB OTG line 300.
The method for detecting the TOG function provided in the embodiment of the present invention may be applied to a terminal device with an OTG function as shown in fig. 4, and fig. 4 shows a hardware configuration block diagram of the terminal device 400.
In some embodiments, terminal apparatus 400 includes at least one of a tuner 410, a communicator 420, a collector 430, an external device interface 440, a controller 450, a display 460, an audio output interface 470, a memory, a power supply, and a user interface 480.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a Random Access Memory (RAM), a read-only memory (ROM), a first interface for input/output to an nth interface.
In some embodiments, the display 460 includes a display screen component for presenting a picture, and a driving component that drives the display of an image. The display 460 is used for receiving the image signal from the controller output, displaying video content, image content, components of the menu manipulation interface, the user manipulation UI interface, and the like.
In some embodiments, the display 460 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner/demodulator 410 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 420 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a communication protocol chip or a near field communication protocol chip, and an infrared receiver. In some embodiments, the communication protocol chip may be a wireless fidelity (WiFi) module, a bluetooth module, or a wired ethernet module. The terminal device 400 can establish transmission and reception of control signals and data signals with the control apparatus 400 or the server 400 through the communicator 420.
In some embodiments, the collector 430 is used to collect an external environment or signals interacting with the outside. For example, collector 430 includes a light receiver, a sensor for collecting the intensity of ambient light; alternatively, the collector 430 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the collector 430 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 440 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 450 and the modem 410 may be located in different separate devices, that is, the modem 410 may also be located in an external device of the main device where the controller 450 is located, such as an external set-top box.
In some embodiments, the controller 450 controls the operation of the display device and responds to user actions through various software control programs stored in memory. The controller 450 controls the overall operation of the terminal device 400. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 460, the controller 450 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. Operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a RAM, a ROM, first to nth interfaces for input/output, a communication Bus (Bus), and the like.
And the central processor is used for executing the operating system and the application program instructions stored in the memory and executing various application programs, data and contents according to various interaction instructions for receiving external input so as to finally display and play various audio and video contents. The central processor may include a plurality of processors. E.g., comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor to generate various graphics objects. In some embodiments of the present invention, the graphic object may include at least one of an icon, an operation menu, and a user input instruction display graphic. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal that can be directly displayed or played on the terminal device 400.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And an image synthesis module, such as an image synthesizer, configured to perform superposition and mixing processing on the Graphical User Interface (GUI) signal generated by the graphical generator according to the user input or the GUI signal and the video image after the scaling processing, so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, perform at least one of decompression and decoding, and denoising, digital-to-analog conversion, and amplification processing according to a standard codec protocol of the input signal, and obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a graphical user interface displayed on display 460, and the user input interface receives the user input commands through the graphical user interface. Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, the user interface is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A common presentation form of a user interface is a graphical user interface, which refers to a user interface displayed in a graphical manner and related to computer operations. It may be an interface element such as an icon, window, control, etc. displayed in the display screen of the electronic device. In some possible embodiments, the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, and a Widget visual interface element.
In some embodiments, user interface 480 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In a specific implementation, the terminal device 400 may be a mobile phone, a tablet computer, a handheld computer, a Personal Computer (PC), a cellular phone, a Personal Digital Assistant (PDA), a wearable device (e.g., a smart watch), a smart home device (e.g., a television), a vehicle-mounted computer, a game machine, and an Augmented Reality (AR) \ Virtual Reality (VR) device, and the like, and the specific device form of the terminal device 400 is not particularly limited in this embodiment.
Based on the system shown in fig. 2 and the terminal device shown in fig. 4, an embodiment of the present invention provides a flowchart of an OTG function detection method, and as shown in fig. 5, the flowchart of the method includes the following steps:
s501, the upper computer sends a first control instruction to the first equipment to be tested and the second equipment to be tested.
The first control instruction is used for configuring the first equipment to be tested as power supply equipment and the second equipment to be tested as powered equipment, wherein the USB interface of the first equipment to be tested is connected with the USB interface of the second equipment to be tested through a USB OTG (on the go) line. In this embodiment, the USB interface selects a corresponding (Micro, mini, type C, lightning) interface according to the interface model of the device to be tested.
In a possible implementation manner, the upper computer sends a first control instruction to the first to-be-tested device through a first USB data line; the upper computer sends a first control instruction to the second equipment to be tested through a second USB data line, wherein the upper computer is connected with a USB interface of the first equipment to be tested through a first USB data line; and the USB interface is connected with the second device to be tested through a second USB data line. In another possible implementation manner, the upper computer sends a first control instruction to the first to-be-tested device and the second to-be-tested device through the short-distance wireless network, wherein the upper computer is connected with the first to-be-tested device through the short-distance wireless network; and the upper computer is connected with a second device to be tested through a short-distance wireless network.
S502, the first to-be-tested device transmits a first detection signal of the first to-be-tested device to the upper computer through the first transmission line.
The first detection signal may be a first supply voltage analog signal and a first supply current analog signal of the USB interface of the first device under test, for example, a current value and a voltage value of a Vbus pin of a power bus in the USB interface of the first device under test.
And S503, the second device to be tested transmits a second detection signal of the second device to be tested to the upper computer through a second transmission line.
The second detection signal may be a second power supply voltage analog signal and a second power supply current analog signal of the USB interface of the second device under test, for example, a current value and a voltage value of a Vbus pin of a power bus in the USB interface of the second device under test.
S504, the upper computer receives a first detection signal from the first equipment to be tested through the first transmission line, and receives a second detection signal from the second equipment to be tested through the second transmission line.
And S505, the upper computer determines whether the OTG function of the USBOTG line in the first transmission direction is normal or not according to the first detection signal and the second detection signal.
In one implementation of this step, the upper computer may be composed of a controller and a PC, and an analog-to-digital converter in the controller is configured to convert a first supply voltage analog signal and a first supply current analog signal of a first device under test into a first supply voltage digital signal and a first supply current digital signal of the first device under test, and convert a second supply voltage analog signal and a second supply current analog signal of a second device under test into a second supply voltage digital signal and a second supply current digital signal of the second device under test. And then when the first power supply voltage digital signal and the first power supply current digital signal of the first equipment to be tested and the second power supply voltage digital signal and the second power supply current digital signal of the second equipment to be tested meet preset requirements, determining that the OTG function of the USB OTG line in the first transmission direction is normal, wherein the first transmission direction is used for supplying power to the second equipment to be tested for the first equipment to be tested. Conversely, if the voltage value and the current value are too small, it is considered that the Vbus pin does not constitute a current loop. Because two devices to be tested are currently in a connected state, it can be considered that the USB interface of the first device to be tested is faulty or the OTG function in the first transmission direction of the USB OTG line is abnormal. Therefore, the method can realize the one-way test of the OTG function and can detect the stability of the OTG function in a certain transmission direction.
Optionally, the OTG function detection method may also implement bidirectional detection, that is, the method may further include the following steps.
S506, the upper computer sends a second control instruction to the first equipment to be tested and the second equipment to be tested.
The second control instruction is used for configuring the first device to be tested as a powered device and the second device to be tested as a power supply device.
And S507, the first equipment to be tested transmits a third detection signal of the first equipment to be tested to the upper computer through the first transmission line.
And S508, the second device to be tested transmits the fourth detection signal of the second device to be tested to the upper computer through the second transmission line.
And S509, the upper computer receives the third detection signal from the first device to be tested through the first transmission line, and receives the fourth detection signal from the second device to be tested through the second transmission line.
And S510, the upper computer determines whether the OTG function of the USBOTG line in the second transmission direction is normal or not according to the third detection signal and the fourth detection signal.
In one implementation of this step, the upper computer may be composed of a controller and a PC, and an analog-to-digital converter in the controller is configured to convert the third supply voltage analog signal and the third supply current analog signal of the first device under test into a third supply voltage digital signal and a third supply current digital signal of the first device under test, and convert the fourth supply voltage analog signal and the fourth supply current analog signal of the second device under test into a fourth supply voltage digital signal and a fourth supply current digital signal of the second device under test. And then when a third power supply voltage digital signal and a third power supply current digital signal of the first equipment to be tested and a fourth power supply voltage digital signal and a fourth power supply current digital signal of the second equipment to be tested meet preset requirements, determining that the OTG function of the USB OTG line in a second transmission direction is normal, wherein the second transmission direction is used for supplying power to the second equipment to be tested for the first equipment to be tested. Conversely, if the voltage value and the current value are too small, it is considered that the Vbus pin does not constitute a current loop. Because two devices to be tested are currently in a connected state, it can be considered that the USB interface of the second device to be tested fails or the OTG function in the second transmission direction of the USB OTG line is abnormal.
In a possible embodiment, the upper computer monitors the state of each device to be tested as a master or a slave, and also displays the detection result, if the device to be tested has a fault, the detection result is stored in a fixed path document, and the storage file of the fault state is named by time so as to be convenient for a tester to refer.
Referring to fig. 6, in this embodiment, in S601, the PC first initializes information, which mainly includes a register, a memory, a communication protocol, and the like, and then, in S602, the upper computer adapts the detection port according to a corresponding relationship between the port and the device to be detected; s603, the upper computer selects a master slave computer; and S604, the upper computer sends a control instruction to the equipment to be tested, and S605, because the power supply in the OTG is always provided by the host equipment, after the state of the host is judged, the upper computer collects detection signals, such as voltage and current information, of the two equipment to be tested through the controller. And S606, comparing the comparison detection signal with the test index by the upper computer, S607, judging whether a fault exists by the upper computer according to the comparison result, if so, executing S608, and otherwise, executing S609. And S608, the upper computer stores the fault information of the host or the slave. And S609, displaying that the detection result is normal by the upper computer.
Therefore, the bidirectional test can automatically detect the change of the host computer converted into the slave computer, reduce the plugging of cable connecting wires and improve the detection efficiency. The method has the advantages of comprehensive coverage on OTG function test items, accurate fault positioning, complete detection result, flexible USB interface test and high detection efficiency. The corresponding information records can track the test problems, so that the quality of the product can be controlled integrally.
In some embodiments of the present invention, an OTG function detection apparatus is further disclosed in the embodiments of the present invention, as shown in fig. 7, the apparatus is configured to implement the method described in the above method embodiments, and includes: the device comprises a sending unit 701, a first control unit and a second control unit, wherein the sending unit 701 is used for sending a first control instruction to a first device to be tested and a second device to be tested, the first control instruction is used for configuring the first device to be tested as a power supply device and the second device to be tested as a powered device, and a USB interface of the first device to be tested is connected with a USB interface of the second device to be tested through a USB OTG (Universal Serial bus on-Board TG) line; a receiving unit 702, configured to receive a first detection signal from the first device under test through a first transmission line, and receive a second detection signal from the second device under test through a second transmission line; the processing unit 703 is configured to determine whether the OTG function in the first transmission direction of the usb OTG line is normal according to the first detection signal and the second detection signal. All relevant contents of each step related to the above method embodiment may be referred to the functional description of the corresponding functional module, and are not described herein again.
In other embodiments of the present invention, an embodiment of the present invention discloses an electronic device, where the electronic device may correspond to the upper computer in the foregoing method embodiment, and as shown in fig. 8, the electronic device may include: one or more processors 801; a memory 802; a display 803; one or more application programs (not shown); and one or more computer programs 804, which may be connected via one or more communication buses 805. Wherein the one or more computer programs 804 are stored in the memory 802 and configured to be executed by the one or more processors 801, the one or more computer programs 804 comprising instructions which may be used to perform the steps as in fig. 5 and 6 and the corresponding embodiments.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be implemented in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present invention, but the scope of the embodiments of the present invention is not limited thereto, and any changes or substitutions within the technical scope disclosed by the embodiments of the present invention should be covered within the scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. The OTG function detection method is applied to an upper computer and is characterized by comprising the following steps of;
sending a first control instruction to a first device to be tested and a second device to be tested, wherein the first control instruction is used for configuring the first device to be tested as a power supply device and the second device to be tested as a power receiving device, and a USB interface of the first device to be tested is connected with a USB interface of the second device to be tested through a USB OTG (on the go) line;
receiving a first detection signal from the first equipment to be tested through a first transmission line, and receiving a second detection signal from the second equipment to be tested through a second transmission line;
and determining whether the OTG function in the first transmission direction of the USB OTG line is normal or not according to the first detection signal and the second detection signal.
2. The method of claim 1, further comprising:
sending a second control instruction to the first device to be tested and the second device to be tested, wherein the second control instruction is used for configuring the first device to be tested as a powered device and the second device to be tested as a power supply device;
receiving a third detection signal from the first equipment to be tested through the first transmission line, and receiving a fourth detection signal from the second equipment to be tested through the second transmission line;
and determining whether the OTG function of the USB OTG line in the second transmission direction is normal or not according to the third detection signal and the fourth detection signal.
3. The method according to claim 1 or 2, wherein sending the first control instruction to the first device under test and the second device under test comprises:
sending a first control instruction to the first equipment to be tested through a first USB data line; sending a first control instruction to the second device to be tested through a second USB data line, wherein the upper computer is connected with a USB interface of the first device to be tested through the first USB data line; and the USB interface is connected with the second device to be tested through the second USB data line.
4. The method according to claim 1 or 2, wherein sending the first control instruction to the first device under test and the second device under test comprises:
sending a first control instruction to the first equipment to be tested and the second equipment to be tested through a short-distance wireless network, wherein the upper computer is connected with the first equipment to be tested through the short-distance wireless network; and the upper computer is connected with the second equipment to be tested through a short-distance wireless network.
5. The method according to claim 1 or 2, characterized in that the first detection signal comprises a first supply voltage analog signal and a first supply current analog signal of the first device under test; the second detection signal comprises a second power supply voltage analog signal and a second power supply current analog signal of the second device to be detected;
determining whether the OTG function in the first transmission direction of the USB OTG line is normal or not according to the first detection signal and the second detection signal, including:
converting a first supply voltage analog signal and a first supply current analog signal of the first equipment to be tested into a first supply voltage digital signal and a first supply current digital signal of the first equipment to be tested; converting a second power supply voltage analog signal and a second power supply current analog signal of the second device to be tested into a second power supply voltage digital signal and a second power supply current digital signal of the second device to be tested;
when the first power supply voltage digital signal and the first power supply current digital signal of the first device to be tested and the second power supply voltage digital signal and the second power supply current digital signal of the second device to be tested meet preset requirements, determining that the OTG function of the USB OTG line in a first transmission direction is normal, wherein the first transmission direction is that the first device to be tested supplies power to the second device to be tested.
6. The method of claim 2, wherein the third detection signal comprises a third supply voltage analog signal and a third supply current analog signal of the first device under test; the fourth detection signal comprises a fourth power supply voltage analog signal and a fourth power supply current analog signal of the second device to be detected;
determining whether the OTG function in the second transmission direction of the USB OTG line is normal according to the third detection signal and the fourth detection signal, including:
converting a third supply voltage analog signal and a third supply current analog signal of the first equipment to be tested into a third supply voltage digital signal and a third supply current digital signal of the first equipment to be tested; converting a fourth power supply voltage analog signal and a fourth power supply current analog signal of the second device to be tested into a fourth power supply voltage digital signal and a fourth power supply current digital signal of the second device to be tested;
when the third power supply voltage digital signal and the third power supply current digital signal of the first device to be tested and the fourth power supply voltage digital signal and the fourth power supply current digital signal of the second device to be tested meet preset requirements, determining that the OTG function of the USB OTG line in the second transmission direction is normal, wherein the second transmission direction is that the second device to be tested supplies power to the first device to be tested.
7. An OTG function detection system is characterized by comprising a first device to be detected, a second device to be detected, a USB OTG line, a first transmission line, a second transmission line and an upper computer;
the system comprises an upper computer, a first to-be-tested device and a second to-be-tested device, wherein the upper computer is used for sending a first control instruction to the first to-be-tested device and the second to-be-tested device, the first control instruction is used for configuring the first to-be-tested device as a power supply device and the second to-be-tested device as a powered device, and a USB interface of the first to-be-tested device is connected with a USB interface of the second to-be-tested device through a USB OTG (on-the-go) line;
the first equipment to be tested is used for transmitting a first detection signal of the first equipment to be tested to the upper computer through a first transmission line;
the second device to be tested is used for transmitting a second detection signal of the second device to be tested to the upper computer through a second transmission line;
the upper computer is also used for receiving a first detection signal from the first equipment to be tested through a first transmission line and receiving a second detection signal from the second equipment to be tested through a second transmission line; and determining whether the OTG function in the first transmission direction of the USB OTG line is normal or not according to the first detection signal and the second detection signal.
8. The system of claim 7,
the upper computer is further used for sending a second control instruction to the first device to be tested and the second device to be tested, and the second control instruction is used for configuring the first device to be tested as a powered device and the second device to be tested as a power supply device;
the upper computer is also used for receiving a third detection signal from the first equipment to be tested through the first transmission line and receiving a fourth detection signal from the second equipment to be tested through the second transmission line; and determining whether the OTG function in the second transmission direction of the USB OTG line is normal or not according to the third detection signal and the fourth detection signal.
9. An OTG function detection device is applied to an upper computer and is characterized by comprising;
the device comprises a sending unit and a receiving unit, wherein the sending unit is used for sending a first control instruction to a first device to be tested and a second device to be tested, the first control instruction is used for configuring the first device to be tested as a power supply device and the second device to be tested as a powered device, and a USB interface of the first device to be tested is connected with a USB interface of the second device to be tested through a USB OTG (on the go) line;
the receiving unit is used for receiving a first detection signal from the first equipment to be tested through a first transmission line and receiving a second detection signal from the second equipment to be tested through a second transmission line;
and the processing unit is used for determining whether the OTG function in the first transmission direction of the USB OTG line is normal or not according to the first detection signal and the second detection signal.
10. The apparatus of claim 9, further comprising:
the sending unit is further configured to send a second control instruction to the first device to be tested and the second device to be tested, where the second control instruction is used to configure the first device to be tested as a powered device and the second device to be tested as a power supply device;
the receiving unit is further used for receiving a third detection signal from a first device to be tested through the first transmission line and receiving a fourth detection signal from a second device to be tested through the second transmission line;
the processing unit is further configured to determine whether an OTG function in the second transmission direction of the USB OTG line is normal according to the third detection signal and the fourth detection signal.
11. The apparatus according to claim 9 or 10, wherein the sending unit sends a first control instruction to the first device under test and the second device under test, and is specifically configured to:
sending a first control instruction to the first equipment to be tested through a first USB data line; sending a first control instruction to the second device to be tested through a second USB data line, wherein the upper computer is connected with a USB interface of the first device to be tested through a first USB data line; and the upper computer is connected with the USB interface of the second device to be tested through a second USB data line.
12. The apparatus according to claim 9 or 10, wherein the sending of the first control instruction to the first device under test and the second device under test is specifically configured to:
connecting the first equipment to be tested through a short-distance wireless network; and connecting the second device to be tested through a short-distance wireless network;
sending a first control instruction to the first device to be tested and the second device to be tested through a short-distance wireless network; the upper computer is connected with the first equipment to be tested through a short-distance wireless network; and the upper computer is connected with the second equipment to be tested through a short-distance wireless network.
13. The apparatus of claim 9 or 10, wherein the first detection signal comprises a first supply voltage analog signal and a first supply current analog signal of the first device under test; the second detection signal comprises a second power supply voltage analog signal and a second power supply current analog signal of the second device to be detected;
the processing unit determines whether the OTG function in the first transmission direction of the USB OTG line is normal according to the first detection signal and the second detection signal, and is specifically configured to:
converting a first supply voltage analog signal and a first supply current analog signal of the first equipment to be tested into a first supply voltage digital signal and a first supply current digital signal of the first equipment to be tested; converting a second power supply voltage analog signal and a second power supply current analog signal of the second device to be tested into a second power supply voltage digital signal and a second power supply current digital signal of the second device to be tested;
when the first power supply voltage digital signal and the first power supply current digital signal of the first device to be tested and the second power supply voltage digital signal and the second power supply current digital signal of the second device to be tested meet preset requirements, determining that the OTG function of the USB OTG line in a first transmission direction is normal, wherein the first transmission direction is that the first device to be tested supplies power to the second device to be tested.
14. The apparatus of claim 10, wherein the third detection signal comprises a third supply voltage analog signal and a third supply current analog signal of the first device under test; the fourth detection signal comprises a fourth power supply voltage analog signal and a fourth power supply current analog signal of the second device to be detected;
the processing unit determines whether the OTG function in the second transmission direction of the USB OTG line is normal according to the third detection signal and the fourth detection signal, and is specifically configured to:
converting a third supply voltage analog signal and a third supply current analog signal of the first equipment to be tested into a third supply voltage digital signal and a third supply current digital signal of the first equipment to be tested; converting a fourth power supply voltage analog signal and a fourth power supply current analog signal of the second device to be tested into a fourth power supply voltage digital signal and a fourth power supply current digital signal of the second device to be tested;
when the third power supply voltage digital signal and the third power supply current digital signal of the first device to be tested and the fourth power supply voltage digital signal and the fourth power supply current digital signal of the second device to be tested meet preset requirements, determining that the OTG function of the USB OTG line in the second transmission direction is normal, wherein the second transmission direction is that the second device to be tested supplies power to the first device to be tested.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 6.
16. An electronic device, comprising: a processor and a memory;
the memory is used for storing a computer program;
the processor is configured to execute the memory-stored computer program to cause the electronic device to perform the method of any of claims 1-6.
CN202211475151.3A 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment Pending CN115718684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211475151.3A CN115718684A (en) 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211475151.3A CN115718684A (en) 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment
CN202110711745.9A CN113312227B (en) 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN202110711745.9A Division CN113312227B (en) 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment

Publications (1)

Publication Number Publication Date
CN115718684A true CN115718684A (en) 2023-02-28

Family

ID=77380393

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202110711745.9A Active CN113312227B (en) 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment
CN202211475151.3A Pending CN115718684A (en) 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202110711745.9A Active CN113312227B (en) 2021-06-25 2021-06-25 OTG function detection method, system, device and equipment

Country Status (1)

Country Link
CN (2) CN113312227B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101359316B (en) * 2007-08-03 2010-06-30 联芯科技有限公司 Method and apparatus for implementing general-purpose serial bus USB OTG
EP2293194A1 (en) * 2009-09-04 2011-03-09 ST-Ericsson (Grenoble) SAS Method and apparatus for testing an USB OTG hardware interface
CN106597143B (en) * 2016-11-10 2022-01-14 青岛海信移动通信技术股份有限公司 Test equipment and test method
CN108009110B (en) * 2017-12-26 2020-03-10 上海展扬通信技术有限公司 Equipment identification method and device
CN109298266B (en) * 2018-10-29 2021-06-29 Oppo广东移动通信有限公司 Test system, test method, test apparatus, and storage medium
CN110829523B (en) * 2019-10-31 2021-12-31 华为技术有限公司 Electronic equipment and reverse charging method

Also Published As

Publication number Publication date
CN113312227A (en) 2021-08-27
CN113312227B (en) 2023-01-17

Similar Documents

Publication Publication Date Title
CN102662514B (en) A kind of method and mobile terminal of control touch screen
TWI482485B (en) Audio/video system, control method of an audio/video system, and display device
EP3070957A1 (en) Interconnection, interworking and multi-screen interaction device and system, and implementation method
CN103036968A (en) Method and system for smart phone controlled and displayed by vehicle-mounted host computer
CN102572352A (en) HDMI multiplexing method, HDMI, and equipped provided with HDMI
US20140092004A1 (en) Audio information and/or control via an intermediary device
CN103607658A (en) Method for inputting character into application software of intelligent television by utilizing mobile terminal
CN104883617A (en) Multi-screen interaction system and method
TW201418971A (en) Control method of an audio/video system
CN105578278B (en) The method for showing equipment and realizing logical function of sending a telegram here to MHL information source
US20070043881A1 (en) Data bus monitoring and controlling system and method
US11362854B2 (en) Information processing apparatus, information processing method, program, and information processing system
CN113312227B (en) OTG function detection method, system, device and equipment
KR20180067108A (en) Display apparatus presenting status of external electronic apparatus and controlling method thereof
CN103391475A (en) Display device and intelligent device
CN213783468U (en) LED television mainboard and LED display device
CN114449499A (en) System, method, device and equipment for testing short-distance communication state
CN1496166B (en) USB communication equipment and method using mobile communication terminal earphone jack
CA2766915A1 (en) Terminal apparatus using a peripheral apparatus of another terminal via the control of one terminal, and interface method thereof
CN212966155U (en) Display screen system with multiplexed interfaces
CN210155656U (en) Interactive flat plate with Type-C interface and interactive flat plate system
CN103500019A (en) Cross-platform interaction system and method and wireless mouse
KR101187269B1 (en) Electronic apparatus for transmitting/receiving data using mhl interface and data transmitting/receiving method thereof
US20140049649A1 (en) Portable device and signal converting method thereof
TWI663860B (en) Adjustable interface conversion method

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