Terminal identity identification method and related device

By receiving and verifying the identity identification code when the terminal phone is off-hook and calling, the problem of poor encryption and confidentiality in the prior art is solved, and efficient confidentiality of the terminal phone is achieved.

CN115086489BActive Publication Date: 2025-03-21SHENZHEN ELECTRICAL APPLIANCES CO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210761078.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2025-03-21
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

In the prior art, the telephone is encrypted using digital encryption, resulting in poor confidentiality effect and it is difficult to effectively prevent the risk of loss of secrets from terminal equipment.

Method used

By receiving and verifying the identity identification code when the terminal phone is off-hook and calling, ensuring that the identity identification code is correct before connecting to the communication line, improving the confidentiality effect of the terminal phone.

Benefits of technology

It greatly improves the confidentiality effect of terminal phones and effectively prevents the risk of equipment leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115086489B_ABST
    Figure CN115086489B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method for terminal identity identification and a related device, the method comprising the following steps: when a terminal phone is off-hook for a call, receiving an identity identification code of the terminal phone; verifying whether the identity identification code is correct; and connecting a communication line when the identity identification code is verified to be correct. The present application can greatly improve the confidentiality of the terminal phone.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology and mainly relates to a terminal identity identification method and related devices. Background Art

[0002] At present, the main function of terminal identity recognition is to prevent third-party telephone terminals from accessing the network and reduce the risk of terminal equipment leakage. As people pay more attention to the confidentiality of communication information, they also pay more and more attention to the confidentiality methods of communication information.

[0003] In the prior art, general telephones use digital encryption to encrypt to prevent leakage, but this method has poor confidentiality effect. Summary of the invention

[0004] One purpose of the present application is to provide a method and related device for terminal identity identification, the advantage of which is that the confidentiality of the terminal phone is greatly improved.

[0005] To achieve the above objectives, in a first aspect, an embodiment of the present application provides a method for terminal identity identification, comprising:

[0006] When the terminal phone goes off-hook to make a call, receiving the identity code of the terminal phone;

[0007] Verify whether the identification code is correct;

[0008] When the identity recognition code is verified to be correct, the communication line is connected.

[0009] It can be understood that when the terminal phone is off-hook for a call, the identity identification code of the terminal phone is received and the identity identification code is verified to be correct. When the identity identification code is verified to be correct, the communication line is connected, which can improve the confidentiality of the terminal phone.

[0010] In a possible example, the terminal phone has two states: an off-hook state and an on-hook state, and an interrupt pin is used to control the off-hook state and the on-hook state.

[0011] It can be understood that using the interrupt pin to control the off-hook state and the on-hook state can optimize the control efficiency of off-hook and on-hook.

[0012] In a possible example, verifying whether the identity code is correct includes:

[0013] Use the first output pin to indicate the authentication state and non-authentication state;

[0014] Use the second output pin to control the power switch;

[0015] Use the third output pin to control the on and off of the line.

[0016] It can be understood that using the first output pin to indicate the authentication state and the non-authentication state, using the second output pin to control the power switch, and using the third output pin to control the on-off of the circuit can improve the verification efficiency of the identity identification code.

[0017] In a possible example, verifying whether the identity code is correct includes:

[0018] When entering the authentication mode for the first time, the second output pin is turned off and the third output pin is turned on;

[0019] When entering the on-hook state, the second output pin is turned off, and the third output pin is turned on.

[0020] It can be understood that when entering the authentication mode for the first time, the second output pin is closed and the third output pin is turned on. When entering the on-hook state, the second output pin is closed and the third output pin is turned on, which can optimize the verification efficiency of the identity identification code.

[0021] In a possible example, when the telephone in the authentication state is connected for the first time, the first output pin has a low level for 2 seconds and then remains at a high level.

[0022] It can be understood that when the telephone in the authentication state is connected for the first time, the first output pin has a low level for 2 seconds and then remains at a high level, which can improve the design process of the authentication state.

