Method for determining authenticity of terminal, processing device and terminal

The signal characteristic consistency analysis is performed through the sound generating unit and sound pickup unit of the terminal, which solves the problem that the existing technology is difficult to identify the real terminal, and realizes efficient terminal authenticity identification, prevents fraudulent behavior of the virtual terminal.

CN119402213APending Publication Date: 2025-02-07CHINA UNIONPAY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411010735.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-25
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

It is difficult for the existing technology to effectively identify and distinguish real terminals from virtual or fake terminals, especially in the existence of virtual device platforms such as cloud mobile phones, which leads to the payment industry and others facing problems of fraud and business interference.

Method used

Through the sound generating unit and sound pickup unit of the terminal, the randomly generated challenge task number is used to generate the corresponding sound signal, and the sound pickup signal is collected through the sound pickup unit to perform signal characteristics consistency analysis to determine the authenticity of the terminal.

Benefits of technology

This method improves the anti-attack and recognition stability of terminal authenticity identification, saves system computing power, and effectively prevents fraudulent behavior of virtual terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402213A_ABST
    Figure CN119402213A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of authentication, and more particularly, to a method for determining the authenticity of a terminal, a system for determining the authenticity of a terminal, a terminal comprising the system, a computer readable storage medium implementing the method, and a computer program product. The method comprises the following steps: sending a randomly generated challenge task number to a sound production unit of a terminal, so that the sound production unit generates a sound signal corresponding to the challenge task number; receiving a pickup signal collected by a pickup unit of the terminal; performing consistency analysis on the signal characteristics of the sound signal and the pickup signal; and determining the authenticity of the terminal based on the consistency analysis result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of authentication technology, and more specifically to a method for determining the authenticity of a terminal, a processing device, a terminal including the processing device, a computer-readable storage medium and a computer program product for implementing the method. Background Art

[0002] The latest generation of cloud phones are close to real phones in terms of functions and performance, and can provide monitoring and migration capabilities based on cloud technology, with excellent stability. In addition, virtual device platforms and open source projects such as cloud phones also provide a wealth of parameters, even sensor data parameter interfaces, for users to freely configure and inject data.

[0003] The flexible expansion features of cloud phones bring challenges to traditional device fingerprint recognition methods. First, the software environment can be exactly the same as a real phone, making it difficult for feature algorithms to identify. Second, the convenient injection and modification of hardware interface parameters can easily cause the detection algorithm to be circumvented. At present, the payment industry faces the business difficulty of scalpers using cloud phones to make money, which is difficult to detect and identify, seriously affecting and disrupting the normal development of marketing activities such as business acquisition.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] In order to solve or at least alleviate one or more of the above problems, an embodiment of the present application provides a method for determining the authenticity of a terminal, a processing device, a terminal including the processing device, a computer-readable storage medium and a computer program product for implementing the method, which can use the sound-emitting unit and the sound pickup unit of the terminal to identify the authenticity of the terminal, thereby determining whether the terminal is a false terminal or a virtual terminal.

[0006] According to a first aspect of the present application, a method for determining the authenticity of a terminal is provided, the method comprising the following steps: sending a randomly generated challenge task number to a sound-emitting unit of the terminal so that the sound-emitting unit generates a sound signal corresponding to the challenge task number; receiving a sound pickup signal collected by a sound pickup unit of the terminal; performing consistency analysis on signal characteristics of the sound signal and the sound pickup signal; and determining the authenticity of the terminal based on the consistency analysis result.

[0007] As an alternative or supplement to the above scheme, according to an embodiment of the present application, the method for determining the authenticity of the terminal also includes: in response to receiving a start response returned by the sound-emitting unit, sending a pickup instruction to the pickup unit, wherein the start response is used to indicate that the sound-emitting unit has started to generate the sound signal.

[0008] As an alternative or supplement to the above solution, the method for determining the authenticity of a terminal according to an embodiment of the present application further includes: using a thread synchronization mechanism to reduce the delay between the generation of the sound signal and the collection of the pickup signal.

[0009] As an alternative or supplement to the above solution, the method for determining the authenticity of a terminal according to an embodiment of the present application further includes: using a filter to remove non-target frequencies in the picked-up signal; and / or performing delay compensation on the picked-up signal according to the delay characteristics of the terminal.

