Signal abnormity detection method and device, electronic equipment and storage medium

By analyzing the number of errors, expectations and interference of radio signals, identifying and preventing unlock signals sent by attackers by maliciously, the problem of difficulty in detecting malicious signals in the prior art is solved, and the safety of the vehicle is improved.

CN119031372APending Publication Date: 2024-11-26BEIJING BANGCLE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310609064.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-26
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing keyless entry system is difficult to detect unlock signals sent by attackers maliciously, and cannot effectively prevent the vehicle from being attacked.

Method used

By receiving the radio signal when the sender requests the unlocking of the signal and determining its abnormality when the abnormal condition is met, including the number of errors exceeding the preset number, being an unexpected signal or being disturbed, it is a maliciously sent by the attacker.

Benefits of technology

Effectively identify and prevent attackers from unlocking the vehicle through malicious signals, improving the safety of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119031372A_ABST
    Figure CN119031372A_ABST
Patent Text Reader

Abstract

The invention discloses a signal abnormity detection method and device, electronic equipment and a storage medium. The method comprises the following steps: receiving a radio signal sent when a signal sender requests to unlock; under the condition that the radio signal meets the abnormal condition, determining that the radio signal is abnormal; wherein the abnormal condition comprises one of the following conditions: the number of times that the radio signal has errors exceeds a preset number of times; the radio signal is an unexpected signal; the radio signal is interfered.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of vehicle safety technology, and specifically relates to a method, device, electronic equipment and storage medium for detecting abnormal signals. Background Art

[0002] The Passive Keyless Entry System (PKES) is a modern automobile security system that uses radio technology to unlock and start the vehicle, replacing the traditional mechanical key. While it brings convenience, it also has certain risks. Attackers can use relay attacks, man-in-the-middle attacks, replay attacks, signal interference and other means to attack or steal vehicles.

[0003] In order to prevent vehicles from being attacked and monitor whether there are risks in the vehicle, many manufacturers have launched anti-theft devices, but most of them monitor the surrounding environment information through cameras, or use sensors to detect vehicle vibrations to detect whether there are abnormalities in the surrounding environment, but cannot determine whether there is an attacker maliciously sending a signal to unlock the door. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for detecting signal anomalies, which can solve the problem in the related art that it is impossible to determine whether an attacker maliciously sends a signal to unlock the car door through camera monitoring or sensor detection.

[0005] In a first aspect, an embodiment of the present application provides a method for detecting signal anomalies, the method comprising: receiving a radio signal sent by a signal sender when requesting unlocking; and determining that the radio signal is abnormal when the radio signal satisfies an abnormal condition; wherein the abnormal condition includes one of the following:

[0006] The number of radio signal errors exceeds a preset number;

[0007] The radio signal is an unexpected signal;

[0008] The radio signal is interfered with.

[0009] In a second aspect, an embodiment of the present application provides a signal anomaly detection device, the device comprising: a receiving module, configured to receive a radio signal sent by a signal sender when requesting unlocking; a determining module, configured to determine that the radio signal is abnormal when the radio signal satisfies an abnormal condition; wherein the abnormal condition includes one of the following:

[0010] The number of radio signal errors exceeds a preset number;

[0011] The radio signal is an unexpected signal;

[0012] The radio signal is interfered with.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0016] In an embodiment of the present application, a radio signal sent by a signal sender when requesting unlocking is received, and then when the radio signal satisfies an abnormal condition, it is determined that the radio signal is abnormal. The abnormal condition may include one of a radio signal error, an unexpected signal, and interference with the radio signal. By analyzing the radio signal, it is possible to determine that the radio signal is abnormal when the number of radio signal errors exceeds a preset number, or the radio signal is an unexpected signal, or the radio signal is interfered with, and then determine that the radio signal is an abnormal radio signal maliciously sent by an attacker to unlock the vehicle, thereby determining that the vehicle has been attacked by an attacker. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a flow chart of a method for detecting signal anomaly provided in an embodiment of the present application;

[0018] Figure 2 It is a flowchart of another signal anomaly detection method provided in an embodiment of the present application;