[0023] In a possible example, when the non-authenticated phone is connected, the first output pin is always at a high level.

[0024] It can be understood that when the telephone in the non-authentication state is connected, the first output pin is always at a high level, which can improve the design process of the non-authentication state.

[0025] In a possible example, when the identity identification code is verified to be correct, before the communication line is connected, the following steps are included:

[0026] When the terminal phone is in the on-hook state and the terminal phone is called and goes off-hook, in a non-timeout state, receiving the identity identification code of the terminal phone;

[0027] Identity verification is performed based on the identity identification code.

[0028] It can be understood that when the terminal phone is on-hook and the terminal phone is called and goes off-hook, the identity code of the terminal phone is received before timeout, and identity authentication is performed based on the identity code, which can optimize the process of connecting the communication line.

[0029] In a second aspect, a terminal identity recognition device includes a module for executing the method provided in the first aspect or any implementation manner of the first aspect.

[0030] In a third aspect, a device for terminal identity identification is provided, characterized in that it comprises a processor, a memory and one or at least one program, wherein the one or at least one program is stored in the memory and is configured to be executed by the processor, and the program comprises instructions for executing the method provided in the first aspect or any embodiment of the first aspect.

[0031] In a fourth aspect, a computer-readable storage medium is provided, characterized in that the computer-readable storage medium stores a computer program, and the computer program enables a computer to execute to implement the method provided in the first aspect or any embodiment of the first aspect.

[0032] Implementing the embodiments of the present application will have the following beneficial effects:

[0033] When the terminal phone is off-hook for a call, the identity identification code of the terminal phone is received to verify whether the identity identification code is correct. When the identity identification code is verified to be correct, the communication line is connected, which greatly improves the confidentiality effect of the terminal phone. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0035] Figure 1 An application scenario diagram of terminal identity recognition provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of a process of terminal identity identification provided in an embodiment of the present application;

[0037] Figure 3 A hardware design block diagram of a terminal identity recognition provided in an embodiment of the present application;

[0038] Figure 4 A process design diagram of a task startup software design provided in an embodiment of the present application;

[0039] Figure 5 A timing diagram of an authentication mode pin control provided in an embodiment of the present application;

[0040] Figure 6A timing diagram of a normal mode pin control provided in an embodiment of the present application;

[0041] Figure 7 A schematic diagram of the structure of a terminal identity recognition device provided in an embodiment of the present application;

[0042] Figure 8 A structural diagram of a terminal identity recognition device provided in an embodiment of the present application; DETAILED DESCRIPTION

[0043] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] The terms "1" and "2" etc. in this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0045] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0046] In the embodiments of the present application, PSTN (Public Switched Telephone Network) is defined as: Public Switched Telephone Network, a common telephone system, that is, the telephone network commonly used in our daily life. PSTN is a circuit switching network based on analog technology. Among the many wide area network interconnection technologies, the communication cost required for interconnection through PSTN is the lowest.

[0047] See also Figure 1 , Figure 1 This is an application scenario diagram of a terminal identity recognition provided by an embodiment of the present application. Figure 1As shown, the application scenario diagram includes a user 101, a customized phone 102, an identity recognition device 103 and a PSTN program-controlled switch 104. It should be noted that: Figure 1 The number of devices, the form of devices, and the number of users in the system shown are for illustrative purposes only and do not constitute a limitation on the embodiments of the present application. One user can use multiple electronic devices.

[0048] The user 101 is a user who actually operates the customized phone 102 to control the customized phone 102 to perform corresponding operations. The customized phone 102 can be Figure 1 The videophone shown can also be a personal computer (PC) capable of making calls, a smart phone, an all-in-one machine capable of making calls, a handheld computer capable of making calls, a tablet computer capable of making calls (pad), a smart TV terminal capable of making calls, and a portable device capable of making calls. The operating system of the electronic device on the PC side, such as the all-in-one machine capable of making calls, can include but is not limited to the Linux system, Unix system, Windows series system (such as Windows XP, Windows 7, etc.) and other operating systems. The operating system of the electronic device on the mobile side, such as a smart phone, can include but is not limited to the Android system, IOS (Apple mobile phone operating system), Window system and other operating systems.

