User privacy protection method and device for large-screen equipment, equipment and storage medium
By obtaining and analyzing the wireless signal strength, location information and accelerometer data between the user terminal and the large-screen device, combined with the Kalman filtering algorithm, the privacy leakage problem caused by the user forgetting to cancel the account is solved, and the accuracy in complex scenarios is achieved User status judgment and automatic account cancellation ensure user privacy.
Patent Information
- Application Number
- CN202411271338.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2024-11-26
AI Technical Summary
When using large-screen devices, users forget to cancel their account and lead to privacy leakage, especially in complex scenarios, such as meetings or lecture scenarios, the detection accuracy of a single distance sensor is limited and it is impossible to accurately judge the user's departure status.
By obtaining the wireless signal strength, position information and accelerometer data between the user terminal and the large-screen device, combining with the Kalman filtering algorithm, the comprehensive distance is determined, and the user status is judged based on the comprehensive distance and accelerometer data, and the user account is automatically cancelled.
It realizes accurate judgment of user departure status in complex scenarios, automatically cancels accounts, protects user privacy, and improves the accuracy and automation of privacy protection.
Smart Images

Figure CN119031359A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of large-screen devices, and in particular to a method, apparatus, device and storage medium for protecting user privacy of large-screen devices. Background Art
[0002] With the development of electronic technology, large-screen devices are gradually used in various fields, such as meetings or education. Usually, when users use large-screen devices, when they need to use a certain software or function in the system, they usually log in to their own accounts. Since the account involves the user's privacy, when the user forgets to log out of his account after using the large-screen device and leaves, it is easy to cause the leakage of user privacy. Summary of the invention
[0003] The embodiments of the present application provide a method, apparatus, device and storage medium for protecting user privacy of a large-screen device to solve at least one problem existing in the related art. The technical solution is as follows:
[0004] In a first aspect, an embodiment of the present application provides a method for protecting user privacy of a large-screen device, including:
[0005] Acquire the wireless signal strength between the user's terminal and the large-screen device, the first location information of the large-screen device, the second location information of the terminal, and the accelerometer data of the terminal;
[0006] Determine a comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information, and the second location information;
[0007] Determining a user state based on the integrated distance and the accelerometer data;
[0008] When the user status represents an away state, the account logged in by the user in the large-screen device is logged out.
[0009] In one implementation, determining the comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information, and the second location information includes:
[0010] Determine a GPS distance according to the first location information and the second location information;
[0011] When the wireless signal strength includes Bluetooth signal strength, determining the Bluetooth distance according to the Bluetooth signal strength;
[0012] When the wireless signal strength includes a wifi signal strength, the wifi distance is determined according to the wifi signal strength, wherein the wifi signal is a wifi hotspot emitted by the large-screen device;
[0013] The comprehensive distance between the terminal and the large-screen device is determined according to at least one of the Bluetooth distance, the WiFi distance, and the GPS distance.
[0014] In one implementation, determining the Bluetooth distance according to the Bluetooth signal strength includes:
[0015] According to the surrounding environment of the large-screen device, determining the environmental attenuation factor as a target value;
[0016] Determine a difference between a reference value of a preset distance and the Bluetooth signal strength;
[0017] The product of a preset value and the environmental attenuation factor is determined, and the Bluetooth distance is determined according to the ratio of the difference to the product.
[0018] In one implementation, determining the comprehensive distance between the terminal and the large-screen device according to at least one of the Bluetooth distance, the WiFi distance, and the GPS distance includes:
[0019] Using at least one of the Bluetooth distance and the WiFi distance and the GPS distance as actual observation parameters;
[0020] The actual observation parameters are fused through a Kalman filter algorithm to determine a comprehensive distance between the terminal and the large-screen device.
[0021] In one implementation, determining the user state according to the integrated distance and the accelerometer data includes:
[0022] comparing the integrated distance to a distance threshold;
[0023] When the comprehensive distance is greater than the distance threshold, determining a user state representing an away state;
[0024] or,
[0025] When the integrated distance is greater than the distance threshold, the accelerometer data is integrated to determine the user's motion state, and when the motion state represents motion, the user state representing a leaving state is determined.
[0026] In one implementation, when the user status represents an away state, canceling the account logged in by the user in the large-screen device includes:
[0027] When the user status represents an away state, calling the system API of the large-screen device to log out the account logged in by the user in the large-screen device;
[0028] or,
[0029] When the user status represents an away state, a logout prompt message is displayed in the terminal, and in response to the user's confirmation of the logout prompt message, the system API of the large-screen device is called to log out the account logged in by the user in the large-screen device.
[0030] In one embodiment, the method further comprises:
[0031] When the terminal displays a logout prompt, start timing;
[0032] When the elapsed time reaches the time threshold and no cancellation instruction from the user is received, calling the system API of the large-screen device to cancel the account logged in by the user in the large-screen device;
[0033] The comprehensive distance is calculated in real time during the timing process. Before the elapsed time reaches the time threshold, if the comprehensive distance is less than the distance threshold, the user status is updated to the reserved status and the displayed logout prompt information is cancelled.
[0034] In a second aspect, an embodiment of the present application provides a user privacy protection device for a large-screen device, including:
[0035] An acquisition module, used to acquire the wireless signal strength between the user's terminal and the large-screen device, the first location information of the large-screen device, the second location information of the terminal, and the accelerometer data of the terminal;
[0036] A first determining module, configured to determine a comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information, and the second location information;
[0037] A second determination module, configured to determine a user state according to the integrated distance and the accelerometer data;
[0038] The logout module is used to log out the account logged in by the user in the large-screen device when the user status represents an away state.
[0039] In one implementation, the deregistration module is further configured to:
[0040] When the terminal displays a logout prompt, start timing;
[0041] When the elapsed time reaches the time threshold and no cancellation instruction from the user is received, calling the system API of the large-screen device to cancel the account logged in by the user in the large-screen device;
[0042] The comprehensive distance is calculated in real time during the timing process. Before the elapsed time reaches the time threshold, if the comprehensive distance is less than the distance threshold, the user status is updated to the reserved status and the displayed logout prompt information is cancelled.
[0043] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.
[0044] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method in any one of the above-mentioned embodiments is implemented.
[0045] The beneficial effects of the above technical solution include at least:
[0046] By obtaining the wireless signal strength between the user's terminal and the large-screen device, the first location information of the large-screen device, the second location information of the terminal, and the accelerometer data of the terminal, the comprehensive distance between the terminal and the large-screen device is determined according to the wireless signal strength, the first location information, and the second location information. Based on the comprehensive analysis of multi-dimensional data, the accuracy of the determined distance is guaranteed; the user status is determined according to the comprehensive distance and the accelerometer data. When the user status represents an away state, the account logged in by the user in the large-screen device is cancelled. The system can automatically analyze and judge, and cancel the account after determining that the user has left, which is beneficial to the user's privacy protection.
[0047] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.
[0049] Figure 1 This is a schematic diagram of the steps of a method for protecting user privacy of a large-screen device according to an embodiment of the present application;
[0050] Figure 2 This is a structural block diagram of a user privacy protection device for a large-screen device according to an embodiment of the present application;
[0051] Figure 3This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0053] In the related technology, in some cases, distance sensors are used to detect the distance between the user and the large-screen device. However, the detection accuracy of a single distance sensor is limited. In addition, in scenarios such as meetings or lectures, multiple people are involved, and the detection signal is easily blocked or interfered with. It is also impossible to determine which person the detected distance corresponds to, and the desired effect cannot be truly achieved in complex scenarios.
[0054] The embodiment of the present application combines the wireless signal strength, the first location information of the large-screen device, the second location information of the terminal and the accelerometer data of the terminal, and determines the comprehensive distance based on the fusion of multi-dimensional data, which is more accurate and suitable for distance determination in complex scenarios.
[0055] Reference Figure 1 , a flow chart of a method for protecting user privacy of a large-screen device according to an embodiment of the present application is shown. The method for protecting user privacy of a large-screen device may at least include steps S100-S400:
[0056] S100. Obtain wireless signal strength between the user's terminal and the large-screen device, first location information of the large-screen device, second location information of the terminal, and accelerometer data of the terminal.
[0057] S200. Determine a comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information, and the second location information.
[0058] S300: Determine the user status according to the comprehensive distance and accelerometer data.
[0059] S400: When the user status indicates an away state, the account logged in by the user in the large-screen device is logged out.
[0060] The user privacy protection method of the large-screen device in the embodiment of the present application can be executed by one or more of the processor of the large-screen device, the user's terminal and the server, without specific limitation.
[0061] The technical solution of the embodiment of the present application obtains the wireless signal strength between the user's terminal and the large-screen device, the first location information of the large-screen device, the second location information of the terminal, and the accelerometer data of the terminal, and determines the comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information, and the second location information, and ensures the accuracy of the determined distance based on comprehensive analysis of multi-dimensional data; determines the user status according to the comprehensive distance and the accelerometer data, and when the user status represents an away state, the account logged in by the user in the large-screen device is cancelled, and can automatically analyze and judge, and determine that the account is cancelled after the user leaves, which is beneficial to the user's privacy protection.
[0062] In one embodiment, the wireless signal may include a wifi signal and / or a bluetooth signal, and the user's terminal is connected to the large-screen device via bluetooth, or the user's terminal is also connected via a wifi signal emitted by a wifi hotspot of the large-screen device. Optionally, the wireless signal strength between the user's terminal and the large-screen device (correspondingly including the Bluetooth signal strength Bluetooth RSSI and / or the wifi signal strength wifi RSSI), the first position information of the large-screen device (since the position of the large-screen device is fixed, the first position information can be saved in advance), the second position information of the terminal, and the accelerometer data of the terminal, such as three-axis acceleration data, can be obtained through acquisition software.
[0063] It should be noted that the location information can be GPS coordinates; the acquisition of the above information can be real-time collection, or acquisition at preset intervals, and the acquired wireless signal strength, first location information, second location information, accelerometer data, etc. can be saved in a list for subsequent use, and the contents of the list are initialized before saving. In addition, Bluetooth, WiFi, etc. are usually standard features of large-screen devices, and large-screen devices can also install positioning software or users can use positioning software to determine the first location information at the location of the large-screen device. Therefore, the above information can be collected without adding additional hardware, and the accuracy of the analysis is increased due to subsequent analysis and calculation.
[0064] In one embodiment, after the wireless signal strength, the first position information, the second position information and the accelerometer data are obtained, preprocessing can be performed. For example, a sliding average algorithm is used to smooth the wireless signal strength to reduce the impact of instantaneous noise; if the coordinate systems of the first position information and the second position information are different, coordinate system one processing can be performed; the accelerometer data is low-pass filtered to eliminate high-frequency noise, so as to improve the accuracy of subsequent analysis.
[0065] In one implementation, step S200 includes steps S210-S240:
[0066] S210: Determine the GPS distance according to the first location information and the second location information.
[0067] Optionally, the calculation formula is:
[0068]
[0069] Wherein, d is the GPS distance, r is the radius of the earth, φ1 is the latitude of the first location information, φ2 is the latitude of the second location information, Δφ is the difference between the latitude of the first location information and the latitude of the second location information, and Δλ is the difference between the latitude of the first location information and the longitude of the second location information.
[0070] S220: When the wireless signal strength includes the Bluetooth signal strength, determine the Bluetooth distance according to the Bluetooth signal strength.
[0071] Optionally, when the wireless signal strength includes Bluetooth signal strength, the Bluetooth distance is determined through steps S2201-S2203:
[0072] S2201. Determine an environmental attenuation factor as a target value according to the surrounding environment of the large-screen device.
[0073] Optionally, according to the surrounding environment of the large-screen device, the environmental attenuation factor n can be analyzed and determined as the target value, and the environmental attenuation factor reflects the propagation attenuation of the signal in the current environment. For example, when the surrounding environment is a free space, there are no obstacles within a certain radius of the large-screen device (for example, the radius threshold is set to 3 meters to 5 meters). At this time, the target value of the environmental attenuation factor n is set to 2. If there are obstacles such as walls and furniture within a certain radius and there are obstacles in the four directions of southeast, northwest, and northeast, the target value of n is 4. If there are no obstacles in all four directions, the target value of n is 3. In some embodiments, experimental tests can be performed to calculate the RSSI values at different distances, and then reverse calculations are performed based on the known distance and the measured RSSI value to determine the environmental attenuation factor as the target value.
[0074] S2202: Determine a difference between a reference value of a preset distance and a Bluetooth signal strength.
[0075] S2203: Determine the product of the preset value and the environmental attenuation factor, and determine the Bluetooth distance according to the ratio of the difference and the product.
[0076] Specifically, the calculation formula for Bluetooth distance is:
[0077]
[0078] Wherein, D is the Bluetooth distance, A is the reference value of the Bluetooth signal strength at a preset distance, for example, the preset distance is 1 meter, and RSSI is the Bluetooth signal strength.
[0079] S230: When the wireless signal strength includes the wifi signal strength, determine the wifi distance according to the wifi signal strength.
[0080] Optionally, the wifi signal is a wifi hotspot emitted by the large screen device, and the user's terminal connects to the wifi signal of the wifi hotspot. When the wireless signal strength includes the wifi signal strength, the wifi distance is determined according to the wifi signal strength. It should be noted that the determination method of the wifi distance is similar to the calculation formula of the Bluetooth distance, which will not be repeated.
[0081] S240: Determine a comprehensive distance between the terminal and the large-screen device according to at least one of the Bluetooth distance and the WiFi distance and the GPS distance.
[0082] Optionally, steps S2401-S2402 are included:
[0083] S2401. Use at least one of the Bluetooth distance and the WiFi distance and the GPS distance as actual observation parameters.
[0084] Optionally, the present application embodiment takes the Bluetooth distance and the WiFi distance as an example, so the Bluetooth distance, the WiFi distance and the GPS distance are all used as actual observation parameters. In other embodiments, one of the Bluetooth distance, the WiFi distance and the GPS distance can be used as the actual observation parameter Z. k , which is the actual observed parameter at time k.
[0085] S2402. The actual observed parameters are integrated through the Kalman filter algorithm to determine the comprehensive distance between the terminal and the large-screen device.
[0086] Optionally, a data fusion algorithm is designed by using a Kalman filter algorithm to calculate the actual observed parameters Z including the Bluetooth distance, the WiFi distance, and the GPS distance. k Fusion to determine the comprehensive distance between the terminal and the large-screen device
[0087] Specifically, the Kalman filter algorithm includes prediction and update steps. The equation of the Kalman filter is as follows:
[0088]
[0089] P k|k-1 =AP k-1|k-1 A T +Q
[0090] K k =P k|k-1 H T (HP k|k-1 HT +R) -1
[0091]
[0092] P k|k =(IK k H)P k|k-1
[0093] in, is the updated state, is the final comprehensive distance, is the predicted state at time k, A is the state transfer matrix, is the predicted state at time k-1, B is the control matrix, u k-1 is the control input at time k-1; P k|k-1 is the prediction covariance matrix at time k, P k-1|k-1 is the prediction covariance matrix at time k-1, T is the transpose, Q is the process noise covariance matrix; K k is the Kalman gain, H is the observation matrix, and R is the observation noise covariance matrix; Pk / k is the updated covariance matrix, and I is the identity matrix.
[0094] In one implementation, step S300 includes steps S310-S320:
[0095] S310: Compare the comprehensive distance with the distance threshold.
[0096] Optionally, a distance threshold is set based on actual conditions, and the size of the distance threshold is not specifically limited, for example, 3 meters.
[0097] S320, when the comprehensive distance is greater than the distance threshold, determining a user state representing an away state;
[0098] Alternatively, when the integrated distance is greater than the distance threshold, the accelerometer data is integrated to determine the user's motion state, and when the motion state represents motion, the user state representing the leaving state is determined.
[0099] In one implementation, when the comprehensive distance is greater than a distance threshold, the user status representing the away state is determined. In this case, the user status representing the away state may be directly determined.
[0100] In one embodiment, when the comprehensive distance is greater than the distance threshold, in some cases, the user may not actually leave the large-screen device, but because of signal interference or short-term occlusion that causes a sudden change in signal strength, etc., resulting in the comprehensive distance being greater than the distance threshold, in order to avoid false cancellation, further combined with accelerometer data analysis. Specifically, the accelerometer data is integrated to determine the user's motion state. If the motion state represents motion, the user state representing the leaving state is determined at this time, which can further filter out the changes in accelerometer data caused by small amplitude signal fluctuations. For example, the user may move near the large-screen device, and the signal strength may decrease temporarily, but in fact, the user has not really left. This slight or short-term change will determine that the motion state represents stillness; and if the motion state represents stillness, it is considered that the user is still near the large-screen device, and the user state representing the retaining state is determined at this time.
[0101] In one implementation, step S400 includes step S410 or S420:
[0102] S410: When the user status indicates an Away status, the system API of the large-screen device is called to log out the user's account logged in in the large-screen device.
[0103] In one embodiment, when the user status represents an away state, the processor of the large-screen device, the user's terminal, and one of the servers call the system API of the large-screen device to log out the user's logged-in account in the large-screen device, thereby protecting the user's privacy.
[0104] S420: When the user status represents an away state, a logout prompt message is displayed in the terminal, and in response to the user confirming the logout prompt message, a system API of the large-screen device is called to log out the account logged in by the user in the large-screen device.
[0105] In one embodiment, when the user status represents an away state, a logout prompt message can also be displayed in the user's terminal, for example: "You will be automatically logged out soon." At this time, if the user confirms through a confirmation operation, in response to the user's confirmation of the logout prompt message, the processor of the large-screen device, the user's terminal, and one of the servers call the system API of the large-screen device to log out the user's logged-in account in the large-screen device, thereby protecting the user's privacy.
[0106] In one implementation, the user privacy protection method of the large-screen device of the embodiment of the present application may further include steps S510-S530:
[0107] S510. When the terminal displays a logout prompt, start timing.
[0108] S520: When the elapsed time reaches the time threshold and no cancellation instruction from the user is received, the system API of the large-screen device is called to cancel the account logged in by the user in the large-screen device.
[0109] Optionally, when the terminal displays a logout prompt, automatic timing can be started to determine whether the elapsed time reaches a pre-set time threshold. If the elapsed time reaches the time threshold and no cancellation instruction from the user is received, it is considered that the user believes there is no problem after viewing the logout prompt. At this time, the system API of the large-screen device is called to log out the user's logged-in account on the large-screen device.
[0110] S530. Calculate the comprehensive distance in real time during the timing process. Before the elapsed time reaches the time threshold, if the comprehensive distance is less than the distance threshold, update the user status to the reserved status and cancel the displayed logout prompt information.
[0111] Optionally, in order to further avoid misjudgment, the comprehensive distance is calculated in real time during the timing process. If the comprehensive distance is less than the distance threshold before the elapsed time reaches the time threshold, that is, the user may have left for a short time and then returned to the vicinity of the large-screen device, or due to signal interference and other problems, it was previously misjudged that the user has actually been near the large-screen device. In this case, the logout operation is not performed, the displayed logout prompt information is canceled, and the user status is updated to the reserved status.
[0112] Optionally, the embodiment of the present application records the logout time and logout status each time the user logs out, such as the logout status for the account that was successfully logged out, the logout time for when the user logged out, etc., to form a logout log for subsequent analysis to determine whether adjustments need to be made to various thresholds or calculation methods. In addition, the terminal can provide a setting page for the user to manually set the logout option, such as settings and preferences, where the user can adjust the distance threshold, automatic logout conditions, time threshold, and other content.
[0113] Reference Figure 2 , shows a structural block diagram of a user privacy protection device for a large-screen device according to an embodiment of the present application, the device may include:
[0114] An acquisition module, used to acquire the wireless signal strength between the user's terminal and the large-screen device, the first location information of the large-screen device, the second location information of the terminal, and the accelerometer data of the terminal;
[0115] A first determination module, used to determine a comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information and the second location information;
[0116] A second determination module, for determining a user state based on the integrated distance and accelerometer data;
[0117] The logout module is used to log out the user's account logged in on the large-screen device when the user status indicates the away state.
[0118] In one embodiment, the deregistration module is further used to:
[0119] When the terminal displays the logout prompt, the timer starts;
[0120] When the time reaches the time threshold and no cancellation instruction is received from the user, the system API of the large-screen device is called to log out the account logged in by the user in the large-screen device;
[0121] The comprehensive distance is calculated in real time during the timing process. Before the elapsed time reaches the time threshold, if the comprehensive distance is less than the distance threshold, the user status is updated to the reserved status and the displayed logout prompt information is cancelled.
[0122] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.
[0123] Reference Figure 3 , shows a structural block diagram of an electronic device according to an embodiment of the present application, the electronic device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the user privacy protection method of the large-screen device in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.
[0124] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0125] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.
[0126] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the user privacy protection method for a large-screen device provided in the above embodiment.
[0127] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0128] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
[0129] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.
[0130] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).
[0131] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0132] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0133] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0134] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0135] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0136] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0137] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0138] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for protecting user privacy of a large-screen device, characterized in that: include: Acquire the wireless signal strength between the user's terminal and the large-screen device, the first location information of the large-screen device, the second location information of the terminal, and the accelerometer data of the terminal; Determine a comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information, and the second location information; Determining a user state based on the integrated distance and the accelerometer data; When the user status represents an away state, the account logged in by the user in the large-screen device is logged out.
2. The user privacy protection method of the large-screen device according to claim 1, characterized in that: The determining, according to the wireless signal strength, the first location information, and the second location information, a comprehensive distance between the terminal and the large-screen device includes: Determine a GPS distance according to the first location information and the second location information; When the wireless signal strength includes Bluetooth signal strength, determining the Bluetooth distance according to the Bluetooth signal strength; When the wireless signal strength includes a wifi signal strength, the wifi distance is determined according to the wifi signal strength, wherein the wifi signal is a wifi hotspot emitted by the large-screen device; The comprehensive distance between the terminal and the large-screen device is determined according to at least one of the Bluetooth distance, the WiFi distance, and the GPS distance.
3. The user privacy protection method of the large-screen device according to claim 2, characterized in that: Determining the Bluetooth distance according to the Bluetooth signal strength includes: According to the surrounding environment of the large-screen device, determining the environmental attenuation factor as a target value; Determine a difference between a reference value of a preset distance and the Bluetooth signal strength; The product of a preset value and the environmental attenuation factor is determined, and the Bluetooth distance is determined according to the ratio of the difference to the product.
4. The user privacy protection method for a large-screen device according to claim 2 or 3, characterized in that: The determining the comprehensive distance between the terminal and the large-screen device according to at least one of the Bluetooth distance, the WiFi distance, and the GPS distance comprises: Using at least one of the Bluetooth distance and the WiFi distance and the GPS distance as actual observation parameters; The actual observation parameters are fused through a Kalman filter algorithm to determine a comprehensive distance between the terminal and the large-screen device.
5. The method for protecting user privacy of a large-screen device according to any one of claims 1 to 3, characterized in that: Determining the user state according to the comprehensive distance and the accelerometer data includes: comparing the integrated distance to a distance threshold; When the comprehensive distance is greater than the distance threshold, determining a user state representing an away state; or, When the integrated distance is greater than the distance threshold, the accelerometer data is integrated to determine the user's motion state, and when the motion state represents motion, the user state representing a leaving state is determined.
6. The method for protecting user privacy of a large-screen device according to any one of claims 1 to 3, characterized in that: When the user status represents an away state, canceling the account logged in by the user in the large-screen device includes: When the user status represents an away state, calling the system API of the large-screen device to log out the account logged in by the user in the large-screen device; or, When the user status represents an away state, a logout prompt message is displayed in the terminal, and in response to the user's confirmation of the logout prompt message, the system API of the large-screen device is called to log out the account logged in by the user in the large-screen device.
7. The user privacy protection method of a large-screen device according to claim 6, characterized in that: The method further comprises: When the terminal displays a logout prompt, start timing; When the elapsed time reaches the time threshold and no cancellation instruction from the user is received, calling the system API of the large-screen device to cancel the account logged in by the user in the large-screen device; The comprehensive distance is calculated in real time during the timing process. Before the elapsed time reaches the time threshold, if the comprehensive distance is less than the distance threshold, the user status is updated to the reserved status and the displayed logout prompt information is cancelled.
8. A user privacy protection device for a large-screen device, characterized in that: include: An acquisition module, used to acquire the wireless signal strength between the user's terminal and the large-screen device, the first location information of the large-screen device, the second location information of the terminal, and the accelerometer data of the terminal; A first determining module, configured to determine a comprehensive distance between the terminal and the large-screen device according to the wireless signal strength, the first location information, and the second location information; A second determination module, configured to determine a user state according to the integrated distance and the accelerometer data; The logout module is used to log out the account logged in by the user in the large-screen device when the user status represents an away state.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