[0019] Figure 3 It is a flowchart of another signal anomaly detection method provided in an embodiment of the present application;

[0020] Figure 4 It is a flowchart of another signal anomaly detection method provided in an embodiment of the present application;

[0021] Figure 5 It is a flowchart of another signal anomaly detection method provided in an embodiment of the present application;

[0022] Figure 6 It is a structural schematic diagram of a signal abnormality detection device provided in an embodiment of the present application;

[0023] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are 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.

[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0026] The following, in conjunction with the accompanying drawings, describes in detail the signal anomaly detection method, device, electronic device and storage medium provided in the embodiments of the present application through specific embodiments and their application scenarios.

[0027] Figure 1 A schematic flow chart of a signal anomaly detection method provided by an embodiment of the present application is shown. The method can be executed by an electronic device, and the electronic device can include: a terminal device, wherein the terminal device can be, for example, a vehicle-mounted terminal, etc. Figure 1 , the method may include the following steps:

[0028] Step 102: receiving a radio signal sent by a signal sender when requesting unlocking;

[0029] The signal sender may include a car key, a mobile phone application, etc. In a PASSIVE KEYLESS ENTER SYSTEM (PKES), the vehicle and the car key communicate via radio signals, which mainly include:

[0030] (1) Radio-frequency identification (RFID): RFID is a wireless communication technology that can identify specific targets and read and write related data through radio signals without establishing mechanical or optical contact between the identification system and the specific target.

[0031] (2) Bluetooth, Bluetooth low energy (BLE): BLE is a personal area network technology designed and marketed by the Bluetooth SIG, intended for emerging applications in healthcare, sports and fitness, beacons, security, home entertainment, etc. Compared to classic Bluetooth, Bluetooth low energy aims to significantly reduce power consumption and cost while maintaining the same communication range.

[0032] (3) Wireless Fidelity (WiFi).

[0033] (4) Ultra-wideband (UWB): UWB is a wireless personal area network communication technology with low power consumption and high-speed transmission. It is suitable for wireless communication applications that require high-quality services and can be used in wireless personal area networks (WPANs), home network connections, and short-range radars. It does not use continuous sine waves, but uses pulse signals for transmission.

[0034] When a request is made to unlock the vehicle, the vehicle key sends a radio signal to the vehicle instructing the vehicle to unlock.

[0035] Step 104: When the radio signal meets an abnormal condition, determining that the radio signal is abnormal;

[0036] The abnormal condition includes one of the following:

[0037] (1) The number of radio signal errors exceeds a preset number;

[0038] (2) The radio signal is an unexpected signal;

[0039] (3) The radio signal is interfered with.

[0040] In an embodiment of the present application, the vehicle receives a radio signal sent by a signal sender, which may be a car key in this embodiment, when requesting to unlock, analyzes the radio signal, and determines whether the number of times the radio signal has errors exceeds a preset number, or whether the radio signal is an unexpected signal, or whether the radio signal is interfered with, and when the number of times the radio signal has errors exceeds a preset number, or when the radio signal is an unexpected signal, or when the radio signal is interfered with, determines that the radio signal is abnormal, thereby achieving receiving and analyzing the radio signal sent by a signal sender, such as a car key, when requesting to unlock, and when the radio signal meets the abnormal conditions, determining that the radio signal is an abnormal radio signal maliciously sent by an attacker and is used to unlock the vehicle, thereby determining that the vehicle has been attacked by an attacker.

[0041] Figure 2 A flow chart showing another method for detecting abnormal signals provided by an embodiment of the present application in one implementation is shown. Figure 2 , the method may include:

[0042] Step 202: receiving a radio signal sent by a signal sender when requesting unlocking;

[0043] Step 204: When the number of times the radio signal has errors exceeds a preset number, determining that the radio signal is abnormal; wherein the radio signal has errors, may include at least one of the following:

[0044] (1) The data format of the parameters of the radio signal is incorrect;

[0045] In which, when the data format of the parameters of the received radio signal does not comply with the preset regulations, the vehicle cannot correctly identify the radio signal, and thus considers that an error has occurred in the radio signal.

