WO2021238452A1 - 一种确定密切接触者的方法、终端设备及服务器 - Google Patents

一种确定密切接触者的方法、终端设备及服务器 Download PDF

Info

Publication number
WO2021238452A1
WO2021238452A1 PCT/CN2021/086394 CN2021086394W WO2021238452A1 WO 2021238452 A1 WO2021238452 A1 WO 2021238452A1 CN 2021086394 W CN2021086394 W CN 2021086394W WO 2021238452 A1 WO2021238452 A1 WO 2021238452A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
user
identity
server
target user
Prior art date
Application number
PCT/CN2021/086394
Other languages
English (en)
French (fr)
Inventor
舒鋆云
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2021238452A1 publication Critical patent/WO2021238452A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the embodiments of the present invention relate to the field of communication technology, and in particular, to a method, terminal device, and server for determining close contacts.
  • Coronavirus disease 2019 (COVID-19) prevention and control work has been ongoing.
  • traditional methods can only rely on the use of operator signal paths or user hand-filled paths to generate QR codes. Whether it is a close contact.
  • the specific method of the operator’s signal path to determine whether it is a close contact is: based on the cell phone tower to identify whether the city passed by the user’s cell phone signal within 14 days is a severely affected area, and then determine whether it is a severely affected area. Whether the mobile phone user is a close contact of a person infected with the new coronary pneumonia.
  • the specific way for the user to fill in the path to determine whether it is a close contact is: the mobile phone user actively fills in the route (including transportation and shift) and address of the daily route on the mobile phone, or the user uses the mobile phone to scan the QR code on the route path. If a user on the same route and address is diagnosed with COVID-19 infection, all users passing through this route and address are close contacts and need to be isolated at home and tested.
  • the method of using the signal path of the operator can only identify that the user is in a certain city, and cannot be accurate to the street. It cannot be processed in different areas of the same city.
  • some users may miss or fill in Wrong or deliberately omitted, so the existing methods of judging close contacts will have the problem of insufficient judgment.
  • the embodiments of the present invention provide a method, terminal device, and server for determining close contacts, so as to solve the problem of insufficient accuracy in the existing methods for determining close contacts.
  • the first aspect provides a method for identifying close contacts, including:
  • the terminal device sends a request message to the server, where the request message is used to request the identity of the target user;
  • the locally stored identity is an identity of a user of a device that establishes a short-distance wireless communication connection with the terminal device.
  • the second aspect is to provide a method for identifying close contacts, including:
  • the server receives a request message sent by the terminal device, where the request message is used to request the identity of the target user;
  • the server sends the stored identity of the target user to the terminal device.
  • a terminal device in a third aspect, includes: a sending module, configured to send a request message to a server, the request message being used to request the identity of a target user;
  • a receiving module configured to receive the target user's identity sent by the server
  • a determining module configured to determine that the user of the terminal device is a close contact of the target user if there is an identity that matches the identity of the target user among the identity identities stored locally in the terminal device;
  • the locally stored identity is an identity of a user of a device that establishes a short-distance wireless communication connection with the terminal device.
  • a server in a fourth aspect, includes: a receiving module configured to receive a request message sent by a terminal device, the request message being used to request the identity of a target user;
  • the sending module is used to send the stored identity of the target user to the terminal device.
  • a terminal device in a fifth aspect, includes a processor, a memory, and a computer program that is stored on the memory and can run on the processor.
  • the computer program When the computer program is executed by the processor, Realize the method of identifying close contacts as shown in the first aspect.
  • a server in a sixth aspect, includes a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is implemented when the processor is executed. The method of identifying close contacts as shown in the second aspect.
  • a computer-readable storage medium including: a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for determining close contacts shown in the first aspect is implemented, or , To achieve the method of determining close contacts shown in the second aspect.
  • the terminal device can send a request message for requesting the identity of the target user to the server, and after receiving the identity of the target user sent by the server, the terminal device can view the local storage of the terminal device and the terminal In the identity of the user of the device to which the device has established a short-range wireless communication connection, whether there is an identity that matches the identity of the target user, if there is, it means that there is a target user among the users who have close contact with the user of the terminal device. This confirms that the user of the terminal device is a close contact of the target user.
  • the terminal device can store the identity of the user who has been in close contact with the user of the terminal device, and combine the identity of the target user stored in the server to automatically check whether the user of the terminal device is close Contacts make judgments, which can improve the accuracy of identifying close contacts.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention
  • FIG. 2 is a schematic diagram of the architecture of a wireless communication system provided by an embodiment of the present invention.
  • FIG. 3 is a schematic diagram 1 of a method for determining close contacts according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram 2 of a method for determining close contacts according to an embodiment of the present invention.
  • FIG. 5 is a third schematic diagram of a method for determining close contacts according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram 4 of a method for determining close contacts according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram five of a method for determining close contacts according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a mobile phone broadcasting a temporary identity code according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a server provided by an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of hardware of a mobile phone according to an embodiment of the present invention.
  • the terminal device in the embodiment of the present invention may be a terminal device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or a Hongmeng operating system, and may also be other possible operating systems, which are not specifically limited in the embodiment of the present invention.
  • the following uses the Android operating system as an example to introduce the software environment to which the method for determining close contacts provided by the embodiment of the present invention is applied.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • developers can develop software programs that implement the method of determining close contacts provided by the embodiment of the present invention based on the system architecture of the Android operating system as shown in FIG.
  • the method for determining close contacts can be run based on the Android operating system as shown in FIG. 1. That is, the processor or the terminal device can implement the method for determining close contacts provided by the embodiment of the present invention by running the software program in the Android operating system.
  • the terminal device in the embodiment of the present invention may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device can be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA)
  • the non-mobile terminal device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present invention does not specifically limit it.
  • the server in the embodiment of the present invention may be a traditional server or a cloud server.
  • the determination of close contacts provided by the embodiment of the present invention can be applied to determine close contacts of a specific person (a target user in the embodiment of the present invention).
  • the characteristic person may refer to a patient with an infectious disease, for example, a person infected with new coronary pneumonia.
  • the method for determining close contacts can be applied to the communication system as shown in FIG. 2, assuming that the communication system is applied to determine close contacts of a person infected with new coronary pneumonia.
  • the system includes: cloud server, mobile phone A, mobile phone B and mobile phone C.
  • mobile phone B and mobile phone A and mobile phone C have been within a short distance, so the user of mobile phone B may have been in close contact with the user of mobile phone A, and the user of mobile phone B may have been in close contact with the user of mobile phone C.
  • mobile phone C The identity code B1 of the user of mobile phone B can be stored in, and the identity code B1 of mobile phone B can be stored in mobile phone A, and the identity code A1 of mobile phone A and the identity code C1 of mobile phone C can be stored in mobile phone B.
  • the user of mobile phone C is confirmed as an infected person, he can upload his identity code to the cloud server, and the cloud server will save the identity code C1 of the user of mobile phone C as the identity code of the infected person.
  • mobile phone A can obtain the identity code C1 of the infected person from the cloud server and then query the local identity code, which does not include C1.
  • mobile phone B can also get from the cloud server After obtaining the identity code C1 of the infected person, the local identity code can be queried, including C1, so the user of mobile phone B is a close contact of the infected person.
  • the above-mentioned shorter distance may refer to the distance range of a short-distance communication connection, and the distance range may be determined according to the maximum distance that the short-distance communication connection can be established.
  • the distance range can be within 200 meters. In Figure 2, 100 meters and 10 meters are both within this distance range.
  • the method for determining close contacts provided by the embodiments of the present invention can be implemented through information interaction between a terminal device and a server.
  • the method for determining close contacts provided by the embodiments of the present invention will be exemplarily described below with reference to the accompanying drawings.
  • an embodiment of the present invention provides a method for determining close contacts, the method including:
  • the terminal device obtains the identity code of the user of the device that establishes a short-range wireless communication connection with the terminal device.
  • the identity code of the user of the device is generated according to the device identification of the device.
  • the terminal device obtains the identity code of the user of the device that establishes a short-range wireless communication connection with the terminal device in the following two situations:
  • the first situation the terminal device obtains the device identification of the device that establishes a short-range wireless communication connection with the terminal device, and generates the identity code of the device according to the device identification.
  • the second case the device generates the identity code of the user of the device according to its device identification, and the terminal device directly obtains the identity code of the user of the device.
  • the terminal device stores the identity code of the user of the device locally.
  • the terminal device can store the identity code of the user of the device locally to record the persons who have been in close contact with the terminal device.
  • the terminal device may also obtain the device identification of the terminal device, and generate the user identification code of the terminal device according to the device identification of the terminal device, and store the user identification code of the terminal device locally.
  • the terminal device sends a request message to the server.
  • the server receives the request message sent by the terminal device.
  • the request message is used to request the identity of the target user from the server.
  • the terminal device may send a request message to the server when the terminal device determines that the user of the terminal device is not the target user.
  • the terminal device can determine whether the user of the terminal device is the target user through the information input by the user of the terminal device, or the terminal can be announced through a third-party platform (eg, news platform, medical system, national organization or institution, etc.)
  • the target user information determines whether the user of the terminal device is the target user.
  • the server sends the stored identity of the target user to the terminal device.
  • the server may receive the target user's identity sent by each terminal device and save it.
  • the locally stored identity is the identity of the user of the device that establishes a short-distance wireless communication connection with the terminal device.
  • the identity that matches the identity of the target user in the identities stored locally on the terminal device, which may mean that there is an identity that is the same as the identity of the target user in the identities stored locally on the terminal device.
  • the identifier or may refer to an identity identifier that has a certain association relationship with the identity identifier of the target user in the identities stored locally in the terminal device, where the association relationship should indicate that the two identities correspond to the same user.
  • the foregoing short-range wireless communication connection may refer to a Bluetooth connection, or a connection established by a near field communication (near field communication, NFC) technology, and the like.
  • the terminal device can send a request message for requesting the identity of the target user to the server, and after receiving the identity of the target user sent by the server, the terminal device can view the local storage of the terminal device and the terminal device. Whether there is an identity that matches the identity of the target user in the identity of the user of the device connected by the short-range wireless communication, if there is, it means that the user who has close contact with the user of the terminal device has the target user, so as to confirm The user of the terminal device is a close contact of the target user.
  • the terminal device can store the identity of the user who has been in close contact with the user of the terminal device, and combine the identity of the target user stored in the server to automatically check whether the user of the terminal device is close Contacts make judgments, which can improve the accuracy of identifying close contacts.
  • the server only needs to maintain the identity information of the target user , thus achieving maximum protection of user privacy.
  • the above 105 can be replaced with the following 106.
  • the terminal device may send the identity code of the user of the terminal device to the server, and the identity code of the user of the terminal device is generated according to the device identity of the terminal device.
  • the terminal device determines that the user of the terminal device is the target user.
  • the terminal device After determining that the user of the terminal device is a close contact of the new coronary pneumonia, it is possible to determine whether the user is a new coronary pneumonia infected person (ie, the target user) through detection methods such as nucleic acid detection, and enter the result into the terminal device.
  • detection methods such as nucleic acid detection
  • the terminal device sends the user's identity code of the terminal device to the server.
  • the server receives the identity code of the user of the terminal device sent by the terminal device, and the identity code of the user of the terminal device is generated according to the device identity of the terminal device.
  • the identity code of the user of the terminal device may be sent to the server, so that the server can save the identity code of the user of the terminal device to update the server
  • the identity code information of the infected person that is, the identity code information of the target user.
  • the server stores the identity code of the user of the terminal device as the identity code of the target user.
  • the identity code when the user of the terminal device is determined to be the target user, the identity code can be reported to the server in time, so that the server can update the identity code information of the target user stored in the server in a timely manner, thereby further improving the determination of close contacts.
  • the accuracy of the person when the user of the terminal device is determined to be the target user, the identity code can be reported to the server in time, so that the server can update the identity code information of the target user stored in the server in a timely manner, thereby further improving the determination of close contacts. The accuracy of the person.
  • the solution for determining close contacts may include two parts.
  • the first part is for the terminal device to locally generate an identity code library (that is, to store the identity code of the user of the terminal device, and to store and establish a short message with the terminal device).
  • the second part is the terminal device to check whether it is close contact.
  • Part 1 The terminal device generates an identity code
  • the terminal device is implemented through the following steps:
  • the user's operation to open the quick application can be received to open the quick application.
  • the aforementioned quick application may be an application program developed based on the method for determining close contacts provided by the embodiment of the present invention.
  • execute 204 and 205 If it is enabled, execute 204 and 205; if it is not enabled, execute 206.
  • the second part the terminal device to check whether the person is in close contact
  • the terminal device and the server are implemented through the following steps:
  • the user triggers a terminal device to inquire about the situation of close contacts.
  • the terminal device judges whether to enable the Bluetooth function.
  • the terminal device displays a user information input interface.
  • the terminal device inputs the user's health status information in response to the user's operation on the user information input interface.
  • the terminal device judges whether the user of the terminal device is an infected person.
  • the server delivers the infected person's identity code in the infected person's identity code library to the terminal device.
  • the terminal device matches the identity code of the infected person with the identity code in the local identity code library.
  • the terminal device reports the identity code of the user of the terminal device to the server.
  • the server receives the identity code reported by the terminal device.
  • the server saves the identity code of the user of the terminal device in the identity code library of the infected person.
  • the terminal device outputs guidance information for turning on the Bluetooth function to guide the user to turn on the Bluetooth function.
  • the identity code in order to ensure that the identity code is not obtained and tracked maliciously, can also be obfuscated and optimized, that is, the identity codes broadcasted between mobile devices will not be unique, but will follow the Bluetooth The MAC address changes randomly.
  • the mobile phone 2 broadcasts the temporary identity code b, which is dynamically generated by the mobile phone 2 identity code B.
  • a single mobile phone can broadcast any number of codes b, which avoids problems such as malicious tracking of a single user.
  • mobile phone 1 after the user of mobile phone 1 communicated with the user of mobile phone 2 at close range for a period of time, mobile phone 1 broadcasts three temporary identification codes b1, b2, and b3, and mobile phone 2 broadcasts three temporary identification codes a1, a2, and a3 Mobile phone 2 knows that it has received three temporary identification codes and the time, but does not know that these three temporary identification codes all indicate a mobile phone user.
  • the user of mobile phone 1 is diagnosed as being infected with the new crown pneumonia, and the user of mobile phone 1 can report identity code B to the cloud server through the Health Planning Commission or the user of mobile phone 1, and the user of mobile phone 2 triggers mobile phone 2 to obtain the new crown from the cloud server
  • the identification code B of the infected person with pneumonia is matched with the locally stored b1, b2, and b3, and it is found that B matches b1, b2, and b3, but the user of mobile phone 2 cannot know that b1, b2, and b3 indicate the user of mobile phone 1. .
  • the foregoing implementation manner can protect the privacy of mobile phone users, and avoid the occurrence of problems such as malicious tracking of a single user.
  • an embodiment of the present invention also provides a terminal device, which includes:
  • the sending module 401 is used to send a request message to the server, and the request message is used to request the identity of the target user;
  • the receiving module 402 is used to receive the identity of the target user sent by the server;
  • the determining module 403 is configured to determine that the user of the terminal device is a close contact of the target user if there is an identity that matches the identity of the target user among the identities stored locally in the terminal device;
  • the locally stored identity is the identity of the user of the device that establishes a short-distance wireless communication connection with the terminal device.
  • the determining module 403 is further configured to determine that the user of the terminal device is not a close contact of the target user if there is no identity that matches the identity of the target user among the identities stored locally in the terminal device.
  • the sending module 401 is further configured to send the identity code of the user of the terminal device to the server when the terminal device determines that the user of the terminal device is the target user.
  • the identity code of the user of the terminal device is based on the terminal device’s device Logo generated.
  • the sending module 401 is specifically configured to send a request message to the server when the terminal device determines that the user of the terminal device is not the target user.
  • the terminal device may also include:
  • the acquiring module 404 is configured to acquire the identity code of the user of the device that establishes a short-range wireless communication connection with the terminal device; the identity code of the user of the device is generated according to the device identification of the device.
  • the storage module 405 is used to locally store the identity code of the user of the device.
  • the obtaining module 404 is also used for the terminal device to obtain the device identification of the terminal device; according to the device identification of the terminal device, generate the identity code of the user of the terminal device, and store the identity code of the user of the terminal device locally.
  • a terminal device including: a processor, a memory, and a computer program stored in the memory and capable of running on the processor.
  • the computer program is executed by the processor, the terminal device in the method embodiment is executed.
  • a server including:
  • the receiving module 501 is configured to receive a request message sent by a terminal device, and the request message is used to request the identity of the target user;
  • the sending module 502 is used to send the stored identity of the target user to the terminal device.
  • the receiving module 501 is further configured to receive the identity code of the user of the terminal device sent by the terminal device, and the identity code of the user of the terminal device is generated according to the device identity of the terminal device;
  • the server also includes a storage module 503 for storing the user's identity code of the terminal device as the target user's identity code.
  • a server including: a processor, a memory, and a computer program stored in the memory and running on the processor. process.
  • the terminal device provided in the embodiment of the present invention may be a mobile phone.
  • the mobile phone may include: a radio frequency (RF) circuit 1110, a memory 1120, an input unit 1130, a display unit 1140, a sensor 1150, an audio circuit 1160, a wireless fidelity (WiFi) module 1170, The processor 1180, and the power supply 1190 and other components.
  • the radio frequency circuit 1110 includes a receiver 1111 and a transmitter 1112.
  • the RF circuit 1110 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 1180; in addition, the designed uplink data is sent to the base station.
  • the RF circuit 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 1110 can also communicate with the network and other devices through wireless communication.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to global system of mobile communication (GSM), general packet radio service (GPRS), code division multiple access (code division multiple access) multiple access (CDMA), wideband code division multiple access (WCDMA), long term evolution (LTE), email, short messaging service (SMS), etc.
  • GSM global system of mobile communication
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA code division multiple access
  • WCDMA wideband code division multiple access
  • LTE long term evolution
  • email short messaging service
  • the memory 1120 may be used to store software programs and modules.
  • the processor 1180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1120.
  • the memory 1120 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 1120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 1130 may be used to receive inputted digital or character information, and generate key signal input related to user settings and function control of the mobile phone.
  • the input unit 1130 may include a touch panel 1131 and other input devices 1132.
  • the touch panel 1131 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1131 or near the touch panel 1131. Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 1180, and can receive and execute the commands sent by the processor 1180.
  • the touch panel 1131 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 1130 may also include other input devices 1132.
  • other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick.
  • the display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 1140 may include a display panel 1141.
  • the display panel 1141 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • the touch panel 1131 can cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, it transmits it to the processor 1180 to determine the type of touch event, and then the processor 1180 responds to the touch event. The type provides corresponding visual output on the display panel 1141.
  • the touch panel 1131 and the display panel 1141 are used as two independent components to implement the input and input functions of the mobile phone, but in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated. Realize the input and output functions of the mobile phone.
  • the mobile phone may also include at least one sensor 1150, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor can include an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1141 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1141 and/or when the mobile phone is moved to the ear. Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary.
  • the audio circuit 1160, the speaker 1161, and the microphone 1162 can provide an audio interface between the user and the mobile phone.
  • the audio circuit 1160 can transmit the electric signal after the conversion of the received audio data to the speaker 1161, which is converted into a sound signal by the speaker 1161 for output; on the other hand, the microphone 1162 converts the collected sound signal into an electric signal, and the audio circuit 1160 After being received, it is converted into audio data, and then processed by the audio data output processor 1180, and then sent to another mobile phone via the RF circuit 1110, or the audio data is output to the memory 1120 for further processing.
  • WiFi is a short-distance wireless transmission technology.
  • the mobile phone can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 1170. It provides users with wireless broadband Internet access.
  • FIG. 11 shows the WiFi module 1170, it is understandable that it is not a necessary component of the mobile phone, and can be omitted as needed without changing the essence of the invention.
  • the processor 1180 is the control center of the mobile phone. It uses various interfaces and lines to connect various parts of the entire mobile phone. Various functions and processing data of the mobile phone can be used to monitor the mobile phone as a whole.
  • the processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1180.
  • the mobile phone also includes a power supply 1190 (such as a battery) for supplying power to various components.
  • a power supply 1190 (such as a battery) for supplying power to various components.
  • the power supply can be logically connected to the processor 1180 through a power management system, so that functions such as charging, discharging, and power management are realized through the power management system.
  • the mobile phone may also include a camera, a Bluetooth module, etc., which will not be described here.
  • the RF circuit 1110 may send a request message to the server.
  • the request message is used to request the identity of the target user and receive the identity of the target user sent by the server; the processor 1180 may store the identity locally in the terminal device. If there is an identity that matches the identity of the target user in the identity, it is determined that the user of the terminal device is a close contact of the target user.
  • the above-mentioned mobile phone may also execute other processes performed by the terminal device in the method for determining close contacts provided in the embodiment of the present invention.
  • the embodiment of the present invention provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process performed by the terminal device in the foregoing method embodiment is implemented, and To achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
  • the embodiment of the present invention also provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process executed by the server in the foregoing method embodiment is implemented, and To achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
  • the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes a number of instructions to enable a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of the various embodiments of the present invention.
  • a terminal device which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

