Mobile terminal sensor data processing method and device

Through the mobile terminal sensor data processing method, the sensitive sensor data is linearly transformed using encryption keys, which solves the problem of data privacy leakage of mobile terminal sensors and realizes privacy protection and secure transmission of data.

CN118940304APending Publication Date: 2024-11-12CHINA ACADEMY OF INFORMATION & COMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310518261.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-09
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, mobile terminal sensor data processing has the risk of privacy leakage, user privacy is collected, leaked and abused, and there is a lack of privacy protection methods. Malicious clients can obtain sensitive information such as user's whereabouts and trajectories through non-sensitive sensor data calculations.

Method used

Provide a mobile terminal sensor data processing method, which obtains original data when monitoring sensor data changes, performs data privacy processing according to sensor type, uses mobile terminal characteristics to generate encryption keys for linear transformation, generates noise random numbers to generate encryption keys, Desensitize sensitive sensor data, and judge whether the processing is qualified through the preset privacy processing pass threshold to ensure that the data is protected before transmission.

Benefits of technology

It effectively ensures the information security of sensor data, making sensitive sensor data irreversible and decompiled during transmission, ensuring user privacy protection and avoiding the risk of privacy leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940304A_ABST
    Figure CN118940304A_ABST
Patent Text Reader

Abstract

The invention provides a mobile terminal sensor data processing method and device, and relates to the field of information security, and the method comprises the steps: obtaining original data corresponding to a sensor of which the data is changed when monitoring that the sensor data is changed; wherein the sensor type comprises a sensitive sensor and a non-sensitive sensor; if it is judged that the original data comes from the sensitive sensor according to the sensor type, data privacy processing is carried out on the original data; judging whether the data privacy processing is qualified or not according to a preset privacy processing qualified threshold value; and if the data are qualified, sending the original data after data privacy processing to a client requesting to acquire the sensor data. According to the method and the device, the data in the sensitive sensor can be processed on the premise of protecting privacy, so that the data is available but not available, and the information security in the process of processing the sensor data is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information security, and specifically to a method and device for processing sensor data of a mobile terminal. Background Art

[0002] Generally speaking, mobile terminals are equipped with a large number of diversified sensors. In terms of data sensitivity, these sensors can be divided into sensitive sensors and non-sensitive sensors. In terms of function, these sensors can be divided into motion sensors, position sensors, environmental sensors and biometric sensors, which are used to measure motion status, perceive screen direction, measure environmental conditions and collect biometrics. The data provided by the diversified sensors on mobile terminals can be used to characterize the behavior of mobile terminal users, determine the environment and relative motion status of the mobile terminal, etc. This information can assist the operating system and application software in risk prevention and control.

[0003] Most existing risk prevention and control methods use active device fingerprint technology. First, they implant their own Javascript or SDK code on the client, and then actively collect relevant device features by running the code to identify the device and the user. Generally speaking, since these features will not change due to external conditions or user operation behaviors within a certain period of time, and have significant differences on different devices, they can better identify devices and users.

[0004] Although active device fingerprinting technology has been widely used in the Internet field, some inherent limitations of this technology have gradually emerged:

[0005] First, active device fingerprinting technology has risks related to user privacy. The reason is that this technology needs to collect relevant information about the device and the user on the client. These risks include, but are not limited to, the collection, leakage and abuse of user privacy. Second, for non-sensitive sensors of mobile terminals, malicious clients can easily obtain device information, including current operating status and current location, by monitoring the sensors of mobile terminals. Malicious clients can also calculate sensitive information such as the user's whereabouts through non-sensitive sensor data.

[0006] Currently, there is no method to process data from sensors under privacy protection, and there are risks in obtaining and analyzing user personal information. Summary of the invention

[0007] In response to the problems in the prior art, the present application provides a mobile terminal sensor data processing method and device, which can process the data in sensitive sensors under the premise of privacy protection, making the data available but not accessible, thereby ensuring information security in the process of processing sensor data.

[0008] In order to solve the above technical problems, this application provides the following technical solutions:

[0009] In a first aspect, the present application provides a method for processing sensor data of a mobile terminal, comprising:

[0010] When a change in sensor data is detected, the original data corresponding to the sensor whose data has changed is obtained; wherein the sensor types include sensitive sensors and non-sensitive sensors;

[0011] If it is determined according to the sensor type that the raw data comes from the sensitive sensor, performing data privacy processing on the raw data;

[0012] Whether the data privacy processing is qualified is determined according to a preset privacy processing qualified threshold; if qualified, the original data after the data privacy processing is sent to the client requesting to obtain the sensor data.

[0013] Furthermore, the performing data privacy processing on the original data includes:

[0014] generating an encryption key according to the acquired mobile terminal characteristics;

[0015] The original data is linearly transformed using the encryption key to obtain corresponding private data.

[0016] Further, the generating of the encryption key according to the acquired mobile terminal characteristics includes:

[0017] Generate a noise random number according to the characteristics of the mobile terminal;

[0018] The encryption key is generated according to the noise random number.

[0019] Furthermore, judging whether the data privacy processing is qualified according to a preset privacy processing qualified threshold value includes:

[0020] Calculating a correlation coefficient between the original data and the private data;

[0021] Whether the data privacy processing is qualified is determined according to the privacy processing qualified threshold and the correlation coefficient.

[0022] Furthermore, the mobile terminal sensor data processing method further includes:

[0023] If it is determined according to the sensor type that the raw data comes from the non-sensitive sensor, storing the raw data;

[0024] When the sensor data acquisition request sent by the client is received, the raw data is sent to the client.

[0025] In a second aspect, the present application provides a mobile terminal sensor data processing device, comprising:

[0026] A raw data acquisition unit, used to acquire raw data corresponding to the sensor whose data has changed when a change in sensor data is detected; wherein the sensor types include sensitive sensors and non-sensitive sensors;

[0027] a data privacy processing unit, configured to perform data privacy processing on the original data if it is determined according to the sensor type that the original data comes from the sensitive sensor;

[0028] The privacy processing detection unit is used to determine whether the data privacy processing is qualified according to a preset privacy processing qualified threshold; if qualified, the original data after the data privacy processing is sent to the client requesting to obtain the sensor data.

[0029] Furthermore, the data privacy processing unit includes:

[0030] An encryption key generation module, used to generate an encryption key according to the acquired mobile terminal characteristics;

[0031] The privacy data generation module is used to use the encryption key to perform linear transformation processing on the original data to obtain corresponding privacy data.

[0032] Furthermore, the encryption key generation module includes:

[0033] A random noise generation submodule, used to generate a noise random number according to the characteristics of the mobile terminal;

[0034] The encryption key generation submodule is used to generate the encryption key according to the noise random number.

[0035] Furthermore, the privacy processing detection unit includes:

[0036] A correlation coefficient calculation module, used to calculate the correlation coefficient between the original data and the private data;

[0037] The privacy processing judgment module is used to determine whether the data privacy processing is qualified according to the privacy processing qualified threshold and the correlation coefficient.

[0038] Furthermore, the mobile terminal sensor data processing device further includes:

[0039] A raw data storage unit, configured to store the raw data if it is determined according to the sensor type that the raw data comes from the non-sensitive sensor;

[0040] The raw data sending unit is used to send the raw data to the client when receiving the sensor data acquisition request sent by the client.

[0041] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the mobile terminal sensor data processing method when executing the program.

[0042] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the mobile terminal sensor data processing method when executed by a processor.

[0043] In a fifth aspect, the present application provides a computer program product, including a computer program / instruction, which implements the steps of the mobile terminal sensor data processing method when executed by a processor.

[0044] In response to the problems in the prior art, the mobile terminal sensor data processing method and device provided in the present application can address the privacy leakage risks existing in traditional mobile terminal sensors. It adopts a system-level user-defined sensitive sensor and sensitive data method, uses the inherent characteristics of the mobile terminal device as noise data, and desensitizes the original data in the sensitive sensor, making it difficult for the client to crack the original data in the sensitive sensor through technical means such as reverse engineering and decompilation. That is, the sensor data is made available but unobtainable, thereby ensuring information security in the process of processing sensor data. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] Figure 1 This is one of the flow charts of the method for processing sensor data of a mobile terminal in an embodiment of the present application;

[0047] Figure 2 This is a flow chart of data privacy processing in an embodiment of the present application;

[0048] Figure 3 A flowchart of generating an encryption key in an embodiment of the present application;

[0049] Figure 4 This is a flowchart for determining whether data privacy processing is qualified in an embodiment of the present application;