[0046] For example, the receiver of the vehicle sends a radio signal command 0080 to the signal sender, such as the car key, to inquire whether the identity of the signal sender is the car key. If yes, the car key replies with a confirmation command 0020; if not, the car key replies with a denial command 0030. However, if the vehicle receives a command other than the above 0020 and 0030 from the car key, such as 0050, it can be confirmed that the data format of the parameters of the radio signal is wrong.

[0047] For another example, if the data format of the parameters of the preset radio signal is an integer (int), but the data format of the parameters of the received radio signal is a string (str) or a character (char), it can be determined that an error occurs in the radio signal.

[0048] (2) The content of the parameters of the radio signal is incorrect;

[0049] The content error of the parameter of the radio signal may include that the content of the parameter of the radio signal is different from the preset content, and then it can be determined that the content error of the parameter of the radio signal is.

[0050] For example, if the parameter contents of the preset radio signal are an identifier (id) and a length (size), but the parameter contents of the received radio signal are a time (time) and a name (name), it can be determined that an error occurs in the radio signal.

[0051] For another example, the door opening amplitude parameter of the radio signal received by the vehicle is -30%. According to the preset regulations, the door opening amplitude should not be -30%, so it can be determined that the radio signal is erroneous.

[0052] (3) The number of parameters of the radio signal is not equal to the preset number.

[0053] In which, when the number of parameters of the received radio signal is less than or greater than the preset number, the vehicle considers that the parameters of the radio signal are wrong.

[0054] For example, a radio signal instructing a vehicle to open a door includes two parameters. The first parameter determines the target door to be opened, and the second parameter determines the opening amplitude of the target door. However, the radio signal received by the vehicle includes only one parameter. In this case, the vehicle considers that an error has occurred in the radio signal.

[0055] In an embodiment of the present application, since the vehicle is affected by interference factors such as the environment when receiving a radio signal, multiple detections are performed to determine whether the parameters of the received radio signal meet preset regulations, such as whether the data format of the parameters of the radio signal, the content of the parameters, and the number of parameters are the same as the preset ones, so as to exclude the possibility that a single detected radio signal error is caused by interference factors such as the environment; when multiple detections of data format errors, parameter content errors, or parameter number errors in the radio signal parameters exceed the preset number of cumulative errors, it is determined that the received radio signal is abnormal, and it can be determined that the radio signal is an abnormal radio signal maliciously sent by an attacker to unlock the vehicle, thereby determining that the vehicle has been attacked by the attacker.

[0056] For example, the preset number is set to 3. When the number of errors in the radio signal received by the vehicle exceeds 3 times, it is determined that the radio signal is abnormal and the vehicle is under attack.

[0057] Figure 3 In one implementation, another signal anomaly detection method provided by the embodiment of the present application is shown. Figure 3 , the method may include:

[0058] Step 302: receiving a radio signal sent by a signal sender when requesting unlocking;

[0059] Step 304: if the radio signal is an unexpected signal, determine that the radio signal is abnormal; wherein the radio signal is an unexpected signal, which may include at least one of the following:

[0060] (1) repeatedly receiving the radio signal within a preset time period;

[0061] For example, under normal circumstances, that is, when the vehicle receives radio signals normally and unlocks normally, the car key will not repeatedly request unlocking and repeatedly send radio signals. Therefore, if the vehicle repeatedly receives a certain radio signal or a certain section of radio signals within one minute, the radio signal is considered to be an unexpected signal.

[0062] (2) The order in which unlocking is performed is different from the preset order;

[0063] For example, the preset sequence is to confirm the identity of the signal sender first, then the signal sender sends a radio signal, and then detects the radio signal. If the detection passes, the vehicle performs the unlocking operation. However, the current unlocking sequence is to unlock the vehicle directly through the radio signal sent by the signal sender without confirming the identity of the signal sender. It can be determined that the unlocking sequence is different from the preset sequence, and the radio signal is an unexpected signal.

[0064] For another example, the preset sequence is to first receive a signal to wake up the vehicle, and then receive a radio signal for unlocking. However, the current sequence is that the signal to wake up the vehicle is not received, and the radio signal for unlocking is directly received. In this case, it can be determined that the sequence of executing unlocking is different from the preset sequence, and the radio signal is an unexpected signal.

