A method and system for data transmission between a terminal device and a host computer.
By reusing charging contacts and implementing automatic path switching in terminal devices, the data transmission problem of small terminal devices is solved, achieving efficient, reliable, and low-power data transmission, suitable for complex environments and different device models.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- BEIJING TRIBUTE TO UNKNOWN TECH CO LTD
- Filing Date
- 2026-01-21
- Publication Date
- 2026-05-26
AI Technical Summary
Existing technologies cannot meet the needs of small terminal devices, which suffer from problems such as easy failure of wireless transmission, the need for additional interfaces for wired transmission, cumbersome manual switching, weak anti-interference ability, poor compatibility, and high power consumption. Therefore, it is difficult to achieve lightweight and highly reliable data transmission.
Charging and data transmission are achieved by reusing the original charging contact points in the terminal device. The switching control module automatically switches the charging and communication paths. Combined with differential signal transmission and low power consumption design, it supports automatic adaptation to different models of terminal devices.
It achieves efficient data transmission without the need for additional interfaces, simplifies the operation process, improves the reliability and compatibility of data transmission, reduces power consumption, and ensures the battery life of terminal devices.
Smart Images

Figure CN122086808A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data communication technology, specifically to a method and system for data transmission between a terminal device and a host computer. Background Technology
[0002] Data transmission between terminal devices and host computers is a core requirement in fields such as industrial control, intelligent detection, and the Internet of Things. However, existing technologies have many limitations: First, wireless transmission methods (such as WiFi and Bluetooth) are susceptible to environmental interference and module failures, leading to communication interruptions. Furthermore, it is impossible to troubleshoot when a wireless module fails, increasing maintenance costs. Second, traditional wired transmission (such as USB and RS232) requires additional communication interfaces and contact points, which increases the size and hardware cost of small terminal devices, compromising their design. Third, some multiplexed interface solutions require manual switching between charging and communication modes, which is cumbersome and prone to path conflicts that can cause functional failures. Fourth, single-wire communication has weak anti-interference capabilities; even slight contact defects or environmental interference can lead to data transmission errors. Fifth, host computers and terminal devices have poor compatibility, requiring manual configuration of communication parameters, making them incompatible with different terminal models, and resulting in low data transmission success rates.
[0003] While some related patented technologies already exist in the industry, significant shortcomings remain: Patent CN202210876543.9 (A terminal and host computer communication system): It adopts a dual-mode design with wireless communication as the main mode and wired communication as the auxiliary mode. However, wired communication requires an additional dedicated interface and does not reuse charging contact points, which cannot meet the size requirements of small terminal devices. When the wireless module fails, data transmission and fault diagnosis are still not possible.
[0004] Patent CN202121987654.7 (Small Terminal Equipment Data Transmission Device): Supports interface reuse, but requires manual switching between charging and communication modes, which is cumbersome and prone to errors; adopts single-wire communication, which has weak anti-interference ability and insufficient data transmission reliability; the host computer has no automatic adaptation function and poor compatibility.
[0005] Patent CN202320567890.1 (Terminal Equipment Charging and Communication Multiplexing System): The system uses a charging interface for communication, but the switching logic is simple and lacks voltage detection and status feedback mechanisms, making it prone to path conflicts. It does not adopt an anti-interference transmission design, so data transmission is easily affected by interference. The switching device consumes too much power, which affects the battery life of the terminal equipment.
[0006] Patent CN202010987654.2 (Portable Terminal Host Computer Communication Method): Applicable to portable terminals, but requires additional communication contacts, and does not truly achieve charging contact reuse; the communication protocol is fixed and cannot be adapted to different terminal devices, lacks data verification and error correction functions, and has a low transmission success rate.
[0007] The aforementioned existing technologies have not solved the core problems of "small terminals with no additional interfaces - automatic switching between charging and communication - anti-interference - high compatibility - low power consumption", and are difficult to meet the lightweight and high-reliability data transmission requirements of small terminal devices. There is an urgent need for an optimized transmission method and system. Summary of the Invention
[0008] The purpose of this invention is to provide a method and system for data transmission between a terminal device and a host computer, solving the problems of easy failure of traditional wireless transmission, the need for additional interfaces for wired transmission, cumbersome manual switching, weak anti-interference ability, poor compatibility, and high power consumption.
[0009] To achieve the above objectives, the present invention provides the following technical solution: a system for data transmission between a terminal device and a host computer, comprising a terminal device, a host computer, and a switching control module. The terminal device realizes dual functions of charging and data transmission through its own original charging contact points. The switching control module automatically switches between the charging path and the communication path, solving the problems of easy failure of existing wireless transmission and the need for additional connectors for wired transmission, which leads to an increase in terminal size.
[0010] Preferably, the charging contact point of the terminal device establishes a bidirectional connection with the switching control module. There are two charging contact points, which are reused as communication contacts. During normal charging, the switching control module connects them to the charging path to form a power supply circuit with the power module of the terminal device. When charging is not required, the switching control module connects them to the communication path to establish a data link with the communication pin of the terminal device's whole system, thereby realizing the reuse of charging and communication functions, which is different from the existing design of separating charging contacts and communication contacts.
[0011] Preferably, the switching control module establishes a linkage connection with the power module of the terminal device. The switching control module has a built-in voltage detection unit to monitor the input voltage of the charging contact point in real time. When a voltage signal that meets the charging standard is detected, it automatically switches to the charging path. The power module receives power from the host computer or external power source through the charging contact point and stores energy for the terminal device. At the same time, it cuts off the communication path to avoid signal interference, thus overcoming the shortcomings of the existing system that requires manual switching between charging and communication modes.
[0012] Preferably, the switching control module establishes a communication connection with the entire system of the terminal device. When the switching control module does not detect a charging voltage signal, it automatically switches to the communication path through software configuration, connects the charging contact point with the communication pin of the entire system, and uses a half-duplex serial communication method to achieve bidirectional data transmission, ensuring that the communication between the terminal device and the host computer is completed without adding additional contact points, thus overcoming the limitation that existing small terminal devices cannot be adapted to USB connectors.
[0013] Preferably, the host computer establishes an adaptive connection with the charging contact point of the terminal device. The host computer is equipped with a connection interface that matches the charging contact point of the terminal device. This interface can output charging voltage to power the terminal device, and can also receive communication data transmitted by the terminal device or send control commands downward through the same interface, realizing interface function reuse. This is different from the existing schemes where the host computer needs to set up charging interface and communication interface separately.
[0014] Preferably, the switching control module has a built-in logic control unit and a status feedback module. The logic control unit controls the path switching according to the voltage detection results and software configuration instructions. The status feedback module feeds back the current path switching status (charging mode / communication mode) to the whole system of the terminal device. The whole system adjusts the data transmission or charging-related parameters according to the feedback status to ensure the stability and accuracy of mode switching and avoid path conflicts that may cause functional failure.
[0015] Preferably, the communication path established between the terminal device and the host computer through the charging contact point adopts differential signal transmission. By encoding the transmitted data, the anti-interference capability is improved. Even if there is slight contact failure or environmental interference at the charging contact point, the integrity and reliability of data transmission can still be guaranteed, thus solving the problem of weak anti-interference capability of existing single-line communication.
[0016] Preferably, the switching control module uses low-power electronic switching components and establishes a power consumption control connection with the power management module of the terminal device. The power management module adjusts the power supply of the switching control module according to the working state of the terminal device, reducing its power consumption in standby or charging state, ensuring the overall battery life of the terminal device, which is different from the defect of existing switching devices that have excessive power consumption affecting the usage time of the device.
[0017] Preferably, the host computer has a built-in communication adapter module. This module supports the adaptation to the half-duplex serial communication protocol of the terminal device, can automatically identify the communication baud rate, data bits and other parameters of the terminal device, realize compatible communication between the host computer and different models of terminal devices, and also has data verification and error correction functions to retransmit erroneous data during the transmission process, thereby improving the success rate of data transmission.
[0018] Another technical problem to be solved by the present invention is to provide a method for data transmission between a terminal device and a host computer, applicable to any of the systems described above, comprising the following steps: Step 1: The host computer connects to the charging contact point of the terminal device via the adapter interface; Step 2: The control module detects the voltage of the charging contact point. If the voltage is the charging voltage, it switches to the charging path to start charging. If charging is not required, it switches to the communication path through software configuration to connect the charging contact point to the communication pin of the terminal device. Step 3: The terminal device and the host computer communicate bidirectionally via a half-duplex serial port through the charging contact point. Step 4: After the transmission is completed, the switching control module can switch back to standby mode or charging mode according to the command. No additional communication contact points are required throughout the process, which takes into account both the size requirements of small terminal devices and the reliability of data transmission.
[0019] This invention provides a method and system for data transmission between a terminal device and a host computer. It has the following advantages: 1. This invention reuses the original two charging contact points as communication contact points in the terminal device, without the need to add additional communication interfaces or contact points, effectively controlling the size and hardware cost of the terminal device, and meeting the lightweight design requirements of small terminals and portable devices; the host computer adapter interface realizes the integration of charging and communication functions, eliminating the need to connect charging cables and communication cables separately, simplifying the connection process.
[0020] 2. The switching control module of this invention monitors the voltage of the charging contact point in real time through the voltage detection unit, automatically identifies charging or communication needs, and eliminates the need for manual mode switching; the logic control unit precisely controls the switching between the charging path and the communication path, with no conflict or delay in the switching process, and the status feedback module provides real-time feedback on the working mode, ensuring that the terminal device and the host computer work together, greatly improving the ease of operation.
[0021] 3. This invention employs differential signal transmission through the communication path, combined with data encoding processing, to effectively resist the effects of environmental electromagnetic interference and poor contact, ensuring the integrity and accuracy of data transmission. The host computer has data verification and error correction functions, automatically retransmitting erroneous data to further improve the transmission success rate, making it suitable for complex industrial environments or scenarios with limited wireless signals.
[0022] 4. This invention uses a built-in communication adapter module in the host computer to automatically identify parameters such as the communication baud rate and data bits of the terminal device without manual configuration, and is compatible with different models and communication parameters of terminal devices. The switching control module uses low-power electronic switching components and is linked with the power management module of the terminal device to dynamically adjust the power consumption according to the working status, avoid extra power consumption, ensure the battery life of the terminal device, and adapt to the long-term use needs of portable and low-power terminals. Attached Figure Description
[0023] Figure 1 This is a flowchart illustrating the core logic of the system as described in this invention. Figure 2 This is a flowchart of the charging contact point reuse logic of the present invention; Figure 3 This is a flowchart illustrating the charging path switching logic of the present invention. Figure 4 This is a flowchart illustrating the communication path switching logic of the present invention. Figure 5 This is a flowchart of the status feedback logic of the switching control module of the present invention; Figure 6 This is a flowchart of the communication anti-interference logic of the present invention; Figure 7 This is a flowchart of the low-power control logic of the present invention; Figure 8 This is a flowchart of the host computer-compatible communication logic of the present invention; Figure 9 This is a flowchart illustrating the logical steps of the data transmission method of the present invention. Figure 10 This is a schematic diagram showing the connection between the terminal device and the host computer of the present invention; Figure 11 This is a schematic diagram of circuit switching during the charging state of the terminal device of the present invention. Figure 12 This is a schematic diagram of circuit switching in the communication state of the terminal device of the present invention. Detailed Implementation
[0024] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0025] Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the invention, and should not be construed as limiting the invention. Example
[0026] A preferred embodiment of the method and system for data transmission between a terminal device and a host computer provided by the present invention is as follows: Figure 1-12 As shown: A system for data transmission between a terminal device and a host computer includes a terminal device, a host computer, and a switching control module. The terminal device realizes dual functions of charging and data transmission through its own original charging contact points. The switching control module automatically switches between the charging path and the communication path, solving the problems of easy failure of existing wireless transmission and the need for additional connectors for wired transmission, which leads to an increase in terminal size.
[0027] The terminal device's charging contact points establish a bidirectional connection with the switching control module. There are two charging contact points, which are reused as communication contact points. During normal charging, the switching control module connects them to the charging path to form a power supply circuit with the terminal device's power module. When charging is not required, the switching control module connects them to the communication path to establish a data link with the terminal device's overall system communication pins, realizing the reuse of charging and communication functions. This is different from the existing design that separates charging and communication contact points.
[0028] The switching control module establishes a linkage connection with the power module of the terminal device. The switching control module has a built-in voltage detection unit that monitors the input voltage of the charging contact point in real time. When a voltage signal that meets the charging standard is detected, it automatically switches to the charging path. The power module receives power from the host computer or external power supply through the charging contact point and stores energy for the terminal device. At the same time, it cuts off the communication path to avoid signal interference, thus overcoming the shortcomings of the existing system that requires manual switching between charging and communication modes.
[0029] The switching control module establishes a communication connection with the entire system of the terminal device. When the switching control module does not detect a charging voltage signal, it automatically switches to the communication path through software configuration, connects the charging contact point with the communication pin of the entire system, and uses half-duplex serial communication to achieve bidirectional data transmission. This ensures that communication between the terminal device and the host computer is completed without adding extra contact points, breaking through the limitation that existing small terminal devices cannot be adapted to USB connectors.
[0030] The host computer establishes an adaptive connection with the charging contact point of the terminal device. The host computer is equipped with a connection interface that matches the charging contact point of the terminal device. This interface can output charging voltage to power the terminal device, and can also receive communication data transmitted by the terminal device or send control commands down through the same interface, realizing the reuse of interface functions. This is different from the existing schemes that require the host computer to set up charging interface and communication interface separately.
[0031] The switching control module has a built-in logic control unit and a status feedback module. The logic control unit controls the path switching based on the voltage detection results and software configuration instructions. The status feedback module feeds back the current path switching status (charging mode / communication mode) to the terminal device's overall system. The overall system adjusts data transmission or charging-related parameters based on the feedback status to ensure the stability and accuracy of mode switching and avoid path conflicts that could lead to functional failure.
[0032] The communication path established between the terminal device and the host computer through the charging contact point adopts differential signal transmission. By encoding the transmitted data, the anti-interference capability is improved. Even if there is slight contact failure at the charging contact point or environmental interference, the integrity and reliability of data transmission can still be guaranteed, thus solving the problem of weak anti-interference capability of existing single-line communication.
[0033] The switching control module uses low-power electronic switching components and establishes a power control connection with the power management module of the terminal device. The power management module adjusts the power supply of the switching control module according to the working status of the terminal device, reducing its power consumption in standby or charging mode, ensuring the overall battery life of the terminal device, which is different from the defect of existing switching devices that have excessive power consumption affecting the usage time of the device.
[0034] The host computer has a built-in communication adapter module that supports the adaptation of half-duplex serial communication protocols with terminal devices. It can automatically identify parameters such as the communication baud rate and data bits of the terminal devices, enabling the host computer to communicate with different models of terminal devices. It also has data verification and error correction functions, which retransmit erroneous data during transmission to improve the success rate of data transmission. Example
[0035] Please see Figures 1-12 Furthermore, based on Example 1, another technical problem to be solved by the present invention is to provide a method for data transmission between a terminal device and a host computer, applicable to any of the aforementioned systems, comprising the following steps: Step 1, Interface Connection: The host computer establishes a physical connection with the two charging contact points of the terminal device through the adapter interface. The interface supports both charging voltage transmission and data communication.
[0036] Step 2, Automatic Path Switching: The voltage detection unit of the switching control module monitors the input voltage of the charging contact point in real time. If a voltage signal that meets the charging standard (such as 5V or 9V) is detected, the logic control unit automatically switches to the charging path, connects the charging contact point to the power module of the terminal device to form a power supply circuit, and disconnects the communication path to avoid signal interference. If no charging voltage signal is detected, the system automatically switches to the communication path through software configuration, connecting the charging contact point to the communication pins of the terminal device system.
[0037] Step 3, Two-way data transmission: The terminal device and the host computer use a half-duplex serial communication method to transmit data through the data link established by the charging contact point; differential signal encoding is used in the transmission process to improve anti-interference capability; the communication adaptation module of the host computer automatically identifies the baud rate, data bits and other parameters of the terminal device, verifies the transmitted data, and automatically retransmits erroneous data.
[0038] Step 4, Mode Switching and Standby: After data transmission is completed, the switching control module can switch back to standby mode or charging mode according to the host computer command or the status of the terminal device, without the need for manual intervention.
[0039] In summary, this invention achieves efficient and reliable data transmission between small terminal devices and host computers by reusing charging contact point functions, automatic path switching, anti-interference transmission, and adaptive compatibility design, while taking into account both device miniaturization and functional practicality.
[0040] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus.
[0041] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A system for data transmission between a terminal device and a host computer, characterized in that, It includes terminal equipment, host computer and switching control module. The terminal equipment realizes the dual functions of charging and data transmission through its own original charging contact points. The switching control module automatically switches between charging path and communication path.
2. A system for data transmission between a terminal device and a host computer, characterized in that, It includes terminal equipment, host computer and switching control module. The terminal equipment realizes the dual functions of charging and data transmission through its own original charging contact points. The switching control module automatically switches between charging path and communication path.
3. The system for data transmission between the terminal device and the host computer according to claim 1, characterized in that, The switching control module establishes a linkage connection with the power module of the terminal device. The switching control module has a built-in voltage detection unit to monitor the input voltage of the charging contact point in real time. When a voltage signal that meets the charging standard is detected, it automatically switches to the charging path. The power module receives power from the host computer or external power supply through the charging contact point and stores energy for the terminal device. At the same time, it cuts off the communication path to avoid signal interference.
4. The system for data transmission between the terminal device and the host computer according to claim 1, characterized in that, The switching control module establishes a communication connection with the entire system of the terminal device. When the switching control module does not detect a charging voltage signal, it automatically switches to the communication path through software configuration, connects the charging contact point with the communication pin of the entire system, and uses half-duplex serial communication to achieve bidirectional data transmission, ensuring that communication between the terminal device and the host computer is completed without adding additional contact points.
5. The system for data transmission between a terminal device and a host computer according to claim 1, characterized in that, The host computer establishes an adaptive connection with the charging contact point of the terminal device. The host computer is equipped with a connection interface that matches the charging contact point of the terminal device. This interface can output charging voltage to power the terminal device, and can also receive communication data transmitted by the terminal device or send control commands downward through the same interface, so as to realize the reuse of interface functions.
6. The system for data transmission between a terminal device and a host computer according to claim 1, characterized in that, The switching control module has a built-in logic control unit and a status feedback module. The logic control unit controls the path switching according to the voltage detection results and software configuration instructions. The status feedback module feeds back the current path switching status (charging mode / communication mode) to the whole system of the terminal device. The whole system adjusts the data transmission or charging-related parameters according to the feedback status to ensure the stability and accuracy of mode switching and avoid path conflicts that may cause functional failure.
7. The system for data transmission between a terminal device and a host computer according to claim 1, characterized in that, The communication path established between the terminal device and the host computer through the charging contact point adopts differential signal transmission. By encoding the transmitted data, the anti-interference capability is improved. Even if there is slight poor contact at the charging contact point or environmental interference, the integrity and reliability of data transmission can still be guaranteed.
8. The system for data transmission between a terminal device and a host computer according to claim 1, characterized in that, The switching control module uses low-power electronic switching components and establishes a power consumption control connection with the power management module of the terminal device. The power management module adjusts the power supply of the switching control module according to the working status of the terminal device, reducing its power consumption in standby or charging mode, and ensuring the overall battery life of the terminal device.
9. The system for data transmission between a terminal device and a host computer according to claim 1, characterized in that, The host computer has a built-in communication adapter module that supports the adaptation of half-duplex serial communication protocols with terminal devices. It can automatically identify parameters such as the communication baud rate and data bits of the terminal devices, enabling the host computer to communicate with different models of terminal devices. It also has data verification and error correction functions, which retransmit erroneous data during transmission to improve the success rate of data transmission.
10. A method for data transmission between a terminal device and a host computer, characterized in that, The system according to any one of claims 1-9 is characterized by the following steps: Step 1: The host computer connects to the charging contact point of the terminal device via the adapter interface; Step 2: The control module detects the voltage of the charging contact point. If the voltage is the charging voltage, it switches to the charging path to start charging. If charging is not required, it switches to the communication path through software configuration to connect the charging contact point to the communication pin of the terminal device. Step 3: The terminal device and the host computer communicate bidirectionally via a half-duplex serial port through the charging contact point. Step 4: After the transmission is completed, the switching control module can switch back to standby mode or charging mode according to the command. No additional communication contact points are required throughout the process, which takes into account both the size requirements of small terminal devices and the reliability of data transmission.
Citation Information
Patent Citations
Preparation method and application of acid-resistant brick material
CN112110714A
An integrated production device for zinc alloy forming and cooling
CN115178729B
Cooler core pulling device
CN215788019U