本发明实施例公开了一种确定密切接触者的方法、终端设备及服务器,应用于通信技术领域,可以解决判断密切接触者的方法会存在判断不够精准的问题。该方法包括:终端设备向服务器发送请求消息,请求消息用于请求目标用户的身份标识;终端设备接收服务器发送的目标用户的身份标识;若终端设备本地存储的身份标识中存在与目标用户的身份标识匹配的身份标识,则确定终端设备的用户为目标用户的密切接触者;本地存储的身份标识为与终端设备建立过短距离无线通信连接的设备的用户的身份标识。

Description

一种确定密切接触者的方法、终端设备及服务器 技术领域
本发明实施例涉及通信技术领域,尤其涉及一种确定密切接触者的方法、终端设备及服务器。
背景技术
新冠肺炎(corona virus disease 2019,COVID-19)防控工作一直持续,在密切接触者判断上,传统方法只能依赖于采用运营商信号路径或者用户手填路径来生成二维码的方式来判断是否是密切接触者。
运营商信号路径判断是否是密切接触者(是否是新冠肺炎感染着的密切接触者)的具体方式为:基于手机信号塔识别用户手机信号14日内途径的城市是否为重疫区,以此来判断手机用户是否为新冠肺炎感染者的密切接触者。用户主动填路径判断是否是密切接触者的具体方式为:手机用户在手机上主动填写每日途径的路线(含交通工具及班次)及地址,或者用户用手机扫描途径路径上的二维码,如果同路线及地址有用户被诊断为新冠肺炎感染者,则途径此路线及地址的所有用户均为密切接触者,需要在家隔离并做检测。
但是采用运营商信号路径的方法,只能识别出用户在某个城市,而不能精确到街道,对于同个城市不同区无法处理,而采用用户手填路径的方法,一些用户可能漏填、填写错或故意不填,因此现有的判断密切接触者的方法会存在判断不够精准的问题。
发明内容
本发明实施例提供一种确定密切接触者的方法、终端设备及服务器,用以解决现有的判断密切接触者的方法会存在判断不够精准的问题。
为了解决上述技术问题,本发明实施例是这样实现的:
第一方面,提供一种确定密切接触者的方法,包括:
终端设备向服务器发送请求消息,所述请求消息用于请求目标用户的身份标识;
所述终端设备接收所述服务器发送的所述目标用户的身份标识;
若所述终端设备本地存储的身份标识中存在与所述目标用户的身份标识匹配的身份标识,则确定所述终端设备的用户为所述目标用户的密切接触者;
所述本地存储的身份标识为与所述终端设备建立过短距离无线通信连接的设备的用户的身份标识。
第二方面,提供一种确定密切接触者的方法,包括:
服务器接收终端设备发送的请求消息,所述请求消息用于请求目标用户的身份标识;
所述服务器将存储的目标用户的身份标识发送给终端设备。
第三方面,提供一种终端设备,该终端设备包括:发送模块,用于向服务器发送请求消息,所述请求消息用于请求目标用户的身份标识;
接收模块,用于接收所述服务器发送的所述目标用户的身份标识;
确定模块,用于若终端设备本地存储的身份标识中存在与所述目标用户的身份标识匹配的身份标识,则确定所述终端设备的用户为所述目标用户的密切接触者;
所述本地存储的身份标识为与所述终端设备建立过短距离无线通信连接的设备的用户的身份标识。
第四方面,提供一种服务器,该服务器包括:接收模块,用于接收终端设备发送的请求消息,所述请求消息用于请求目标用户的身份标识;
发送模块,用于将存储的目标用户的身份标识发送给终端设备。
第五方面,提供一种终端设备,该终端设备包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所示的确定密切接触者的方法。
第六方面,提供一种服务器,该终端设备包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第二方面所示的确定密切接触者的方法。
第七方面,提供一种计算机可读存储介质,包括:所述计算机可读存储介质上存储计算机程序,计算机程序被处理器执行时,实现第一方面所示的确定密切接触者的方法,或者,实现第二方面所示的确定密切接触者的方法。
在本发明实施例中,终端设备可以向服务器发送用于请求目标用户的身份标识的请求消息,并在接收到服务器发送的目标用户的身份标识之后,可以查看终端设备本地存储的与所述终端设备建立过短距 离无线通信连接的设备的用户的身份标识中,是否有与目标用户的身份标识匹配的身份标识,如果有则说明与终端设备的用户近距离接触过的用户中有目标用户,从而确认终端设备的用户为目标用户的密切接触者。这样可以基于短距离的无线通信技术获取让终端设备存储与终端设备的用户近距离接触过的用户的身份标识,并结合服务器中存储的目标用户的身份标识,自动对终端设备的用户是否为密切接触者进行判断,这样可以提高确定密切接触者的精确度。
附图说明
为了更清楚地说明本申请实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,还可以根据这些附图获得其它的附图。
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本发明实施例提供的一种无线通信系统的架构示意图;
图3为本发明实施例提供的一种确定密切接触者的方法示意图一;
图4为本发明实施例提供的一种确定密切接触者的方法示意图二;
图5为本发明实施例提供的一种确定密切接触者的方法示意图三;
图6为本发明实施例提供的一种确定密切接触者的方法示意图四;
图7为本发明实施例提供的一种确定密切接触者的方法示意图五;
图8为本发明实施例提供的一种手机广播临时身份代码的示意图;
图9为本发明实施例提供的一种终端设备的结构示意图;
图10为本发明实施例提供的一种服务器的结构示意图;
图11为本发明实施例提供的一种手机的硬件示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统、ios操作系统或者鸿蒙操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本发明实施例提供的确定密切接触者的方法所应用的软件环境。
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的确定密切接触者的方法的软件程序,从而使得该确定密切接触者的方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的确定密切接触者的方法。
本发明实施例中的终端设备可以为移动终端设备,也可以为非移动终端设备。移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动终 端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本发明实施例不作具体限定。
本发明实施例中的服务器可以为传统服务器,也可以为云端服务器。
本发明实施例提供的确定密切接触者,可以应用于确定特定人员(本发明实施例中的目标用户)的密切接触者。
可选的,该特征人员可以是指传染疾病的患者,例如,新冠肺炎的感染者。
本发明实施例提供的确定密切接触者的方法可以应用于如图2所示的通信系统中,假设该通信系统是应用于确定新冠肺炎的感染者的密切接触者。该系统中包括有:云端服务器、手机A、手机B和手机C。其中,手机B与手机A和手机C曾处于较短距离内,因此手机B的用户与手机A的用户可能曾经亲密接触,手机B的用户与手机C的用户也有可能曾经亲密接触,这样手机C中可以保存手机B的用户的身份代码B1,而手机A中可以保存手机B的身份代码B1,手机B中可以保存手机A的身份代码A1和手机C的身份代码C1。在手机C的用户被确认为感染者的情况下,可以上传自己的身份代码给云端服务器,云端服务器会将手机C的用户的身份代码C1保存为感染者的身份代码。进一步的,手机A可以从云端服务器获取感染者的身份代码C1之后可以查询本地的身份代码,其中,不包括C1,因此手机A的用户不是感染者的密切接触者;手机B也可以从云端服务器获取感染者的身份代码C1之后可以查询本地的身份代码,其中,包括C1,因此手机B的用户是感染者的密切接触者。
其中,上述的较短距离内可以是指短距离通信连接的距离范围内,该距离范围可以根据该短距离通信连接能够建立的最大距离确定。假设,通过蓝牙连接的话,距离范围可以为200米内。图2中,100米和10米均处于该距离范围内。
本发明实施例提供的确定密切接触者的方法的可以通过终端设备与服务器的信息交互实现,下面将结合附图对本发明实施例提供的确定密切接触者的方法进行示例性说明。
如图3所示,本发明实施例提供一种确定密切接触者的方法,该方法包括:
101、终端设备获取与终端设备建立短距离无线通信连接的设备的用户的身份代码。
其中,该设备的用户的身份代码为根据该设备的设备标识生成的。
可选的,终端设备获取与终端设备建立短距离无线通信连接的设备的用户的身份代码可以为以下两种情况:
第一种情况:终端设备获取与终端设别建立短距离无线通信连接的设备的设备标识,并根据该设备标识生成该设备的身份代码。
第二种情况:该设备根据其设备标识生成该设备的用户的身份代码,终端设备直接获取该设备的用户的身份代码。
102、终端设备将该设备的用户的身份代码本地存储。
本发明实施例中,终端设备可以将该设备的用户的身份代码本地存储,以记录终端设备近距离接触过的人员。
可选的,终端设备还可以获取该终端设备的设备标识,并根据终端设备的设备标识,生成该终端设备的用户的身份代码,将该终端设备的用户的身份代码本地存储。
103、终端设备向服务器发送请求消息。
相应的,服务器接收终端设备发送的请求消息。
其中,请求消息用于向服务器请求目标用户的身份标识。
可选的,本发明实施例中,可以在终端设备确定终端设备的用户不是目标用户的情况下,终端设备向服务器发送请求消息。
可选的,终端设备可以通过终端设备的用户输入的信息来确定终端设备的用户是不是目标用户,或者终端可以通过第三方平台(如,新闻平台、医疗系统、国家组织或机构等)公布的目标用户的信息确定终端设备的用户是不是目标用户。
104、服务器将存储的目标用户的身份标识发送给终端设备。
本发明实施例中,服务器可以接收各个终端设备发送的目标用户的身份标识,并进行保存。
105、若终端设备本地存储的身份标识中存在与目标用户的身份标识匹配的身份标识,则确定终端设备的用户为目标用户的密切接触者。
其中,本地存储的身份标识为与终端设备建立过短距离无线通信连接的设备的用户的身份标识。
需要说明的是,本发明实施例中终端设备本地存储的身份标识中存在与目标用户的身份标识匹配的身份标识可以是指终端设备本地存储的身份标识中存在与目标用户的身份标识相同的身份标识,或者可 以是指终端设备本地存储的身份标识中存在与目标用户的身份标识存在某种关联关系的身份标识,其中该关联关系应该可以指示两个身份标识对应于同一用户。
其中,上述短距离无线通信连接可以是指蓝牙连接,或者,近距离无线通信(near field communication,NFC)技术建立的连接等。
在本发明实施例中,终端设备可以向服务器发送用于请求目标用户的身份标识的请求消息,并在接收到服务器发送的目标用户的身份标识之后,可以查看终端设备本地存储的与终端设备建立过短距离无线通信连接的设备的用户的身份标识中,是否有与目标用户的身份标识匹配的身份标识,如果有则说明与终端设备的用户近距离接触过的用户中有目标用户,从而确认终端设备的用户为目标用户的密切接触者。这样可以基于短距离的无线通信技术获取让终端设备存储与终端设备的用户近距离接触过的用户的身份标识,并结合服务器中存储的目标用户的身份标识,自动对终端设备的用户是否为密切接触者进行判断,这样可以提高确定密切接触者的精确度。
进一步的,由于本发明实施例提供的方法无需获取终端设备的用户的位置数据和路径信息,并且判断密切接触者的逻辑都在终端设备本地实现,而服务器中只需维护目标用户的身份标识信息,因此实现了最大化的保护用户隐私。
此外,还避免了手动填写路径的方式中,一些用户因为漏填、填错或者隐瞒不填而导致的信息不准确,进一步的提高了确定密切接触者的精确度。
可选的,结合图3,如图4所示,上述105可以替换为下述106。
106、若终端设备本地存储的身份标识中不存在与目标用户的身份标识匹配的身份标识,则确定终端设备的用户非目标用户的密切接触者。
可选的,在终端设备确定终端设备的用户为目标用户的情况下,终端设备可以向服务器发送终端设备的用户的身份代码,终端设备的用户的身份代码为根据终端设备的设备标识生成的。
示例性的,结合图3,如图5所示,上述105之后还可以包括以下步骤:
107、终端设备确定终端设备的用户为目标用户。
示例性的,在确定终端设备的用户为新冠肺炎的密切接触者之后,可以通过核酸检测等检测手段判断其是否为新冠肺炎的感染者(即目标用户),并将结果录入至终端设备中。
108、终端设备向服务器发送终端设备的用户的身份代码。
相应的,服务器接收终端设备发送的终端设备的用户的身份代码,终端设备的用户的身份代码为根据终端设备的设备标识生成的。
示例性的,在确定终端设备的与用户为新冠肺炎的感染者之后,可以将终端设备的用户的身份代码发送给服务器,以使得服务器可以保存终端设备的用户的身份代码,以更新服务器中的感染者的身份代码信息(即,目标用户的身份代码信息)。
109、服务器将终端设备的用户的身份代码作为目标用户的身份代码进行存储。
本发明实施例中,可以在终端设备的用户确定为目标用户时,及时向服务器上报其身份代码,以使得服务器可以及时更新服务器中存储的目标用户的身份代码信息,从而可以进一步提高确定密切接触者的精确度。
在实际应用中,本发明实施例提供的确定密切接触者的方案可以包括两部分,第一部分为终端设备本地生成身份代码库(即存储终端设备的用户的身份代码,以及存储与终端设备建立短距离无线通信连接的其他设备的用户的身份代码);第二部分为终端设备查询是否密切接触者。以下分别对这两部分内容进行介绍。
第一部分:终端设备生成身份代码
在这部分内容中,如图6所示,终端设备通过以下步骤实现:
201、开启快应用。
可选的,可以接收用户开启快应用的操作,以开启快应用。
上述快应用可以为基于本发明实施例提供的确定密切接触者的方法开发的应用程序。
202、判断用户是否已经授权生成身份代码库。
若用户已授权,则执行203至206;若用户未授权,则执行207。
203、判断是否开启蓝牙功能。
若开启了,则执行204和205;若未开启,则执行206。
204、获取与终端设备建立短距离无线通信连接的其他设备的用户的身份代码。
205、将其他设备的用户的身份代码存储在身份代码库。
206、输出开启蓝牙功能的引导信息,引导用户开启蓝牙功能。
本发明实施例中,206之后可以返回执行203。
207、显示询问用户是否允许授权的弹框。
若接收到用户允许授权的输入,则执行208至210;若用户接收到用户不允许授权的输入,则执行211。
208、获取终端设备的设备标识。
209、生成终端设备的用户的身份代码。
210、将终端设备的用户的身份代码保存至身份代码库。
211、输出允许授权的引导信息,引导用户授权生成身份代码库。
本发明实施例中,在执行211之后可以返回执行207。
可选的,可以先输出引导查询密切接触者情况的信息,并提示查询密切接触者情况需要先允许授权生成身份代码库。
第二部分:终端设备查询是否密切接触者
示例性的,以目标用户为新冠肺炎感染者为例,在这部分内容中,如图7所示,终端设备和服务器通过以下步骤实现:
301、用户触发终端设备查询密切接触者情况。
302、终端设备判断是否开启蓝牙功能。
若开启了蓝牙功能,则执行303至314;若未开启蓝牙功能,则执行315。
303、终端设备显示用户信息输入界面。
304、终端设备响应于用户在用户信息输入界面的操作,录入用户的健康状态信息。
305、终端设备判断终端设备的用户是否为感染者。
若终端设备的用户不是感染者,则执行306至311;若终端设备的用户是感染者,则执行312至314。
306、向服务器请求感染者身份代码。
307、服务器下发感染者身份代码库中的感染者身份代码给终端设备。
308、终端设备将感染者身份代码与本地身份代码库中的身份代码进行匹配。
309、判断本地身份代码库中是否存在匹配的身份代码。
若存在,则执行310;若不存在,则执行311。
310、确定终端设备的用户为感染者的密切接触者。
311、确定终端设备的用户不是感染者的密切接触者。
312、终端设备向服务器上报终端设备的用户的身份代码。
313、服务器接收终端设备上报的身份代码。
314、服务器将终端设备的用户的身份代码保存在感染者身份代码库。
315、终端设备输出开启蓝牙功能的引导信息,引导用户开启蓝牙功能。
本发明实施例中,315之后可以返回执行302。
可选的,本发明实施例中为确保身份代码不被恶意获取及跟踪,身份代码还可做混淆优化,即手机设备之间互相广播的身份代码不会唯一不变、而是会随着蓝牙MAC地址随机变化而变化。
示例性的,如图8所示,手机2广播的是临时身份代码b,由手机2身份代码B进行动态生成,单个手机可广播任意数量的代码b,避免了单个用户被恶意跟踪等问题。图8中,手机1的用户与手机2的用户近距离交流了一段时间后,手机1广播了三个临时身份代码b1、b2和b3,手机2广播了三个临时身份代码a1、a2和a3,手机2知道接收了3个临时身份代码及时间,但不知道这三个临时身份代码均指示一个手机用户。
进一步的,数天后手机1的用户被确诊为新冠肺炎的感染者,可以通过卫计委或者手机1的用户自己上报身份代码B给云端服务器,在手机2的用户触发手机2从云端服务器获取新冠肺炎的感染者的身份代码B,并与本地存储的b1、b2和b3进行匹配,发现B与b1、b2和b3匹配,但是手机2的用户并不能获知b1、b2和b3指示手机1的用户。
上述实现方式可以保护手机用户的隐私,避免单个用户被恶意追踪等问题的发生。
如图9所示,本发明实施例还提供一种终端设备,该终端设备包括:
发送模块401,用于向服务器发送请求消息,请求消息用于请求目标用户的身份标识;
接收模块402,用于接收服务器发送的目标用户的身份标识;
确定模块403,用于若终端设备本地存储的身份标识中存在与目标用户的身份标识匹配的身份标识, 则确定终端设备的用户为目标用户的密切接触者;
本地存储的身份标识为与终端设备建立过短距离无线通信连接的设备的用户的身份标识。
可选的,确定模块403,还用于若终端设备本地存储的身份标识中不存在与目标用户的身份标识匹配的身份标识,则确定终端设备的用户非目标用户的密切接触者。
可选的,发送模块401,还用于在终端设备确定终端设备的用户为目标用户的情况下,向服务器发送终端设备的用户的身份代码,终端设备的用户的身份代码为根据终端设备的设备标识生成的。
可选的,发送模块401,具体用于在终端设备确定终端设备的用户不是目标用户的情况下,向服务器发送请求消息。
可选的,终端设备还可以包括:
获取模块404,用于备获取与终端设备建立短距离无线通信连接的设备的用户的身份代码;设备的用户的身份代码为根据设备的设备标识生成的。
存储模块405,用于将设备的用户的身份代码本地存储。
可选的,获取模块404,还用于终端设备获取终端设备的设备标识;根据终端设备的设备标识,生成终端设备的用户的身份代码,将终端设备的用户的身份代码本地存储。
本发明实施例中,还提供一种终端设备,包括:处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现方法实施例中终端设备执行的各个过程。
如图10所示,提供一种服务器,包括:
接收模块501,用于接收终端设备发送的请求消息,请求消息用于请求目标用户的身份标识;
发送模块502,用于将存储的目标用户的身份标识发送给终端设备。
可选的,接收模块501,还用于接收终端设备发送的终端设备的用户的身份代码,终端设备的用户的身份代码为根据终端设备的设备标识生成的;
服务器还包括存储模块503,用于将终端设备的用户的身份代码作为目标用户的身份代码进行存储。
本发明实施例中,还提供一种服务器,包括:处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,计算机程序被处理器执行时实现方法实施例中服务器执行的各个过程。
可选的,本发明实施例提供的终端设备可以为手机。
如图11所示,手机可以包括:射频(radio frequency,RF)电路1110、存储器1120、输入单元1130、显示单元1140、传感器1150、音频电路1160、无线保真(wireless fidelity,WiFi)模块1170、处理器1180、以及电源1190等部件。其中,射频电路1110包括接收器1111和发送器1112。本领域技术人员可以理解,图11中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
RF电路1110可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1180处理;另外,将设计上行的数据发送给基站。通常,RF电路1110包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(low noise amplifier,LNA)、双工器等。此外,RF电路1110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(global system of mobile communication,GSM)、通用分组无线服务(general packet radio service,GPRS)、码分多址(code division multiple access,CDMA)、宽带码分多址(wideband code division multiple access,WCDMA)、长期演进(long term evolution,LTE)、电子邮件、短消息服务(short messaging service,SMS)等。
存储器1120可用于存储软件程序以及模块,处理器1180通过运行存储在存储器1120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1120可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1130可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元1130可包括触控面板1131以及其他输入设备1132。触控面板1131,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1131上或在触控面板1131附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收 触摸信息,并将它转换成触点坐标,再送给处理器1180,并能接收处理器1180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1131。除了触控面板1131,输入单元1130还可以包括其他输入设备1132。具体地,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。
显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1140可包括显示面板1141,可选的,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-Emitting diode,OLED)等形式来配置显示面板1141。进一步的,触控面板1131可覆盖显示面板1141,当触控面板1131检测到在其上或附近的触摸操作后,传送给处理器1180以确定触摸事件的类型,随后处理器1180根据触摸事件的类型在显示面板1141上提供相应的视觉输出。虽然在图11中,触控面板1131与显示面板1141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1131与显示面板1141集成而实现手机的输入和输出功能。
手机还可包括至少一种传感器1150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1141和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路1160、扬声器1161,传声器1162可提供用户与手机之间的音频接口。音频电路1160可将接收到的音频数据转换后的电信号,传输到扬声器1161,由扬声器1161转换为声音信号输出;另一方面,传声器1162将收集的声音信号转换为电信号,由音频电路1160接收后转换为音频数据,再将音频数据输出处理器1180处理后,经RF电路1110以发送给比如另一手机,或者将音频数据输出至存储器1120以便进一步处理。
WiFi属于短距离无线传输技术,手机通过WiFi模块1170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了WiFi模块1170,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器1180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1120内的软件程序和/或模块,以及调用存储在存储器1120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器1180可包括一个或多个处理单元;优选的,处理器1180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1180中。
手机还包括给各个部件供电的电源1190(比如电池),优选的,电源可以通过电源管理系统与处理器1180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。
本发明实施例中,RF电路1110可以向服务器发送请求消息,请求消息用于请求目标用户的身份标识,以及接收服务器发送的目标用户的身份标识;处理器1180,可以在终端设备本地存储的身份标识中存在与目标用户的身份标识匹配的身份标识的情况下,确定终端设备的用户为目标用户的密切接触者。
可选的,上述手机还可以执行本发明实施例提供的确定密切接触者的方法中终端设备所执行的其他过程。
本发明实施例提供一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述方法实施例中终端设备执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,其特征在于,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述方法实施例中服务器执行的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,该计算机可读存储介质可以为只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其 他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离
本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (17)

  1. 一种确定密切接触者的方法,其特征在于,包括:
    终端设备向服务器发送请求消息,所述请求消息用于请求目标用户的身份标识;
    所述终端设备接收所述服务器发送的所述目标用户的身份标识;
    若所述终端设备本地存储的身份标识中存在与所述目标用户的身份标识匹配的身份标识,则确定所述终端设备的用户为所述目标用户的密切接触者;
    所述本地存储的身份标识为与所述终端设备建立过短距离无线通信连接的设备的用户的身份标识。
  2. 根据权利要求1所述的方法,其特征在于,所述终端设备接收所述服务器发送的所述目标用户的身份标识之后,还包括:
    若所述终端设备本地存储的身份标识中不存在与所述目标用户的身份标识匹配的身份标识,则确定所述终端设备的用户非所述目标用户的密切接触者。
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述终端设备确定所述终端设备的用户为目标用户的情况下,所述终端设备向所述服务器发送所述终端设备的用户的身份代码,所述终端设备的用户的身份代码为根据所述终端设备的设备标识生成的。
  4. 根据权利要求1所述的方法,其特征在于,所述终端设备向服务器发送请求消息,包括:
    在所述终端设备确定所述终端设备的用户不是目标用户的情况下,所述终端设备向所述服务器发送所述请求消息。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述终端设备获取与所述终端设备建立短距离无线通信连接的设备的用户的身份代码;所述设备的用户的身份代码为根据所述设备的设备标识生成的。
    将所述设备的用户的身份代码本地存储。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:所述终端设备获取所述终端设备的设备标识;
    根据所述终端设备的设备标识,生成所述终端设备的用户的身份代码,将所述终端设备的用户的身份代码本地存储。
  7. 一种确定密切接触者的方法,其特征在于,包括:
    服务器接收终端设备发送的请求消息,所述请求消息用于请求目标用户的身份标识;
    所述服务器将存储的目标用户的身份标识发送给终端设备。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    所述服务器接收终端设备发送的所述终端设备的用户的身份代码,所述终端设备的用户的身份代码为根据所述终端设备的设备标识生成的;
    所述服务器将所述终端设备的用户的身份代码作为所述目标用户的身份代码进行存储。
  9. 一种终端设备,其特征在于,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时,所述处理器用于执行以下步骤:
    向服务器发送请求消息,所述请求消息用于请求目标用户的身份标识;
    接收所述服务器发送的所述目标用户的身份标识;
    若所述终端设备本地存储的身份标识中存在与所述目标用户的身份标识匹配的身份标识,则确定所述终端设备的用户为所述目标用户的密切接触者;
    所述本地存储的身份标识为与所述终端设备建立过短距离无线通信连接的设备的用户的身份标识。
  10. 根据权利要求9所述的终端设备,其特征在于,所述处理器,还用于接收所述服务器发送的所述目标用户的身份标识之后,若所述终端设备本地存储的身份标识中不存在与所述目标用户的身份标识匹配的身份标识,则确定所述终端设备的用户非所述目标用户的密切接触者。
  11. 根据权利要求9所述的终端设备,其特征在于,所述处理器,还用于在确定所述终端设备的用户为目标用户的情况下,向所述服务器发送所述终端设备的用户的身份代码,所述终端设备的用户的身份代码为根据所述终端设备的设备标识生成的。
  12. 根据权利要求9所述的终端设备,其特征在于,所述处理器,具体用于在所述终端设备确定所述终端设备的用户不是目标用户的情况下,向所述服务器发送所述请求消息。
  13. 根据权利要求9所述的终端设备,其特征在于,所述处理器,还用于获取与所述终端设备建立短距离无线通信连接的设备的用户的身份代码;所述设备的用户的身份代码为根据所述设备的设备标识 生成的;
    将所述设备的用户的身份代码本地存储。
  14. 根据权利要求9所述的终端设备,其特征在于,所述处理器,还用于获取所述终端设备的设备标识;
    根据所述终端设备的设备标识,生成所述终端设备的用户的身份代码,将所述终端设备的用户的身份代码本地存储。
  15. 一种服务器,其特征在于,包括:处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时,所述处理器用于执行以下步骤:
    接收终端设备发送的请求消息,所述请求消息用于请求目标用户的身份标识;
    将存储的目标用户的身份标识发送给终端设备。
  16. 根据权利要求15所述的服务器,其特征在于,所述处理器,还用于接收终端设备发送的所述终端设备的用户的身份代码,所述终端设备的用户的身份代码为根据所述终端设备的设备标识生成的;
    将所述终端设备的用户的身份代码作为所述目标用户的身份代码进行存储。
  17. 一种计算机可读存储介质,其特征在于,包括:所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时,实现如权利要求1至6任一项所述的确定密切接触者的方法,或者,实现如权利要求7或8所述的确定密切接触者的方法。