[0049] The following describes a method for terminal identity recognition provided in an embodiment of the present application. The method can be executed by a terminal identity recognition device, which can be implemented by software and / or hardware and can generally be integrated in an electronic device or a server.

[0050] Please refer to Figure 2 , Figure 2 A schematic diagram of a process of terminal identity recognition provided in an embodiment of the present application. Taking the method applied to the terminal identity recognition process as an example, the terminal identity recognition device may include a server or an electronic device. The method includes the following steps S201-S203, wherein:

[0051] S201: When a terminal phone is off-hook for a call, an identity code of the terminal phone is received.

[0052] In the embodiment of the present application, there are two situations of the above-mentioned off-hook, one is to pick up the handset of the telephone, and the other is to press the hands-free mode, and the state at this time is the off-hook state. In the telecommunications network, the user who initiates the call is called the caller. If the local phone is used as the caller, the called party can be called. The call establishment command is issued by the caller, which indicates that the caller wants to establish a connection with the called party. The caller needs to make a call, and the switching network establishes a physical data path between the caller and the called party, and the transmission resources of the network are fixedly allocated for use by the communicating parties. During the connection of the physical data path between the caller and the called party, other users cannot use the transmission resources. When the connection needs to be removed, it is completed by either of the communicating parties, and the switching network releases the transmission resources occupied by it.

[0053] In a possible example, step S201 includes the following steps:

[0054] The terminal phone has two states: an off-hook state and an on-hook state, and an interrupt pin is used to control the off-hook state and the on-hook state.

[0055] In the embodiment of the present application, in the task power-on initialization stage designed by the terminal identity recognition software, the main processing is related to the pins and registers. This part is only executed during power-on initialization, and the processing pin status is as follows: the second output pin is set to a low level, the power is turned off; the third output pin is set to a low level, and the line is turned on. In the task startup stage, the task startup mainly realizes the related control pins of opening the authentication, and determines whether the relationship between the terminal identity recognition device and the customized phone is in authentication mode or normal mode. The processing flow is as follows:

[0056] 1) Determine whether the line is in the off-hook state. If the line is in the off-hook state, execute the process below. If the line is in the on-hook state, exit the process directly;

[0057] 2) Turn on the power switch of the terminal identity recognition device;

[0058] 3) Conducting circuit;

[0059] 4) Determine whether there is a continuous low level for 2 seconds within 5 seconds. If so, it is considered to be authentication mode and the state of the terminal identity recognition device is set to authentication mode. Otherwise, it is considered to be normal mode and the state of the device is set to normal mode.

[0060] S202: Verify whether the identity identification code is correct.

[0061] In a possible example, step S202 includes the following steps A1-A3, wherein:

[0062] A1: Use the first output pin to indicate the authentication state and non-authentication state.

[0063] In a possible example, step A1 includes the following steps A11-A12:

[0064] A11: When the telephone in the authentication state is connected for the first time, the first output pin has a low level for 2 seconds and then remains at a high level.

[0065] A12: When the non-authenticated phone is connected, the first output pin is always at a high level.

[0066] A2: Use the second output pin to control the power switch.

[0067] A3: Use the third output pin to control the on / off of the circuit.

[0068] In a possible example, step S202 includes the following steps:

[0069] When entering the authentication mode for the first time, the second output pin is turned off and the third output pin is turned on;

[0070] When entering the on-hook state, the second output pin is turned off, and the third output pin is turned on.

[0071] S203: When the identity identification code is verified to be correct, the communication line is connected.

[0072] In a possible example, step S203 includes the following steps:

[0073] When the terminal phone is in the on-hook state and the terminal phone is called and goes off-hook, in a non-timeout state, receiving the identity identification code of the terminal phone;

[0074] Identity verification is performed based on the identity identification code.

[0075] In the embodiments of the present application, the full name of IMS is IP Multimedia Subsystem, which is a network architecture that provides voice and multimedia services based on IP networks. It was originally designed by the 3G standardization organization 3GPP. As part of the future mobile network vision, the initial version of IMS mainly provides a method for implementing IP multimedia services based on GPRS. On the basis of this version, further updates have been made to support other access networks besides GPRS. From the current point of view, IMS is independent of access network technology, and the IP multimedia core network system is composed of all core network functional entities that can provide multimedia services, including a collection of functional entities related to signaling and bearer. In terms of control mode, IMS adopts a home control mode. For mobile users, through home control, even if the user roams to another place, they can enjoy the same services as the home place. In addition, IMS adopts access independence, provides excellent integration characteristics, and the service, control and bearer layers are completely separated. IMS further develops the idea of ​​separation of services and control, and separation of control and bearer in the soft switch structure. Compared with soft switch, it has more complete network decoupling, and the network structure is clearer and more reasonable. At the same time, the decoupling of different types of networks also creates conditions for the re-aggregation of networks at different levels.

[0076] In summary, the PSTN identity recognition in the embodiment of the present application is divided into two types: calling identity recognition and called identity recognition. During the calling identity recognition, the ordinary IMS intelligent terminal sends an identity recognition code to the adapter after picking up the phone. After the adapter receives the identity recognition code and confirms that it is correct, the adapter connects the communication line between the PSTN program-controlled switch and the ordinary IMS intelligent terminal. If other ordinary telephones access the PSTN line and actively pick up the phone, since the ordinary telephone does not send the identity recognition code to the adapter, the adapter cannot receive the identity recognition code authentication information, and this ordinary telephone cannot make a call. During the called identity recognition, the ordinary IMS intelligent terminal is in the on-hook state, the PSTN program-controlled switch sends a ringing signal, the adapter receives the ringing signal and the call information is transparently transmitted to the ordinary IMS intelligent terminal, and the ordinary IMS intelligent terminal sends the identity recognition code to the adapter at the moment of picking up the phone. After the adapter receives the identity recognition code and confirms that it is correct, it will connect the communication line between the PSTN program-controlled switch and the ordinary IMS intelligent terminal. If a regular phone is connected to the PSTN line, the adapter will cut off the communication line between the regular phone and the PSTN program-controlled switch because no identification code will be sent to the adapter after the phone is picked up. Therefore, the regular phone cannot be used on the line equipped with the adapter.

[0077] See also Figure 3 , Figure 3A hardware design block diagram of a terminal identity recognition provided in an embodiment of the present application. Based on the above system architecture, the hardware design block diagram at least includes: a microprocessor 301, a terminal side codec unit 302, a switch side codec unit 303, a power management unit 304 and a modem interface 305.

[0078] See also Figure 4 , Figure 4 A flow chart of a task startup software design provided in an embodiment of the present application. Figure 4 As shown, it may include steps S401 to S408.

[0079] Step S401: Start.

[0080] Step S402: Whether to pick up the phone.

[0081] Step S403: Turn on the power supply to connect the circuit.

[0082] Step S404: Whether 5s has arrived.

[0083] Step S405: Whether the high level lasts for 2s.

[0084] Step S406: Authentication mode.

[0085] Step S407: Normal mode.

[0086] Step S408: End.

[0087] See also Figure 5 , Figure 5 A timing diagram of the pin control of the authentication mode provided in the embodiment of the present application. When entering the authentication mode for the first time, the call line is not cut off, that is, the second output pin is closed and the third output pin is turned on, and it is maintained until the line phone is hung up, the second output pin is closed, the third output pin is turned on, and the next authentication detection process is entered.