[0010] As an alternative or supplement to the above solution, in a method for determining the authenticity of a terminal according to an embodiment of the present application, the challenge task number is generated and encrypted and issued by a trusted execution environment or background of the terminal.

[0011] As an alternative or supplement to the above scheme, in a method for determining the authenticity of a terminal according to an embodiment of the present application, the sound-emitting unit obtains sound parameters corresponding to the challenge task number according to a predefined mapping rule, and the sound parameters include one or more of frequency, amplitude, waveform, and duration.

[0012] As an alternative or supplement to the above solution, in a method for determining the authenticity of a terminal according to an embodiment of the present application, the sound signal is an audio signal with a fixed duration and a frequency greater than 18 kHz.

[0013] As an alternative or supplement to the above scheme, in a method for determining the authenticity of a terminal according to an embodiment of the present application, performing consistency analysis on the signal features of the sound signal and the picked-up signal includes: acquiring the frequency spectra of the sound signal and the picked-up signal using Fourier transform; extracting signal features from the frequency spectra of the sound signal and the picked-up signal, the signal features including one or more of frequency, amplitude, spectrum shape, and phase; calculating the degree of matching between the signal features of the sound signal and the picked-up signal; and determining a consistency score based on the degree of matching of each signal feature.

[0014] As an alternative or supplement to the above scheme, in a method for determining the authenticity of a terminal according to an embodiment of the present application, determining the authenticity of the terminal based on the consistency analysis result includes: if the consistency score is greater than or equal to a preset threshold, determining that the terminal is a real terminal; if the consistency score is less than the preset threshold, determining that the terminal is a virtual terminal or a false terminal.

[0015] As an alternative or supplement to the above solution, the method for determining the authenticity of a terminal according to an embodiment of the present application further includes: in a case where it is determined that the terminal is an authentic terminal, enabling service permissions for the terminal.

[0016] According to a second aspect of the present application, a processing device is provided, comprising: a memory; a processor; and a computer program stored on the memory and executable on the processor, wherein the execution of the computer program results in the following operations: sending a randomly generated challenge task number to a sound-emitting unit of the terminal so that the sound-emitting unit generates a sound signal corresponding to the challenge task number; receiving a sound pickup signal collected by a sound pickup unit of the terminal; performing consistency analysis on signal features of the sound signal and the sound pickup signal; and determining the authenticity of the terminal based on the consistency analysis result.

[0017] According to a third aspect of the present application, a terminal is provided, comprising any one of the processing devices described in the second aspect of the present application; a sound emitting unit for generating a sound signal corresponding to a challenge task number; and a sound pickup unit for collecting the sound pickup signal.

[0018] According to a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium comprises instructions, and the instructions, when run, execute any one of the methods for determining the authenticity of a terminal according to the first aspect of the present application.

[0019] According to a fifth aspect of the present application, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements any one of the methods for determining the authenticity of a terminal according to the first aspect of the present application.

[0020] According to the scheme for determining the authenticity of the terminal in accordance with one or more embodiments of the present application, the authenticity of the terminal is determined by performing consistency analysis on the signal characteristics of the sound signal emitted by the sound-emitting unit and the sound signal collected by the sound pickup unit. First, since the challenge task number is random and invisible to the attacker, the attacker cannot easily determine when the challenge was initiated and cannot confirm the actual content of the challenge, so the scheme has strong anti-attack ability. Secondly, compared with the scheme of using magnetic sensors and / or light sensors to identify the authenticity of the terminal, the sound sensor has high sensitivity and good recognition stability, and the algorithm complexity and depth of the consistency analysis of the sound signal are low, saving system computing power. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The above and / or other aspects and advantages of the present application will become clearer and easier to understand through the following description of various aspects in conjunction with the accompanying drawings, in which the same or similar units are represented by the same reference numerals. In the accompanying drawings:

[0022] Figure 1 is a schematic flow chart of a method 10 for determining the authenticity of a terminal according to one or more embodiments of the present application;

[0023] Figure 2 A schematic flowchart of a method for determining the authenticity of a terminal according to one or more embodiments of the present application;