[0050] Figure 5 This is the second flowchart of the method for processing sensor data of a mobile terminal in an embodiment of the present application;

[0051] Figure 6 This is one of the structural diagrams of the mobile terminal sensor data processing device in the embodiment of the present application;

[0052] Figure 7 This is a structural diagram of a data privacy processing unit in an embodiment of the present application;

[0053] Figure 8 This is a structural diagram of an encryption key generation module in an embodiment of the present application;

[0054] Fig. 9 This is a structural diagram of a privacy processing detection unit in an embodiment of the present application;

[0055] Fig.10 This is the second structural diagram of the mobile terminal sensor data processing device in the embodiment of the present application;

[0056] Fig.11 A schematic diagram of the structure of an electronic device in an embodiment of the present application;

[0057] Fig.12 This is a schematic diagram of functional components in an embodiment of the present application;

[0058] Fig.13 It is a schematic diagram of the implementation process in the embodiment of the present application. DETAILED DESCRIPTION

[0059] 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 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.

[0060] The acquisition, storage, use and processing of data in the technical solution of this application comply with the relevant provisions of laws and regulations.

[0061] In one embodiment, see Figure 1 In order to process the data in sensitive sensors under the premise of privacy protection, make the data available but not accessible, and ensure the information security in the process of processing sensor data, the present application provides a mobile terminal sensor data processing method, including:

[0062] S101: when a change in sensor data is detected, obtaining raw data corresponding to the sensor whose data has changed; wherein the sensor types include sensitive sensors and non-sensitive sensors;

[0063] S102: If it is determined according to the sensor type that the raw data comes from the sensitive sensor, perform data privacy processing on the raw data;

[0064] S103: judging whether the data privacy processing is qualified according to a preset privacy processing qualified threshold; if qualified, sending the original data after the data privacy processing to the client requesting to obtain the sensor data.

[0065] It is understandable that the mobile terminal sensor in the embodiment of the present application refers to a device built into the mobile terminal for sensing the motion state of the mobile terminal, the screen direction and various environmental parameters. The mobile terminal sensor can provide raw sensing data and can also sense and locate the three-dimensional motion state of the mobile terminal. The sensing data provided by these mobile terminal sensors may involve personal sensitive data, including but not limited to personal identity information, financial and payment information, identity authentication information, phone book, address book, device location information, text messages and call related information, directories of other applications on the device, microphone data, camera data and other sensitive equipment or usage information. Therefore, when a client that establishes a communication connection with the execution subject of this application requests to obtain the above data, the data involved in the above information should be processed in a secure manner.

[0066] In the embodiment of the present application, the user of the mobile terminal (also referred to as the user) can define the type of the sensor, that is, define whether a certain sensor is a sensitive (data) sensor or a non-sensitive (data) sensor.

[0067] In general, referring to the table below, sensors can be categorized as follows:

[0068]

[0069]

[0070] Existing methods for processing sensitive data mainly include methods based on active device fingerprinting technology, which actively collects relevant characteristics of the device to identify the device and the user. These characteristics mainly include:

[0071] The characteristics of the browser itself, including version, operating system information, etc.

[0072] The configuration of the plugins in the browser, mainly the type and version number of the plugins;

[0073] The browser's Canvas feature, which is affected by the rendering differences caused by GPU characteristics, screen resolution, and different system font settings;

[0074] System flash configuration;

[0075] Sensor characteristics of the device, such as microphone and accelerometer characteristics;

[0076] Characteristics of the device’s operating system;

[0077] Network configuration of the device.

[0078] Active device fingerprint technology solves the problem of device identification and tracking in a complex mobile Internet environment, and has many applications in ensuring system security. However, active device fingerprint technology has risks related to user privacy, and it does not provide a data processing method under privacy protection.

[0079] In order to solve the problems existing in the prior art, the present application provides a method for processing sensor data of a mobile terminal. Since the client usually only needs to obtain the results corresponding to the sensor data of the mobile terminal (such as the results of the movement of the mobile terminal relative to the device reference system or the application reference system) without obtaining the original data of the sensor, the embodiment of the present application performs certain processing on the original data before providing the sensor data to the client, so that the client can use the results corresponding to the original data without obtaining the original data, thereby protecting the data obtained from the sensitive sensor, making it known and controllable to the user, and the user decides which data to share with the client.

