Method and device for acquiring information of close contact person, server and storage medium
A technology of personnel information and signals, applied in the field of communication, can solve problems such as information leakage, intrusion into user equipment data carriers, protocol security is difficult to guarantee, and achieve the effect of avoiding privacy leakage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] This embodiment provides a method for obtaining close contact personnel information, which is executed by a device with a Bluetooth device name scanning function, and the device is installed with a close contact APP for implementing a solution. Such as figure 1 ,include:
[0057] S101. Scan and acquire the Bluetooth device names of one or more closely connected devices;
[0058]In this step and the following steps, the device scans for one or more other close-connected devices within the distance via Bluetooth. Wherein, the close-connected device refers to the device whose distance to the device with the Bluetooth device name scanning function is less than a certain value. The Bluetooth device name refers to the Bluetooth address. In this process, the device with the Bluetooth device name scanning function is regarded as the master device, and other close-connected devices are described as slave devices. During scanning, the slave device broadcasts its own Bluetooth...
Embodiment 2
[0100] The mobile phone device in this embodiment can also perform a write operation on the name of the close-connected device after each scan of the surrounding close-connected devices, and at the same time, after the close-connected device sends the name of the Bluetooth device every time, it will be modified and updated to realize the close-connected information. Change in time. Such as image 3 , including the following steps:
[0101] S201. Scan and obtain the Bluetooth device names of one or more closely connected devices;
[0102] S202. Decode the Bluetooth device name using a preset codec model;
[0103] S203. Use the decoded Bluetooth device name as the close connection information of the close connection device.
[0104] S204. Generate a write operation signal based on the decoded Bluetooth device name;
[0105] S205. Send the write operation signal to the device, so that the device modifies the Bluetooth device name based on the write operation signal.
[0106] I...
Embodiment 3
[0114] In an alternative embodiment, in the above steps, when the device acts as the master device, it may scan the surrounding close-connected devices every preset time interval. When the device is a slave device, such as Figure 5 , perform the following steps:
[0115] S301. Encode the close connection information using a preset codec model;
[0116] This step forms a new state vector by dynamically encoding the close connection data. Specifically: the device saves the close connection information in the flash and reads the name from the flash. Specifically, there will be a Generic Access service in the Nordic protocol stack by default. , the service is a general attribute specification service, which provides a way for the device to determine information (including the name change of its own device). The mobile phone accesses the service and saves the new name in flash. Save the address and length of the name stored in flash, take it out from user_config.h, and put it in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