[0065] (3) The radio signal is illegal.

[0066] For example, the current situation is that the mobile phone application supports the command to open the car window, but the car key does not support the command to open the car window. Therefore, the signal sender is authenticated and it is determined that the current signal sender is the car key, but the vehicle receives the command to open the car window, then the radio signal is considered illegal.

[0067] In an embodiment of the present application, the vehicle determines whether the radio signal is repeatedly received within a preset time, whether the order of receiving the radio signal is different from the preset order, and whether the radio signal is illegal. When the vehicle determines that at least one of the following situations is true: the radio signal is repeatedly received within the preset time, the order of receiving the radio signal is different from the preset order, and the radio signal is illegal, it can be determined that the radio signal is abnormal, the radio signal is an unexpected signal, and the vehicle is under attack.

[0068] Figure 4 In one implementation, another signal anomaly detection method provided by the embodiment of the present application is shown. Figure 4 , the method may include:

[0069] Step 402: receiving a radio signal sent by a signal sender when requesting unlocking;

[0070] Step 404: when the radio signal is interfered with, determining that the radio signal is abnormal; wherein the radio signal is interfered with, may include at least one of the following:

[0071] (1) The frequency of the radio signal exceeds the preset frequency range;

[0072] For example, the first time point at which the identity authentication is successful is recorded, and the second time point at which the radio signal analysis is completed is recorded. If the difference between the first time point and the second time point exceeds a preset range, it is considered that the radio signal is interfered.

[0073] (2) During the process of receiving the radio signal, an electromagnetic interference signal is received.

[0074] For example, when a vehicle receives a radio signal, the vehicle also receives a large amount of electromagnetic interference signals, and it is considered that the radio signal is interfered with.

[0075] In an embodiment of the present application, the vehicle determines whether the radio signal is interfered with by determining whether the frequency of the radio signal exceeds a preset range and whether an electromagnetic interference signal is received during the process of receiving the radio signal; when the frequency of the radio signal exceeds the preset range and at least one of the electromagnetic interference signals is received during the process of receiving the radio signal, it can be determined that the radio signal is interfered with and the vehicle is under attack.

[0076] In one implementation, before the above step 204, the signal anomaly detection method may further include:

[0077] Step 2041: authenticating the identity of the signal sender;

[0078] Step 2042: When the identity authentication of the signal sender is passed, the radio signal sent by the signal sender is recorded.

[0079] In the embodiment of the present application, after the vehicle receives the radio signal sent by the signal sender, the identity of the signal sender is authenticated. Different signal senders have different configurations. For example, the mobile phone application supports the command to open the car window, but the car key does not support opening the car window. In the case where the identity authentication of the signal sender is passed, that is, the identity of the signal sender has been determined, and then the radio signal sent by the signal sender is recorded to analyze the radio signal and determine whether the radio signal meets the abnormal condition, thereby determining whether the radio signal is abnormal.

[0080] For example, if the signal sender passes identity authentication as a car key, but the vehicle receives a command to open the window that the car key does not support, the radio signal is considered illegal, and it is determined that the radio signal is abnormal and the vehicle is currently under attack.

[0081] In one implementation, the above step 2041 of authenticating the identity of the signal sender may include:

[0082] Step 1, sending an identity matching message to the signal sender, wherein the identity matching message includes identity information;

[0083] Step 2: When the identity of the signal sender matches the identity in the identity matching message, determine the identity of the signal sender.

[0084] Among them, the identity authentication of the signal sender is mainly realized through the interaction between the radio receiver at the vehicle end and the radio transmitter of the signal sender. First, the radio receiver sends a radio signal including an identity matching message to the radio transmitter, which is used to inquire whether the signal sender is a mobile phone, a near field communication (NFC) card, Bluetooth or a key. When the identity of the signal sender matches one of the above, the radio transmitter sends a key (for example, a 16-bit key) to the radio receiver, and then after receiving the key, the radio receiver replies to the radio transmitter with a random number corresponding to the key (for example, a 16-bit random number), and then after receiving the random number, the radio transmitter encrypts the random number with the previous key and sends it to the radio receiver. The radio receiver decrypts the received encrypted random number and key through a preset decryption method, and compares the decrypted result with the previously received key. If it is correct, the signal sender passes the identity authentication.