[0080] See also Fig.12 The embodiment of the present application mainly includes four basic modules: monitoring module, data processing module, data feedback module and user setting module. The user setting module sets which sensors are user-defined sensitive sensors, the monitoring module monitors the changes of sensor data through the onSensorChanged() method, the data processing module performs security processing (also called privacy processing) on ​​the collected sensor data, and the data feedback module sends the stored sensor data to the client.

[0081] The specific signal processing process is as follows: Fig.13 As shown:

[0082] ① Now assume that the user uses the user setting module to customize the sensor type as a sensitive sensor;

[0083] ②The monitoring module receives the original sensor data sent by the sensitive sensor through the interface;

[0084] ③After receiving the raw data from the sensor, the monitoring module triggers the data processing module to perform data security processing;

[0085] ④The data processing module processes the raw data of the sensor for security and stores the data;

[0086] ⑤The client initiates a request to the data feedback module to receive sensor data;

[0087] ⑥The data feedback module sends the stored sensor data after security processing to the client.

[0088] From the above description, it can be seen that the mobile terminal sensor data processing method provided by the present application can address the privacy leakage risks existing in traditional mobile terminal sensors. It adopts a system-level user-defined sensitive sensor and sensitive data method, uses the inherent characteristics of the mobile terminal device as noise data, and desensitizes the original data in the sensitive sensor, making it difficult for the client to crack the original data in the sensitive sensor through technical means such as reverse engineering and decompilation, that is, making the sensor data available but unavailable, thereby ensuring data security in the process of processing sensor data.

[0089] Steps S101 to S103 are described in detail below.

[0090] Step S101: when a change in sensor data is detected, original data corresponding to the sensor whose data has changed is obtained; wherein the sensor types include sensitive sensors and non-sensitive sensors.

[0091] It is understandable that the monitoring module can monitor whether the sensor data has changed through the onSensorChanged() method. When the sensor data changes, the monitoring module obtains the raw data S of the sensor through the SensorEvent object. Among them, the sensor raw data S obtained by the SensorEvent object includes at least: the accuracy of the data, the sensor that generates the data, the timestamp of the generated data, and the new data recorded by the sensor (such as the data that has changed or the newly added data). After obtaining the raw data S, the monitoring module communicates with the data processing module and sends the sensor raw data S and the sensor type to the data processing module; the data processing module distinguishes the sensor raw data S according to the data source (sensitive sensor or non-sensitive sensor), transmits the user-defined non-sensitive sensor raw data S and sensor type to the data storage module, and retains the user-defined sensitive sensor raw data S in the data processing module for further processing.

[0092] It can be seen from the above description that the mobile terminal sensor data processing method provided by the present application can obtain the original data corresponding to the sensor whose data has changed when a change in sensor data is detected.

[0093] Figure 2 This is a specific embodiment of a method for processing sensor data of a mobile terminal implemented in an embodiment of the present application.

[0094] In one embodiment, see Figure 2, the data privacy processing of the original data includes:

[0095] S201: Generate an encryption key based on the acquired mobile terminal characteristics; specifically, see Figure 3 , generating an encryption key according to the acquired mobile terminal characteristics, includes: generating a noise random number according to the mobile terminal characteristics (S301); generating the encryption key according to the noise random number (S302).

[0096] S202: Performing linear transformation processing on the original data using the encryption key to obtain corresponding private data (also called desensitized data).

[0097] It is understandable that the data processing module starts to perform data privacy processing (also known as desensitization processing) after receiving the original data S. Specifically, the random number module is first called to read the mobile terminal characteristics (also known as device characteristics, such as International Mobile Equipment Identity (IMEI) or physical address, MAC), and the encryption key K is generated according to the mobile terminal characteristics, and a noise random number is generated, and then the linear transformation module completes the data desensitization, and finally the desensitized sensor data D and sensor type are sent to the data storage module.

[0098] The steps of generating the encryption key K and the noise random number are as follows: using the mobile terminal feature Z as the seed, obtain n random numbers through the system's Random object, use the random.nextInt(Z) method to obtain an integer between [0, Z), and randomly generate n 32-bit keys K{k1, k2, ...k n}, where n is the number of sensor data T, and T is the data value in the sensor data S.