[0024] Figure 3 is a schematic block diagram of a processing device 30 according to one or more embodiments of the present application; and

[0025] Figure 4 is a schematic block diagram of a terminal 40 according to one or more embodiments of the present application. DETAILED DESCRIPTION

[0026] The description of the following specific embodiments is merely exemplary in nature and is not intended to limit the disclosed technology or the application and use of the disclosed technology. In addition, it is not intended to be bound by any express or implied theory presented in the aforementioned technical field, background technology or the following specific embodiments.

[0027] In the following detailed description of the embodiments, many specific details are set forth in order to provide a more thorough understanding of the disclosed technology. However, it is apparent to one of ordinary skill in the art that the disclosed technology can be practiced without these specific details. In other instances, well-known features are not described in detail to avoid unnecessarily complicating the description.

[0028] Terms such as "comprising" and "including" indicate that in addition to the units and steps directly and clearly stated in the specification, the technical solution of the present application does not exclude the situation of having other units and steps that are not directly or clearly stated. Terms such as "first" and "second" do not indicate the order of units in terms of time, space, size, etc., but are only used to distinguish between units.

[0029] With the popularization of cloud technology, there are a large number of scenarios that require the authenticity of terminals to be identified, that is, to distinguish between real terminals and virtual terminals or fake terminals. For example, in situations where high security is required, such as using users' terminals for banking transactions, online payments, identity authentication, business acquisition, etc., identifying the authenticity of terminals can prevent fraud through simulated terminals; in online games, distinguishing between real players and cheaters using simulators or cloud phones can maintain the fairness of the game and the player experience; social media platforms need to identify real users and fake accounts using automated tools to prevent spam, false information, and manipulation of social networks; in Internet of Things (IoT) device management, distinguishing between real terminals and simulated terminals helps prevent unauthorized access and data leakage; when implementing remote work strategies, enterprises need to ensure that employees are using real mobile devices to ensure data security and access control.

[0030] The real terminal in this application refers to a smart device with a physical form that a user can directly touch and operate. The real terminal can independently complete specific functions, such as audio input, audio output, storage, display, communication, etc. In particular, the real terminal in this application has a physical sound-emitting unit (e.g., a speaker) that can emit a sound signal and a physical sound pickup unit (e.g., a sound sensor such as a microphone, etc.) that can collect the pickup signal. Exemplarily, the real terminal includes but is not limited to: a smartphone, a tablet computer, a laptop computer, a desktop computer, an in-vehicle infotainment system, an augmented reality (AR) or virtual reality (VR) device, etc.

[0031] The virtual terminal in this application refers to a device without a physical form, which is usually implemented through software simulation, such as a cloud device running on a cloud server. The false terminal in this application refers to a device with a certain physical form but without the hardware foundation that the user can directly touch and operate, such as a box-type centralized control mobile phone. In particular, the virtual terminal and false terminal in this application do not have a physical sound unit and a physical sound pickup unit.

[0032] In order to distinguish real terminals from virtual terminals and fake terminals, a possible solution is to identify the authenticity of the terminal through terminal inherent parameters (for example, system properties, file system characteristics, and terminal behavior characteristics (for example, gyroscope, positioning, battery power, etc.)). However, terminal inherent parameters are very easy to be simulated and attacked. For example, the software environment of cloud phones can be exactly the same as that of real phones, and feature algorithms are difficult to identify. In addition, cloud phones can provide convenient hardware interface parameter injection and modification, so it is easy for detection algorithms to be targeted and circumvented. In addition, the combined judgment of multiple parameters only increases the difficulty of the judgment logic, and does not affect the depth and complexity of the algorithm. In response to this, the present application proposes to determine the authenticity of the terminal by performing consistency analysis on the signal characteristics of the sound signal emitted by the sound-emitting unit of the terminal and the sound pickup unit. This saves system computing power while improving the anti-attack ability of the solution. In the following, various exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings.

[0033] Referring to the accompanying drawings, Figure 1 It is a schematic flow chart of a method 10 for determining the authenticity of a terminal according to one or more embodiments of the present application.