[0085] In one implementation, after the above step 202, the above signal anomaly detection method may further include:

[0086] Step 203: Filter other radio signals except the radio signal.

[0087] Among them, by filtering the received radio signals, other radio signals except the radio signals sent by the signal sender when requesting to unlock are filtered out, so as to avoid the vehicle analyzing the wrong radio signals and obtaining wrong results, hindering the detection of signal anomalies and failing to obtain correct information on whether the vehicle is under attack.

[0088] Figure 5 A flow chart showing another signal anomaly detection method provided by an embodiment of the present application, which can be executed by a vehicle's radio receiver and control unit, see Figure 5 , the method may include the following steps:

[0089] Step 501: The vehicle's radio receiver receives a radio signal.

[0090] The radio signal may be sent by a radio transmitter of the vehicle key.

[0091] Step 502: The control unit of the vehicle acquires a radio signal.

[0092] The vehicle's control unit communicates with a radio receiver to obtain a radio signal and analyzes the radio signal.

[0093] Step 503: Determine whether an error occurs in the radio signal; if so, execute step 506; if not, execute step 504.

[0094] Step 504: Determine whether the radio signal is an unexpected signal; if so, execute step 506; if not, execute step 505.

[0095] Step 505: Determine whether the radio signal is interfered; if so, execute step 506; if not, return to step 501.

[0096] Step 506: Determine whether the radio signal is abnormal.

[0097] It should be noted that the order of step 503, step 504, and step 505 is only exemplary and can be interchanged, and is not specifically limited here.

[0098] In an embodiment of the present application, when the owner approaches the vehicle, the radio transmitter of the car key sends a radio signal, which is used to instruct the door to be unlocked. Then the radio receiver of the vehicle receives the radio signal and communicates with the control unit of the vehicle, which identifies and analyzes the received radio signal. If the vehicle identifies and analyzes the radio signal normally, the radio signal is verified and the vehicle is unlocked normally. If the vehicle identifies and analyzes the radio signal in any of the following situations, such as an error, an unexpected signal, or interference, the radio signal is considered abnormal, the vehicle is attacked, and the unlocking is refused.

[0099] It should be noted that the signal anomaly detection method provided in the embodiment of the present application can be executed by a signal anomaly detection device, or a control module in the signal anomaly detection device for executing the signal anomaly detection method. In the embodiment of the present application, the signal anomaly detection device executing the signal anomaly detection method is taken as an example to illustrate the signal anomaly detection device provided in the embodiment of the present application.

[0100] Figure 6 is a schematic diagram of the structure of a signal abnormality detection device provided according to an embodiment of the present application. Figure 6 As shown, the device 600 includes: a receiving module 610 and a determining module 620.

[0101] The receiving module 610 is used to receive a radio signal sent by a signal sender when requesting unlocking; the determining module 620 is used to determine that the radio signal is abnormal when the radio signal meets an abnormal condition; wherein the abnormal condition includes one of the following:

[0102] (1) The number of radio signal errors exceeds a preset number;

[0103] (2) The radio signal is an unexpected signal;

[0104] (3) The radio signal is interfered with.

[0105] In one implementation, the radio signal error includes at least one of the following:

[0106] (1) The data format of the parameters of the radio signal is incorrect;

[0107] (2) The content of the parameters of the radio signal is incorrect;

[0108] (3) The number of parameters of the radio signal is not equal to the preset number.

[0109] In one implementation, the radio signal is an unexpected signal, including at least one of the following:

[0110] (1) repeatedly receiving the radio signal within a preset time period;

[0111] (2) The order in which unlocking is performed is different from the preset order;

[0112] (3) The radio signal is illegal.

[0113] In one implementation, the radio signal is interfered with, including at least one of the following:

[0114] (1) The frequency of the radio signal exceeds the preset frequency range;