[0099] The steps of linear transformation are as follows: XOR the sensor data T, such as the acceleration, rotation rate, estimated drift and other data values ​​T{x1, y1, z1} of the x, y, and z axes with the key K one by one to generate data

[0100] It can be seen from the above description that the mobile terminal sensor data processing method provided in the present application can perform data privacy processing on the original data.

[0101] In one embodiment, see Figure 4 , judging whether the data privacy processing is qualified according to a preset privacy processing qualified threshold value includes:

[0102] S401: Calculate the correlation coefficient between the original data and the private data;

[0103] S402: Determine whether the data privacy processing is qualified according to the privacy processing qualified threshold and the correlation coefficient.

[0104] It is understandable that after the data privacy processing, it is necessary to determine whether the data privacy processing is qualified according to a preset privacy processing qualified threshold. Only after it is qualified can it be sent to the client requesting to obtain sensor data.

[0105] Specifically, first calculate the correlation coefficient between the original data and the private data, that is, calculate the correlation r between T and D, that is, the Pearson correlation coefficient, and the formula is as follows:

[0106]

[0107] Among them, i is the number of data, T i is the i-th value of the sensor data, is the mean value of T, D i is the i-th value of the sensor data, is the D mean.

[0108] The Pearson correlation coefficient can measure the correlation between the two variables. Its value range is [-1,1]. A positive value indicates a positive correlation, and a negative value indicates a negative correlation. Usually, the correlation strength of the variables is judged by the absolute value of the correlation coefficient: 0.8-1.0 is a very strong correlation; 0.6-0.8 is a strong correlation; 0.4-0.6 is a moderate correlation; 0.2-0.4 is a weak correlation; 0.0-0.2 is a very weak correlation or no correlation.

[0109] In the embodiment of the present application, the data D can be selected as the desensitized data and output to the data storage module only when r≥0.8 (the qualified threshold for privacy processing). Otherwise, it is necessary to repeat the aforementioned data privacy processing steps, reselect the noise random number, and generate the privacy data.

[0110] It can be seen from the above description that the mobile terminal sensor data processing method provided in the present application can determine whether the data privacy processing is qualified according to a preset privacy processing qualified threshold.

[0111] In one embodiment, see Figure 5 , the mobile terminal sensor data processing method, after acquiring the raw data corresponding to the sensor whose data has changed, further includes:

[0112] S501: If it is determined according to the sensor type that the raw data comes from the non-sensitive sensor, the raw data is stored;

[0113] S502: When receiving a sensor data acquisition request sent by the client, sending the original data to the client.

[0114] It can be understood that the client can establish a communication connection with the execution body of the embodiment of the present application, and initiate a request to read sensor data to the execution body of the embodiment of the present application. Correspondingly, the data feedback module in the execution body of the embodiment of the present application can monitor whether the client has a request to obtain sensor data.

[0115] When the data feedback module detects the sensor data acquisition request initiated by the client, it needs to determine whether the sensor data requested is the data of a sensitive sensor. If it is the data of a sensitive sensor, the privacy data D corresponding to the sensor is read from the data storage module and transmitted to the client. If it is the data of a non-sensitive sensor, the original data S corresponding to the sensor is read from the data storage module and transmitted to the client.

[0116] Subsequently, the client can also perform data comparison after receiving the sensor data. For example, when the client needs to detect the change of the gesture of the mobile terminal user, the change of the angle of the mobile terminal device, or the change of the direction of the mobile terminal device relative to the screen, since the private data D and the original data S are strongly correlated, it is equivalent to adding only a small noise to the sensor data. Therefore, the private data D can reflect the change of the sensor data and enable the client to collect data other than the original data S.

[0117] It can be seen from the above description that the mobile terminal sensor data processing method provided in the present application can store sensor data and send appropriate sensor data to the client.

[0118] Based on the same inventive concept, the embodiments of the present application also provide a mobile terminal sensor data processing device, which can be used to implement the method described in the above embodiments, as described in the following embodiments. Since the principle of solving the problem by the mobile terminal sensor data processing device is similar to that of the mobile terminal sensor data processing method, the implementation of the mobile terminal sensor data processing device can refer to the implementation of the method based on the software performance benchmark determination, and the repeated parts will not be repeated. As used below, the term "unit" or "module" can be a combination of software and / or hardware that implements a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0119] In one embodiment, see Figure 6In order to process the data in sensitive sensors under the premise of privacy protection, make the data available but not accessible, and ensure the information security in the process of processing sensor data, the present application provides a mobile terminal sensor data processing device, including: a raw data acquisition unit 601, a data privacy processing unit 602 and a privacy processing detection unit 603.