[0034] It should be noted that the execution subject of method 10 may be the terminal itself, for example, a smart phone, a tablet computer, a laptop computer, a desktop computer, an in-vehicle infotainment system, an AR or VR device, etc. In a possible embodiment, the terminal loads an application with an authenticity authentication function to the user terminal, and when it is determined that the terminal is a real terminal, the application opens the service authority of the terminal.

[0035] like Figure 1 As shown, in step S110, the randomly generated challenge task number is sent to the sound unit of the terminal so that the sound unit generates a sound signal corresponding to the challenge task number.

[0036] The challenge task number is a unique identifier used to verify or trigger a specific operation (for example, to identify the authenticity of the terminal). Its randomness increases the security of the system because a different number is randomly generated for each verification or operation, which is difficult to predict or copy. Optionally, the challenge task number is generated and encrypted by the trusted execution environment (TEE) or background of the terminal. TEE is a security environment that combines hardware and software to protect sensitive data and code from potential attacks on the operating system or application. If the system has a TEE, the challenge task number can be generated in this secure environment to further ensure its confidentiality and integrity. If the system does not have a TEE, the challenge task number can be generated in the background and sent to the sound unit through an encrypted channel to prevent it from being intercepted or tampered with during transmission.

[0037] The sound-emitting unit is a physical device that can realize audio output, which may be a speaker, buzzer or other device that can produce sound. The sound signal emitted by the sound-emitting unit is preferably a high-frequency signal to distinguish it from general user scene noise. For example, the sound signal should exceed 18kHz, making it difficult for the human ear to distinguish and avoid disturbing the user. Optionally, after receiving the challenge task number, the sound-emitting unit will obtain the sound parameters corresponding to the challenge task number according to predefined mapping rules, where the sound parameters include one or more of frequency, amplitude, waveform, and duration. In one possible embodiment, the frequency variation interval of the sound signal is 18Hz to 21Hz, and the frequency conversion interval of 3kHz can be divided into 6 sub-intervals with a resolution of 500Hz. Each sub-interval corresponds to a different character, and the challenge task number consisting of 10 strings can correspond to 6. 10 Since each challenge task number is randomly generated, it is difficult for attackers to carry out data simulation attacks by fabricating audio data in such a large random space.

[0038] Optionally, when the sound generating unit starts to generate and play the sound signal, it returns a start response to the system (e.g., terminal), and the start response may include information such as the timestamp of the sound playing, the sound feature summary, and the sound parameters. After receiving the start response, the system immediately sends a sound pickup instruction to the sound pickup unit. Optionally, a thread synchronization mechanism (e.g., a mutex, a conditional variable, etc.) is used to reduce the delay between the playing of the sound signal and the collection of the sound pickup signal, so that the sound pickup operation is as synchronized as possible with the sound playing.

[0039] In step S120, a sound pickup signal collected by a sound pickup unit of the terminal is received.

[0040] Exemplarily, after receiving the sound pickup instruction, the sound pickup unit immediately starts to pick up the sound, that is, captures the sound signal in the environment where the terminal is located, and sends the collected sound pickup signal to the processing device of the system. Optionally, necessary processing may be performed before analyzing the sound pickup signal, such as amplification, denoising, etc., to improve the quality of the signal and the accuracy of subsequent analysis. Exemplarily, a filter (e.g., a bandpass filter) may be used to remove non-target frequencies in the sound pickup signal (e.g., remove signals less than 18 Hz and greater than 21 Hz). Optionally, since there may be a time delay in the transmission of the sound signal, delay compensation is required to ensure signal synchronization. Exemplarily, the sound pickup signal may be delayed according to the delay characteristics of the terminal or the timestamp recorded by the synchronization mechanism.

[0041] In step S130, consistency analysis is performed on the signal features of the sound signal and the sound pickup signal.

[0042] Exemplarily, key features may be extracted from the sound signal and the picked-up signal respectively, for example, frequency features such as fundamental frequency and harmonic frequency, time domain features such as start and end time and duration of the signal, amplitude features such as maximum amplitude, average amplitude, amplitude envelope, and the like, and the extracted features may be compared for consistency.