[0115] (2) During the process of receiving the radio signal, an electromagnetic interference signal is received.

[0116] In one implementation, the signal anomaly detection device 600 may further include an identity authentication module for authenticating the identity of the signal sender; when the identity authentication of the signal sender is successful, the radio signal sent by the signal sender is recorded.

[0117] In one implementation, the above-mentioned identity authentication module can be used to: send an identity matching message to the signal sender, wherein the identity matching message includes identity information, and determine the identity of the signal sender when the identity of the signal sender matches the identity in the identity matching message.

[0118] In an implementation manner, the signal anomaly detection device 600 may further include a filtering module, which is used to filter other radio signals except the radio signal.

[0119] The signal anomaly detection device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device, and for example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. The non-mobile electronic device can be a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0120] The signal anomaly detection device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0121] The signal anomaly detection device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0122] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to perform the above-mentioned signal abnormality detection method. Figure 7 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 701, a communication interface (Communications Interface) 702, a memory (memory) 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704. The processor 701 may call a computer program stored in the memory 703 and executable on the processor 701 to perform the following steps:

[0123] Receiving a radio signal sent by a signal sender when requesting unlocking; and determining that the radio signal is abnormal if the radio signal satisfies an abnormal condition; wherein the abnormal condition includes one of the following:

[0124] (1) The number of radio signal errors exceeds a preset number;

[0125] (2) The radio signal is an unexpected signal;

[0126] (3) The radio signal is interfered with.

[0127] The specific execution steps can refer to the various steps of the above-mentioned signal anomaly detection method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0128] It should be noted that the electronic device in the embodiments of the present application includes: a terminal or other devices except a terminal.

[0129] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0130] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory 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. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).

[0131] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.

[0132] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned signal anomaly detection method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0133] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0134] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned signal anomaly detection method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0135] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0136] It should be noted that, in this article, the term "comprises", "includes" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0138] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for detecting signal anomaly, characterized in that: include: receiving a radio signal sent by a signal sender when requesting unlocking; In a case where the radio signal satisfies an abnormal condition, determining that the radio signal is abnormal; The abnormal condition includes one of the following: The number of radio signal errors exceeds a preset number; The radio signal is an unexpected signal; The radio signal is interfered with.

2. The method according to claim 1, characterized in that The radio signal error includes at least one of the following: The data format of the parameters of the radio signal is wrong; The content of the parameters of the radio signal is erroneous; The number of parameters of the radio signal is not equal to a preset number.

3. The method according to claim 1, characterized in that The radio signal is an unexpected signal, including at least one of the following: repeatedly receiving the radio signal within a preset time period; The order in which unlocking is performed is different from the preset order; The radio signal is illegal.

4. The method according to claim 1, characterized in that: The radio signal is interfered with, including at least one of the following: The frequency of the radio signal exceeds a preset frequency range; During the process of receiving the radio signal, an electromagnetic interference signal is received.

5. The method according to claim 1, characterized in that When the radio signal meets the abnormal condition, before determining that the radio signal is abnormal, the method further includes: authenticating the identity of the signal sender; When the identity authentication of the signal sender is passed, the radio signal sent by the signal sender is recorded.

6. The method according to claim 5, characterized in that The authenticating the identity of the signal sender includes: Sending an identity matching message to the signal sender, wherein the identity matching message includes identity information; In case the identity of the signal sender matches the identity in the identity matching message, the identity of the signal sender is determined.

7. The method according to claim 1, characterized in that After receiving the radio signal sent by the signal sender when requesting unlocking, the method further includes: The other radio signals except the radio signal are filtered.

8. A signal abnormality detection device, characterized in that: include: A receiving module, used for receiving a radio signal sent by a signal sender when requesting unlocking; A determination module, configured to determine that the radio signal is abnormal if the radio signal meets an abnormal condition; The abnormal condition includes one of the following: The number of radio signal errors exceeds a preset number; The radio signal is an unexpected signal; The radio signal is interfered with.

9. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the signal anomaly detection method as described in any one of claims 1 to 7.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the signal anomaly detection method according to any one of claims 1 to 7 are implemented.