[0120] The raw data acquisition unit 601 is used to acquire the raw data corresponding to the sensor whose data has changed when the sensor data is monitored to have changed; wherein the sensor types include sensitive sensors and non-sensitive sensors;

[0121] A data privacy processing unit 602 is configured to perform data privacy processing on the original data if it is determined according to the sensor type that the original data comes from the sensitive sensor;

[0122] The privacy processing detection unit 603 is used to determine whether the data privacy processing is qualified according to a preset privacy processing qualified threshold; if qualified, the original data after the data privacy processing is sent to the client requesting to obtain the sensor data.

[0123] In one embodiment, see Figure 7 The data privacy processing unit 601 includes: an encryption key generation module 701 and a privacy data generation module 702.

[0124] The encryption key generation module 701 is used to generate an encryption key according to the acquired mobile terminal characteristics;

[0125] The private data generating module 702 is used to perform a linear transformation process on the original data using the encryption key to obtain corresponding private data.

[0126] In one embodiment, see Figure 8 The encryption key generation module 701 includes: a random noise generation submodule 801 and an encryption key generation submodule 802.

[0127] A random noise generation submodule 801 is used to generate a noise random number according to the characteristics of the mobile terminal;

[0128] The encryption key generation submodule 802 is used to generate the encryption key according to the noise random number.

[0129] In one embodiment, see Fig. 9 The privacy processing detection unit 603 includes: a correlation coefficient calculation module 901 and a privacy processing judgment module 902.

[0130] A correlation coefficient calculation module 901 is used to calculate the correlation coefficient between the original data and the private data;

[0131] The privacy processing judgment module 902 is used to determine whether the data privacy processing is qualified according to the privacy processing qualified threshold and the correlation coefficient.

[0132] In one embodiment, see Fig.10 The mobile terminal sensor data processing device also includes: a raw data storage unit 1001 and a raw data sending unit 1002.

[0133] A raw data storage unit 1001, configured to store the raw data if it is determined according to the sensor type that the raw data comes from the non-sensitive sensor;

[0134] The raw data sending unit 1002 is configured to send the raw data to the client upon receiving a sensor data acquisition request sent by the client.

[0135] From the hardware level, in order to process the data in the sensitive sensor under the premise of privacy protection, make the data available but not accessible, and ensure the information security in the process of processing the sensor data, the present application provides an embodiment of an electronic device for implementing all or part of the content of the mobile terminal sensor data processing method, and the electronic device specifically includes the following content:

[0136] Processor, memory, communication interface and bus; wherein the processor, memory and communication interface communicate with each other through the bus; the communication interface is used to realize information transmission between the mobile terminal sensor data processing device and related devices such as the core business system, user terminal and related database; the logic controller can be a desktop computer, a tablet computer and a mobile terminal, etc., but the present embodiment is not limited thereto. In the present embodiment, the logic controller can be implemented with reference to the embodiment of the mobile terminal sensor data processing method and the embodiment of the mobile terminal sensor data processing device in the embodiment, and the contents thereof are incorporated herein, and the repeated parts are not repeated.

[0137] It is understandable that the user terminal may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a personal digital assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Among them, the smart wearable device may include smart glasses, a smart watch, a smart bracelet, etc.

[0138] In practical applications, part of the mobile terminal sensor data processing method can be executed on the electronic device side as described above, or all operations can be completed in the client device. The specific selection can be based on the processing capability of the client device and the limitations of the user's usage scenario. This application does not limit this. If all operations are completed in the client device, the client device may also include a processor.

[0139] The client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission with the server. The server may include a server on the task scheduling center side, and other implementation scenarios may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, or a server cluster consisting of multiple servers, or a server structure of a distributed device.

[0140] Fig.11 FIG. 9 is a schematic block diagram of the system structure of the electronic device 9600 according to an embodiment of the present application. Fig.11 As shown, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. It is worth noting that Fig.11 is exemplary; other types of structures may also be used to supplement or replace this structure to implement telecommunication functions or other functions.

