Target device identification method, circuit, device and storage medium
Through the interaction between the detector and the resonant structure, the resonant parameter comparison and search method are used to solve the problem of high cost and easy to crack in the existing equipment identification method, and low-cost and high-security equipment identification and encryption are achieved.
Patent Information
- Application Number
- CN202210910735.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-07-29
AI Technical Summary
Among the existing device identification methods, the method based on the encryption chip and private protocol is costly and easy to be cracked, resulting in insufficient security of device identification and encryption.
The detector transmits a test signal to the resonant structure frequency hopping, and the resonant structure receives and processes the parameters, and the detector compares and obtains the second parameter of the resonant structure, and determines that the device to be identified is the target device based on the second parameter searching for a preset parameter set.
It realizes a low-cost, simple and difficult to crack device identification and encryption process, and improves the security and reliability of device identification.
Smart Images

Figure CN115412298B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic communication technology, and in particular to a target device identification method, circuit, device and storage medium. Background Art
[0002] Currently, in terms of device identification and device encryption, the device is identified through the physical interface structure or the identity document (ID) of the access module to determine whether the device is supported by the main device.
[0003] With the unification of physical interface standards, basic power supply or data transmission can be achieved as long as the interface format is consistent. To enhance the competitiveness of their products, different manufacturers often add their own proprietary protocols or specifications on top of industry standards or protocol specifications. For example, in the fast charging of mobile phones, fast charging of smart electric vehicles, and fast data transmission, different manufacturers adopt different standards and have different requirements for basic electrical parameters. Therefore, during the fast charging process of mobile phones, only slave devices that meet their own standards will be fast charged or fast data transmitted according to their defined fast charging gas parameters.
[0004] However, many manufacturers currently use encryption chips with encryption algorithms or chips that comply with private protocols to identify and encrypt slave devices, which has the problem of high cost and easy to crack. Summary of the Invention
[0005] The present application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, one object of the present application is to provide a target device identification method, circuit, device and storage medium.
[0006] In order to solve the above technical problems, the embodiments of the present application provide the following technical solutions:
[0007] A target device identification method, comprising:
[0008] The detector transmits a test signal to the resonant structure in a frequency hopping manner; wherein the detector is connected to the main device, and the resonant structure is connected to the device to be identified;
[0009] The resonant structure receives the test signal, processes the test signal to obtain a first parameter, and feeds the first parameter back to the detector;
[0010] The detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result;
[0011] A preset second parameter set is searched based on the second parameter of the resonant structure, and if the second parameter of the resonant structure is found in the preset second parameter set, the device to be identified is determined as a target device.
[0012] Optionally, the detector transmits a test signal to the resonant structure in a frequency hopping manner, including:
[0013] The detector determines the number M of groups of resonant elements included in the resonant structure; wherein M is a positive integer;
[0014] The detector transmits the test signal to each group of the resonant elements in turn.
[0015] Optionally, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, including:
[0016] When M=1, and the resonant elements are arranged in series;
[0017] The detector compares the Pth first parameter with the first parameter threshold, and if the comparison result is that the Pth first parameter is greater than the first parameter threshold, the second parameter of the resonant structure is obtained; wherein, the detector can transmit n test signals with different transmission frequencies; 1≤P≤n, and n, P are integers.
[0018] Optionally, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, further comprising:
[0019] When M=1, and the resonant elements are arranged in series;
[0020] The detector compares the nth first parameter with the first parameter threshold. If the comparison result is that the nth first parameter is smaller than the first parameter threshold, the device to be identified does not match the master device.
[0021] Optionally, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, further comprising:
[0022] When M>1, each group of the resonant elements is connected in series, and M groups of the resonant elements are connected in parallel;
[0023] The detector compares the T-th first parameter of the N-th group of resonant elements with the first parameter threshold. If the comparison result shows that the T-th first parameter of the N-th group of resonant elements is greater than the first parameter threshold, the input end of the N-th group of resonant elements is disconnected from the transmitting end of the detector; the output end of the N-th group of resonant elements is disconnected from the receiving end of the detector; the input end of the N+1-th group of resonant elements is connected to the transmitting end of the detector; and the output end of the N+1-th group of resonant elements is connected to the receiving end of the detector; wherein 1≤N<M, 1≤T≤n, and N, T, and n are integers;
[0024] The detector transmits the test signal to the N+1th group of resonant elements until the Mth first parameter is greater than the first parameter threshold, and then obtains the second parameter of each group of resonant elements.
[0025] Optionally, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, further comprising:
[0026] The detector compares the Tth first parameter of the Nth group of resonant elements with the first parameter threshold. If the comparison result is that the Tth first parameter of the Nth group of resonant elements is less than the first parameter threshold, the master device does not match the device to be identified.
[0027] The embodiment of the present application further provides a target device identification circuit, comprising:
[0028] A detector, wherein the transmitting end of the detector is used to transmit a test signal to the resonant structure in a frequency hopping manner; the detector is used to receive a first parameter fed back by the resonant structure; the detector is connected to the main device; and the resonant structure is connected to the device to be identified;
[0029] The resonant structure is connected to the detector; the resonant structure is used to receive the test signal sent by the detector and process the test signal to obtain the first parameter, and then the resonant structure feeds back the first parameter to the detector, so that the detector compares the first parameter with a first parameter threshold to obtain a comparison result, and obtains the second parameter of the resonant structure based on the comparison result, and searches for a preset second parameter set based on the second parameter of the resonant structure; if the second parameter is found in the preset second parameter set, the device to be identified is determined as a target device.
[0030] Optionally, the resonant structure is provided with M groups of resonant elements; wherein M is a positive integer;
[0031] Each group of the resonant elements includes an inductor and a capacitor; wherein the inductor and the capacitor included in each group of the resonant elements are used to determine the second parameter of the corresponding resonant element;
[0032] Wherein, the first end of the inductor is connected to the input end of the resonant structure; the second end of the inductor is connected to the first end of the capacitor;
[0033] The second end of the capacitor is connected to the output end of the resonant structure;
[0034] The test signal entering the input end of the resonant structure passes through the inductor and capacitor in sequence, and the first parameter is obtained.
[0035] Optionally, if M>1, each group of the resonant elements is arranged in series, and multiple groups of the resonant elements are connected in parallel;
[0036] The first end of the inductor of the Qth group of resonant elements is connected to the input end of the resonant structure, and the second end of the capacitor is connected to the output end of the resonant structure, so as to obtain the Qth first parameter; wherein 1≤Q≤M, and Q is an integer;
[0037] At the same time, the first ends of the inductors of the remaining M-1 groups of resonant elements are disconnected from the input end of the resonant structure, and the second ends of the capacitors of the remaining M-1 groups of resonant elements are disconnected from the output end of the resonant structure.
[0038] An embodiment of the present application further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method described above when executing the computer program.
[0039] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method described above.
[0040] The embodiments of this application have the following technical effects:
[0041] The above-mentioned technical solution of the present application realizes encryption for the device to be identified based on setting the second parameter of the resonant structure (resonant frequency or characteristic impedance), and transmits a test signal to the device to be identified based on frequency hopping of the main device. When the first parameter fed back by the device to be identified matches the test signal transmitted by the main device, the identification or decryption of the device to be identified is completed. The cost of decryption or identification is low, the operation is simple, and the cracking difficulty is high.
[0042] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a schematic diagram of the structure of a target device identification circuit provided in an embodiment of the present application;
[0044] Figure 2 Schematic diagram of a resonant structure provided by an embodiment of the present application, including a group of resonant elements in which a capacitor C and an inductor L are arranged in series;
[0045] Figure 3 Schematic diagram of a structure in which a resonant structure provided by an embodiment of the present application includes a plurality of groups of capacitors C and inductors L arranged in series and resonant elements connected in parallel;
[0046] Figure 4 1 is a schematic structural diagram of a resonant structure provided in an embodiment of the present application, including a set of capacitors C and inductors L connected in parallel to form a resonant element;
[0047] Figure 5 1 is a schematic structural diagram of a resonance structure provided by an embodiment of the present application, including two sets of capacitors C and inductors L arranged in parallel and connected in parallel;
[0048] Figure 6 This is a flow chart of a target device identification method provided in an embodiment of the present application;
[0049] Figure 7 Graph showing the relationship between the resonant frequency and characteristic impedance of a resonant element in which a capacitor C and an inductor L are arranged in series;
[0050] Figure 8 This is a graph showing the relationship between the resonant frequency and the characteristic impedance of a resonant element in which a capacitor C and an inductor L are connected in parallel. DETAILED DESCRIPTION
[0051] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0052] like Figure 1 As shown, an embodiment of the present application provides a target device identification circuit, including:
[0053] A detector, wherein the transmitting end of the detector is used to transmit a test signal to the resonant structure in a frequency hopping manner; the detector is used to receive a first parameter fed back by the resonant structure; the detector is connected to the main device; and the resonant structure is connected to the device to be identified;
[0054] The resonant structure is connected to the detector; the resonant structure is used to receive the test signal sent by the detector and process the test signal to obtain the first parameter, and then the resonant structure feeds back the first parameter to the detector, so that the detector compares the first parameter with a first parameter threshold to obtain a comparison result, and obtains the second parameter of the resonant structure based on the comparison result, and searches for a preset second parameter set based on the second parameter of the resonant structure; if the second parameter is found in the preset second parameter set, the device to be identified is determined as a target device.
[0055] Specifically, the transmitting end of the detector is used to transmit a test signal to the resonant structure in a frequency hopping manner; the receiving end of the detector is used to receive a first parameter fed back by the resonant structure; the detector is connected to a main device; and the resonant structure is connected to a device to be identified;
[0056] The input end of the resonant structure is connected to the transmitting end of the detector, and the output end of the resonant structure is connected to the receiving end of the detector; the input end of the resonant structure is used to receive the test signal sent by the transmitting end of the detector, and process the test signal to obtain the first parameter, and then the output end of the resonant structure feeds back the first parameter to the receiving end of the detector, so that the detector compares the first parameter with the first parameter threshold.
[0057] In an embodiment of the present application, the detector can be set inside the main device, and the resonant structure can also be set inside the device to be identified. When the main device and the device to be identified are connected, a connection is also established between the detector and the resonant structure.
[0058] Specifically, the detector is connected to the resonant structure to form a closed loop, and the detector (e.g., a Bluetooth device) has the function of transmitting a test signal in a frequency hopping manner, wherein the frequency hopping function means that the detector can continuously transmit a test signal with a continuously changing transmission frequency;
[0059] The second parameter may be the resonant frequency or characteristic impedance of each group of resonant elements of the resonant structure.
[0060] Furthermore, after the test signals of different transmission frequencies (for example, the interval between two adjacent transmission frequencies is 5MHz, 6MHz, 7MHz or 8MHz, etc.) pass through the resonant structure, the signal strength fed back to the detector is different. Only when the transmission frequency of the test signal transmitted by the detector to the resonant structure is consistent with the resonant frequency of the resonant structure, the characteristic impedance of the resonant structure is the lowest, the attenuation of the test signal is the smallest, and the signal strength corresponding to the first parameter obtained based on the test signal is the largest; and when the transmission frequency of the test signal transmitted by the detector to the resonant structure is inconsistent with the resonant frequency of the resonant structure, the characteristic impedance of the resonant structure is larger, the attenuation of the test signal is also larger, and the first parameter obtained based on the test signal is larger. The corresponding signal strength is smaller; therefore, in an embodiment of the present application, a first parameter threshold is set. When each group of resonant elements of the resonant structure is arranged in series, when the signal strength corresponding to the first parameter is greater than the signal strength corresponding to the first parameter threshold, the preset second parameter set is searched based on the resonant frequency of the resonant structure. If the resonant frequency can be found in the preset second parameter set, the device to be identified is determined as a target device; or when each group of resonant elements of the resonant structure is arranged in parallel, when the signal strength corresponding to the first parameter is less than the signal strength corresponding to the first parameter threshold, the preset second parameter set is searched based on the resonant frequency of the resonant structure. If the resonant frequency can be found in the preset second parameter set, the device to be identified is determined as a target device.
[0061] After the target device is determined, normal data transmission can be performed between the main device and the target device, or the main device can quickly charge the target device.
[0062] The embodiments of the present application realize encryption for the device to be identified based on setting the second parameter of the resonant structure (resonant frequency or characteristic impedance), and transmit a test signal to the device to be identified based on frequency hopping of the main device. When the first parameter fed back by the device to be identified matches the test signal transmitted by the main device, the identification or decryption of the device to be identified is completed. The cost of decryption or identification is low, the operation is simple, and the cracking difficulty is high.
[0063] In an optional embodiment of the present application, the resonant structure is provided with M groups of resonant elements; wherein M is a positive integer;
[0064] Each group of the resonant elements includes an inductor L and a capacitor C; wherein the inductor L and the capacitor C included in each group of the resonant elements are used to determine the second parameter of the corresponding resonant element;
[0065] Wherein, the first end of the inductor L is connected to the input end of the resonant structure; the second end of the inductor L is connected to the first end of the capacitor C;
[0066] The second end of the capacitor C is connected to the output end of the resonant structure;
[0067] The test signal entering the input end of the resonant structure passes through the inductor L and the capacitor C in sequence, and the first parameter is obtained.
[0068] like Figure 2 As shown, the embodiment of the present application further includes a resistor r, and a group of resonant elements is formed by connecting the resistor r, the capacitor C and the inductor L in series;
[0069] Specifically, the first end of the resistor r is connected to the input end of the resonant structure;
[0070] The second end of the resistor r is connected to the first end of the capacitor C;
[0071] The second end of the capacitor C is connected to the first end of the inductor L;
[0072] The second end of the inductor L is connected to the output end of the resonant structure;
[0073] The test signal entering the input end of the resonant structure passes through the resistor r, the inductor L, and the capacitor C in sequence, and the first parameter is obtained;
[0074] The two ends of the resonant structure are connected to an AC voltage, and the current I enters the resonant structure from the input end, flows through the resistor r, the capacitor C, and the inductor L in sequence, and flows out from the output end of the resonant structure.
[0075] In addition, in the embodiment of the present application, changing the positions of the capacitor C and the inductor L does not affect the working principle of the circuit of the present application.
[0076] In an optional embodiment of the present application, the values of the capacitance C and the inductance L of the resonant structure can be determined according to actual needs. When the values of the capacitance C and the inductance L of each group of resonant elements are fixed, the second parameter of the resonant element can also be fixed.
[0077] In an optional embodiment of the present application, if M>1, each group of the resonant elements is arranged in series, and multiple groups of the resonant elements are connected in parallel;
[0078] The first end of the inductor of the Qth group of resonant elements is connected to the input end of the resonant structure, and the second end of the capacitor is connected to the output end of the resonant structure, so as to obtain the Qth first parameter; wherein 1≤Q≤M, and Q is an integer;
[0079] At the same time, the first ends of the inductors L of the remaining M-1 groups of resonant elements are disconnected from the input end of the resonant structure, and the second ends of the capacitors C of the remaining M-1 groups of resonant elements are disconnected from the output end of the resonant structure.
[0080] An optional embodiment of the present application is as follows: Figure 3 As shown, M=4, including a first resonant element, a second resonant element, a third resonant element and a fourth resonant element connected in parallel;
[0081] When the resonant structure has multiple groups of resonant elements, 1) the capacitance C and the inductance L of several groups of resonant elements can be set to the same value, so that the second parameters corresponding to these groups of resonant elements are the same and different from the second parameters corresponding to the remaining groups of resonant elements;
[0082] 2) The values of the capacitance C and the inductance L of each group of resonant elements may be set to be different, so that the second parameters corresponding to each group of resonant elements are different, thereby increasing the difficulty of cracking the target device.
[0083] In an optional embodiment of the present application, when the resonant structure includes multiple groups of resonant elements, one of the groups of resonant elements is first randomly identified, and then the group of resonant elements is connected to the detector, and the remaining resonant elements are disconnected from the detector, and so on. During the identification process, no matter how many groups of resonant elements are set, one group of resonant elements is identified one by one in sequence without repetition, and then the next group of resonant elements is identified, so as to avoid uncertainty about which group of resonant elements has completed identification and which group of resonant elements has not completed identification, thereby avoiding the problem of missed identification of resonant elements or inability to determine the resonant elements to be identified.
[0084] In the embodiments of the present application, the device to be identified may be a mobile phone, a data cable, or a smart charging car, and the target device may be a charging pile.
[0085] like Figure 4 As shown, the embodiment of the present application further includes a resistor R, and a group of resonant elements is formed by connecting the resistor R, the capacitor C, and the inductor L in parallel;
[0086] Specifically, the first end of the resistor R is respectively connected to the input end of the resonant structure, the first end of the capacitor C, and the first end of the inductor L; the second end of the resistor R is respectively connected to the output end of the resonant structure, the second end of the capacitor C, and the second end of the inductor L;
[0087] The first end of the inductor L is connected to the input end of the resonant structure and the first end of the capacitor C respectively;
[0088] The second end of the inductor L is connected to the output end of the resonant structure and the second end of the capacitor C respectively;
[0089] The first ends of the capacitors C are respectively connected to the input ends of the resonant structures, and the second ends of the capacitors C are respectively connected to the output ends of the resonant structures.
[0090] The test signal entering the input end of the resonant structure passes through the resistor r, the inductor L, and the capacitor C at the same time, and obtains the first parameter;
[0091] The two ends of the resonant structure are connected to an AC voltage, and a current I enters the resonant structure from the input end of the resonant structure, and simultaneously flows through the resistor r, the capacitor C and the inductor L, and flows out from the output end of the resonant structure.
[0092] An optional embodiment of the present application is as follows: Figure 5 As shown, M=2, including a first resonant element and a second resonant element connected in parallel;
[0093] like Figure 6 As shown, the embodiment of the present application also provides a target device identification method, which is applied to Figures 1 to 3 The circuit shown includes:
[0094] Step S61: The detector transmits a test signal to the resonant structure in a frequency hopping manner; wherein the detector is connected to the main device, and the resonant structure is connected to the device to be identified;
[0095] Specifically, the detector transmits a test signal to the resonant structure in a frequency hopping manner, including:
[0096] The detector determines the number M of groups of resonant elements included in the resonant structure; wherein M is a positive integer;
[0097] The detector transmits the test signal to each group of the resonant elements in turn.
[0098] In an embodiment of the present application, after the main device and the device to be identified are connected, the detector set in the main device first detects the number M of resonant elements of the resonant structure, and identifies each group of resonant elements in turn based on the detected number of resonant elements; that is, it transmits a test signal to each group of resonant elements in turn.
[0099] Step S62: the resonant structure receives the test signal, processes the test signal to obtain a first parameter, and then feeds the first parameter back to the detector;
[0100] Step S63: the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and obtains a second parameter of the resonant structure according to the comparison result;
[0101] Specifically, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires the second parameter of the resonant structure according to the comparison result, including:
[0102] When M=1, and the resonant elements are arranged in series;
[0103] The detector compares the Pth first parameter with the first parameter threshold, and if the comparison result is that the Pth first parameter is greater than the first parameter threshold, the second parameter of the resonant structure is obtained; wherein, the detector can transmit n test signals with different transmission frequencies; 1≤P≤n, and n, P are integers.
[0104] In an embodiment of the present application, the second parameter of each group of resonant elements may include a resonant frequency or a characteristic impedance, wherein the resonant frequency and the characteristic impedance may be calculated based on the following formula:
[0105] Characteristic impedance
[0106] when When , the resonant structure resonates. At this time, The resonant structure has the minimum characteristic impedance, Z = r; the corresponding ω0 is the resonant frequency of the resonant structure;
[0107] Where: ω0 and ω are angular frequencies, j is the symbol of the imaginary number;
[0108]
[0109] Where: f0 is the frequency.
[0110] like Figure 7 As shown in the figure, it is the relationship between characteristic impedance and angular frequency. Figure 7 It can be seen that when w=w0, Z is the smallest, Z=r.
[0111] In the embodiments of the present application, the resonant frequency or characteristic impedance can be selected according to actual needs. For example, by changing the values of the capacitance C and the inductance L of each group of resonant elements, the resonant frequency or characteristic impedance corresponding to each group of resonant elements is changed, thereby realizing encryption of the device to be identified.
[0112] In an optional embodiment of the present application, assuming that the resonant structure has only one set of resonant elements, the master device only needs to determine that the first parameter corresponding to the set of resonant elements is greater than the first parameter threshold when determining the target device.
[0113] Specifically, according to an embodiment of the present application, after the main device establishes a connection with the device to be identified, the detector begins to continuously transmit a test signal to the resonant element of the resonant structure, and the transmission frequency of the test signal is different. The transmission frequency of the test signal transmitted by the detector can be preset to have n (n is a positive integer) different values. The detector then transmits a test signal of one of the transmission frequencies to the resonant element each time, and then receives a first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is less than the signal strength of the threshold to be detected;
[0114] The detector selects another transmission frequency from the remaining n-1 transmission frequencies, and transmits a test signal to the resonant element again at the transmission frequency, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0115] The above steps are then repeated, that is, the detector continues to transmit a test signal of a transmission frequency to the resonant element again, and then receives the first parameter of the resonant element based on the feedback of the test signal, until the signal strength corresponding to the first parameter is greater than the signal strength of the threshold to be detected, and then the second parameter of the group of resonant elements is obtained.
[0116] In an optional embodiment of the present application, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and obtains a second parameter of the resonant structure based on the comparison result, further comprising:
[0117] When M=1, and the resonant elements are arranged in series;
[0118] The detector compares the nth first parameter with the first parameter threshold. If the comparison result shows that the nth first parameter is smaller than the first parameter threshold, the device to be identified does not match the master device.
[0119] In an optional embodiment of the present application, after the detector has transmitted n test signals of different transmission frequencies to the resonant element, the above steps are repeated to perform the next round of decryption, or the user may be prompted that the decryption has failed.
[0120] In the above embodiments of the present application, the value of n can be determined according to actual needs, and the embodiments of the present application do not make specific limitations on this.
[0121] In an optional embodiment of the present application, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and obtains a second parameter of the resonant structure based on the comparison result, further comprising:
[0122] When M>1, each group of the resonant elements is connected in series, and M groups of the resonant elements are connected in parallel;
[0123] The detector compares the Tth first parameter of the Nth group of resonant elements with the first parameter threshold value. If the comparison result shows that the Tth first parameter of the Nth group of resonant elements is greater than the first parameter threshold value, the input end of the Nth group of resonant elements is disconnected from the transmitting end of the detector; the output end of the Nth group of resonant elements is disconnected from the receiving end of the detector; the input end of the N+1th group of resonant elements is connected to the transmitting end of the detector; and the output end of the N+1th group of resonant elements is connected to the receiving end of the detector; wherein 1≤N<M, 1≤T≤n, and N, T, and n are integers;
[0124] The detector transmits the test signal to the N+1th group of resonant elements until the Mth first parameter is greater than the first parameter threshold, and then obtains the second parameter of each group of resonant elements.
[0125] In the embodiment of the present application, when M>1, that is, the resonant structure includes multiple groups of resonant elements connected in parallel, and each group of resonant elements is arranged in series, during the process of determining the target device, it is necessary to determine that the first parameter corresponding to each group of resonant elements is greater than the first parameter threshold. Therefore, moderately increasing the number of resonant elements can increase the difficulty of decryption, thereby improving the competitiveness of its own products.
[0126] In an optional embodiment of the present application, assuming that the resonant structure is provided with only M groups of resonant elements connected in series, and each group of resonant elements is arranged in series, when the master device determines the target device, it only needs to determine in sequence that the first parameter corresponding to each group of resonant elements is greater than the first parameter threshold; wherein, during the identification process, there is no limit on the order of determining the first parameter of each group of resonant elements.
[0127] Specifically, according to an embodiment of the present application, after the main device establishes a connection with the device to be identified, the detector begins to continuously transmit a test signal to each group of resonant elements of the resonant structure, and the transmission frequency of the test signal is different. The transmission frequency of the test signal emitted by the detector can be preset to have n (n is a positive integer) different values;
[0128] For the Nth group of resonant elements, the detector transmits a test signal of one of the transmission frequencies to the resonant elements each time, and then receives a first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the first parameter is less than the signal strength of the threshold to be detected, the detector selects another transmission frequency from the remaining n-1 transmission frequencies, and transmits a test signal to the resonant elements again at the transmission frequency, and then receives the first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0129] The above steps are then repeated, that is, the detector continues to transmit a test signal of a transmission frequency to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal, until the signal strength corresponding to the first parameter is greater than the signal strength of the threshold to be detected, then the input end of the resonant element of the Nth group is disconnected from the transmitting end of the detector; the output end of the resonant element of the Nth group is disconnected from the receiving end of the detector; the input end of the resonant element of the N+1th group is connected to the transmitting end of the detector; and the output end of the resonant element of the N+1th group is connected to the receiving end of the detector;
[0130] For the N+1th group of resonant elements, the detector transmits a test signal of one of the transmission frequencies to the resonant elements each time, and then receives a first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the first parameter is less than the signal strength of the threshold to be detected, the detector selects another transmission frequency from the remaining n-1 transmission frequencies, and transmits a test signal to the resonant elements again at the transmission frequency, and then receives the first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0131] The above steps are then repeated, that is, the detector continues to transmit a test signal of the transmission frequency to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal, until the signal strength corresponding to the first parameter is greater than the signal strength of the first parameter threshold;
[0132] By analogy, the above steps are repeated, and after determining that the signal strengths corresponding to the M groups of resonant elements are greater than the signal strength of the first parameter threshold, the resonant frequency of each group of resonant elements is obtained.
[0133] In an optional embodiment of the present application, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and obtains a second parameter of the resonant structure based on the comparison result, further comprising:
[0134] The detector compares the Tth first parameter of the Nth group of resonant elements with the first parameter threshold. If the Tth first parameter of the Nth group of resonant elements is less than the first parameter threshold, the master device does not match the device to be identified.
[0135] In an embodiment of the present application, when the resonant structure is provided with a plurality of resonant elements, it is necessary to determine whether the second parameter of each resonant element matches the emission frequency of the detector before it can be determined that the main device matches the device to be identified, which further increases the difficulty of cracking the target device.
[0136] Specifically, assuming that the resonant structure is provided with M groups of resonant elements, the first parameter of each group of resonant elements in the M groups of resonant elements must be greater than the first parameter threshold before proceeding to the next step. Otherwise, if the first parameter of any group of resonant elements is less than the first parameter threshold, it indicates that the main device does not match the device to be identified, and the user may be prompted that the decryption failed.
[0137] In an optional embodiment of the present application, the detector compares the first parameter with the first parameter threshold to obtain a comparison result, and obtains a second parameter of the resonant structure based on the comparison result, further comprising:
[0138] When M>1, M groups of the resonant elements are connected in parallel, and each group of the resonant elements is arranged in parallel;
[0139] The detector compares the T-th first parameter of the resonant elements in the N-th group with the first parameter threshold. If the comparison result shows that the T-th first parameter of the resonant elements in the N-th group is less than the first parameter threshold, the input end of the resonant elements in the N-th group is disconnected from the transmitting end of the detector; the output end of the resonant elements in the N-th group is disconnected from the receiving end of the detector; the input end of the resonant elements in the N+1-th group is connected to the transmitting end of the detector; and the output end of the resonant elements in the N+1-th group is connected to the receiving end of the detector; wherein 1≤N<M, 1≤T≤n, and N, T, and n are integers;
[0140] The detector transmits the test signal to the N+1th group of resonant elements until the Mth first parameter is greater than the first parameter threshold, and then obtains the second parameter of each group of resonant elements.
[0141] In an embodiment of the present application, the second parameter of each group of resonant elements may include a resonant frequency or a characteristic impedance, wherein the resonant frequency and the characteristic impedance may be calculated based on the following formula:
[0142]
[0143] Where G in is the input admittance of each group of resonant elements, Z in is the input impedance of each set of resonant elements.
[0144] when When the parallel LC resonant element resonates, The parallel LC resonant components have the maximum characteristic impedance Z in =R, the corresponding ω0 is the resonant frequency of the circuit (ω0 is the angular frequency, ).
[0145] like Figure 8As shown in the figure, it is the relationship between characteristic impedance and angular frequency. Figure 8 It can be seen that when w=w0, Z is the largest, Z in =R.
[0146] Step S64: searching a preset second parameter set based on the second parameter of the resonant structure. If the second parameter of the resonant structure is found in the preset second parameter set, determining the device to be identified as a target device.
[0147] In the embodiment of the present application, a preset second parameter set is searched based on the second parameter of the resonant structure, which further increases the difficulty of decryption and thereby improves the competitiveness of the product.
[0148] Specifically, the preset second parameter set may include a plurality of different frequencies for limiting the range of the matching resonant frequency as needed.
[0149] The above embodiments of the present application can be implemented based on the following implementation methods:
[0150] For example: 1) Assume that the resonant structure has a set of resonant elements with a capacitor C and an inductor L arranged in series, and the transmission frequencies of the test signal can be 2412 MHz, 2417 MHz, 2422 MHz, 2427 MHz, and 2432 MHz; n = 5, M = 1;
[0151] Adjust the values of the inductance L and capacitance C of the resonant element to determine the resonant frequency of the resonant element to be 2412 MHz;
[0152] The detector transmits a test signal with a transmission frequency of 2417 MHz to the resonant element, and then receives a first parameter fed back by the resonant element based on the test signal, wherein the signal strength corresponding to the resonant frequency is less than the signal strength of the threshold to be detected;
[0153] The detector selects (or randomly selects) a transmission frequency of 2422 MHz from the remaining transmission frequencies, and transmits a test signal with a transmission frequency of 2422 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0154] Then, repeat the above steps until the detector transmits a test signal with a transmission frequency of 2412 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is greater than the signal strength of the threshold to be detected, the resonant frequency 2412 MHz of the group of resonant elements is obtained, and the preset resonant frequency set (2412 MHz, 2437 MHz) is searched based on the resonant frequency 2412 MHz. If 2412 MHz can be found, it indicates that the device to be identified matches the main device, or the decryption is successful.
[0155] Therefore, in this embodiment of the present application, the current master device can charge or transmit data to the device to be identified.
[0156] 2) Assume that the resonant structure has a set of resonant elements with a capacitor C and an inductor L arranged in series, and the transmission frequencies of the test signal can be 2412 MHz, 2417 MHz, 2422 MHz, 2427 MHz, and 2432 MHz; n = 5, M = 1;
[0157] Adjust the values of the inductance L and capacitance C of the resonant element to determine the resonant frequency of the resonant element to be 2407 MHz;
[0158] The detector transmits a test signal with a transmission frequency of 2417 MHz to the resonant element, and then receives a first parameter fed back by the resonant element based on the test signal, wherein the signal strength corresponding to the first parameter is less than the signal strength of the threshold to be detected;
[0159] The detector selects (or randomly selects) a transmission frequency of 2422 MHz from the remaining transmission frequencies, and transmits a test signal with a transmission frequency of 2422 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0160] Then, the above steps are repeated until the detector transmits the test signal corresponding to each of the above transmission frequencies to the resonant element again and receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the detection threshold, it indicates that the device to be identified does not match the main device, or decryption fails.
[0161] Therefore, this embodiment of the present application cannot charge or transmit data to the device to be identified through the current master device.
[0162] 3) Assume that the resonant structure has five resonant elements, each consisting of a capacitor C and an inductor L arranged in series and connected in parallel, i.e., M = 5. The transmission frequencies of the test signal may be 2412 MHz, 2417 MHz, 2422 MHz, 2427 MHz, 2432 MHz, 2432 MHz, 2437 MHz, 2442 MHz, 2447 MHz, and 2452 MHz; n = 11.
[0163] Adjust the values of the inductance L and capacitance C of the resonant elements to determine the resonant frequency of each group of resonant elements to be 2412 MHz or 2432 MHz;
[0164] For the first group of resonant elements, the detector transmits a test signal with a transmission frequency of 2452 MHz to the resonant elements, and then receives a first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the resonant frequency is less than the signal strength of the threshold to be detected,
[0165] The detector selects (or randomly selects) a transmission frequency of 2447 MHz from the remaining transmission frequencies, and transmits a test signal with a transmission frequency of 2447 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0166] Then, the above steps are repeated until the detector again transmits a test signal with a transmission frequency of 2412 MHz to the resonant element, and then receives a first parameter fed back by the resonant element based on the test signal, and the signal strength corresponding to the first parameter is greater than the signal strength of the detection threshold;
[0167] Then the input end of the second group of resonant elements is disconnected from the transmitting end of the detector; the output end of the first group of resonant elements is disconnected from the receiving end of the detector; the input end of the second group of resonant elements is connected to the transmitting end of the detector; and the output end of the second group of resonant elements is connected to the receiving end of the detector.
[0168] For the first group of resonant elements, the detector transmits a test signal with a transmission frequency of 2447 MHz to the resonant elements, and then receives a first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the resonant frequency is less than the signal strength of the detection threshold,
[0169] The detector selects (or randomly selects) a transmission frequency of 2442 MHz from the remaining transmission frequencies, and transmits a test signal with a transmission frequency of 2442 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0170] Then, the above steps are repeated until the detector again transmits a test signal with a transmission frequency of 2432 MHz to the resonant element, and then receives a first parameter fed back by the resonant element based on the test signal, and the signal strength corresponding to the first parameter is greater than the signal strength of the detection threshold;
[0171] The input end of the second group of resonant elements is disconnected from the transmitting end of the detector; the output end of the second group of resonant elements is disconnected from the receiving end of the detector; the input end of the third group of resonant elements is connected to the transmitting end of the detector; and the output end of the third group of resonant elements is connected to the receiving end of the detector.
[0172] By analogy, when the first parameters of the five groups of resonant elements are all greater than the first parameter threshold, the resonant frequencies of 2412 MHz and 2432 MHz of each group of resonant elements are obtained;
[0173] Based on 2412MHz and 2432MHz; the preset second parameter set (2412MHz, 2417MHz, 2422MHz, 2427MHz, 2432MHz and 2437MHz) is searched, and 2412MHz and 2432MHz can be found. Therefore, the main device matches the device to be identified, that is, the decryption is successful.
[0174] Therefore, in this embodiment of the present application, the current master device can charge or transmit data to the device to be identified.
[0175] In the embodiments of the present application, the value of n can be determined according to actual needs, and the embodiments of the present application do not make specific limitations on this.
[0176] 4) Assume that the resonant structure has 5 groups of resonant elements with capacitors C and inductors L arranged in series and connected in parallel, that is, M=5, and the transmission frequencies of the test signal can be 2412MHz, 2417MHz, 2422MHz, 2427MHz, 2432MHz, 2432MHz, 2432MHz, 2437MHz, 2442MHz, 2447MHz and 2452MHz; n=11; then when the resonant frequencies corresponding to each group of resonant elements are different, The encryption method is used to encrypt 5 groups of resonant elements;
[0177] For example, the values of the inductance L and the capacitance C of the resonant elements are adjusted to determine the resonant frequencies of each group of resonant elements to be 2412 MHz, 2417 MHz, 2422 MHz, 2427 MHz, and 2432 MHz, respectively.
[0178] For the first group of resonant elements, the detector transmits a test signal with a transmission frequency of 2452 MHz to the resonant elements, and then receives a first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the resonant frequency is less than the signal strength of the threshold to be detected,
[0179] The detector selects (or randomly selects) a transmission frequency of 2447 MHz from the remaining transmission frequencies, and transmits a test signal with a transmission frequency of 2447 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0180] Then, the above steps are repeated until the detector again transmits a test signal with a transmission frequency of 2412 MHz to the resonant element, and then receives a first parameter fed back by the resonant element based on the test signal, and the signal strength corresponding to the first parameter is greater than the signal strength of the detection threshold;
[0181] Then the input end of the second group of resonant elements is disconnected from the transmitting end of the detector; the output end of the first group of resonant elements is disconnected from the receiving end of the detector; the input end of the second group of resonant elements is connected to the transmitting end of the detector; and the output end of the second group of resonant elements is connected to the receiving end of the detector.
[0182] For the first group of resonant elements, the detector transmits a test signal with a transmission frequency of 2447 MHz to the resonant elements, and then receives a first parameter fed back by the resonant elements based on the test signal. If the signal strength corresponding to the resonant frequency is less than the signal strength of the detection threshold,
[0183] The detector selects (or randomly selects) a transmission frequency of 2442 MHz from the remaining transmission frequencies, and transmits a test signal with a transmission frequency of 2442 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0184] Then, the above steps are repeated until the detector again transmits a test signal with a transmission frequency of 2412 MHz to the resonant element, and then receives a first parameter fed back by the resonant element based on the test signal, and the signal strength corresponding to the first parameter is greater than the signal strength of the detection threshold;
[0185] The input end of the second group of resonant elements is disconnected from the transmitting end of the detector; the output end of the second group of resonant elements is disconnected from the receiving end of the detector; the input end of the third group of resonant elements is connected to the transmitting end of the detector; and the output end of the third group of resonant elements is connected to the receiving end of the detector.
[0186] By analogy, when the first parameters of the five groups of resonant elements are all greater than the first parameter threshold, the resonant frequencies of each group of resonant elements are obtained as 2412 MHz, 2417 MHz, 2422 MHz, 2427 MHz, and 2432 MHz;
[0187] Based on 2412MHz, 2417MHz, 2422MHz, 2427MHz and 2432MHz, a search is performed on the preset second parameter set (2412MHz, 2417MHz, 2422MHz, 2427MHz, 2432MHz and 2437MHz). 2412MHz, 2417MHz, 2422MHz, 2427MHz and 2432MHz or 2417MHz, 2422MHz, 2427MHz, 2412MHz and 2432MHz or 4422MHz, 2427MHz, 2432MHz, 2412MHz and 2417MHz can be found. Therefore, the main device matches the device to be identified, and the decryption is successful.
[0188] Therefore, in this embodiment of the present application, the current master device can charge or transmit data to the device to be identified.
[0189] In the embodiments of the present application, the value of n can be determined according to actual needs, and the embodiments of the present application do not make specific limitations on this.
[0190] 5) Assume that the resonant structure has five resonant elements, each consisting of a capacitor C and an inductor L arranged in series and connected in parallel, i.e., M = 5. The transmission frequencies of the test signal may be 2412 MHz, 2417 MHz, 2422 MHz, 2427 MHz, 2432 MHz, 2432 MHz, 2437 MHz, 2442 MHz, 2447 MHz, and 2452 MHz; n = 11.
[0191] Adjust the values of the inductance L and the capacitance C of the resonant element to determine the resonant frequency of the resonant element to be 2407 MHz or 2402 MHz respectively;
[0192] The detector transmits a test signal with a transmission frequency of 2417 MHz to the resonant element, and then receives a first parameter fed back by the resonant element based on the test signal, wherein the signal strength corresponding to the first parameter is less than the signal strength of the threshold to be detected;
[0193] The detector selects (or randomly selects) a transmission frequency of 2422 MHz from the remaining transmission frequencies, and transmits a test signal with a transmission frequency of 2422 MHz to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the threshold to be detected;
[0194] Then, the above steps are repeated until the detector transmits the test signal corresponding to each of the above transmission frequencies to the resonant element again, and then receives the first parameter fed back by the resonant element based on the test signal. If the signal strength corresponding to the first parameter is still less than the signal strength of the detection threshold, it indicates that the device to be identified does not match the main device, or decryption fails.
[0195] Therefore, this embodiment of the present application cannot charge or transmit data to the device to be identified through the current master device.
[0196] It should be noted that when M>1, the detection order of the multiple groups of resonant elements is performed randomly, and the embodiments of the present application do not specifically limit this.
[0197] An embodiment of the present application further provides an electronic device, comprising a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method described above when executing the computer program.
[0198] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method described above.
[0199] In addition, other structures and functions of the device in the embodiment of the present application are known to those skilled in the art and will not be described here to reduce redundancy.
[0200] It should be noted that the logic and / or steps represented in the flowcharts or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (e.g., a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device). For purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transmit a program for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection having one or more wires (electronic device), a portable computer disk cartridge (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and programmable read-only memory (ELROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM). Furthermore, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing it in another suitable manner if necessary, and then storing it in a computer memory.
[0201] It should be understood that various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (LGA), a field programmable gate array (FLGA), etc.
[0202] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0203] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0204] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of the technical features being referred to. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of such features. Throughout the description of this application, "plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0205] In this application, unless otherwise specified or limited, the terms "installed," "connected," "connect," "fixed," etc. should be understood in a broad sense. For example, they can refer to fixed connection, detachable connection, or integration; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate medium; internal communication between two elements or interaction between two elements, unless otherwise specified. Those skilled in the art will understand the specific meanings of the above terms in this application based on specific circumstances.
[0206] In this application, unless otherwise expressly specified or limited, when a first feature is "above" or "below" a second feature, it may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Furthermore, when a first feature is "above," "above," or "above" a second feature, it may mean that the first feature is directly above or diagonally above the second feature, or simply means that the first feature is at a higher level than the second feature. When a first feature is "below," "below," or "below" a second feature, it may mean that the first feature is directly below or diagonally below the second feature, or simply means that the first feature is at a lower level than the second feature.
[0207] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A target device identification method, characterized in that: include: The detector transmits a test signal to the resonant structure in a frequency hopping manner; wherein the detector is connected to the main device, and the resonant structure is connected to the device to be identified; The resonant structure receives the test signal, processes the test signal to obtain a first parameter, and feeds the first parameter back to the detector; The detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result; searching a preset second parameter set based on the second parameter of the resonant structure, and determining the device to be identified as a target device if the second parameter of the resonant structure is found in the preset second parameter set; The detector transmits a test signal to the resonant structure by frequency hopping, comprising: The detector determines the number M of groups of resonant elements included in the resonant structure; wherein M is a positive integer; The detector transmits the test signal to each group of the resonant elements in sequence; The detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, further comprising: When M>1, each group of the resonant elements is connected in series, and M groups of the resonant elements are connected in parallel; The detector compares the T-th first parameter of the N-th group of resonant elements with the first parameter threshold. If the comparison result shows that the T-th first parameter of the N-th group of resonant elements is greater than the first parameter threshold, the input end of the N-th group of resonant elements is disconnected from the transmitting end of the detector; the output end of the N-th group of resonant elements is disconnected from the receiving end of the detector; the input end of the N+1-th group of resonant elements is connected to the transmitting end of the detector; and the output end of the N+1-th group of resonant elements is connected to the receiving end of the detector; wherein 1≤N<M, 1≤T≤n, and N, T, and n are integers; The detector transmits the test signal to the N+1th group of resonant elements until the Mth first parameter is greater than the first parameter threshold, and then obtains the second parameter of each group of resonant elements.
2. The method according to claim 1, characterized in that The detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, including: When M=1, and the resonant elements are arranged in series; The detector compares the Pth first parameter with the first parameter threshold, and if the comparison result is that the Pth first parameter is greater than the first parameter threshold, the second parameter of the resonant structure is obtained; wherein, the detector can transmit n test signals with different transmission frequencies; 1≤P≤n, and n, P are integers.
3. The method according to claim 2, characterized in that The detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, further comprising: When M=1, and the resonant elements are arranged in series; The detector compares the nth first parameter with the first parameter threshold. If the comparison result is that the nth first parameter is smaller than the first parameter threshold, the device to be identified does not match the master device.
4. The method according to claim 1, wherein The detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, further comprising: The detector compares the Tth first parameter of the Nth group of resonant elements with the first parameter threshold. If the comparison result is that the Tth first parameter of the Nth group of resonant elements is less than the first parameter threshold, the master device does not match the device to be identified.
5. A target device identification circuit, characterized in that: include: A detector, wherein a transmitting end of the detector is used to transmit a test signal to the resonant structure through frequency hopping; The detector is used to receive a first parameter fed back by the resonant structure; The detector is connected to the main device; The resonant structure is connected to the device to be identified; The resonant structure is connected to the detector; the resonant structure is used to receive the test signal sent by the detector, and process the test signal to obtain the first parameter, and then the resonant structure feeds the first parameter back to the detector, so that the detector compares the first parameter with a first parameter threshold to obtain a comparison result, and obtains a second parameter of the resonant structure based on the comparison result, and searches a preset second parameter set based on the second parameter of the resonant structure; If the second parameter is found in the preset second parameter set, determining the device to be identified as a target device; The detector transmits a test signal to the resonant structure by frequency hopping, comprising: The detector determines the number M of groups of resonant elements included in the resonant structure; wherein M is a positive integer; The detector transmits the test signal to each group of the resonant elements in sequence; The detector compares the first parameter with the first parameter threshold to obtain a comparison result, and acquires a second parameter of the resonant structure according to the comparison result, further comprising: When M>1, each group of the resonant elements is connected in series, and M groups of the resonant elements are connected in parallel; The detector compares the T-th first parameter of the N-th group of resonant elements with the first parameter threshold. If the comparison result shows that the T-th first parameter of the N-th group of resonant elements is greater than the first parameter threshold, the input end of the N-th group of resonant elements is disconnected from the transmitting end of the detector; the output end of the N-th group of resonant elements is disconnected from the receiving end of the detector; the input end of the N+1-th group of resonant elements is connected to the transmitting end of the detector; and the output end of the N+1-th group of resonant elements is connected to the receiving end of the detector; wherein 1≤N<M, 1≤T≤n, and N, T, and n are integers; The detector transmits the test signal to the N+1th group of resonant elements until the Mth first parameter is greater than the first parameter threshold, and then obtains the second parameter of each group of resonant elements.
6. The circuit according to claim 5, characterized in that The resonant structure is provided with M groups of resonant elements; wherein M is a positive integer; Each group of the resonant elements includes an inductor and a capacitor; wherein the inductor and the capacitor included in each group of the resonant elements are used to determine the second parameter of the corresponding resonant element; Wherein, the first end of the inductor is connected to the input end of the resonant structure; the second end of the inductor is connected to the first end of the capacitor; The second end of the capacitor is connected to the output end of the resonant structure; The test signal entering the input end of the resonant structure passes through the inductor and capacitor in sequence, and the first parameter is obtained.
7. The circuit according to claim 6, characterized in that If M>1, each group of the resonant elements is arranged in series, and multiple groups of the resonant elements are connected in parallel; The first end of the inductor of the Qth group of resonant elements is connected to the input end of the resonant structure, and the second end of the capacitor is connected to the output end of the resonant structure, so as to obtain the Qth first parameter; wherein 1≤Q≤M, and Q is an integer; At the same time, the first ends of the inductors of the remaining M-1 groups of resonant elements are disconnected from the input end of the resonant structure, and the second ends of the capacitors of the remaining M-1 groups of resonant elements are disconnected from the output end of the resonant structure.
8. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the method according to any one of claims 1 to 4 when executing the computer program.
9. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Identification data carrier, read device, identification system and procedure for manufacturing an identification data carrier
US20070158441A1