[0043] In one possible embodiment, the sound signal and the sound pickup signal are first subjected to Fourier transformation, and the time domain signal is converted into a frequency domain signal to obtain the spectrum of the sound signal and the sound pickup signal; then one or more signal features are extracted from the spectrum of the sound signal and the sound pickup signal, and the signal features may be frequency, amplitude, spectrum shape, phase, etc.; then the signal features of the sound signal and the sound pickup signal are compared, the matching degree of the signal features of the sound signal and the sound pickup signal is calculated, and the consistency score is determined based on the matching degree of each signal feature. Exemplarily, when calculating the matching degree of the signal features, the mean square error (MSE) or Euclidean distance can be used to quantify the difference, the correlation analysis can be applied to evaluate the correlation between the signals, or the cross-correlation can be used to determine the time delay between the signals. Exemplarily, the weighted sum of the matching degree of each signal feature can be used as the consistency score.

[0044] In step S140, the authenticity of the terminal is determined based on the consistency analysis result.

[0045] Optionally, if the consistency score is greater than or equal to a preset threshold, the terminal is determined to be a real terminal; if the consistency score is less than the preset threshold, the terminal is determined to be a virtual terminal or a false terminal.

[0046] Optionally, the method 10 further includes: when determining that the terminal is a genuine terminal, opening service permissions for the terminal, for example, allowing the user to use the terminal for banking transactions, online payments, identity verification, etc.

[0047] First, since the challenge task number is random and invisible to the attacker, the attacker cannot easily determine when the challenge was initiated and cannot confirm the actual content of the challenge, so method 10 is more resistant to attacks. Second, compared with the solution of using magnetic sensors and / or light sensors to identify the authenticity of the terminal, the sound sensor used in method 10 has high sensitivity and good recognition stability, and the algorithm complexity and depth of the consistency analysis of the sound signal are low, saving system computing power.

[0048] In an exemplary scenario, suppose that the attacker starts from the sensor layer to monitor the operation of the sound unit and simulates the data in real time based on the signal and tamper with the data collected by the sound pickup unit. Since this process requires a simulated calculation process, a large time delay will be generated. Therefore, by calculating the time delay between the sound signal and the pickup signal and comparing it with the delay of the real terminal, it can be identified.

[0049] Figure 2 1 is a schematic flow chart of a method for determining the authenticity of a terminal according to one or more embodiments of the present application. Figure 2 The nodes involved in the above method flow include a processing device 201 (or an application running on a terminal), a sound emitting unit 202 of the terminal, and a sound pickup unit 203 of the terminal.

[0050] In step S210 , the processing device 201 sends the randomly generated challenge task number to the sound generating unit 202 of the terminal.

[0051] In step S220 , the sound generating unit 202 generates a sound signal corresponding to the challenge task number.

[0052] In step S230 , the sound generating unit 202 returns a start response to the processing device 201 , wherein the start response is used to indicate that the sound generating unit 202 has started to generate a sound signal.

[0053] In step S240 , in response to receiving the start response, the processing device 201 sends a sound pickup instruction to the sound pickup unit 203 .

[0054] In step S250 , in response to receiving the sound pickup instruction, the sound pickup unit 203 starts collecting sound pickup signals.

[0055] In step S260 , the sound pickup unit 203 sends the collected sound pickup signal to the processing device 201 .

[0056] In step S270 , the processing device 201 pre-processes the sound pickup signal, for example, delay compensation, band-pass filtering, etc.

[0057] In step S280, the processing device 201 performs consistency analysis on the signal features of the sound signal and the sound pickup signal, and determines the authenticity of the terminal based on the consistency analysis result.

[0058] In step S290, when the processing device 201 determines that the terminal is a real terminal, it activates the service authority of the terminal.

[0059] For the specific implementation of steps S210-S290, please refer to the above description of method 10, which will not be repeated here.

[0060] Figure 3 3 is a schematic block diagram of a processing device 30 according to one or more embodiments of the present application. The processing device 30 includes a memory 310, a processor 320, and a computer program 330 stored in the memory 310 and executable on the processor 320. The execution of the computer program 330 enables the following Figure 1 or Figure 2 The method shown is executed.