[0141] In one embodiment, the function of the mobile terminal sensor data processing method can be integrated into the central processing unit 9100. The central processing unit 9100 can be configured to perform the following control:

[0142] S101: when a change in sensor data is detected, obtaining raw data corresponding to the sensor whose data has changed; wherein the sensor types include sensitive sensors and non-sensitive sensors;

[0143] S102: If it is determined according to the sensor type that the raw data comes from the sensitive sensor, perform data privacy processing on the raw data;

[0144] S103: judging whether the data privacy processing is qualified according to a preset privacy processing qualified threshold; if qualified, sending the original data after the data privacy processing to the client requesting to obtain the sensor data.

[0145] From the above description, it can be seen that the mobile terminal sensor data processing method provided by the present application can address the privacy leakage risks existing in traditional mobile terminal sensors. It adopts a system-level user-defined sensitive sensor and sensitive data method, uses the inherent characteristics of the mobile terminal device as noise data, and desensitizes the original data in the sensitive sensor, making it difficult for the client to crack the original data in the sensitive sensor through technical means such as reverse engineering and decompilation, that is, making the sensor data available but unavailable, thereby ensuring information security in the process of processing sensor data.

[0146] In another embodiment, the mobile terminal sensor data processing device can be configured separately from the central processing unit 9100. For example, the data composite transmission device mobile terminal sensor data processing device can be configured as a chip connected to the central processing unit 9100, and the functions of the mobile terminal sensor data processing method are realized through the control of the central processing unit.

[0147] like Fig.11 As shown, the electronic device 9600 may also include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily have to include Fig.11 In addition, the electronic device 9600 may also include Fig.11 For components not shown, reference may be made to the prior art.

[0148] like Fig.11 As shown, the central processing unit 9100 is sometimes also referred to as a controller or an operation control, and may include a microprocessor or other processor device and / or logic device. The central processing unit 9100 receives input and controls the operation of various components of the electronic device 9600.

[0149] The memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory or other suitable devices. The above-mentioned information related to the failure may be stored, and a program for executing the relevant information may also be stored. The CPU 9100 may execute the program stored in the memory 9140 to implement information storage or processing, etc.

[0150] The input unit 9120 provides input to the central processing unit 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used to display display objects such as images and texts. The display may be, for example, an LCD display, but is not limited thereto.

[0151] The memory 9140 may be a solid-state memory, such as a read-only memory (ROM), a random access memory (RAM), a SIM card, etc. It may also be a memory that saves information even when the power is off, can be selectively erased, and is provided with more data, examples of which are sometimes referred to as EPROMs, etc. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142, which is used to store application programs and function programs or processes for executing the operation of the electronic device 9600 through the central processor 9100.

[0152] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for communication functions of the electronic device and / or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0153] The communication module 9110 is a transmitter / receiver 9110 that sends and receives signals via an antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as the case of a conventional mobile communication terminal.

[0154] Based on different communication technologies, multiple communication modules 9110 may be provided in the same electronic device, such as a cellular network module, a Bluetooth module and / or a wireless LAN module. The communication module (transmitter / receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide an audio output via the speaker 9131 and receive an audio input from the microphone 9132, thereby realizing a common telecommunication function. The audio processor 9130 may include any suitable buffer, decoder, amplifier, etc. In addition, the audio processor 9130 is also coupled to the central processor 9100, so that recording can be performed on the local machine through the microphone 9132, and the sound stored on the local machine can be played through the speaker 9131.

[0155] The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the mobile terminal sensor data processing method in the above embodiments, where the execution subject is a server or a client. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, all the steps of the mobile terminal sensor data processing method in the above embodiments are implemented. For example, when the processor executes the computer program, the following steps are implemented:

[0156] S101: when a change in sensor data is detected, obtaining raw data corresponding to the sensor whose data has changed; wherein the sensor types include sensitive sensors and non-sensitive sensors;

[0157] S102: If it is determined according to the sensor type that the raw data comes from the sensitive sensor, perform data privacy processing on the raw data;

[0158] S103: judging whether the data privacy processing is qualified according to a preset privacy processing qualified threshold; if qualified, sending the original data after the data privacy processing to the client requesting to obtain the sensor data.

[0159] From the above description, it can be seen that the mobile terminal sensor data processing method provided by the present application can address the privacy leakage risks existing in traditional mobile terminal sensors. It adopts a system-level user-defined sensitive sensor and sensitive data method, uses the inherent characteristics of the mobile terminal device as noise data, and desensitizes the original data in the sensitive sensor, making it difficult for the client to crack the original data in the sensitive sensor through technical means such as reverse engineering and decompilation, that is, making the sensor data available but unavailable, thereby ensuring information security in the process of processing sensor data.

[0160] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0161] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (apparatus), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0162] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0163] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0164] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for processing sensor data of a mobile terminal, characterized in that: include: When a change in sensor data is detected, the original data corresponding to the sensor whose data has changed is obtained; wherein the sensor types include sensitive sensors and non-sensitive sensors; If it is determined according to the sensor type that the raw data comes from the sensitive sensor, performing data privacy processing on the raw data; Whether the data privacy processing is qualified is determined according to a preset privacy processing qualified threshold; if qualified, the original data after the data privacy processing is sent to the client requesting to obtain the sensor data.

2. The method for processing sensor data of a mobile terminal according to claim 1, characterized in that: The performing data privacy processing on the original data includes: generating an encryption key according to the acquired mobile terminal characteristics; The original data is linearly transformed using the encryption key to obtain corresponding private data.

3. The method for processing sensor data of a mobile terminal according to claim 2, characterized in that: The step of generating an encryption key according to the acquired mobile terminal characteristics includes: Generate a noise random number according to the mobile terminal characteristics; wherein the mobile terminal characteristics include an International Mobile Equipment Identity code; The encryption key is generated according to the noise random number.

4. The method for processing sensor data of a mobile terminal according to claim 2, characterized in that: The determining whether the data privacy processing is qualified according to a preset privacy processing qualified threshold value includes: Calculating a correlation coefficient between the original data and the private data; Whether the data privacy processing is qualified is determined according to the privacy processing qualified threshold and the correlation coefficient.

5. The method for processing sensor data of a mobile terminal according to claim 1, characterized in that: After acquiring the raw data corresponding to the sensor whose data has changed, the method further includes: If it is determined according to the sensor type that the raw data comes from the non-sensitive sensor, storing the raw data; When the sensor data acquisition request sent by the client is received, the raw data is sent to the client.

6. A mobile terminal sensor data processing device, characterized in that: include: A raw data acquisition unit, used to acquire raw data corresponding to the sensor whose data has changed when a change in sensor data is detected; wherein the sensor types include sensitive sensors and non-sensitive sensors; a data privacy processing unit, configured to perform data privacy processing on the original data if it is determined according to the sensor type that the original data comes from the sensitive sensor; The privacy processing detection unit is used to determine whether the data privacy processing is qualified according to a preset privacy processing qualified threshold; if qualified, the original data after the data privacy processing is sent to the client requesting to obtain the sensor data.

7. The mobile terminal sensor data processing device according to claim 6, characterized in that: The data privacy processing unit comprises: An encryption key generation module, used to generate an encryption key according to the acquired mobile terminal characteristics; The privacy data generation module is used to use the encryption key to perform linear transformation processing on the original data to obtain corresponding privacy data.

8. The mobile terminal sensor data processing device according to claim 7, characterized in that: The encryption key generation module comprises: A random noise generation submodule, configured to generate a noise random number according to the characteristics of the mobile terminal; wherein the characteristics of the mobile terminal include an International Mobile Equipment Identity code; The encryption key generation submodule is used to generate the encryption key according to the noise random number.

9. The mobile terminal sensor data processing device according to claim 8, characterized in that: The privacy processing detection unit includes: A correlation coefficient calculation module, used to calculate the correlation coefficient between the original data and the private data; The privacy processing judgment module is used to determine whether the data privacy processing is qualified according to the privacy processing qualified threshold and the correlation coefficient.

10. The mobile terminal sensor data processing device according to claim 6, characterized in that: Also includes: A raw data storage unit, configured to store the raw data if it is determined according to the sensor type that the raw data comes from the non-sensitive sensor; The raw data sending unit is used to send the raw data to the client when receiving the sensor data acquisition request sent by the client.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the mobile terminal sensor data processing method according to any one of claims 1 to 5 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the mobile terminal sensor data processing method according to any one of claims 1 to 5 are implemented.

13. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instruction is executed by a processor, the steps of the mobile terminal sensor data processing method described in any one of claims 1 to 5 are implemented.