CN114205449B - Terminal anti-eavesdropping method, control device, terminal and storage medium - Google Patents

Terminal anti-eavesdropping method, control device, terminal and storage medium Download PDF

Info

Publication number
CN114205449B
CN114205449B CN202010908481.1A CN202010908481A CN114205449B CN 114205449 B CN114205449 B CN 114205449B CN 202010908481 A CN202010908481 A CN 202010908481A CN 114205449 B CN114205449 B CN 114205449B
Authority
CN
China
Prior art keywords
precision
data
terminal
original data
acceleration sensor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010908481.1A
Other languages
Chinese (zh)
Other versions
CN114205449A (en
Inventor
曹龙杰
蒋辉
冯小兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu TD Tech Ltd
Original Assignee
Chengdu TD Tech Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu TD Tech Ltd filed Critical Chengdu TD Tech Ltd
Priority to CN202010908481.1A priority Critical patent/CN114205449B/en
Publication of CN114205449A publication Critical patent/CN114205449A/en
Application granted granted Critical
Publication of CN114205449B publication Critical patent/CN114205449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides a terminal anti-eavesdropping method, control equipment, a terminal and a storage medium, wherein the method is applied to a controller of the terminal, the terminal comprises the controller and an acceleration sensor, and raw data reported by the acceleration sensor are acquired; performing de-precision processing on the original data to obtain de-precision data; the data with the precision removed is sent to a client subscribing the data on the terminal, so that the client obtains the data with the precision removed, the problem that the terminal is eavesdropped due to the fact that an acceleration sensor is too sensitive is effectively avoided, some main stream applications of the terminal are not affected, and user experience is improved.

Description

Terminal anti-eavesdropping method, control device, terminal and storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a terminal anti-eavesdropping method, a control device, a terminal, and a storage medium.
Background
With the development of terminal technology, more and more Application programs (App) are installed on terminals such as mobile phones, and the App can collect vibration signals of sound emitted by a speaker of the mobile phone by using an acceleration sensor built in the mobile phone under the conditions that a user does not know and system authorization is not needed, so that the eavesdropping of the voice of the user is realized.
In the prior art, in order to avoid the problem that the mobile phone is eavesdropped, a mode of closing an acceleration sensor is generally adopted, but the method can affect some mainstream application modes, such as automatic sensing of shaking, horizontal screen and vertical screen switching, remote sensing games and the like.
In summary, if the acceleration sensor is turned on, there is a risk of eavesdropping, and if the acceleration sensor is turned off, the application of the mobile phone is affected, resulting in a discount of the user experience.
Disclosure of Invention
In view of the above problems, the present invention provides a terminal anti-eavesdropping method, a control device, a terminal and a storage medium.
In a first aspect, the present invention provides a terminal anti-eavesdropping method, applied to a controller of a terminal, where the terminal includes the controller and an acceleration sensor, the method includes: acquiring original data reported by an acceleration sensor; performing de-precision processing on the original data to obtain de-precision data; and sending the de-precision data to a client subscribing the data on the terminal.
In other optional embodiments, the performing the de-precision processing on the raw data to obtain de-precision data includes: and inputting the original data and the precision into a preset precision removing algorithm model, carrying out precision removing processing on the original data according to the precision, and outputting the precision removing data.
In other optional embodiments, before the performing the de-precision processing on the raw data, the method further includes: acquiring a client identifier of subscription data; judging whether the client identifier is in a white list or not; and if the original data are in the white list, sending the original data to the client.
In other alternative embodiments, the method further comprises: and if the client identifier is not in the white list, executing the step of performing the de-precision processing on the original data.
In other alternative embodiments, the raw data includes x-axis raw data, y-axis raw data, z-axis raw data; the step of performing the de-precision processing on the original data to obtain de-precision data includes: and performing de-precision processing on the x-axis original data, the y-axis original data and the z-axis original data respectively to obtain x-axis de-precision data, y-axis de-precision data and z-axis de-precision data.
In other alternative embodiments, the method further comprises: receiving an adding instruction input by a user; and adding the client identification into the white list according to the adding instruction.
In other alternative embodiments, the accuracy is determined according to the terminal type.
In a second aspect, the present invention provides a control apparatus comprising: the acquisition module is used for acquiring the original data reported by the acceleration sensor; the processing module is used for carrying out de-precision processing on the original data to obtain de-precision data; and the sending module is used for sending the de-precision data to a client subscribing the data on the terminal.
In a third aspect, the present invention provides a terminal comprising a controller and an acceleration sensor; the acceleration sensor is used for collecting original data generated by the terminal and reporting the original data to the controller so that the controller can execute the terminal anti-eavesdropping method according to any one of the first aspect.
In a fourth aspect, the present invention provides a storage medium containing computer executable instructions for performing the method of any of the first aspects when executed by a computer processor.
The invention provides a terminal anti-eavesdropping method, control equipment, a terminal and a storage medium, wherein the method is applied to a controller of the terminal, the terminal comprises the controller and an acceleration sensor, and raw data reported by the acceleration sensor are acquired; performing de-precision processing on the original data to obtain de-precision data; the data with the precision removed is sent to a client subscribing the data on the terminal, so that the client obtains the data with the precision removed, the problem that the terminal is eavesdropped due to the fact that an acceleration sensor is too sensitive is effectively avoided, some main stream applications of the terminal are not affected, and user experience is improved.
Drawings
FIG. 1 is a flow chart of a prior art voice eavesdropping attack using a mobile phone accelerometer;
fig. 2 is a schematic structural diagram of a terminal according to the present invention;
fig. 3 is a schematic flow chart of a method for preventing terminal from eavesdropping provided by the invention;
FIG. 4 is a representation of a coordinate system of a Round function according to the present invention;
fig. 5 is a schematic data diagram of a mobile phone acceleration sensor according to the present invention;
fig. 6 is a flow chart of another method for preventing terminal from eavesdropping provided by the invention;
FIG. 7 is a layered structure of an exemplary embodiment Zhuo Zhongduan;
FIG. 8 is a schematic diagram of a process for de-accuracy of data from an acceleration sensor according to the present invention;
fig. 9 is a schematic structural diagram of a control device according to the present invention;
fig. 10 is a schematic hardware structure of a control device according to the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
First, the terms involved in the present invention will be explained:
an accelerometer: the built-in acceleration sensor of the mobile phone is a sensor for detecting the movement of the mobile phone, and is commonly used for any measurement related to the movement of the mobile phone, such as step counting, speed measurement, mobile phone gesture measurement and the like. Specifically, the acceleration sensor is used as a necessary device of the current terminal, acceleration data in three directions can be provided for mobile phone application, the data are combined with artificial intelligence (Artificial Intelligence, AI for short) algorithms, the behaviors of a user can be identified, the terminal is combined with the behaviors and is realized by a plurality of specific functions, the user experience, such as the identified walking behaviors, the function of a pedometer is provided, the behavior of the user for lifting the mobile phone when the terminal is in screen-off is identified, face recognition is started, and the face recognition experience and the like can be improved.
In general knowledge of people, the mobile phone accelerometer cannot easily obtain or infer sensitive personal information like a microphone, a camera and a geographic position, so that various apps installed on the mobile phone can call the mobile phone accelerometer to read or acquire corresponding rights almost without encountering any resistance, that is, an attack initiated by the mobile phone accelerometer is not only hidden, but also legal.
Fig. 1 is a schematic flow chart of a voice eavesdropping attack by using a mobile phone accelerometer in the prior art, as shown in fig. 1, because a speaker and the accelerometer in the mobile phone are installed on the same main board and the distance is very close, the vibration generated by the speaker during playing sound can obviously influence the reading of the accelerometer, and after the accelerometer collects vibration signals, an attacker can further identify and even restore the sound signals played by the mobile phone.
In the prior art, in order to avoid the problem that the mobile phone is eavesdropped, a mode of closing an acceleration sensor is generally adopted, but the method can affect some mainstream application modes, such as automatic sensing of shaking, horizontal screen and vertical screen switching, remote sensing games and the like.
In summary, if the terminal turns on the acceleration sensor, there is a risk of eavesdropping, and if the terminal turns off the acceleration sensor, some mainstream applications of the mobile phone are affected, so that the user experience is greatly reduced.
Aiming at the problem, the technical conception of the invention is that: the data acquired by the acceleration sensor is subjected to precision removal processing, and the data after precision removal is reported to the mobile phone application, so that the user voice is prevented from being intercepted, and the main stream application of the mobile phone is not affected.
Fig. 2 is a schematic structural diagram of a terminal according to the present invention, and as shown in fig. 2, one of the terminals according to the present invention may include a controller 1 and an acceleration sensor 2, where the acceleration sensor is configured to obtain raw data generated by the terminal and send the raw data to the controller 1, so that the controller 1 performs an anti-eavesdropping method of the terminal described in the following embodiments.
In a first aspect, an embodiment of the present invention provides a method for preventing eavesdropping at a terminal, and fig. 3 is a schematic flow chart of the method for preventing eavesdropping at a terminal.
As shown in fig. 3, the terminal anti-eavesdropping method includes:
and 101, acquiring original data reported by an acceleration sensor.
Specifically, when the user performs a voice call or plays music, the speaker of the mobile phone vibrates, so as to influence the reading of the acceleration sensor built in the mobile phone, that is, the original data, and the original data is reported to the execution subject of the embodiment, such as the controller 1 shown in fig. 2, and the reporting mode is not limited.
And 102, performing de-precision processing on the original data to obtain de-precision data.
Specifically, after the controller acquires the original data, the controller performs the de-precision processing on the original data. Preferably, one implementation of step 102 is as follows:
and inputting the original data and the precision into a preset precision removing algorithm model, carrying out precision removing processing on the original data according to the precision, and outputting the precision removing data.
Specifically, the precision can be set by user definition according to the user requirement, and the original data is subjected to de-precision processing according to the precision.
Alternatively, the preset precision removing algorithm model may be a Round function, as shown in formula (1):
Figure BDA0002662368910000051
where x represents the original value, acc represents the precision, and [ (] is a rounding function, i.e., the fractional part of the values in [ ] are removed. For example, the function coordinate axis of the obtained value is rounded to integer digits when acc takes 1, rounded to precision of 0.1 when acc takes 0.1, and so on, and acc can be expanded to any positive number. Fig. 4 is a coordinate system representation method of a Round function provided by the present invention, as shown in fig. 4, the output data is an integer multiple of the precision with the smallest absolute value subtracted from the input data, and when there are two absolute values that are both the smallest values, a larger value is taken as the output value.
Preferably, the accuracy is determined according to the type of terminal. Specifically, for terminals of different models, due to the difference of hardware designs, the value of the acceleration sensor may be changed differently by the speaker, so in this embodiment, different precision configuration schemes are provided for different terminal types, and optionally, the precision may be pre-stored in a terminal system attribute value, which may be specified when the terminal is turned on, or reset through a terminal interface. Therefore, when the acceleration sensor reports the original data, the precision value in the system attribute is obtained, and the precision removing processing is carried out according to the precision value.
When the precision value is 0, this means that no precision removal processing is performed, and the original data may be directly transmitted to the client.
Optionally, the original data includes x-axis original data, y-axis original data, and z-axis original data; one implementation of step 102 is as follows: and performing de-precision processing on the x-axis original data, the y-axis original data and the z-axis original data respectively to obtain x-axis de-precision data, y-axis de-precision data and z-axis de-precision data.
Specifically, fig. 5 is a schematic data diagram of a mobile phone acceleration sensor provided by the present invention, where, as shown in fig. 5, acceleration may obtain raw data (x, y, z) in three directions of x, y, z, and then the raw data in the directions of x, y, z may be subjected to a de-precision process by using a de-precision algorithm shown in formula (1) to obtain de-precision data (x ', y ', z ').
And step 103, the de-precision data is sent to a client subscribing the data on the terminal.
Specifically, after the de-precision data is obtained, the de-precision data can be sent to the client, so that an attacker cannot eavesdrop on the voice of the user by using the client, and the main stream application such as shaking of the mobile phone is not influenced.
The terminal anti-eavesdropping method provided by the embodiment of the invention is applied to a controller of the terminal, wherein the terminal comprises the controller and an acceleration sensor, and raw data reported by the acceleration sensor is obtained; performing de-precision processing on the original data to obtain de-precision data; the data with the precision removed is sent to a client subscribing the data on the terminal, so that the client obtains the data with the precision removed, the problem that the terminal is eavesdropped due to the fact that an acceleration sensor is too sensitive is effectively avoided, some main stream applications of the terminal are not affected, and user experience is improved.
With reference to the foregoing implementations, fig. 6 is a schematic flow chart of another method for preventing eavesdropping of a terminal according to the present invention, as shown in fig. 6, where the method for preventing eavesdropping of a terminal includes:
step 201, obtaining original data reported by an acceleration sensor.
Step 202, obtaining a client identifier of subscription data.
Step 203, determining whether the client identifier is in a white list.
If yes, go to step 204 and end; if not, step 205 is performed.
Step 204, the original data is sent to the client. And (5) ending.
And 205, performing de-precision processing on the original data to obtain de-precision data.
And 206, transmitting the de-precision data to a client subscribing the data on the terminal. And (5) ending.
Step 201, step 205 and step 206 in this embodiment are similar to the implementation manners of step 101, step 102 and step 103 in the foregoing embodiments, respectively, and are not described here again.
Unlike the previous embodiments, in this embodiment, the requirement that some apps on the terminal may need to acquire high-precision acceleration sensor data is considered, so in this embodiment, the client identifier of the subscription data is acquired; judging whether the client identifier is in a white list or not; if the original data are in the white list, the original data are sent to the client; if the data is not in the white list, performing de-precision processing on the original data to obtain de-precision data; and sending the de-precision data to a client subscribing the data on the terminal.
Specifically, whether the client subscribing to the data is in the white list is firstly judged, if so, the client needs to acquire the high-precision acceleration sensor data, and at the moment, the original data is directly sent to the client without the need of performing the de-precision processing on the original data, and if not in the white list, if so, the client does not have the requirement of the high-precision acceleration sensor data, at the moment, the original data can be subjected to the de-precision processing, and the processed data can be sent to the client.
As an alternative embodiment, the method further comprises: receiving an adding instruction input by a user; and adding the client identification into the white list according to the adding instruction. Specifically, whether the client is in the white list or not may be set by adding according to the requirement of the user.
Fig. 7 is a layered structure of an android Zhuo Zhongduan provided by the present invention, as shown in fig. 7, the layered structure of the android terminal includes:
application: the application layer can acquire the data of the acceleration sensor so as to perform some necessary pattern recognition, namely, a place where an attacker can reach the purpose of eavesdropping.
Sensor Manager: the sensor management component belongs to a Framework (Framework) layer, provides a JAVA interface and provides an APP layer related interface.
Sensor JNI: the Framework layer and the Native service layer realize the call of JAVA to the C interface.
Sensor Manager: and C interface provided by Native layer.
Sensor Service: and the service related to the sensor provides management and data reporting of each sensor.
Sensor HAL: the packaged C interface comprises logic processing for the sensor driver in the kernel.
Accelerometer Driver: and driving the acceleration sensor.
I2C driver, I2C Controller: an I2C communication interface between the operating system and the sensor is provided.
Accelerometer: an acceleration sensor.
It can be seen that this is a linear structure from top to bottom, taking Sensor Service as an example, the Sensor Service can acquire the data reported by the acceleration Sensor and report the data to the upper layer (frame layer and Application).
Fig. 8 is a schematic diagram of a process flow for removing accuracy of data of an acceleration sensor according to the present invention. In the following, referring to fig. 7 and 8, further description will be made of an embodiment of the present invention, in which the precision removing process may be performed on the Sensor Service, as shown in fig. 8, the precision removing process is performed on the raw data (x, y, z) reported on the bottom layer in the Sensor Service layer, to obtain (x ', y', z '), and the (x', y ', z') is reported to the App layer.
It should be noted that, in the state that the mobile phone is stationary and in the state that music is played, the acceleration data after the de-precision processing can shield these slight vibrations, but for some relatively large actions such as picking up the mobile phone, rotating the mobile phone, shaking the mobile phone, and the like, after the de-precision processing, the data change models almost coincide, and the mode recognition of such scenes can not be considered to be affected.
Based on the foregoing embodiment, the client identifier of the subscription data is obtained; judging whether the client identifier is in a white list or not; if the original data are in the white list, the original data are sent to the client; if the data is not in the white list, performing de-precision processing on the original data to obtain de-precision data; the de-precision data is sent to the client subscribing the data on the terminal, so that the requirement that some clients acquire high-precision acceleration sensor data is met, and user experience is improved.
In a second aspect, an embodiment of the present invention provides a control device, and fig. 9 is a schematic structural diagram of the control device provided by the present invention, as shown in fig. 9, where the control device includes:
the acquisition module 10 is used for acquiring the original data reported by the acceleration sensor; the processing module 20 is configured to perform a de-precision processing on the raw data to obtain de-precision data; and the sending module 30 is used for sending the de-precision data to a client subscribing the data on the terminal.
In other alternative embodiments, the processing module 20 is specifically configured to: and inputting the original data and the precision into a preset precision removing algorithm model, carrying out precision removing processing on the original data according to the precision, and outputting the precision removing data.
In other optional embodiments, the apparatus further includes a judging module 40, where the judging module 40 is configured to: acquiring a client identifier of subscription data; judging whether the client identifier is in a white list or not; if the data is in the white list, the sending module 30 is configured to send the raw data to a client.
In other alternative embodiments, when the determining module 40 determines that the client identifier is not in the white list, the processing module 20 performs the step of performing the de-precision processing on the raw data. In other alternative embodiments, the raw data includes x-axis raw data, y-axis raw data, and z-axis raw data, and the processing module 20 is specifically configured to: and performing de-precision processing on the x-axis original data, the y-axis original data and the z-axis original data respectively to obtain x-axis de-precision data, y-axis de-precision data and z-axis de-precision data.
In other alternative embodiments, the determining module 40 is further configured to: receiving an adding instruction input by a user; and adding the client identification into the white list according to the adding instruction.
In other alternative embodiments, the accuracy is determined according to the terminal type.
It will be clear to those skilled in the art that, for convenience and brevity of description, the specific working process and corresponding beneficial effects of the control device described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The control equipment provided by the embodiment of the invention is used for acquiring the original data reported by the acceleration sensor through the acquisition module; the processing module is used for carrying out de-precision processing on the original data to obtain de-precision data; the sending module is used for sending the de-precision data to the client subscribing the data on the terminal, so that the client subscribing the data can obtain the de-precision data, the problem that the terminal is overheard due to the fact that the acceleration sensor is sensitive is effectively avoided, the main stream application of the terminal cannot be influenced, and the user experience is improved.
Fig. 10 is a schematic hardware structure of a control device according to the present invention, as shown in fig. 10, including:
at least one processor 1001 and memory 1002.
In a specific implementation, at least one processor 1001 executes computer-executable instructions stored in the memory 1002, so that the at least one processor 1001 performs the terminal anti-eavesdropping method as described above, where the processor 1001 and the memory 1002 are connected through the bus 1003.
The specific implementation process of the processor 1001 may refer to the above method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 10 described above, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise high speed RAM memory or may further comprise non-volatile storage NVM, such as at least one disk memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
In a third aspect, the present invention provides a terminal, as shown with reference to fig. 1, comprising a controller 1 and an acceleration sensor 2; the acceleration sensor 2 is configured to collect raw data generated by a terminal, and report the raw data to the controller 1, so that the controller 1 executes the terminal anti-eavesdropping method according to any one of the first aspect.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process and corresponding beneficial effects of the above-described terminal may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In a fourth aspect, the present invention further provides a readable storage medium, where computer-executable instructions are stored, and when the processor executes the computer-executable instructions, a control method for downloading services as above is implemented.
The above-described readable storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
An exemplary readable storage medium is coupled to the processor such the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). The processor and the readable storage medium may reside as discrete components in a device.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (8)

1. A method for preventing eavesdropping of a terminal, characterized by a controller applied to the terminal, the terminal comprising the controller and an acceleration sensor, the method comprising:
acquiring original data reported by an acceleration sensor;
performing de-precision processing on the original data to obtain de-precision data;
transmitting the de-precision data to a client subscribing the data on the terminal;
the step of performing the de-precision processing on the original data to obtain de-precision data includes:
inputting the original data and the precision into a preset precision removing algorithm model, carrying out precision removing processing on the original data according to the precision, and outputting the precision removing data; the precision is determined according to the type of the terminal, the precision is pre-stored in a terminal system attribute value, the system attribute value is designated when the terminal is started, or is reset through a terminal interface, and the preset precision removing algorithm model is a Round function, as shown in a formula (1):
Figure QLYQS_1
where x represents the original value, acc represents the precision, and [ (] is a rounding function).
2. The method of claim 1, wherein prior to the de-precision processing the raw data, further comprising:
acquiring a client identifier of subscription data;
judging whether the client identifier is in a white list or not;
and if the original data are in the white list, sending the original data to the client.
3. The method according to claim 2, wherein the method further comprises: and if the client identifier is not in the white list, executing the step of performing the de-precision processing on the original data.
4. The method of claim 1, wherein the raw data comprises x-axis raw data, y-axis raw data, z-axis raw data;
the step of performing the de-precision processing on the original data to obtain de-precision data includes:
and performing de-precision processing on the x-axis original data, the y-axis original data and the z-axis original data respectively to obtain x-axis de-precision data, y-axis de-precision data and z-axis de-precision data.
5. The method according to claim 2, wherein the method further comprises:
receiving an adding instruction input by a user;
and adding the client identification into the white list according to the adding instruction.
6. A control apparatus, characterized by comprising:
the acquisition module is used for acquiring the original data reported by the acceleration sensor;
the processing module is used for carrying out de-precision processing on the original data to obtain de-precision data;
the sending module is used for sending the de-precision data to a client subscribing the data on the terminal;
the processing module is specifically configured to:
inputting the original data and the precision into a preset precision removing algorithm model, carrying out precision removing processing on the original data according to the precision, and outputting the precision removing data; the precision is determined according to the type of the terminal, the precision is pre-stored in a terminal system attribute value, the system attribute value is designated when the terminal is started, or is reset through a terminal interface, and the preset precision removing algorithm model is a Round function, as shown in a formula (1):
Figure QLYQS_2
where x represents the original value, acc represents the precision, and [ (] is a rounding function).
7. A terminal, characterized in that the terminal comprises a controller and an acceleration sensor;
the acceleration sensor is used for collecting original data generated by the terminal and reporting the original data to the controller so that the controller can execute the terminal anti-eavesdropping method according to any one of claims 1-5.
8. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the method of any of claims 1-5.
CN202010908481.1A 2020-09-02 2020-09-02 Terminal anti-eavesdropping method, control device, terminal and storage medium Active CN114205449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010908481.1A CN114205449B (en) 2020-09-02 2020-09-02 Terminal anti-eavesdropping method, control device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010908481.1A CN114205449B (en) 2020-09-02 2020-09-02 Terminal anti-eavesdropping method, control device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114205449A CN114205449A (en) 2022-03-18
CN114205449B true CN114205449B (en) 2023-06-16

Family

ID=80644274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010908481.1A Active CN114205449B (en) 2020-09-02 2020-09-02 Terminal anti-eavesdropping method, control device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114205449B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178005A (en) * 2019-12-11 2020-05-19 中国建设银行股份有限公司 Data processing system, method and storage medium
CN111488985A (en) * 2020-04-08 2020-08-04 华南理工大学 Deep neural network model compression training method, device, equipment and medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9417667B2 (en) * 2013-05-10 2016-08-16 Blackberry Limited Methods and devices for touchscreen eavesdropping prevention
WO2017197554A1 (en) * 2016-05-16 2017-11-23 Intellectual Ventures Hong Kong Limited Mitigation of sensor-based covert channels in mobile devices
CN111294367B (en) * 2020-05-14 2020-09-01 腾讯科技(深圳)有限公司 Audio signal post-processing method and device, storage medium and electronic equipment
CN111614829B (en) * 2020-05-21 2021-07-23 维沃移动通信有限公司 Electronic equipment and anti-eavesdropping method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111178005A (en) * 2019-12-11 2020-05-19 中国建设银行股份有限公司 Data processing system, method and storage medium
CN111488985A (en) * 2020-04-08 2020-08-04 华南理工大学 Deep neural network model compression training method, device, equipment and medium

Also Published As

Publication number Publication date
CN114205449A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN109117250B (en) Simulator identification method, simulator identification equipment and computer readable medium
CN107291586B (en) Application program analysis method and device
CN108091333B (en) Voice control method and related product
CN108132790B (en) Method, apparatus and computer storage medium for detecting a garbage code
CN110046497B (en) Function hook realization method, device and storage medium
KR20200124948A (en) Electronic device and Method of controlling thereof
CN113778255B (en) Touch recognition method and device
CN109684123B (en) Problem resource positioning method, device, terminal and storage medium
CN112423176A (en) Earphone noise reduction method and device, storage medium and noise reduction earphone
CN109643455B (en) Camera calibration method and terminal
CN114205449B (en) Terminal anti-eavesdropping method, control device, terminal and storage medium
CN108132817B (en) Object management method and device
CN114096946A (en) Method and apparatus for managing applications
CN110825465A (en) Log data processing method and device, electronic equipment and storage medium
US11947709B2 (en) Electronic device for controlling access to device resource and operation method thereof
TW201905753A (en) Account management method and device
CN108959938B (en) Method, device, storage medium and equipment for detecting vulnerability exploitation
CN111866785B (en) Terminal, parameter measurement method, device and storage medium
CN111897726A (en) Abnormity positioning method, abnormity positioning device, storage medium and mobile terminal
CN112597417A (en) Page updating method and device, electronic equipment and storage medium
CN114546910A (en) Access control method, device, storage medium and electronic device
CN112534409A (en) Electronic device and operation method thereof
CN111752831A (en) Robustness detection method and device, computer equipment and storage medium
CN109634862B (en) Application analysis method, device and storage medium
CN111191254A (en) Access verification method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant