Pairing connection method and system thereof
Patent Information
- Application Number
- CN202210887233.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-26
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2042-07-26
AI Technical Summary
[0003]将电子产品不是扩充连接同一厂商所对应设计的电子产品或与同一厂商的设计具有相同规格的电子产品时,可能影响电子产品本身的性能,同时也可能会导致较为严重的安全隐患
[0009]在本申请实施例的配对连接方法及其系统中,基于第一电子产品连接第二电子产品所形成的分压电路及事先得知的同一厂商所设计可相互配对连接的电子产品之间第一电阻与第二电阻的电阻值的比例关系,第一电子产品可通过默认阈值判断与其物理连接的第二电子产品是否为同一厂商所对应设计的电子产品或与同一厂商的设计具有相同规格的电子产品;当第一电子产品判断第二电子产品为同一厂商所对应设计的电子产品或与同一厂商的设计具有相同规格的电子产品(即第一电子产品和第二电子产品配对连接成功)时,执行供电程序,以供电给第二电子产品。因此,本申请实施例的配对连接方法及其系统可用于管控电子产品扩充连接同一厂商所对应设计的电子产品或与同一厂商的设计具有相同规格的电子产品,从而避免影响电子产品本身的性能与导致安全隐患的问题。
Smart Images

Figure CN115185873B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of pairing connection technology, and in particular to a pairing connection method and system. Background Technology
[0002] With the advancement of technology, electronic products such as computers are widely used in daily life and work. In order to expand the functionality of electronic products, they often need to be paired and connected with other electronic products, such as connecting a keyboard to a tablet computer to turn it into a laptop.
[0003] Connecting electronic products that are not connected to electronic products of the same manufacturer or have the same specifications as electronic products of the same manufacturer may affect the performance of the electronic products themselves and may also lead to more serious safety hazards.
[0004] Therefore, it is necessary to provide a method and system for managing the pairing and connection of electronic products with the same manufacturer's corresponding design. Summary of the Invention
[0005] This application provides a pairing connection method and system that can avoid the problem of electronic products affecting their performance and causing safety hazards because they are not connected to electronic products of the same manufacturer or have the same specifications as electronic products of the same manufacturer.
[0006] To solve the above-mentioned technical problems, this application is implemented as follows:
[0007] This application provides a pairing connection method, comprising: providing a first electronic product and a second electronic product, wherein the first electronic product includes: a first processing unit, a first power supply voltage, a first normally closed switch unit, and a first resistor; the first electronic product has a first power supply interface and a first ground interface; the first power supply voltage is connected to the input / output pins of the first processing unit and the first power supply interface through the first normally closed switch unit and the first resistor; the second electronic product includes: a second normally closed switch unit and a second resistor; the second electronic product has a second power supply interface and a second ground interface; the second power supply interface is grounded through the second resistor and the second normally closed switch unit; the first ground interface and... The second grounding interface is grounded respectively; when the first electronic product is physically connected to the second electronic product, the first power supply interface is electrically connected to the second power supply interface, and the first grounding interface is electrically connected to the second grounding interface, so that the first resistor and the second resistor form a voltage divider circuit. The first processing unit detects whether the level of the input / output pin changes from high level to low level according to the voltage division value of the second resistor; and when the voltage division value of the second resistor is less than or equal to the default threshold, the first processing unit detects that the level of the input / output pin changes from high level to low level, and determines that the first electronic product and the second electronic product are successfully paired and connected, thereby executing the power supply program so that the first electronic product supplies power to the second electronic product.
[0008] This application provides a pairing connection system comprising: a first electronic product and a second electronic product. The first electronic product has a first power supply interface and a first ground interface, and includes: a first processing unit, a first power supply voltage, a first normally closed switch unit, and a first resistor. The first power supply voltage is connected to the input / output pins of the first processing unit and the first power supply interface via the first normally closed switch unit and the first resistor. The first ground interface is grounded. The second electronic product has a second power supply interface and a second ground interface, and includes: a second normally closed switch unit and a second resistor. The second power supply interface is grounded via the second resistor and the second normally closed switch unit. The second ground interface is grounded. When the first electronic product is physically connected to the second electronic product, the first power supply interface is electrically connected to the second power supply interface, and the first ground interface is electrically connected to the second ground interface, so that the first resistor and the second resistor form a voltage divider circuit. The first processing unit detects whether the level of the input / output pin changes from high level to low level according to the voltage division value of the second resistor; and when the voltage division value of the second resistor is less than or equal to the default threshold, the first processing unit detects that the level of the input / output pin changes from high level to low level, and determines that the first electronic product and the second electronic product are successfully paired and connected, thereby executing the power supply program so that the first electronic product supplies power to the second electronic product.
[0009] In the pairing connection method and system of this application embodiment, based on the voltage divider circuit formed by the first electronic product connecting to the second electronic product and the known ratio of the resistance values of the first resistor and the second resistor between electronic products designed by the same manufacturer that can be paired and connected to each other, the first electronic product can determine whether the second electronic product physically connected to it is an electronic product designed by the same manufacturer or an electronic product with the same specifications as the design by the same manufacturer through a default threshold. When the first electronic product determines that the second electronic product is an electronic product designed by the same manufacturer or an electronic product with the same specifications as the design by the same manufacturer (i.e., the first electronic product and the second electronic product are successfully paired and connected), it executes a power supply procedure to supply power to the second electronic product. Therefore, the pairing connection method and system of this application embodiment can be used to manage the expansion of electronic products to connect to electronic products designed by the same manufacturer or electronic products with the same specifications as the design by the same manufacturer, thereby avoiding problems such as affecting the performance of the electronic products themselves and causing safety hazards. Attached Figure Description
[0010] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0011] Figure 1 This is a schematic diagram of an embodiment of the pairing connection system according to this application;
[0012] Figure 2 This is a flowchart of an embodiment of the pairing connection method according to this application;
[0013] Figure 3 for Figure 2 A flowchart of an embodiment of the power supply procedure described in step 23; and
[0014] Figure 4 This is a flowchart of another embodiment of the pairing connection method according to this application. Detailed Implementation
[0015] The embodiments of the present invention will be described below with reference to the accompanying drawings. In these drawings, the same reference numerals denote the same or similar components or method flows.
[0016] It must be understood that the use of terms such as "comprising" or "including" in this specification is intended to indicate the presence of specific technical features, values, method steps, work processes and / or components, but does not preclude the addition of more technical features, values, method steps, work processes, components, or any combination thereof.
[0017] It is important to understand that when a component is described as "connected" or "coupled" to another component, it can be a direct connection or coupling to other components, and there may be intermediate components. Conversely, when a component is described as "directly connected" or "directly coupled" to another component, there are no intermediate components.
[0018] Please see Figure 1 This is a schematic diagram of an embodiment of the pairing connection system according to this application. Figure 1 As shown, the pairing connection system 1 includes a first electronic product 11 and a second electronic product 12. In one example, the first electronic product 11 may be, but is not limited to, a tablet computer, and the second electronic product 12 may be, but is not limited to, a keyboard. In another example, the first electronic product 11 may be, but is not limited to, a charging case, and the second electronic product 12 may be, but is not limited to, a power bank.
[0019] In this embodiment, the first electronic product 11 has a first power supply interface 111 and a first ground interface 112, and includes: a first processing unit 113, a first normally closed switch unit 114, a first resistor 115, and a first power supply voltage VCC1. The first power supply voltage VCC1 is connected to the input / output pins 1131 of the first processing unit 113 and the first power supply interface 111 through the first normally closed switch unit 114 and the first resistor 115. The first ground interface 112 is grounded. The resistance value of the first resistor 115 is a preset resistance value corresponding to the first electronic product 11 (e.g., 100 kΩ). The first processing unit 113 may be, but is not limited to, a field-programmable gate array (FPGA) or a microprocessor (MPU). The input / output pins 1131 may be, but are not limited to, general-purpose input / output (GPIO) pins. The voltage value of the first power supply voltage VCC1 is a preset voltage value corresponding to the first electronic product 11 (e.g., 5 volts).
[0020] In this embodiment, the second electronic product 12 has a second power supply interface 121 and a second grounding interface 122, and includes a second normally closed switch unit 123 and a second resistor 124. The second power supply interface 121 is grounded through the second resistor 124 and the second normally closed switch unit 123, and the second grounding interface 122 is grounded. The resistance value of the second resistor 124 is a preset resistance value corresponding to the second electronic product 12, for example, 1 kΩ.
[0021] When the first electronic product 11 is physically connected to the second electronic product 12, the first power supply interface 111 is electrically connected to the second power supply interface 121, and the first ground interface 112 is electrically connected to the second ground interface 122 (i.e., the first electronic product 11 and the second electronic product 12 share a common ground), so that the first resistor 115 and the second resistor 124 form a voltage divider circuit. The first processing unit 113 detects whether the level of the input / output pin 1131 changes from high level to low level according to the voltage divider value of the second resistor 124.
[0022] Specifically, when the first electronic product 11 is not yet physically connected to the second electronic product 12, since the first power supply voltage VCC1 connects the input / output pin 1131 of the first processing unit 113 to the first power supply interface 111 through the first normally closed switch unit 114 and the first resistor 115, the first processing unit 113 detects the voltage value of its input / output pin 1131 (the voltage value is related to the resistance value of the first resistor 115) and determines that the level of the input / output pin 1131 is high; when the first electronic product 11 is physically connected to the second electronic product 12, the first... A power supply voltage VCC1 is grounded through a first normally closed switch unit 114, a first resistor 115, a first power supply interface 111, a second power supply interface 121, a second resistor 124, and a second normally closed switch unit 123 (i.e., forming a voltage divider circuit). The input / output pin 1131 of the first processing unit 113 is connected between the first resistor 115 and the first power supply interface 111. Therefore, the first processing unit 113 detects whether the level of the input / output pin 1131 changes from high level to low level based on the voltage division value of the second resistor 124 (i.e., the voltage value of the input / output pin 1131).
[0023] In one example, when the first processing unit 113 detects that the voltage value of its input / output pin 1131 is greater than or equal to 0.8 times the voltage value of the first power supply voltage VCC1, it determines that the level of the input / output pin 1131 is high; when the first processing unit 113 detects that the voltage value of its input / output pin 1131 is less than or equal to 0.2 times the voltage value of the first power supply voltage VCC1, it determines that the level of the input / output pin 1131 is low. However, this example is not intended to limit this application, and the voltage value used to distinguish between high and low levels can be adjusted according to requirements.
[0024] In this embodiment, when the voltage division value of the second resistor 124 is less than or equal to the default threshold, the first processing unit 113 detects that the level of the input / output pin 1131 changes from high to low, and determines that the first electronic product 11 and the second electronic product 12 are successfully paired and connected, thereby executing the power supply program so that the first electronic product 11 supplies power to the second electronic product 12. The default threshold is related to the electronic products that the first electronic product 11 can be paired with (i.e., electronic products designed by the same manufacturer or electronic products with the same specifications as designs from the same manufacturer). Specifically, the resistance value of the first resistor 115 and the voltage value of the first power supply voltage VCC1 of the first electronic product 11 are both preset values. Therefore, the default threshold can be designed based on the resistance value of the resistor (e.g., the second resistor 124) of the electronic product that can be paired with the first electronic product 11, so that when the first electronic product 11 is physically connected to its paired electronic product, the first processing unit 113 determines that the level of the input / output pin 1131 changes from high to low, thereby determining that the pairing connection is successful. It should be noted that since multiple electronic products can be successfully paired and connected with the first electronic product 11, the number of the default thresholds can be multiple.
[0025] In one embodiment, the first electronic product 11 may further include a first power supply unit 116, and a first power supply voltage VCC1 is connected to a first power supply interface 111 through the first power supply unit 116; the second electronic product 12 may further include a second processing unit 125, a second power supply unit 126, and a second power supply voltage VCC2, and a second power supply interface 121 is connected to the second processing unit 125 through the second power supply unit 126, and the second power supply voltage VCC2 is connected to the second power supply unit 126 and the second processing unit 125. Specifically, the first power supply unit 116 includes an input terminal 116a, an enable terminal 116b, and an output terminal 116c. The first power supply voltage VCC1 is connected to the input terminal 116a. Another input / output pin 1132 of the first processing unit 113 is connected to the enable terminal 116b, and the output terminal 116c is connected to the first power supply interface 111. The second power supply unit 126 includes an input terminal 126a, an enable terminal 126b, and an output terminal 126c. The second power supply interface 121 is connected to the input terminal 126a, and the output terminal 126c is connected to the input / output pin 1251 of the second processing unit 125 and the second power supply voltage VCC2. It should be noted that the second power supply unit 126 is in the on state by default; therefore, the enable terminal 126b does not require additional control (i.e., the level of the enable terminal 126b is maintained at a high level).
[0026] After the first processing unit 113 determines that the first electronic product 11 and the second electronic product 12 have successfully paired and connected, it controls the first normally closed switch unit 114 to open and starts the first power supply unit 116 to supply power to the second power supply unit 126 through the first power supply interface 111 and the second power supply interface 121, so that the second power supply unit 126 supplies power to the second processing unit 125. Specifically, after the first processing unit 113 determines that the first electronic product 11 and the second electronic product 12 have successfully paired and connected, it controls the first normally closed switch unit 114 to open through another input / output pin 1133, and starts the first power supply unit 116 through input / output pin 1132, so that the first power supply unit 116 supplies power to the second power supply unit 126 based on the voltage of the first power supply voltage VCC1 through the first power supply interface 111 and the second power supply interface 121, so that the second power supply unit 126 supplies power to the second processing unit 125 based on the power provided by the first power supply unit 116 through input / output pin 1251.
[0027] In one embodiment, to eliminate unnecessary energy loss, the second processing unit 125 controls the second normally closed switch unit 123 to open after obtaining power from the second power supply unit 126. Specifically, the second power supply unit 126 is in the open state by default. After the first power supply unit 116 supplies power to the second power supply unit 126, the second power supply unit 126 can also supply power to the second processing unit 125, enabling the second processing unit 125 to work normally. Thus, the second processing unit 125 controls the second normally closed switch unit 123 to open through its input / output pins 1252.
[0028] In one embodiment, the first electronic product 11 may further have a first communication interface 117 connected to the first processing unit 113, and the second electronic product 12 may further have a database 127 and a second communication interface 128 connected to the second processing unit 125. When the first electronic product 11 is physically connected to the second electronic product 12, the first communication interface 117 is connected to the second communication interface 128 via a single wire 2. After the first processing unit 113 determines that the first electronic product 11 and the second electronic product 12 are successfully paired and connected, the first processing unit 113 sends authentication information to the second processing unit 125 via the first communication interface 117 and the single wire 2. The second processing unit 125 receives the authentication information via the single wire 2 and the second communication interface 128, and determines whether the first electronic product 11 is the default electronic product based on the authentication information and the database 127. When the second processing unit 125 determines that the first electronic product 11 is the default electronic product, it returns a handshake success message to the first electronic product 11 via the second communication interface 128 and the single wire 2.
[0029] Specifically, the first electronic product 11 stores identity data corresponding to its identity. After the first processing unit 113 determines that the first electronic product 11 and the second electronic product 12 have successfully paired and connected, it sends authentication information to the second processing unit 125 through its transmitting pin 1134, first communication interface 117, and single wire 2 with high and low level signals. Since the database 127 of the second electronic product 12 stores multiple authentication information of the first electronic product 11 that can be paired and connected with the second electronic product 12, the second processing unit 125 connects through the second communication interface 128 and receiving pin 1253. After receiving the authentication information from the first electronic product 11, the second processing unit 125 can parse the received authentication information based on the database 127 to determine whether the first electronic product 11 is the default electronic product that can be paired and connected with the second electronic product 12. When the second processing unit 125 determines that the first electronic product 11 is the default electronic product, it returns a handshake success message to the first electronic product 11 by sending pin 1254, the second communication interface 128, the first communication interface 117, and receiving pin 1135. The handshake success message may include certain codes, such as the type information of the second electronic product 12. Therefore, this embodiment can achieve dual confirmation of whether the second electronic product 12 is an electronic product designed by the same manufacturer or an electronic product with the same specifications as the design of the same manufacturer. In addition, the first electronic product 11 and the second electronic product 12 communicate bidirectionally through a single wire 2, which can save resources of the first processing unit 113 and the second processing unit 125.
[0030] In one embodiment, when the second processing unit 125 determines that the first electronic product 11 is not the default electronic product, it returns a handshake failure message to the first electronic product 11 through the second communication interface 128 and the single line 2, or does not return any message to the first electronic product 11.
[0031] When the second electronic product 12 returns a handshake success message to the first electronic product 11, it signifies that the handshake between the second electronic product 12 and the first electronic product 11 has been successful, and the two can communicate with each other via single wire 2. In one example, the first processing unit 113 sends a command to perform a certain operation (e.g., turn on a light) to the second processing unit 125 via single wire 2, so that the second processing unit 125 receives the command and executes the operation. In another example, the second processing unit 125 detects that a switch has been turned on and sends this message to the first processing unit 113 via single wire 2. After receiving the message, the first processing unit 113 executes other commands (e.g., displaying on the screen of the first electronic product 11 that the switch at the second electronic product 12 has been turned on).
[0032] In one embodiment, to avoid the situation where the second electronic product 12 and the first electronic product 11 send signals to each other simultaneously, after the second electronic product 12 returns a handshake success message to the first electronic product 11, the signals sent between the second processing unit 125 and the first processing unit 113 include default codes representing the start or end of transmission.
[0033] In one embodiment, since the number of default electronic products that can be paired and connected with the second electronic product 12 may increase, the identity data included in the database 127 may be updated periodically or irregularly. In one example, when the second electronic product 12 updates its firmware, the identity data included in the database 127 may be updated simultaneously.
[0034] Please see Figure 2 This is a flowchart of an embodiment of the pairing and connection method according to this application. Figure 2 As shown, the pairing connection method includes: providing a first electronic product and a second electronic product, wherein the first electronic product includes: a first processing unit, a first power supply voltage, a first normally closed switch unit, and a first resistor; the first electronic product has a first power supply interface and a first ground interface; the first power supply voltage is connected to the input / output pins of the first processing unit and the first power supply interface through the first normally closed switch unit and the first resistor; the second electronic product includes: a second normally closed switch unit and a second resistor; the second electronic product has a second power supply interface and a second ground interface; the second power supply interface is grounded through the second resistor and the second normally closed switch unit; the first ground interface and the second ground interface are respectively grounded (step). 21); When the first electronic product is physically connected to the second electronic product, the first power supply interface is electrically connected to the second power supply interface, and the first ground interface is electrically connected to the second ground interface, so that the first resistor and the second resistor form a voltage divider circuit. The first processing unit detects whether the level of the input / output pin changes from high level to low level according to the voltage divider value of the second resistor (step 22); and when the voltage divider value of the second resistor is less than or equal to the default threshold, the first processing unit detects that the level of the input / output pin changes from high level to low level, and determines that the first electronic product and the second electronic product are successfully paired and connected, thereby executing the power supply program so that the first electronic product supplies power to the second electronic product (step 23). Therefore, based on the voltage divider circuit formed by the first electronic product connecting to the second electronic product and the known ratio of the resistance values of the first resistor and the second resistor between electronic products designed by the same manufacturer that can be paired and connected to each other, the first electronic product can determine whether it is successfully paired and connected with the second electronic product through the default threshold, and supplies power to the second electronic product after determining that it is successfully paired and connected to the second electronic product. For detailed explanation, please refer to the relevant description of the above embodiments, which will not be repeated here.
[0035] In one embodiment, the first electronic product further includes a first power supply unit, and a first power supply voltage is connected to a first power supply interface through the first power supply unit; the second electronic product further includes a second processing unit, a second power supply unit, and a second power supply voltage, the second power supply interface being connected to the second processing unit through the second power supply unit, and the second power supply voltage being connected to both the second power supply unit and the second processing unit. Please refer to [link to previous embodiment]. Figure 3 , it is Figure 2 A flowchart of an embodiment of the power supply procedure described in step 23. (See attached flowchart.) Figure 3 As shown, the power supply procedure may include: after the first processing unit determines that the first electronic product and the second electronic product are successfully paired and connected, it controls the first normally closed switch unit to open and starts the first power supply unit to supply power to the second power supply unit through the first power supply interface and the second power supply interface, so that the second power supply unit supplies power to the second processing unit (step 231). For detailed description, please refer to the relevant description of the above embodiments, which will not be repeated here.
[0036] In one embodiment, please refer to Figure 3 The pairing connection method may further include: after the second processing unit obtains power from the second power supply unit, it controls the second normally closed switch unit to open (step 232). Therefore, unnecessary energy loss can be eliminated. For detailed explanation, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0037] In one embodiment, the first electronic product further has a first communication interface for connecting to the first processing unit, and the second electronic product further has a database and a second communication interface for connecting to the second processing unit. See also... Figure 4 This is a flowchart of another embodiment of the pairing and connection method according to this application. Figure 4 As shown, the pairing connection method, in addition to steps 21 to 23, may also include: when the first electronic product physically connects to the second electronic product, the first communication interface connects to the second communication interface via a single wire (step 24); after the first processing unit determines that the pairing connection between the first electronic product and the second electronic product is successful, the first processing unit sends authentication information to the second processing unit via the first communication interface and the single wire (step 25); the second processing unit receives the authentication information via the single wire and the second communication interface, and determines whether the first electronic product is the default electronic product based on the authentication information and the database (step 26); and when the second processing unit determines that the first electronic product is the default electronic product, it returns handshake success information to the first electronic product via the second communication interface and the single wire (step 27). Therefore, the effect of double confirmation of the successful pairing connection between the first electronic product and the second electronic product can be achieved. For detailed explanation, please refer to the relevant descriptions of the above embodiments, which will not be repeated here. It should be noted that, in order to avoid Figure 4 The drawing is too complex, so steps 22 and 23 are omitted.
[0038] In one embodiment, the pairing connection method may further include: when the second processing unit determines that the first electronic product is not the default electronic product, it returns handshake failure information to the first electronic product through the second communication interface and a single line, or does not return any information to the first electronic product. For detailed explanations, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0039] In one embodiment, the pairing connection method may further include: after the second electronic product returns a handshake success message to the first electronic product, the first processing unit sends a first signal to the second processing unit through a first communication interface and a single wire, or the second processing unit sends a second signal to the first processing unit through a second communication interface and a single wire, wherein the first signal and the second signal include default codes representing the start or end of transmission. For detailed explanation, please refer to the relevant descriptions in the above embodiments, which will not be repeated here.
[0040] In one embodiment, the pairing and connection method may further include updating the database. Therefore, more different types of second electronic products can be successfully paired and connected with the first electronic product. For detailed explanations, please refer to the relevant descriptions in the above embodiments; they will not be repeated here.
[0041] It should be noted that if there is no causal relationship between the above steps, this application does not limit the order in which they are performed.
[0042] In summary, the pairing connection method and system of this application, based on the voltage divider circuit formed by the first electronic product connecting to the second electronic product and the prior known ratio of the resistance values of the first and second resistors between electronic products designed by the same manufacturer that can be paired and connected to each other, allows the first electronic product to determine, through a default threshold, whether the second electronic product physically connected to it is an electronic product designed by the same manufacturer or an electronic product with the same specifications as the design by the same manufacturer. When the first electronic product determines that the second electronic product is an electronic product designed by the same manufacturer or an electronic product with the same specifications as the design by the same manufacturer (i.e., the first and second electronic products are successfully paired and connected), it executes a power supply procedure to supply power to the second electronic product. Therefore, the pairing connection method and system of this application can be used to manage the expansion of electronic products to connect to electronic products designed by the same manufacturer or electronic products with the same specifications as the design by the same manufacturer, thereby avoiding problems such as affecting the performance of the electronic products themselves and causing safety hazards.
[0043] Furthermore, after receiving power from the second power supply unit, the second processing unit controls the second normally closed switch unit to open, thereby eliminating unnecessary energy loss. In addition, the second electronic product can achieve dual confirmation of successful pairing and connection between the first and second electronic products by parsing authentication information from the first electronic product. Moreover, bidirectional communication between the first and second electronic products via a single wire saves resources for both the first and second processing units. Furthermore, periodic or irregular database updates enable more diverse types of second electronic products to successfully pair and connect with the first electronic product.
[0044] While the present invention has been described using the above embodiments, it should be noted that these descriptions are not intended to limit the invention. Rather, this invention encompasses modifications and similar arrangements that are obvious to those skilled in the art. Therefore, the scope of the claims should be interpreted in the broadest possible sense to include all obvious modifications and similar arrangements.
Claims
1. A pairing connection method, characterized in that, include: A first electronic product and a second electronic product are provided. The first electronic product includes a first processing unit, a first power supply voltage, a first normally closed switch unit, and a first resistor. The first electronic product has a first power supply interface and a first ground interface. The first power supply voltage is connected to the input / output pins of the first processing unit and the first power supply interface through the first normally closed switch unit and the first resistor. The second electronic product includes a second normally closed switch unit and a second resistor. The second electronic product has a second power supply interface and a second ground interface. The second power supply interface is grounded through the second resistor and the second normally closed switch unit. The first ground interface and the second ground interface are respectively grounded. When the first electronic product is physically connected to the second electronic product, the first power supply interface is electrically connected to the second power supply interface, and the first ground interface is electrically connected to the second ground interface, so that the first resistor and the second resistor form a voltage divider circuit. The first processing unit detects whether the level of the input / output pin changes from high level to low level based on the voltage divider value of the second resistor; and When the voltage division value of the second resistor is less than or equal to the default threshold, the first processing unit detects that the level of the input / output pin changes from the high level to the low level, and determines that the first electronic product and the second electronic product are successfully paired and connected, thereby executing the power supply program so that the first electronic product supplies power to the second electronic product.
2. The pairing connection method as described in claim 1, characterized in that, The first electronic product also includes a first power supply unit, and the first power supply voltage is connected to the first power supply interface through the first power supply unit; The second electronic product further includes: a second processing unit, a second power supply unit, and a second power supply voltage; the second power supply interface is connected to the second processing unit via the second power supply unit, and the second power supply voltage is connected to the second power supply unit and the second processing unit; the power supply program includes: After the first processing unit determines that the first electronic product and the second electronic product are successfully paired and connected, it controls the first normally closed switch unit to open and starts the first power supply unit to supply power to the second power supply unit through the first power supply interface and the second power supply interface, so that the second power supply unit supplies power to the second processing unit.
3. The pairing connection method as described in claim 2, characterized in that, After obtaining power from the second power supply unit, the second processing unit controls the second normally closed switch unit to open.
4. The pairing connection method as described in claim 1, characterized in that, The first electronic product further has a first communication interface for connecting to the first processing unit, and the second electronic product further has a database and a second communication interface for connecting to the second processing unit. The pairing connection method further includes: When the first electronic product is physically connected to the second electronic product, the first communication interface is connected to the second communication interface via a single wire. After the first processing unit determines that the first electronic product and the second electronic product have successfully paired and connected, the first processing unit sends authentication information to the second processing unit through the first communication interface and the single line. The second processing unit receives the authentication information through the single line and the second communication interface, and determines whether the first electronic product is the default electronic product based on the authentication information and the database; and When the second processing unit determines that the first electronic product is the default electronic product, it returns a handshake success message to the first electronic product through the second communication interface and the single-wire connection.
5. The pairing connection method as described in claim 4, characterized in that, Also includes: When the second processing unit determines that the first electronic product is not the default electronic product, it returns a handshake failure message to the first electronic product through the second communication interface and the single line, or does not return any message to the first electronic product.
6. The pairing connection method as described in claim 4, characterized in that, Also includes: After the second electronic product returns the handshake success information to the first electronic product, the first processing unit sends a first signal to the second processing unit through the first communication interface and the single line, or the second processing unit sends a second signal to the first processing unit through the second communication interface and the single line, wherein the first signal and the second signal include default codes representing the start or end of transmission.
7. The pairing connection method as described in claim 4, characterized in that, Also includes: Update the database.
8. A pairing connection system, characterized in that, include: A first electronic product has a first power supply interface and a first ground interface, and includes: a first processing unit, a first power supply voltage, a first normally closed switch unit, and a first resistor. The first power supply voltage is connected to the input / output pins of the first processing unit and the first power supply interface through the first normally closed switch unit and the first resistor. The first ground interface is grounded. The second electronic product has a second power supply interface and a second grounding interface, and includes: a second normally closed switch unit and a second resistor, wherein the second power supply interface is grounded through the second resistor and the second normally closed switch unit, and the second grounding interface is grounded; When the first electronic product is physically connected to the second electronic product, the first power supply interface is electrically connected to the second power supply interface, and the first grounding interface is electrically connected to the second grounding interface, so that the first resistor and the second resistor form a voltage divider circuit. The first processing unit detects the change of the input / output pin level from high level to low level based on the voltage divider value of the second resistor. When the voltage divider value of the second resistor is less than or equal to a default threshold, the first processing unit detects the change of the input / output pin level from high level to low level and determines that the first electronic product and the second electronic product are successfully paired and connected, thereby executing the power supply program so that the first electronic product supplies power to the second electronic product.
9. The pairing connection system as described in claim 8, characterized in that, The first electronic product also includes a first power supply unit, and the first power supply voltage is connected to the first power supply interface through the first power supply unit; The second electronic product further includes: a second processing unit, a second power supply unit, and a second power supply voltage. The second power supply interface is connected to the second processing unit through the second power supply unit, and the second power supply voltage is connected to the second power supply unit and the second processing unit. After the first processing unit determines that the first electronic product and the second electronic product are successfully paired and connected, it controls the first normally closed switch unit to open and starts the first power supply unit to supply power to the second power supply unit through the first power supply interface and the second power supply interface, so that the second power supply unit supplies power to the second processing unit.
10. The pairing connection system as described in claim 9, characterized in that, After obtaining power from the second power supply unit, the second processing unit controls the second normally closed switch unit to open.
11. The pairing connection system as described in claim 8, characterized in that, The first electronic product also has a first communication interface for connecting to the first processing unit, and the second electronic product also has a database and a second communication interface for connecting to the second processing unit. When the first electronic product is physically connected to the second electronic product, the first communication interface is connected to the second communication interface via a single wire. After the first processing unit determines that the first electronic product and the second electronic product are successfully paired and connected, the first processing unit sends authentication information to the second processing unit via the first communication interface and the single wire. The second processing unit receives the authentication information via the single wire and the second communication interface, and determines whether the first electronic product is the default electronic product based on the authentication information and the database. When the second processing unit determines that the first electronic product is the default electronic product, it returns a handshake success message to the first electronic product via the second communication interface and the single wire.
12. The pairing connection system as claimed in claim 11, characterized in that, When the second processing unit determines that the first electronic product is not the default electronic product, it returns a handshake failure message to the first electronic product through the second communication interface and the single line, or does not return any message to the first electronic product.
13. The pairing connection system as claimed in claim 11, characterized in that, After the second electronic product returns the handshake success information to the first electronic product, the signals exchanged between the second processing unit and the first processing unit include default codes representing the start or end of transmission.
14. The pairing connection system as claimed in claim 11, characterized in that, The identity data included in the database is updated periodically or irregularly.
Citation Information
Patent Citations
Intelligently-identified charging method and device as well as connector
CN102306853A
Charge and discharge management method for mobile power supply and integrated circuit
CN105553002A