Method for identifying original parts of headphones and headphones
By transmitting preset serial numbers between components of the headset and judging feedback signals, the problem of identifying original components is solved and the legality and quality of the headset components are ensured.
Patent Information
- Application Number
- CN202410715061.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-04
AI Technical Summary
The existing technology cannot effectively identify whether the left and right earphone parts in the headset are original parts, causing damage to the interests of manufacturers and consumers.
By transmitting the preset original part serial number to the second part when the first part and the second part are successfully connected, and determining whether a feedback signal is received within the first preset time period, it is determined whether the second part is an original part.
It achieves accurate identification of the original nature of headphone components, prevents components from being subcontracted, and protects the interests of manufacturers and consumers.
Smart Images

Figure CN118283477B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of earphone detection, and in particular to a method for identifying original parts of earphones and the earphones. Background Art
[0002] Nowadays, counterfeit headphones are emerging in an endless stream. Since the left and right earphone parts have independent characteristics, they can be used normally even if they are exchanged with each other, which leads to the risk of parts being swapped, which damages the interests of both manufacturers and consumers. Therefore, how to identify whether the left and right earphone parts in headphones are original parts is an urgent problem to be solved. Summary of the invention
[0003] The main purpose of the present application is to provide a method for identifying original parts of headphones and headphones, aiming to solve the technical problem in the prior art that it is impossible to identify whether the left and right earphone components in the headphones are original parts.
[0004] To achieve the above-mentioned purpose, the present application provides a method for identifying original components of headphones, the method being applied to a first component, the first component being used in conjunction with a second component, the method comprising:
[0005] When the connection with the second component is successful, transmitting the preset original component serial number to the second component;
[0006] Determining whether a feedback signal is received within a first preset time period, wherein when the second component is an original component, sending the feedback signal to the first component according to the received preset original component serial number;
[0007] It is determined whether the second component is a genuine component based on the judgment result.
[0008] In one embodiment, the feedback signal is a signal generated by the second component based on the target serial number when the second component receives the preset original component serial number;
[0009] The step of determining whether the second component is an original component based on the judgment result includes:
[0010] Determine whether the second component is an original component based on the judgment result, wherein the original component is a component produced by a manufacturer of the first component;
[0011] When the second component is an original component, it is determined whether the second component is an original component according to a preset expected serial number and the feedback signal.
[0012] In addition, to achieve the above-mentioned purpose, the present application provides a method for identifying original components of headphones, the method being applied to a second component, the second component being used in conjunction with the first component, the method comprising:
[0013] When the connection with the first component is successful, determining whether a preset original component serial number sent by the first component is received within a second preset time period;
[0014] It is determined whether the first component is an original component based on the judgment result.
[0015] In one embodiment, after the step of determining whether the preset original component serial number sent by the first component is received within the second preset time period, the method further includes:
[0016] When the preset original component serial number is received within the second preset time period, the generated feedback signal is sent to the first component, so that the first component determines whether the second component is an original component according to the feedback signal.
[0017] In one embodiment, when the preset original component serial number is received within the second preset time period, the step of sending the generated feedback signal to the first component includes:
[0018] When the preset original component serial number is received within the second preset time period, determining that the first component is an original component, and the original component is a component produced by a manufacturer of the second component;
[0019] Determining whether the preset original component serial number is a target serial number;
[0020] If so, it is determined that the first component is an original component, and a feedback signal generated based on the target serial number is sent to the first component.
[0021] In addition, to achieve the above-mentioned purpose, the present application also provides a headset, wherein the headset comprises a first component and a second component used in conjunction with each other;
[0022] The first component is used to transmit the preset original component serial number to the second component when the first component is successfully connected to the second component;
[0023] The second component is used to determine that the first component is an original component when receiving the preset original component serial number within a second preset time period, and send a generated feedback signal to the first component;
[0024] The first component is further configured to determine that the second component is an original component when the feedback signal is received within a first preset time period.
[0025] In one embodiment, the first component includes: a first processing module and a storage module;
[0026] Wherein, the first processing module is connected to the storage module and the second component respectively;
[0027] The first processing module is used to transmit the preset original component serial number stored in the storage module to the second component when the connection with the second component is successful;
[0028] The first processing module is further configured to determine that the second component is an original component when the feedback signal is received within a first preset time period.
[0029] In one embodiment, the second component includes: a second processing module;
[0030] Wherein, the second processing module is connected to the first processing module;
[0031] The second processing module is configured to determine that the first component is an original component when the preset original component serial number is received within a second preset time period, and send a generated feedback signal to the first processing module.
[0032] In one embodiment, the first component further includes: a buffer module and a first switch module; the second component includes: a power supply unit;
[0033] The buffer module is connected to the first switch module and the power supply unit respectively, and the first switch module is also connected to the first processing module and the load respectively;
[0034] The buffer module is used to buffer the electric energy provided by the power supply unit and transmit the buffered electric energy to the first switch module;
[0035] The first processing module is further configured to transmit the generated switch signal to the first switch module when determining that the second component is an original component;
[0036] The first switch module is used to transmit the buffered electric energy to the load for power supply when receiving the switch signal.
[0037] In one embodiment, the second component further includes: a current limiting module and a second switch module;
[0038] Wherein, the second processing module is respectively connected to the second switch module, the current limiting module and the power supply unit, the current limiting module is also connected to the second switch module, and the second switch module is also connected to the buffer module and the power supply unit;
[0039] The second processing module is further configured to transmit the generated current setting signal to the current limiting module and the generated conduction signal to the second switch module when determining that the first component is an original component;
[0040] The current limiting module is configured to transmit the generated mode switching signal to the second switch module upon receiving the current setting signal;
[0041] The second switch module is used to switch the current current mode to the power supply mode when receiving the mode switching signal, and to transmit the electric energy provided by the power supply unit to the buffer module when receiving the conduction signal.
[0042] In one embodiment, the buffer module includes: a voltage follower, a first NOT gate and a second NOT gate, and the first switch module includes: a first switch tube;
[0043] Among them, the non-phase input end of the voltage follower is connected to the second switch module, the inverting input end of the voltage follower is connected to the output end of the voltage follower, the output end of the voltage follower is also connected to the input end of the first NOT gate, the output end of the first NOT gate is connected to the input end of the second NOT gate, the input end of the second NOT gate is connected to the input end of the first switch tube, the control end of the first switch tube is connected to the first processing module, and the output end of the first switch tube is connected to the load.
[0044] In one embodiment, the current limiting module includes: a first resistor, a second resistor, a third resistor and a second switch tube;
[0045] Among them, the first end of the first resistor is connected to the second switch module, the second end of the first resistor is respectively connected to the first end of the second resistor and the input end of the second switch tube, the second end of the second resistor is grounded, the output end of the second switch tube is grounded, the control end of the second switch tube is respectively connected to the second processing module and the first end of the third resistor, and the second end of the third resistor is grounded.
[0046] The present application provides a method for identifying original parts of headphones and headphones, the method is applied to a first component, the first component is used in conjunction with a second component, the method includes: when the connection with the second component is successful, the preset original part serial number is transmitted to the second component; judging whether a feedback signal is received within a first preset time period, wherein when the second component is an original component, a feedback signal is sent to the first component according to the received preset original part serial number; and determining whether the second component is an original component based on the judgment result. Since in the present application, when the second component is an original component, a feedback signal can be generated and sent according to the received preset original part serial number, and then when the first component is successfully connected to the second component, the preset original part serial number can be sent to the second component first, judging whether the feedback signal sent by the second component can be received within the first preset time period, and then determining whether the second component is an original component based on the judgment result, thereby realizing the identification of whether the left and right earphone components in the headphones are original components. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0049] Figure 1 This is a flowchart of the first embodiment of the method for identifying original parts of headphones of the present application;
[0050] Figure 2 A connection diagram of headphones in the method for identifying original parts of headphones of this application;
[0051] Figure 3 A structural block diagram of a headphone in the headphone original component identification method of the present application;
[0052] Figure 4 This is a flow chart of a second embodiment of the method for identifying original parts of headphones of the present application;
[0053] Figure 5 This is a structural block diagram of the first embodiment of the headphone of the present application;
[0054] Figure 6 This is a circuit diagram of the first embodiment of the headphones of the present application;
[0055] Figure 7 This is a flow chart of the first component in the first embodiment of the headphone of the present application;
[0056] Figure 8 This is a flow chart of the second component in the first embodiment of the headphone of the present application.
[0057] Description of Figure Numbers:
[0058]
[0059] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0060] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] It should be noted that nowadays, there are endless counterfeit headphones. Since the left and right earphone parts have independent characteristics, they can be used normally even if they are exchanged with each other, which leads to the risk of parts being swapped, which damages the interests of both manufacturers and consumers. Therefore, how to identify whether the left and right earphone parts in the headphones are original parts is an urgent problem to be solved.
[0062] In order to solve the above defects, this embodiment provides a method for identifying original parts of headphones, which is applied to a first component, and the first component is used in conjunction with a second component. Since in this embodiment, when the second component is an original component, a feedback signal can be generated and sent according to the received preset original component serial number, and then when the first component and the second component are successfully connected, the preset original component serial number can be sent to the second component first, and it can be determined whether the feedback signal sent by the second component can be received within the first preset time length, and then it is determined whether the second component is an original component based on the judgment result, thereby realizing the identification of whether the left and right earphone components in the headphones are original components.
[0063] For ease of understanding, the following combination Figures 1 to 8 The method for identifying original parts of headphones provided in the embodiments of the present application and the headphones provided in the following embodiments are specifically introduced.
[0064] The present application provides a method for identifying original parts of headphones. Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for identifying original parts of headphones of the present application. Figure 1As shown, in this embodiment, the above method can be applied to the first component of the headset, and the headset can also include a second component used in conjunction with the first component. In this embodiment, the above method can of course also be applied to in-ear headphones, etc., and this embodiment does not limit this. This implementation is described using a headset, and the above headset can achieve functions such as playing audio by using the left sound-emitting component (left earphone) and the right sound-emitting component (right earphone) in conjunction.
[0065] It should be understood that the first component and the second component can be connected by wired means or wirelessly, and this embodiment does not limit this. Figure 2 , Figure 2 This is a connection diagram of the headphones in the method for identifying the original parts of the headphones in this application, such as Figure 2 As shown, a harness 3 (i.e., the head-mounted part of the headset) may be provided between the first component 1 and the second component 2, and the harness 3 may be used to realize power supply and communication between the first component 1 and the second component 2; when connected wirelessly, the first component 1 and the second component 2 may be connected via Bluetooth or the like to realize communication. This embodiment is described using a headset, but is not limited thereto. Furthermore, in this embodiment, the headset may include a first component 1, a second component 2, and a harness 3, wherein the first component 1 may be the left sound-emitting component or the right sound-emitting component of the headset, and the second component 2 may be another sound-emitting component.
[0066] like Figure 1 As shown, in this embodiment, the above method includes:
[0067] Step S10: When the connection with the second component is successful, the preset original component serial number is transmitted to the second component.
[0068] It is understandable that the method of this embodiment can be executed by any headphone component in a headphone having the function of at least two sound-emitting components cooperating with each other, such as the left sound-emitting component or the right sound-emitting component in the headphone. This embodiment can use the above-mentioned left sound-emitting component as the first component 1 and the right sound-emitting component as the second component 2 for illustration, that is, the execution subject of this embodiment is the first component 1, and the second component 2 is identified as an original component.
[0069] For the convenience of subsequent explanation, refer to Figure 3 , Figure 3 This is a structural block diagram of the headphones in the method for identifying original parts of headphones in this application.
[0070] It is also understandable that a power source 221 may be provided in the first component 1 or the second component 2, and the power source 221 may provide the first component 1 and the second component 2 with the electrical energy required for operation. Figure 3 As shown, this embodiment is described by using the power supply 221 disposed in the second component 2, but this is not limited to this.
[0071] exist Figure 3 In the embodiment, the first component 1 may include a first processing module 11. The first processing module 11 may be composed of a programmable logic device (Complex Programmable Logic Device, CPLD), and of course, may also be composed of devices such as a Field Programmable Gate Array (Field-Programmable Gate Array, FPGA) or a microcontroller (Microcontroller Unit, MCU). This embodiment is not limited to this, and the headset original component identification method provided in this embodiment can be executed through the above-mentioned first processing module 11.
[0072] The second component 2 may include a power supply unit 22 with a power supply 221, and the power supply unit 22 may be connected to a load in the second component 2 that needs to be powered, and may also be connected to the first processing module 11 of the first component 1 through the wiring harness 3. In actual use, when the first processing module 11 in the first component 1 receives the power provided by the power supply 221 in the second component 2, it can be said that the first component 1 is successfully connected to the second component 2, and the first processing module 11 starts to work and performs the subsequent headphone original component identification operation.
[0073] When identifying original parts of headphones, the first processing module 11 can obtain the serial number corresponding to the first part 1 which is the original part relative to the first part 1 and the serial number corresponding to the second part 2, and transmit the serial number of the second part 2 to the second part 2 as the preset original part serial number.
[0074] It should be noted that before actual use, the manufacturer can set a preset original component serial number unique to each component, and store the preset original component serial number together with the preset original component serial number of the component used in conjunction with the component in the component. Figure 3 As shown, in this embodiment, the first component 1 may further include: a storage module 12;
[0075] Wherein, the first processing module 11 is connected to the storage module 12 and the second component 2 respectively;
[0076] The first processing module 11 is used to transmit the preset original component serial number stored in the storage module 12 to the second component 2 when the connection with the second component 2 is successful.
[0077] It should be noted that the storage module 12 may be composed of a device with a storage function, such as an electrically erasable programmable read-only memory (EEPROM) or a flash memory, etc., and this embodiment does not limit this. The storage module 12 may be used to store the serial number corresponding to the first component 1 and the serial number corresponding to the second component 2.
[0078] It should also be noted that the first processing module 11 may be provided with a serial number reading pin, and the first processing module 11 may be connected to the storage module 12 through the serial number reading pin; at the same time, the first processing module 11 may also be provided with a signal transmission pin (i.e. Figure 3 TX and RX), and then the first processing module 11 can be connected to the second component 2 through the signal transmission pin.
[0079] In a specific implementation, when the first processing module 11 receives the electric energy provided by the second component 2 through the wiring harness 3, the first processing module 11 determines that the connection with the second component 2 is successful, and the first processing module 11 starts working after power-on initialization. The serial number corresponding to the second component 2 stored in the storage module 12 is read through the serial number reading pin as the preset original component serial number, and a pulse signal is generated according to the preset original component serial number, and then transmitted to the second component 2 through the signal transmission pin TX of the first processing module 11.
[0080] As another implementation, the first processing module 11 may also use the serial number corresponding to the first component 1 as a preset original component serial number, and generate a pulse signal according to the preset original component serial number and send it to the second component 2 .
[0081] As another implementation manner, the first processing module 11 may also generate a pulse signal together with the serial number corresponding to the first component 1 and the stored serial number corresponding to the second component 2 and send it to the second component 2 .
[0082] As another implementation, the first processing module 11 may also obtain other identification signals that can be used to indicate an original component in addition to the serial number, and generate a pulse signal to send to the second component 2 .
[0083] Step S40: determining whether a feedback signal is received within a first preset time period;
[0084] Wherein, when the second component is an original component, the feedback signal is sent to the first component according to the received preset original component identification signal;
[0085] Step S50: determining whether the second component is an original component based on the judgment result.
[0086] It is understandable that the feedback signal may be a signal that indicates that the second component 2 receives the preset original component serial number. In this embodiment, the second component 2 may be configured to generate a feedback signal after receiving the preset original component serial number, and transmit the feedback signal to the signal transmission pin RX of the first processing module 11; if the second component 2 is an original component, the second component 2 may have the above function, and the second component 2 may generate a feedback signal based on the preset original component serial number, and transmit the feedback signal to the first processing module 11; if the second component 2 is not an original component, it indicates that the second component 2 does not have the function, and thus cannot generate a feedback signal based on the preset original component serial number and send it to the first component 1. Therefore, the first processing module 11 may determine whether the second component 2 is an original component based on whether the feedback signal sent by the second component 2 is received.
[0087] And in order to prevent the first processing module 11 from waiting for the second component 2 to generate a feedback signal, in this embodiment, a timer may be provided in the first processing module 11. When the first processing module 11 transmits the preset original component identification signal to the second component 2, the timer starts timing, and the first processing module 11 can determine whether the feedback signal is received within the first preset time length; if the feedback signal is not received within the first preset time length, it can be determined that the second component 2 is not an original component but a copycat component; if the feedback signal is received within the first preset time length, it can be determined that the second component 2 is an original component. The above-mentioned first preset time length can be set according to actual conditions, and this embodiment uses 30s for illustration. Therefore, the first processing module 11 is also used to determine that the second component 2 is an original component when a feedback signal is received within the second preset time length.
[0088] Furthermore, considering that when the second component 2 is not a knockoff component, it may also be a component produced by the manufacturer of the first component 1 but is not original to the first component 1 (i.e., a subsequent original component), in order to further determine whether the second component 2 is an original component or an original component, in this embodiment, the second component 2 may be configured to generate a feedback signal based on the target serial number when receiving a preset original component serial number, that is, the feedback signal is a signal generated by the second component 2 based on the target serial number when receiving the preset original component serial number;
[0089] Then the above step S50 includes:
[0090] Step S51: determining whether the second component is an original component based on the judgment result, wherein the original component is a component produced by the manufacturer of the first component.
[0091] It should be understood that the target serial number may be the serial number corresponding to the first component 1 which is original to the second component 2 and the serial number corresponding to the second component 2 , and may be stored inside the second component 2 .
[0092] In actual use, when the second component 2 receives the pulse signal sent by the first processing module 11, whether the second component 2 is an original component or an original component, it can generate a feedback signal according to the target serial number corresponding to the first component 1 stored in itself and send it to the first component 1;
[0093] When the first component 1 does not receive a feedback signal within the first preset time period, it can be determined that the second component 2 is a counterfeit component; when the first component 1 receives a feedback signal within the first preset time period, it can indicate that the second component 2 has the function of receiving the preset original component serial number and sending a feedback signal, then it can be determined that the second component 2 is an original component, that is, the manufacturer of the second component 2 is the same as the manufacturer of the first component 1.
[0094] Step S52: when the second component is an original component, determining whether the second component is an original component according to a preset expected serial number and the feedback signal.
[0095] It should be noted that the above-mentioned preset expected serial number may be the serial number corresponding to the second component 2 when the second component 2 stored in the first component 1 is an original component.
[0096] In actual use, after the first processing module 11 determines that the second component 2 is an original component, the feedback signal can be decoded. Since the feedback signal is generated based on the target serial number stored in the second component 2, the target serial number of the second component 2 can be obtained by decoding, and then the preset original component serial number of the second component 2 stored in the first component 1 is used as the above-mentioned preset expected serial number, and the target serial number is compared with the preset expected serial number; if they are consistent, it can be determined that the second component 2 is the original component of the first component 1, and if they are inconsistent, it can be determined that the second component 2 is the original component of the first component 1, not the original component, thereby further realizing the identification of the original component.
[0097] Similarly, when the serial number received by the second component 2 is the serial number corresponding to the first component 1, it is also determined whether it is the same as the stored target serial number. The specific process is consistent with the above, and this embodiment will not elaborate on it.
[0098] Furthermore, after the first component 1 determines that the second component 2 is an original component, the first processing module 11 can connect the power supply circuit between the power input terminal and the load in the first component 1, and then the second component 2 can transmit the electric energy provided by its internal power supply 221 to the load of the first component 1 through the power input terminal, so that the first component 1 starts working; when the second component 2 is not an original component, it is prohibited to receive the electric energy provided by the second component 2.
[0099] In this embodiment, when the second component 2 is an original component, after receiving the preset original component serial number, a feedback signal can be generated and sent based on the target serial number. Then, when the first component 1 and the second component 2 are successfully connected, the preset original component serial number can be sent to the second component 2 first to determine whether the feedback signal sent by the second component 2 can be received within the first preset time period; if not, it can be determined that the second component 2 is a counterfeit component; if so, it can be determined that the second component 2 is an original component; then the feedback signal is decoded to determine whether the target serial number therein is the preset expected serial number; if not, it can be determined that the second component 2 is an original component but not an original component; if so, it can be determined that the second component 2 is an original component, thereby realizing the identification of whether the left and right earphone components in the earphone are original components.
[0100] In addition, to achieve the above purpose, the present application embodiment also provides a method for identifying original parts of headphones, referring to Figure 4 , Figure 4 This is a flow chart of the second embodiment of the method for identifying original components of headphones of the present application.
[0101] In this embodiment, the above method can be applied to the second component 2 in the headset, wherein the second component 2 is used in conjunction with the first component 1. It should be noted that the second component 2 in this embodiment can be the second component 2 in the above first embodiment, and the first component 1 in this embodiment can be the first component 1 in the above first embodiment.
[0102] like Figure 4 As shown, in this embodiment, the method includes:
[0103] Step S20: when the connection with the first component is successful, determining whether a preset original component serial number sent by the first component is received within a second preset time period;
[0104] Step S30: determining whether the first component is an original component based on the judgment result.
[0105] It is understandable that the method of this embodiment can also be executed by any one of the headphone components in the headphone that has the function of at least two sound-emitting components cooperating with each other, such as the left sound-emitting component or the right sound-emitting component in the headphone. Based on the above first embodiment, this embodiment can use the above left sound-emitting component as the first component 1 and the right sound-emitting component as the second component 2 for explanation, that is, the execution subject of the above headphone original component identification method of this embodiment is the second component 2, and the first component 1 is identified as the original headphone component.
[0106] Continue as Figure 3 As shown, in this embodiment, a second processing module 21 and a power supply unit 22 with a power supply 221 may be provided in the second component 2; wherein the power supply may be connected to the first processing module 11 of the first component 1 through a wiring harness 3, and the power supply 221 may also be connected to the second processing module 21 to supply power to the second processing module 21.
[0107] It should be understood that the second processing module 21 may also be composed of a CPLD, and of course may also be composed of devices such as an FPGA or an MCU, and this is not limited in this embodiment. The method for identifying original components of headphones provided in this embodiment may be executed through the second processing module 21.
[0108] Similarly, the second processing module 21 may be provided with a signal transmission pin (ie Figure 3 TX and RX in the signal transmission pin), and then the second processing module 21 can be connected to the first processing module 11 through the signal transmission pin. Specifically, the TX pin of the second processing module 21 can be connected to the RX pin of the first processing module 11, and the RX pin of the second processing module 21 can be connected to the TX pin of the first processing module 11.
[0109] In this embodiment, a preset original component serial number can be set to be sent when the first component 1 is an original component; therefore, when the power provided by the power supply 221 of the second component 2 is transmitted to the first processing module 11 of the first component 1, it can be determined that the connection with the first component 1 is successful; when the above-mentioned second processing module 21 receives the preset original component serial number sent by the TX pin of the first processing module 11 through the RX pin, it can be determined that the first component 1 is an original component; if not received, it can be determined that the first component 1 is not an original component, thereby realizing the identification of whether the left and right earphone components in the earphone are original components.
[0110] Similarly, in order to prevent the second processing module 21 from always waiting for the first component 1 to send a preset original component serial number, in this embodiment, a timer may also be set in the second processing module 21. When the second processing module 21 is successfully connected to the first component 1, the timer starts timing, and the second processing module 21 can determine whether the preset original component serial number is received within the second preset time length; if not, it can be determined that the first component 1 is not an original component, but a copycat component; if so, it can be determined that the second component 2 is an original component. The above-mentioned second preset time length can be set according to actual conditions. This embodiment uses 30s for illustration. Therefore, the second processing module 21 can be used to determine that the first component 1 is an original component when the preset original component serial number is received within the second preset time length.
[0111] Furthermore, in order to enable the first component 1 to determine whether the second component 2 is an original component, in this embodiment, after the step of determining whether the preset original component serial number sent by the first component is received within the second preset time period, the following step is further included:
[0112] Step S21: when the preset original component serial number is received within the second preset time period, the generated feedback signal is sent to the first component, so that the first component determines whether the second component is an original component according to the feedback signal.
[0113] It should be noted that the above feedback signal may be the feedback signal mentioned in the first embodiment, which will not be elaborated in this embodiment.
[0114] In this embodiment, after the second processing module 21 receives the preset original component serial number within the second preset time period, it can generate a feedback signal and transmit it to the RX pin of the first processing module 11 through the TX pin of the second processing module 21; after receiving the feedback signal, the first processing module 11 can determine that the second component 2 is also an original component.
[0115] It should be emphasized that, since the above-mentioned specific determination process has been described in the first embodiment, the details may be referred to the description in the first embodiment, and this embodiment will not elaborate on it.
[0116] Furthermore, also considering that when the first component 1 is not a knockoff component, it may also be a component produced by the manufacturer of the second component 2 but not original to the second component 2 (that is, a subsequent original component), so in order to further determine whether the first component 1 is an original component or an original component, in this embodiment, when the preset original component serial number is received within the second preset time period, the step of sending the generated feedback signal to the first component 1 includes:
[0117] Step S211: when the preset original component serial number is received within the second preset time period, it is determined that the first component is an original component, and the original component is a component produced by the manufacturer of the second component.
[0118] It can be understood that after receiving the pulse signal sent by the first processing module 11, the above-mentioned second processing module 21 can decode it. If the second processing module 21 can receive the decoded original component serial number within the second preset time length, it can be determined that the first component 1 is an original component, that is, the manufacturer of the first component 1 is the same as the manufacturer of the second component 2; if it is not received within the second preset time length, it can be determined that the first component 1 is a counterfeit component.
[0119] Step S212: Determine whether the preset original component serial number is the target serial number.
[0120] It should be understood that the second processing module 21 may store the serial number of the second component 2 and the serial number of the first component 1 which is an original component relative to the second component 2 as the target serial number. After the second processing module 21 decodes and obtains the preset original component serial number sent by the first processing module 11, it can determine whether the preset original component serial number is the target serial number stored in the second processing module 21; and then determine whether the first component 1 is an original component.
[0121] Step S213: If yes, determine that the first component is an original component, and send a feedback signal generated based on the target serial number to the first component.
[0122] When the second processing module 21 determines that the preset original component serial number is inconsistent with the target serial number, it can be determined that the first component 1 is a genuine component, but not an original component; when the second processing module 21 determines that the preset original component serial number is consistent with the target serial number, it can be determined that the first component 1 is an original component.
[0123] After determining whether the first component 1 is a factory component or an original component, in order to enable the first component 1 to also determine whether the second component 2 is a factory component or an original component, regardless of whether the first component 1 is a factory component or an original component, the second processing module 21 can generate a feedback signal based on the stored target serial number corresponding to the second component 2 and transmit it to the first processing module 11, so that the first processing module 11 can determine whether the second component 2 is a factory component or an original component based on the received feedback signal.
[0124] It should be emphasized that the specific judgment process has been described in the first embodiment, so the details may refer to the description in the first embodiment, and this embodiment will not elaborate on it.
[0125] Furthermore, when the second component 2 determines that the first component 1 is an original component, the second processing module 21 can connect the power supply circuit between the power supply 221 and the first component 1, and transmit the electric energy provided by the power supply 221 to the first component 1 to power the first component 1; if the first component 1 is not an original component, it is prohibited to provide electric energy to the first component 1.
[0126] In addition, to achieve the above purpose, this embodiment also provides a headset, referring to Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the headphone of the present application.
[0127] like Figure 5 As shown, in this embodiment, the headset comprises a first component 1 and a second component 2 that cooperate with each other;
[0128] The first component 1 is used to transmit the preset original component serial number to the second component 2 when the connection with the second component 2 is successful;
[0129] The second component 2 is used to determine that the first component 1 is an original component when receiving the preset original component serial number within a second preset time period, and send a generated feedback signal to the first component 1;
[0130] The first component 1 is further used to determine that the second component 2 is an original component when the feedback signal is received within a first preset time period.
[0131] It should be noted that the first component 1 can be connected to the second component 2 via a wiring harness 3 .
[0132] In a specific implementation, when the first component 1 is successfully connected to the second component 2 through the wiring harness 3, the first component 1 can transmit the stored preset original component serial number to the second component 2 through the wiring harness 3; if the second component 2 receives the preset original component serial number within a second preset time period, the second component 2 can determine that the first component 1 is an original component, and generate a feedback signal and transmit it to the first component 1 through the wiring harness 3; if the first component 1 receives the feedback signal within the first preset time period, the first component 1 can determine that the second component 2 is an original component.
[0133] Further, continue as Figure 5 As shown, the first component 1 includes: a first processing module 11 and a storage module 12;
[0134] Wherein, the first processing module 11 is connected to the storage module 12 and the second component 2 respectively;
[0135] The first processing module 11 is used to transmit the preset original component serial number stored in the storage module 12 to the second component 2 when the connection with the second component 2 is successful;
[0136] The first processing module 11 is further configured to determine that the second component 2 is an original component when the feedback signal is received within a first preset time period.
[0137] For ease of understanding, refer to Figures 6 to 8 To explain, Figure 6 This is a circuit diagram of the first embodiment of the headphones of this application. Figure 7 This is a flow chart of the first component 1 in the first embodiment of the headphone of this application. Figure 8 This is a flow chart of the second component 2 in the first embodiment of the headphone of the present application.
[0138] like Figure 6 as well as Figure 7 As shown, in this embodiment, the first processing module 11 is described using CPLD, and the storage module 12 is described using EEPROM.
[0139] In a specific implementation, when the CPLD receives the power provided by the second component 2 through the wiring harness 3, the CPLD determines that the connection with the second component 2 is successful (i.e. Figure 7 The first component 1 detects that it is connected to the wiring harness 3), the CPLD starts working after power-on initialization, reads the preset original component serial number corresponding to the second component 2 stored in the EEPROM through the serial number reading pin, and generates a pulse signal according to the preset original component serial number, and then transmits it to the second component 2 through the signal transmission pin TX of the CPLD, and starts timing through the timer (i.e. Figure 7 In the process, the CPLD obtains the preset original part serial number from the EEPROM and sends a pulse signal through the TX pin, and the timer starts timing at the same time).
[0140] Then the CPLD can determine whether the RX pin receives a feedback signal within 30 seconds (i.e. Figure 7 Whether the RX pin receives the feedback signal within 30s); if so, it can be determined that the second component 2 is an original component; if not, it can be determined that the second component 2 is a counterfeit component; when the second component 2 is determined to be an original component, the CPLD can decode the feedback signal to determine whether the target serial number therein is a preset expected signal (i.e. Figure 7 whether the serial number in the feedback signal is the preset expected serial number); if so, it can be determined that the second component 2 is an original component.
[0141] Further, continue as Figure 5 As shown, the second component 2 includes: a second processing module 21;
[0142] Wherein, the second processing module 21 is connected to the first processing module 11;
[0143] The second processing module 21 is configured to determine that the first component 1 is an original component when the preset original component serial number is received within a second preset time period, and send a generated feedback signal to the first processing module 11 .
[0144] like Figure 6 as well as Figure 8 As shown, in this embodiment, the second processing module 21 is described using an MCU, and the power supply 221 in the power supply unit 22 is described using a battery, so that the battery can be connected to the MCU, and the battery can be connected to the CPLD at the same time.
[0145] In the specific implementation, when the MCU detects that the battery transmits power to the CPLD through the wiring harness 3, the MCU starts timing (i.e. Figure 8 When the second component 2 detects that it is connected to the harness 3, the timer starts timing), the MCU starts to determine whether a pulse signal is received within 30 seconds, and decodes to obtain the preset original component serial number (i.e. Figure 8 In the process, the MCU receives the pulse signal through the RX pin within 30 seconds and decodes it to obtain the preset original component serial number); if it is received within 30 seconds, it can be determined that the first component 1 is an original component, and at the same time, a feedback signal is generated according to the target serial number and sent to the CPLD through the TX pin (i.e. Figure 8 The feedback signal is sent to the CPLD through the TX pin in the process, so that the CPLD can judge whether the second component 2 is an original component according to the feedback signal; if it is not received within 30s, it can be determined that the first component 1 is a counterfeit component.
[0146] The MCU can then determine whether the decoded preset original component serial number is the target serial number (i.e. Figure 8 If so, it can be determined that the first component 1 is an original component; if not, it can be determined that the first component 1 is an original factory component.
[0147] Furthermore, in order to allow the first component 1 to work only after confirming that the second component 2 is an original component, as Figure 5 As shown, the first component 1 further includes: a buffer module 13 and a first switch module 14; the second component 2 includes: a power supply unit 22;
[0148] The buffer module 13 is connected to the first switch module 14 and the power supply unit 22 respectively, and the first switch module 14 is also connected to the first processing module 11 and the load respectively;
[0149] The buffer module 13 is used to buffer the electric energy provided by the power supply unit 22 and transmit the buffered electric energy to the first switch module 14;
[0150] The first processing module 11 is further configured to transmit the generated switch signal to the first switch module 14 when determining that the second component 2 is an original component;
[0151] The first switch module 14 is used to transmit the buffered electric energy to the load for power supply when receiving the switch signal.
[0152] It is understandable that the buffer module 13 can be used to buffer the power provided by the power supply unit 22 to avoid sudden access to power to damage the circuit and increase the service life. Figure 5 The loads that require electrical energy other than the modules shown in the figure, such as speakers, etc., are not limited in this embodiment.
[0153] In this embodiment, if Figure 6 As shown, the buffer module 13 can be composed of two NOT gates and a voltage follower VF, and of course it can also be composed of other components, which is not limited in this embodiment. The first switch module 14 can be composed of a switch tube, and of course it can also be composed of a load switch chip. This embodiment uses a switch tube for illustration, but is not limited in this regard.
[0154] Furthermore, in order to manage the received electric energy, such as Figure 5 As shown, in this embodiment, the first component 1 may also be provided with a first power management module 15, which is connected to the first switch module 14 and the load respectively. The first power management module 15 may be a module for distributing electric energy, and may be specifically formed by a chip with a power management unit (Power Management Unit, PMU). Of course, other chips with similar functions may also be used, and this embodiment does not limit this. Figure 6 As shown, this embodiment uses PMU for illustration (i.e. Figure 6 in PMU1).
[0155] In a specific implementation, after the buffer module 13 receives the electric energy transmitted by the second component 2, it can buffer the electric energy and transmit the buffered electric energy to the first switch module 14; when the first processing module 11 determines that the second component 2 is an original component, it can generate a switch signal to the first switch module 14; after receiving the switch signal, the first switch module 14 can conduct the loop between the buffer module 13 and the first power management module 15, and then transmit the buffered electric energy to the first power management module 15, and the first power management module 15 then transmits the buffered electric energy to the load for power supply. When the first processing module 11 determines that the second component 2 is not an original component, it will not generate a switch signal, and the load will not work.
[0156] Further, continue as Figure 5 As shown, in order to allow the transmission of electric energy to the first component 1 only when it is determined that the first component 1 is an original component, in this embodiment, the second component 2 further includes: a current limiting module 23 and a second switch module 24;
[0157] The second processing module 21 is connected to the second switch module 24, the current limiting module 23 and the power supply unit 22 respectively, the current limiting module 23 is also connected to the second switch module 24, and the second switch module 24 is also connected to the buffer module 13 and the power supply unit 22;
[0158] The second processing module 21 is further configured to transmit the generated current setting signal to the current limiting module 23 and the generated conduction signal to the second switch module 24 when determining that the first component 1 is an original component;
[0159] The current limiting module 23 is used to transmit the generated mode switching signal to the second switch module 24 when receiving the current setting signal;
[0160] The second switch module 24 is used to switch the current current mode to the power supply mode when receiving the mode switching signal, and transmit the power provided by the power supply unit 22 to the buffer module 13 when receiving the conduction signal.
[0161] It should be understood that the current limiting module 23 may be a module for switching the current mode. This embodiment uses two current modes for illustration, which may include a low power consumption low current mode and a full current mode (i.e., the power supply mode). The current limiting module 23 may be composed of a resistor and a switch tube, such as Figure 6 As shown, the second switch module 24 can be composed of a load switch chip, and of course can also be composed of a switch tube. This embodiment uses a load switch chip for illustration.
[0162] It should also be noted that in order to manage the power provided by the power supply 221, Figure 5 As shown, in this embodiment, the power supply unit 22 further includes: a power supply 221, a voltage regulation module 222 and a second power management module 223; wherein the second power management module 223 is respectively connected to the power supply 221 and the voltage regulation module 222, and the voltage regulation module 222 is also connected to the first processing module 11, the second processing module 21 and the second switch module 24.
[0163] The power source 221 may be composed of a battery; the second power management module 223 may be used to manage the power provided by the battery, and may also be composed of a PMU (ie Figure 6 The voltage regulating module 222 can perform voltage adaptation and voltage stabilization on the electric energy provided by the battery to obtain the required stable electric energy, and can be composed of a low dropout linear regulator (Low Dropout Regulator, LDO), of course, it can also be composed of other components, and this embodiment uses LDO for illustration.
[0164] In a specific implementation, when the second processing module 21 determines that the first component 1 is an original component, it can generate a current setting signal to transmit to the current limiting module 23, and generate a conduction signal to transmit to the second switch module 24; after receiving the current setting signal, the current limiting module 23 can generate a mode switching signal to the second switch module 24; after receiving the mode switching signal, the second switch module 24 can switch the current current mode from the low power consumption and low current mode to the full current mode, and when receiving the conduction signal, transmit the regulated electric energy output by the voltage regulating module 222 to the buffer module 13 to power the first component 1. When the second processing module 21 determines that the first component 1 is not an original component, no current setting signal and conduction signal are generated, and then the second switch module 24 will not power the first component 1.
[0165] Furthermore, if Figure 6 As shown, in this embodiment, the buffer module 13 includes: a voltage follower VF, a first NOT gate NOT1 and a second NOT gate NOT2, and the first switch module 14 includes: a first switch tube Q1;
[0166] Among them, the positive input end of the voltage follower VF is connected to the second switch module 24, the inverting input end of the voltage follower VF is connected to the output end of the voltage follower VF, the output end of the voltage follower VF is also connected to the input end of the first NOT gate NOT1, the output end of the first NOT gate NOT1 is connected to the input end of the second NOT gate NOT2, the input end of the second NOT gate NOT2 is connected to the input end of the first switch tube Q1, the control end of the first switch tube Q1 is connected to the first processing module 11, and the output end of the first switch tube Q1 is connected to the load.
[0167] It is understandable that the power supply terminal of the voltage follower VF is also connected to the power supply (i.e. Figure 6 The first switch tube Q1 may be an NMOS tube or a PMOS tube. The present embodiment uses an NMOS tube for illustration.
[0168] It should be understood that the CPLD control pin (i.e. Figure 6 The GPIO3 is connected to the control end of the first switch tube Q1 to realize the transmission of the above-mentioned switching signal.
[0169] exist Figure 6 In the embodiment, the non-phase input end of the voltage follower VF receives the electric energy sent by the second switch module 24, and transmits it to the first NOT gate NOT1 and the second NOT gate NOT2 through the voltage follower VF, completes the buffering process of the electric energy, and then transmits it to the input end of the first switch tube Q1; when the CPLD determines that the second component 2 is not an original component, the control pin of the CPLD has no switch signal (i.e. Figure 7 The CPLD sets the GPIO3 state to 0 (low level)), the first switch tube Q1 remains disconnected, and the load does not work (i.e. Figure 7 When the CPLD determines that the second component 2 is an original component, the control pin of the CPLD generates a switch signal and transmits it to the control end of the first switch tube Q1 (i.e. Figure 7 The CPLD sets the GPIO3 state to 1 (high level) in the middle, the first switch tube Q1 is turned on, and the buffered power is transmitted to PMU2, and PMU2 transmits it to the load, and the load works (i.e. Figure 7 system works normally).
[0170] Further, continue as Figure 6 As shown, in this embodiment, the current limiting module 23 includes: a first resistor R1, a second resistor R2, a third resistor R3 and a second switch tube Q2;
[0171] Among them, the first end of the first resistor R1 is connected to the second switch module 24, the second end of the first resistor R1 is respectively connected to the first end of the second resistor R2 and the input end of the second switch tube Q2, the second end of the second resistor R2 is grounded, the output end of the second switch tube Q2 is grounded, the control end of the second switch tube Q2 is respectively connected to the second processing module 21 and the first end of the third resistor R3, and the second end of the third resistor R3 is grounded.
[0172] The second switch tube Q2 may be an NMOS tube or a PMOS tube. This embodiment uses an NMOS tube for illustration.
[0173] It should be noted that, in order to achieve the switching of the current mode, the first resistor R1 and the second resistor R2 can both be current limiting resistors, the second switch module 24 can be a module composed of a load switch chip, and the first end of the first resistor R1 can be connected to the switching pin (i.e. Figure 7 lset) connection, used to transmit the generated mode switching signal to the Load switch chip; and in this embodiment, the first resistor R1 can be set to 10KΩ, the second resistor R2 can be set to 1KΩ, and the third resistor R3 can be set to 430K ohms.
[0174] It is understandable that the first control pin of the MCU (i.e. Figure 6 The GPIO1 in the MCU can be connected to the control end of the second switch tube Q2 to transmit the generated current setting signal to the second switch tube Q2; the second control pin of the MCU (i.e. Figure 6 GPIO2) can be connected to the load switch chip to transmit the generated conduction signal to the load switch chip.
[0175] exist Figure 6 In the example, when the MCU determines that the first component 1 is not an original component, the MCU generates no current setting signal and no conduction signal (i.e. Figure 8 The MCU keeps the GPIO1 and GPIO2 states at 0 (low level), the second switch tube Q2 remains disconnected, the resistance of the lset pin of the Loadswitch chip remains at 11KΩ (i.e. the resistance of R1+R2), and the Load switch chip remains in low power consumption and low current mode (i.e. Figure 8 When the MCU determines that the first component 1 is an original component, the MCU generates a current setting signal and transmits it to the control end of the second switch tube Q2 (i.e. Figure 8In the example, the MCU sets the GPIO1 state to 1 (high level), the second switch tube Q2 is turned on, the second resistor R2 is shorted to ground, and the resistance value of the lset pin of the Load switch chip changes from 11KΩ to 10KΩ (i.e. the resistance value of R1), and then the Load switch chip switches from the low power consumption and low current mode to the full current mode (i.e. Figure 8 The Load switch switches from low current mode to full current mode, and the MCU generates a turn-on signal to transmit to the Load switch chip (i.e. Figure 8 In the MCU, the GPIO2 state is set to 1 (high level). The load switch chip transmits the power output by the LDO to the positive input terminal of the voltage follower VF (i.e. Figure 8 The load switch output is turned on, and the power 221 is transmitted from the second component 2 to the first component 1 through the wiring harness 3 to power the second component 2.
[0176] Other embodiments or specific implementations of the headphones of the present application can refer to the above-mentioned method embodiments, which will not be repeated here.
[0177] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0178] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0179] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0180] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A headphone, It is characterized in that The headset comprises a first component and a second component used in conjunction with each other; The first component is used to transmit the preset original component serial number to the second component when the first component is successfully connected to the second component; The second component is used to determine that the first component is an original component when receiving the preset original component serial number within a second preset time period, and send a generated feedback signal to the first component; The first component is further configured to determine that the second component is an original component when the feedback signal is received within a first preset time period; The second component includes: a second processing module, a power supply unit, a current limiting module and a second switch module; The second processing module is respectively connected to the first component, the second switch module, the current limiting module and the power supply unit, the power supply unit is connected to the first component, the current limiting module is also connected to the second switch module, and the second switch module is also connected to the first component and the power supply unit; The second processing module is used to transmit the generated current setting signal to the current limiting module and the generated conduction signal to the second switch module when determining that the first component is an original component; The current limiting module is configured to transmit the generated mode switching signal to the second switch module upon receiving the current setting signal; The second switch module is used to switch the current current mode from the low power consumption and low current mode to the full current mode when receiving the mode switching signal, and to transmit the electric energy provided by the power supply unit to the first component when receiving the conduction signal.
2. The headset according to claim 1, It is characterized in that The first component includes: a first processing module and a storage module; Wherein, the first processing module is connected to the storage module and the second processing module respectively; The first processing module is used to transmit the preset original component serial number stored in the storage module to the second processing module when the connection with the second component is successful; The first processing module is further configured to determine that the second component is an original component when the feedback signal is received within a first preset time period.
3. The headphone according to claim 2, It is characterized in that The second processing module is further configured to determine that the first component is an original component when the preset original component serial number is received within a second preset time period, and send a generated feedback signal to the first processing module.
4. The headphone according to claim 3, It is characterized in that The first component further includes: a buffer module and a first switch module; The buffer module is connected to the first switch module and the power supply unit respectively, and the first switch module is also connected to the first processing module and the load respectively; The buffer module is used to buffer the electric energy provided by the power supply unit and transmit the buffered electric energy to the first switch module; The first processing module is further configured to transmit the generated switch signal to the first switch module when determining that the second component is an original component; The first switch module is used to transmit the buffered electric energy to the load for power supply when receiving the switch signal.
5. The headphone according to claim 4, It is characterized in that The buffer module includes: a voltage follower, a first NOT gate and a second NOT gate, and the first switch module includes: a first switch tube; Among them, the non-phase input end of the voltage follower is connected to the second switch module, the inverting input end of the voltage follower is connected to the output end of the voltage follower, the output end of the voltage follower is also connected to the input end of the first NOT gate, the output end of the first NOT gate is connected to the input end of the second NOT gate, the input end of the second NOT gate is connected to the input end of the first switch tube, the control end of the first switch tube is connected to the first processing module, and the output end of the first switch tube is connected to the load.
6. The headphone according to claim 5, It is characterized in that The current limiting module includes: a first resistor, a second resistor, a third resistor and a second switch tube; Among them, the first end of the first resistor is connected to the second switch module, the second end of the first resistor is respectively connected to the first end of the second resistor and the input end of the second switch tube, the second end of the second resistor is grounded, the output end of the second switch tube is grounded, the control end of the second switch tube is respectively connected to the second processing module and the first end of the third resistor, and the second end of the third resistor is grounded.
Citation Information
Patent Citations
Earphone mixed installation identification method, system and device and computer readable storage medium
CN114257922A