[0061] Figure 4 FIG. 4 is a schematic block diagram of a terminal 40 according to one or more embodiments of the present application. Figure 4 As shown, the terminal 40 includes a processing device 410, a sound generating unit 420 for generating a sound signal corresponding to the challenge task number, and a sound collecting unit 430 for collecting the sound signal. For example, the terminal 40 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, an in-vehicle infotainment system, an AR or VR device, etc. The processing device 410 may be Figure 3 The processing device 30 shown or Figure 2 The processing device 201 is shown.

[0062] In addition, the present application can also be implemented as a computer-readable storage medium, in which a program for causing a computer to execute the following steps is stored. Figure 1 or Figure 2 Here, as the computer-readable storage medium, various computer-readable storage media such as disks (e.g., magnetic disks, optical disks, etc.), cards (e.g., memory cards, optical cards, etc.), semiconductor memories (e.g., ROMs, nonvolatile memories, etc.), and tapes (e.g., magnetic tapes, cassette tapes, etc.) can be used.

[0063] The present disclosure may also be implemented as a computer program product, which includes a computer program. When the computer program is executed by a processor, the following Figure 1 or Figure 2 The procedure of the method shown.

[0064] The relevant user personal information that may be involved in each embodiment of this application is strictly in accordance with the requirements of laws and regulations, following the principles of legality, legitimacy and necessity, based on the reasonable purpose of the business scenario, to process the information that users actively provide during the use of products / services or that is generated by the use of products / services, as well as the information obtained with the user's authorization. This application attaches great importance to the security of user personal information, and has taken reasonable and feasible security protection measures that meet industry standards to protect information and prevent unauthorized access, public disclosure, use, modification, damage or loss of information.

[0065] In the applicable situation, hardware, software or a combination of hardware and software can be used to realize the various embodiments provided by the application. Moreover, in the applicable situation, without departing from the scope of the application, the various hardware components and / or software components set forth herein can be combined into a composite component comprising software, hardware and / or both. In the applicable situation, without departing from the scope of the application, the various hardware components and / or software components set forth herein can be divided into subcomponents comprising software, hardware or both. In addition, in the applicable situation, it is contemplated that the software component can be implemented as a hardware component, and vice versa.

[0066] Software according to the present application (such as program code and / or data) can be stored on one or more computer-readable storage media. It is also contemplated that the software identified herein can be implemented using one or more general or special-purpose computers and / or computer systems, networked and / or otherwise. Where applicable, the order of the various steps described herein can be changed, combined into composite steps, and / or divided into sub-steps to provide the features described herein.

[0067] The embodiments and examples set forth herein are provided to best illustrate embodiments according to the present application and its specific applications, and thereby enable those skilled in the art to implement and use the present application. However, those skilled in the art will appreciate that the above description and examples are provided only for ease of illustration and example. The description set forth is not intended to cover all aspects of the present application or to limit the present application to the precise form disclosed.

Claims

1. A method for determining the authenticity of a terminal, characterized in that: The method comprises the following steps: Sending the randomly generated challenge task number to the sound generating unit of the terminal so that the sound generating unit generates a sound signal corresponding to the challenge task number; Receiving a sound pickup signal collected by a sound pickup unit of the terminal; Performing consistency analysis on signal features of the sound signal and the sound pickup signal; and The authenticity of the terminal is determined based on the consistency analysis result.

2. The method according to claim 1, characterized in that: The method further comprises: In response to receiving a start response returned by the sound emitting unit, a sound pickup instruction is sent to the sound pickup unit, wherein the start response is used to indicate that the sound emitting unit has started to generate the sound signal.

3. The method according to claim 1, characterized in that The method further comprises: A thread synchronization mechanism is used to reduce the delay between the generation of the sound signal and the collection of the sound pickup signal.

4. The method according to claim 1, characterized in that: The method further comprises: Using a filter to remove non-target frequencies in the picked-up signal; and / or Delay compensation is performed on the sound pickup signal according to the delay characteristics of the terminal.

5. The method according to claim 1, characterized in that The challenge task number is generated and encrypted and issued by the trusted execution environment or background of the terminal.

6. The method according to claim 1, characterized in that The sound generating unit obtains the sound parameters corresponding to the challenge task number according to a predefined mapping rule, and the sound parameters include one or more of frequency, amplitude, waveform, and duration.