[0088] See also Figure 6 , Figure 6A timing diagram of a normal mode pin control provided for an embodiment of the present application. The first step is to enter the normal mode for the first time, the second output pin is turned on, and the third output pin is disconnected. The second step is to close the second output pin and turn on the third output pin after five seconds. At this time, a delay of 200ms is required to keep the switch stable and detect whether the phone is in the off-hook state. If it is still in the off-hook state, the polling detection executes the first and second steps. When the line phone is hung up, the second output pin is closed and the third output pin is turned on, and the next authentication detection process is entered. The purpose of cyclically executing the first and second steps is that when the second output pin is turned on and the third output pin is disconnected, the interrupt pin is always at a high level regardless of whether the line phone is on or off-hook. In order to monitor whether the line phone is actually on-hook, the second step is executed to further detect the interrupt pin.

[0089] See also Figure 7 , Figure 7 The structure diagram of a terminal identity recognition device provided in an embodiment of the present application. Based on the above system architecture, the terminal identity recognition device 700 can be a server or a module in a server. The device 700 at least includes: a receiving module 701, a verification module 702 and a processing module 703, wherein:

[0090] The receiving module 701 is used to receive the identity identification code of the terminal phone;

[0091] The verification module 702 is used to verify whether the identity identification code is correct;

[0092] The processing module 703 is used to connect the communication line.

[0093] In a possible example, the terminal phone has two states: an off-hook state and an on-hook state, and the processing module 703 uses an interrupt pin to control the off-hook state and the on-hook state.

[0094] In a possible example, the processing module 703 uses a first output pin to indicate an authentication state and a non-authentication state, uses a second output pin to control a power switch, and uses a third output pin to control the on / off of a circuit.

[0095] In a possible example, when the processing module 703 enters the authentication mode for the first time, the second output pin is turned off and the third output pin is turned on; when entering the on-hook state, the second output pin is turned off and the third output pin is turned on.

[0096] In a possible example, when the telephone in the authentication state is connected for the first time, the processing module 703 causes the first output pin to have a low level for 2 seconds and then remain at a high level.

[0097] In a possible example, when the non-authenticated phone is connected, the first output pin of the processing module 703 is always at a high level.

[0098] In a possible example, when the terminal phone is on-hook and the terminal phone is called and goes off-hook, in a non-timeout state, the receiving module 701 receives the identity identification code of the terminal phone, and the verification module 702 performs identity authentication based on the identity identification code.

[0099] See also Figure 8 , Figure 8 This is a structural diagram of a terminal identity recognition device provided in an embodiment of the present application. Figure 8 As shown, the terminal identification device 800 includes a processor 801, a memory 802, a communication interface 804, and at least one program 803. The at least one program 803 is stored in the memory 802 and is configured to be executed by the processor 801. The program 803 includes instructions for executing the following steps:

[0100] When the terminal phone goes off-hook to make a call, receiving the identity code of the terminal phone;

[0101] Verify whether the identification code is correct;

[0102] When the identity recognition code is verified to be correct, the communication line is connected.

[0103] In a possible example, the second database includes a parameter score card, the terminal phone has two states: an off-hook state and an on-hook state, and the program 803 is specifically used to execute instructions for the following steps:

[0104] An interrupt pin is used to control the off-hook state and the on-hook state.

[0105] In a possible example, the program 803 is specifically used to execute instructions of the following steps:

[0106] Use the first output pin to indicate the authentication state and non-authentication state;

[0107] Use the second output pin to control the power switch;

[0108] Use the third output pin to control the on and off of the line.

[0109] In a possible example, the program 803 is specifically used to execute instructions of the following steps:

[0110] When entering the authentication mode for the first time, the second output pin is turned off and the third output pin is turned on;

[0111] When entering the on-hook state, the second output pin is turned off, and the third output pin is turned on.

[0112] In a possible example, the program 803 is specifically used to execute instructions of the following steps:

[0113] When the telephone in the authentication state is connected for the first time, the first output pin is controlled to be at a low level for 2 seconds and then always at a high level.

[0114] In a possible example, the program 803 is specifically used to execute instructions of the following steps:

[0115] When the non-authenticated phone is connected, the first output pin is controlled to be always at a high level.

[0116] In a possible example, the program 803 is specifically used to execute instructions of the following steps:

[0117] When the terminal phone is in the on-hook state and the terminal phone is called and goes off-hook, in a non-timeout state, receiving the identity identification code of the terminal phone;

[0118] Identity verification is performed based on the identity identification code.

[0119] Those skilled in the art will appreciate that for ease of description, Figure 8 Only one memory 802 and processor 801 are shown. In an actual terminal or server, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, etc., which is not limited in the present embodiment of the application.

[0120] It should be understood that in the embodiments of the present application, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor may also be a general-purpose microprocessor, graphics processing unit (GPU), or one or more integrated circuits for executing related programs to implement the functions required to be executed in the embodiments of the present application.

[0121] The processor 801 can also be an integrated circuit chip with signal processing capabilities. In the implementation process, the various steps of the present application can be completed by the integrated logic circuit of the hardware in the processor 801 or the instructions in the form of software. The above-mentioned processor 801 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or a combination of hardware and software modules in the decoding processor to be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory and a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 802, and the processor 801 reads the information in the memory 802, and combines its hardware to complete the functions required to be performed by the unit included in the method, device and storage medium of the embodiment of the present application.

[0122] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DR RAM). The memory can also be a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by the computer, but is not limited to this. The memory can be independent and connected to the processor through a bus. The memory may also be integrated with the processor, and the memory may store programs. When the programs stored in the memory are executed by the processor, the processor is used to execute the various steps of the determination method in the above embodiments of the present application.

[0123] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, the memory (storage module) is integrated into the processor. It should be noted that the memory described herein is intended to include but is not limited to these and any other suitable types of memory.

[0124] It should be understood that the term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0125] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0126] Those skilled in the art will appreciate that the various illustrative logical blocks (ILBs) and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0127] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a program product of computer programming. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the processor, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center, or can be transmitted from a website site, computer, server or data center to a mobile phone processor by wired mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0128] The above description is only a specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A method for terminal identity recognition, characterized in that: The following steps are involved: When the terminal phone goes off-hook to make a call, receiving the identity code of the terminal phone; The terminal phone has two states: off-hook state and on-hook state, and an interrupt pin is used to control the off-hook state and the on-hook state; Using the first output pin to indicate the authentication state and non-authentication state of the identity identification code; Use the second output pin to control the power switch; Use the third output pin to control the on / off of the circuit; When entering the authentication state for the first time, the second output pin is turned off and the third output pin is turned on; When entering the on-hook state, the second output pin is turned off and the third output pin is turned on; When the terminal phone is in the on-hook state and the terminal phone is called and goes off-hook, in a non-timeout state, receiving the identity identification code of the terminal phone; Performing identity authentication according to the identification code; When the identity identification code is verified to be correct, the communication line is connected.

2. The method according to claim 1, characterized in that: When the telephone in the authentication state is connected for the first time, the first output pin has a low level for 2 seconds and then remains at a high level.

3. The method according to claim 2, characterized in that When the non-authenticated phone is connected, the first output pin is always at a high level.

4. A terminal identity recognition device, characterized in that: Used to perform the method according to any one of claims 1 to 3.

5. A terminal identity recognition device, characterized in that: The invention comprises a processor, a memory and one or at least one program, wherein the one or at least one program is stored in the memory and configured to be executed by the processor, and the program comprises instructions for executing the method according to any one of claims 1 to 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which enables a computer to execute to implement the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Phone number validation method and system as well as terminal

    CN102802150A

  • Telephone configuration method and system

    CN106686595A