PCT/CN2021/086394 2020-05-26 2021-04-12 一种确定密切接触者的方法、终端设备及服务器 WO2021238452A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010456272.8 2020-05-26
CN202010456272.8A CN111641928A (zh) 2020-05-26 2020-05-26 一种确定密切接触者的方法、终端设备及服务器

Publications (1)

Publication Number Publication Date
WO2021238452A1 true WO2021238452A1 (zh) 2021-12-02

Family

ID=72330563

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/086394 WO2021238452A1 (zh) 2020-05-26 2021-04-12 一种确定密切接触者的方法、终端设备及服务器

Country Status (2)

Country Link
CN (1) CN111641928A (zh)
WO (1) WO2021238452A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641928A (zh) * 2020-05-26 2020-09-08 Oppo广东移动通信有限公司 一种确定密切接触者的方法、终端设备及服务器
CN112135261A (zh) * 2020-09-23 2020-12-25 维沃移动通信有限公司 潜在感染者确定方法、装置、电子设备和存储介质
CN112635077A (zh) * 2020-12-30 2021-04-09 南方科技大学 一种密切接触判断方法、装置、电子设备和介质
CN113803854A (zh) * 2021-09-29 2021-12-17 四川虹美智能科技有限公司 智能空调、智慧体及空调实现运动模式的系统
CN115348578B (zh) * 2022-10-13 2023-03-24 芯昇科技有限公司 一种接触者追踪方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB719771A (en) * 1950-01-18 1954-12-08 British Electricity Authority Improvements in or relating to tele-communication equipment
CN111090718A (zh) * 2020-03-19 2020-05-01 中科星图(深圳)数字技术产业研发中心有限公司 一种基于轨迹追踪的人像识别方法
CN111641928A (zh) * 2020-05-26 2020-09-08 Oppo广东移动通信有限公司 一种确定密切接触者的方法、终端设备及服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010277452A (ja) * 2009-05-29 2010-12-09 Softbank Telecom Corp 携帯端末、情報処理装置、情報処理方法、および情報処理システム
CN106487762B (zh) * 2015-08-31 2019-12-13 腾讯科技(深圳)有限公司 用户身份的识别方法、身份识别应用客户端及服务器
US20180052970A1 (en) * 2016-08-16 2018-02-22 International Business Machines Corporation Tracking pathogen exposure
KR102399702B1 (ko) * 2020-03-30 2022-05-19 주식회사 올라운드 전염병 환자 추적 시스템 및 이를 이용한 전염병 환자 추적 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB719771A (en) * 1950-01-18 1954-12-08 British Electricity Authority Improvements in or relating to tele-communication equipment
CN111090718A (zh) * 2020-03-19 2020-05-01 中科星图(深圳)数字技术产业研发中心有限公司 一种基于轨迹追踪的人像识别方法
CN111641928A (zh) * 2020-05-26 2020-09-08 Oppo广东移动通信有限公司 一种确定密切接触者的方法、终端设备及服务器

Also Published As

Publication number Publication date
CN111641928A (zh) 2020-09-08

Similar Documents

Publication Publication Date Title
WO2021238452A1 (zh) 一种确定密切接触者的方法、终端设备及服务器
US10834237B2 (en) Method, apparatus, and storage medium for controlling cooperation of multiple intelligent devices with social application platform
US10708649B2 (en) Method, apparatus and system for displaying bullet screen information
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
US10798544B2 (en) Method for exchanging data with in-vehicle infotainment, server, mobile terminal, and apparatus
CN107943489B (zh) 数据分享方法及移动终端
CN109862504B (zh) 一种显示方法及终端设备
CN111597542B (zh) 验证信息共享方法、装置及电子设备及存储介质
JP2015513389A (ja) ファイル送信方法、システム、および制御装置
WO2019141130A1 (zh) 支付方法及终端设备
CN108917766B (zh) 一种导航方法和移动终端
CN109819016B (zh) 基于区块链的信息发布方法、信息接收方法和移动终端
CN112312308A (zh) 一种室内定位方法及终端设备
CN110622528B (zh) 一种信息推荐方法及装置
TWI575458B (zh) 基於應用的服務提供方法、裝置及系統
WO2020029723A1 (zh) 定位方法、相关设备以及计算机可读存储介质
CN111093289A (zh) 一种业务传输方法及电子设备
WO2015101254A1 (zh) 一种信息交互的方法、装置及系统
CN109474889B (zh) 信息传输方法、移动终端及服务器
CN108234275B (zh) 一种发布通讯信息的方法和装置
CN107995150B (zh) 身份验证方法及装置
CN107889128B (zh) 网络质量调整方法和装置
JP7249436B2 (ja) Pc5リンク確立方法、機器及びシステム
CN108988413B (zh) 一种移动终端充电的方法和移动终端
CN109813298B (zh) 一种导航方法及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21812584

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21812584

Country of ref document: EP

Kind code of ref document: A1