7. The method according to claim 1, characterized in that The sound signal is an audio signal with a fixed duration and a frequency greater than 18 kHz.

8. The method according to claim 1, characterized in that Performing consistency analysis on the signal features of the sound signal and the sound pickup signal includes: Acquire the frequency spectrum of the sound signal and the picked-up signal by Fourier transform; Extracting signal features from the frequency spectra of the sound signal and the picked-up signal, wherein the signal features include one or more of frequency, amplitude, spectrum shape, and phase; and Calculating the matching degree between the signal characteristics of the sound signal and the picked-up sound signal; and A consistency score is determined based on the degree of match of each signal feature.

9. The method according to claim 8, characterized in that Determining the authenticity of the terminal based on the consistency analysis results includes: If the consistency score is greater than or equal to a preset threshold, determining that the terminal is a real terminal; If the consistency score is less than the preset threshold, it is determined that the terminal is a virtual terminal or a false terminal.

10. The method according to claim 1, characterized in that The method further comprises: When it is determined that the terminal is a real terminal, the service authority of the terminal is activated.

11. A processing device, characterized in that: Include: Memory; Processor; and A computer program stored on the memory and executable on the processor, the execution of which results in the following operations: Sending the randomly generated challenge task number to the sound generating unit of the terminal so that the sound generating unit generates a sound signal corresponding to the challenge task number; Receiving a sound pickup signal collected by a sound pickup unit of the terminal; Performing consistency analysis on signal features of the sound signal and the picked-up sound signal; as well as The authenticity of the terminal is determined based on the consistency analysis result.

12. The processing device according to claim 11, characterized in that The execution of the computer program also results in the following operations: In response to receiving a start response returned by the sound emitting unit, a sound pickup instruction is sent to the sound pickup unit, wherein the start response is used to indicate that the sound emitting unit has started to generate the sound signal.

13. The processing device according to claim 11, characterized in that The execution of the computer program also results in the following operations: A thread synchronization mechanism is used to reduce the delay between the generation of the sound signal and the collection of the sound pickup signal.

14. The processing device according to claim 11, characterized in that The execution of the computer program also results in the following operations: Using a filter to remove non-target frequencies in the picked-up signal; and / or Delay compensation is performed on the sound pickup signal according to the delay characteristics of the terminal.

15. The processing device according to claim 11, characterized in that The challenge task number is generated and encrypted and issued by the trusted execution environment or background of the terminal.

16. The processing device according to claim 11, characterized in that The sound generating unit obtains the sound parameters corresponding to the challenge task number according to a predefined mapping rule, and the sound parameters include one or more of frequency, amplitude, waveform, and duration.

17. The processing device according to claim 11, characterized in that The sound signal is an audio signal with a fixed duration and a frequency greater than 18 kHz.

18. The processing device according to claim 11, characterized in that Performing consistency analysis on the signal features of the sound signal and the sound pickup signal includes: Acquire the frequency spectrum of the sound signal and the picked-up signal by Fourier transform; Extracting signal features from the frequency spectra of the sound signal and the picked-up signal, wherein the signal features include one or more of frequency, amplitude, spectrum shape, and phase; Calculating the matching degree between the signal characteristics of the sound signal and the picked-up sound signal; and A consistency score is determined based on the degree of match of each signal feature.

19. The processing device according to claim 18, characterized in that Determining the authenticity of the terminal based on the consistency analysis results includes: If the consistency score is greater than or equal to a preset threshold, determining that the terminal is a real terminal; If the consistency score is less than the preset threshold, it is determined that the terminal is a virtual terminal or a false terminal.

20. The processing device according to claim 11, characterized in that The execution of the computer program also results in the following operations: When it is determined that the terminal is a real terminal, the service authority of the terminal is activated.

21. A terminal, characterized in that: include: A processing device according to any one of claims 11 to 20; A sound generating unit, used for generating a sound signal corresponding to the challenge task number; as well as The sound pickup unit is used to collect sound pickup signals.

22. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises instructions, which, when executed, perform the method for determining the authenticity of a terminal according to any one of claims 1-10.

23. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the method for determining the authenticity of a terminal according to any one of claims 1 to 10.