Nothing Special   »   [go: up one dir, main page]

CN111641928A - Method for determining close contact person, terminal equipment and server - Google Patents

Method for determining close contact person, terminal equipment and server Download PDF

Info

Publication number
CN111641928A
CN111641928A CN202010456272.8A CN202010456272A CN111641928A CN 111641928 A CN111641928 A CN 111641928A CN 202010456272 A CN202010456272 A CN 202010456272A CN 111641928 A CN111641928 A CN 111641928A
Authority
CN
China
Prior art keywords
identity
user
terminal equipment
server
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010456272.8A
Other languages
Chinese (zh)
Inventor
舒鋆云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010456272.8A priority Critical patent/CN111641928A/en
Publication of CN111641928A publication Critical patent/CN111641928A/en
Priority to PCT/CN2021/086394 priority patent/WO2021238452A1/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method for determining a close contact person, terminal equipment and a server, which are applied to the technical field of communication and can solve the problem that the judgment of the method for judging the close contact person is not accurate enough. The method comprises the following steps: the terminal equipment sends a request message to the server, wherein the request message is used for requesting the identity of a target user; the terminal equipment receives the identity of a target user sent by the server; if the identity identifier matched with the identity identifier of the target user exists in the identity identifiers stored locally in the terminal equipment, determining that the user of the terminal equipment is a close contact person of the target user; the locally stored identity is the identity of the user of the device establishing the short-range wireless communication connection with the terminal device.

Description

Method for determining close contact person, terminal equipment and server
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method for determining a close contact person, terminal equipment and a server.
Background
The control work of new coronary pneumonia (COVID-19) continues, and in the judgment of the close contact person, the traditional method can only judge whether the close contact person is the close contact person by adopting a mode of generating a two-dimensional code by adopting an operator signal path or a user hand filling path.
The specific way for the operator signal path to judge whether the carrier is an intimate contact person (whether the carrier is an intimate contact person infected by the new coronary pneumonia) is as follows: whether a city in the 14-day approach of the mobile phone signal of the user is a heavily-infected area is identified based on the mobile phone signal tower, so that whether the mobile phone user is a close contact person of a new coronary pneumonia infected person is judged. The specific way for the user to actively fill the path to judge whether the user is a close contact person is as follows: the mobile phone user actively fills in a route (including vehicles and shifts) and an address of a daily route on the mobile phone, or the user scans a two-dimensional code on a route path by using the mobile phone, if the user is diagnosed as a new coronary pneumonia infected person in the same route and address, all users who are in the route and address are close contacts, and the isolation and the detection at home are needed.
However, the method of using the operator signal path can only identify that the user is in a certain city but not to be accurate to the street, and cannot process different areas of the same city, and the method of using the user hand to fill the path is adopted, some users may miss filling, fill writing incorrectly or intentionally do not fill, so the existing method of judging the close contacts has the problem of inaccurate judgment.
Disclosure of Invention
The embodiment of the invention provides a method for determining a close contact person, terminal equipment and a server, which are used for solving the problem that the existing method for judging the close contact person cannot judge accurately enough.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, there is provided a method of determining an intimate contacter, comprising:
the terminal equipment sends a request message to the server, wherein the request message is used for requesting the identity of a target user;
the terminal equipment receives the identity of the target user sent by the server;
if the identity identifier matched with the identity identifier of the target user exists in the identity identifiers locally stored in the terminal equipment, determining that the user of the terminal equipment is a close contact person of the target user;
the locally stored identity is the identity of the user of the device establishing the short-distance wireless communication connection with the terminal device.
In a second aspect, there is provided a method of determining an intimate contacter, comprising:
the method comprises the steps that a server receives a request message sent by terminal equipment, wherein the request message is used for requesting the identity of a target user;
and the server sends the stored identity of the target user to the terminal equipment.
In a third aspect, a terminal device is provided, which includes: the sending module is used for sending a request message to the server, wherein the request message is used for requesting the identity of a target user;
the receiving module is used for receiving the identity of the target user sent by the server;
the determining module is used for determining that the user of the terminal equipment is a close contact person of the target user if the identity identifier matched with the identity identifier of the target user exists in the identity identifiers stored locally in the terminal equipment;
the locally stored identity is the identity of the user of the device establishing the short-distance wireless communication connection with the terminal device.
In a fourth aspect, a server is provided, the server comprising: the terminal equipment comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a request message sent by the terminal equipment, and the request message is used for requesting the identity of a target user;
and the sending module is used for sending the stored identity of the target user to the terminal equipment.
In a fifth aspect, a terminal device is provided, which includes: a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements a method of determining an intimate contacter as set forth in the first aspect.
In a sixth aspect, there is provided a server, the terminal device including: a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the method of determining an intimate contacter as shown in the second aspect.
In a seventh aspect, a computer-readable storage medium is provided, comprising: the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of determining an intimate contact as set forth in the first aspect or the method of determining an intimate contact as set forth in the second aspect.
In the embodiment of the present invention, the terminal device may 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, may check whether an identity matching the identity of the target user exists in the identities of the users of the devices that are locally stored by the terminal device and that establish the short-distance wireless communication connection with the terminal device, and if so, indicate that there is a target user in the users that have been in close contact with the user of the terminal device, thereby confirming that the user of the terminal device is a close contact person of the target user. Therefore, the identity of the user who is in close contact with the user of the terminal equipment and stored in the terminal equipment can be acquired based on the short-distance wireless communication technology, and whether the user of the terminal equipment is a close contact person or not is automatically judged by combining the identity of the target user stored in the server, so that the accuracy of determining the close contact person can be improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a block diagram of a wireless communication system according to an embodiment of the present invention;
FIG. 3 is a first schematic diagram illustrating a method for determining an intimate contact according to an embodiment of the present invention;
FIG. 4 is a second schematic diagram of a method for determining an intimate contact according to an embodiment of the present invention;
FIG. 5 is a third schematic diagram of a method for determining an intimate contact according to an embodiment of the present invention;
FIG. 6 is a fourth schematic diagram of a method for determining an intimate contact according to an embodiment of the present invention;
FIG. 7 is a fifth schematic diagram of a method for determining an intimate contact 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 according to an embodiment of the present invention;
fig. 11 is a hardware schematic diagram of a mobile phone according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or a damming operating system, and may also be other possible operating systems, which is not specifically limited in the embodiment of the present invention.
The following describes a software environment applied by the method for determining the close contact provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the method for determining an intimate contact provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the method for determining an intimate contact may run based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the method for determining the close contact person provided by the embodiment of the invention by running the software program in the android operating system.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The server in the embodiment of the invention can be a traditional server or a cloud server.
The method for determining the close contact person provided by the embodiment of the invention can be applied to determining the close contact person of a specific person (a target user in the embodiment of the invention).
Alternatively, the signature person may refer to a patient with an infectious disease, e.g., an infected person with new coronary pneumonia.
The method for determining the close contact person provided by the embodiment of the invention can be applied to a communication system as shown in fig. 2, and the communication system is assumed to be the close contact person applied to determine the infected person with the new coronary pneumonia. The system comprises the following components: cloud server, cell-phone A, cell-phone B and cell-phone C. The mobile phone B is within a short distance from the mobile phone a and the mobile phone C, so that the user of the mobile phone B may have close contact with the user of the mobile phone a, and the user of the mobile phone B may have close contact with the user of the mobile phone C, so that the identity code B1 of the user of the mobile phone B may be stored in the mobile phone C, the identity code B1 of the mobile phone B may be stored in the mobile phone a, and the identity code a1 of the mobile phone a and the identity code C1 of the mobile phone C may be stored in the mobile phone B. Under the condition that the user of the mobile phone C is confirmed to be the infected person, the user's own identity code can be uploaded to the cloud server, and the cloud server can store the identity code C1 of the user of the mobile phone C as the identity code of the infected person. Further, after acquiring the identity code C1 of the infected person from the cloud server, the mobile phone a may query the local identity code, where C1 is not included, so that the user of the mobile phone a is not a close contact of the infected person; cell phone B can also query local identity code C1, including C1, after obtaining the infected person's identity code from the cloud server, so that the user of cell phone B is a close contact with the infected person.
The short-range may be a range of the short-range communication connection, and the range may be determined according to a maximum distance that the short-range communication connection can be established. It is assumed that the distance range can be 200 meters, if connected via bluetooth. In fig. 2, 100 meters and 10 meters are both within this distance range.
The method for determining the close contact person provided by the embodiment of the present invention can be implemented through information interaction between the terminal device and the server, and the method for determining the close contact person provided by the embodiment of the present invention will be exemplarily described below with reference to the accompanying drawings.
As shown in fig. 3, an embodiment of the present invention provides a method for determining an intimate contacter, the method including:
101. the terminal device acquires an identity code of a user of a device that establishes a short-range wireless communication connection with the terminal device.
Wherein the identity code of the user of the device is generated from the device identification of the device.
Optionally, the obtaining, by the terminal device, the identity code of the user of the device that establishes the short-range wireless communication connection with the terminal device may be performed in two cases:
in the first case: the terminal equipment acquires the equipment identification of the equipment which establishes short-distance wireless communication connection with the terminal equipment, and generates the identity code of the equipment according to the equipment identification.
In the second case: the equipment generates the identity code of the user of the equipment according to the equipment identification, and the terminal equipment directly acquires the identity code of the user of the equipment.
102. The terminal device stores locally the identity code of the user of the device.
In the embodiment of the invention, the terminal equipment can locally store the identity code of the user of the equipment so as to record the personnel which are contacted by the terminal equipment in a short distance.
Optionally, the terminal device may further obtain the device identifier of the terminal device, generate the identity code of the user of the terminal device according to the device identifier of the terminal device, and locally store the identity code of the user of the terminal device.
103. The terminal device sends a request message to the server.
Correspondingly, the server receives the request message sent by the terminal equipment.
The request message is used for requesting the identity of the target user from the server.
Optionally, in the embodiment of the present invention, the terminal device may send the request message to the server when the terminal device determines that the user of the terminal device is not the target user.
Alternatively, the terminal device may determine whether the user of the terminal device is the target user through information input by the user of the terminal device, or the terminal may determine whether the user of the terminal device is the target user through information of the target user published by a third-party platform (e.g., a news platform, a medical system, a national organization or institution, etc.).
104. And the server sends the stored identification of the target user to the terminal equipment.
In the embodiment of the invention, the server can receive and store the identity of the target user sent by each terminal device.
105. And if the identity identifier matched with the identity identifier of the target user exists in the identity identifiers locally stored in the terminal equipment, determining that the user of the terminal equipment is a close contact person of the target user.
The locally stored identity is the identity of the user of the equipment which establishes the short-distance wireless communication connection with the terminal equipment.
It should be noted that, in the embodiment of the present invention, the existence of the identity matching the identity of the target user in the identity locally stored in the terminal device may refer to the existence of the identity identical to the identity of the target user in the identity locally stored in the terminal device, or may refer to the existence of the identity having a certain association relationship with the identity of the target user in the identity locally stored in the terminal device, where the association relationship may indicate that the two identities correspond to the same user.
The short-range wireless communication connection may refer to a bluetooth connection, or a connection established by a Near Field Communication (NFC) technology.
In the embodiment of the present invention, the terminal device may 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, may check whether an identity matching the identity of the target user exists in the identities of the users of the devices that are locally stored by the terminal device and that establish the short-distance wireless communication connection with the terminal device, and if so, indicate that there is a target user in the users that have been in close contact with the user of the terminal device, thereby confirming that the user of the terminal device is a close contact person of the target user. Therefore, the identity of the user who is in close contact with the user of the terminal equipment and stored in the terminal equipment can be acquired based on the short-distance wireless communication technology, and whether the user of the terminal equipment is a close contact person or not is automatically judged by combining the identity of the target user stored in the server, so that the accuracy of determining the close contact person can be improved.
Furthermore, the method provided by the embodiment of the invention does not need to acquire the position data and the path information of the user of the terminal equipment, the logic of judging the close contact person is realized in the local terminal equipment, and the server only needs to maintain the identity identification information of the target user, so that the maximum protection of the user privacy is realized.
In addition, the method avoids inaccurate information caused by missing filling, wrong filling or hiding and not filling of some users in a way of manually filling in the path, and further improves the accuracy of determining the close contact person.
Alternatively, as shown in fig. 4 in conjunction with fig. 3, the above 105 may be replaced with the below 106.
106. And if the identity identifier matched with the identity identifier of the target user does not exist in the identity identifiers locally stored in the terminal equipment, determining the close contact person of the user of the terminal equipment, which is not the target user.
Optionally, when the terminal device determines that the user of the terminal device is the target user, the terminal device may send the identity code of the user of the terminal device to the server, where the identity code of the user of the terminal device is generated according to the device identifier of the terminal device.
Illustratively, in conjunction with fig. 3, as shown in fig. 5, the step 105 may further include the following steps:
107. the terminal device determines that the user of the terminal device is the target user.
For example, after determining that the user of the terminal device is a close contact person of new coronary pneumonia, it may be determined by detection means such as nucleic acid detection whether the user is an infected person (i.e., target user) of new coronary pneumonia, and the result is entered into the terminal device.
108. The terminal device sends the identity code of the user of the terminal device to the server.
Correspondingly, the server receives the identity code of the user of the terminal device, which is sent by the terminal device, and the identity code of the user of the terminal device is generated according to the device identifier of the terminal device.
For example, after determining that the user of the terminal device is an infected person of new coronary pneumonia, the identity code of the user of the terminal device may be sent to the server, so that the server may save the identity code of the user of the terminal device to update the identity code information of the infected person in the server (i.e., the identity code information of the target user).
109. The server stores the identity code of the user of the terminal device as the identity code of the target user.
In the embodiment of the invention, when the user of the terminal equipment is determined to be the target user, the identity code of the user 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 time, and the accuracy of determining the close contact person can be further improved.
In practical applications, the scheme for determining the close contact provided by the embodiment of the present invention may include two parts, where the first part generates an identity code library for the terminal device locally (i.e., stores the identity code of the user of the terminal device, and stores the identity code of the user of another device that establishes a short-range wireless communication connection with the terminal device); the second part is that the terminal equipment inquires whether to be in close contact with the user. These two parts will be described separately below.
A first part: terminal equipment generating identity code
In this part, as shown in fig. 6, the terminal device is implemented by the following steps:
201. the fast application is started.
Optionally, an operation of the user to open the fast application may be received to open the fast application.
The above-described fast application may be an application program developed based on the method of determining a close contact provided by the embodiment of the present invention.
202. It is determined whether the user has authorized the generation of the identity code repository.
If the user is authorized, executing 203 to 206; if the user is not authorized, 207 is performed.
203. And judging whether the Bluetooth function is started or not.
If so, 204 and 205 are executed; if not, execution 206 is performed.
204. An identity code of a user of another device that establishes a short-range wireless communication connection with the terminal device is acquired.
205. The identity codes of the users of the other devices are stored in an identity code repository.
206. And outputting the guide information for starting the Bluetooth function, and guiding the user to start the Bluetooth function.
In embodiments of the invention, 206 may then return to execution 203.
207. A popup box is displayed that asks the user whether authorization is allowed.
If the input that the user allows the authorization is received, executing 208 to 210; if the user receives an input that the user does not allow authorization, 211 is performed.
208. And acquiring the equipment identifier of the terminal equipment.
209. An identity code of a user of the terminal device is generated.
210. And storing the identity code of the user of the terminal equipment into an identity code library.
211. And outputting guide information allowing authorization, and guiding the user to authorize and generate the identity code library.
In embodiments of the present invention, execution 207 may be returned after execution 211.
Optionally, information guiding the inquiry of the intimate contact situation may be output first, and the inquiry of the intimate contact situation is prompted to require that authorization to generate the identity code library is allowed first.
A second part: terminal equipment inquires whether to contact closely
Illustratively, taking the target user as a new coronary pneumonia infector as an example, in this section, as shown in fig. 7, the terminal device and the server are implemented by the following steps:
301. the user triggers the terminal device to inquire the situation of the close contact person.
302. The terminal equipment judges whether to start the Bluetooth function.
If the Bluetooth function is started, executing 303 to 314; if the bluetooth function is not turned on, 315 is performed.
303. The terminal device displays a user information input interface.
304. And the terminal equipment responds to the operation of the user on the user information input interface and inputs the health state information of the user.
305. The terminal device judges whether the user of the terminal device is an infected person.
If the user of the terminal device is not an infected person, executing 306 to 311; if the user of the terminal device is an infected person, 312 to 314 are performed.
306. An infector identity code is requested from the server.
307. And the server sends the infected person identity code in the infected person identity code base to the terminal equipment.
308. The terminal device matches the infector identity code with an identity code in a local identity code base.
309. And judging whether the matched identity codes exist in the local identity code base.
If so, execute 310; if not, 311 is performed.
310. A user of the terminal device is determined to be an intimate contact of the infected person.
311. It is determined that the user of the terminal device is not a close contact with the infected person.
312. The terminal equipment reports the identity code of the user of the terminal equipment to the server.
313. And the server receives the identity code reported by the terminal equipment.
314. The server stores the identity code of the user of the terminal device in an infected person identity code library.
315. And the terminal equipment outputs the guide information for starting the Bluetooth function and guides the user to start the Bluetooth function.
In embodiments of the invention, execution 302 may return after 315.
Optionally, in order to ensure that the identity code is not maliciously acquired and tracked, the identity code may be further subjected to confusion optimization, that is, the identity code mutually broadcasted among the mobile phone devices is not unique and may change along with the random change of the bluetooth MAC address.
For example, as shown in fig. 8, the mobile phone 2 broadcasts the temporary identity code B, which is dynamically generated by the mobile phone 2 identity code B, and a single mobile phone can broadcast any number of codes B, thereby avoiding the problems that a single user is maliciously tracked, and the like. In fig. 8, after the user of the mobile phone 1 communicates with the user of the mobile phone 2 in close proximity for a period of time, the mobile phone 1 broadcasts three temporary identity codes b1, b2 and b3, the mobile phone 2 broadcasts three temporary identity codes a1, a2 and a3, and the mobile phone 2 knows that 3 temporary identity codes are received and the time, but does not know that all the three temporary identity codes indicate a mobile phone user.
Further, after several days, the user of the mobile phone 1 is diagnosed as an infected person of new coronary pneumonia, and may report the identity code B to the cloud server through a health council or the user of the mobile phone 1, and the user of the mobile phone 2 triggers the mobile phone 2 to acquire the identity code B of the infected person of new coronary pneumonia from the cloud server, and match the identity code B with locally stored B1, B2, and B3, and finds that B matches B1, B2, and B3, but the user of the mobile phone 2 cannot know that B1, B2, and B3 indicate the user of the mobile phone 1.
The implementation mode can protect the privacy of the mobile phone user and avoid the problems that a single user is maliciously tracked and the like.
As shown in fig. 9, an embodiment of the present invention further provides a terminal device, where the terminal device includes:
a sending module 401, configured to send a request message to a server, where the request message is used to request an identity of a target user;
a receiving module 402, configured to receive an identity of a target user sent by a server;
a determining module 403, configured to determine that the user of the terminal device is a close contact of the target user if an identity matching the identity of the target user exists in the identities locally stored in the terminal device;
the locally stored identity is the identity of the user of the device establishing the short-range wireless communication connection with the terminal device.
Optionally, the determining module 403 is further configured to determine, if an identity matching the identity of the target user does not exist in the identities stored locally in the terminal device, an intimate contacter of the user of the terminal device other than the target user.
Optionally, the sending module 401 is further configured to send, to the server, an identity code of the user of the terminal device under the condition that the terminal device determines that the user of the terminal device is the target user, where the identity code of the user of the terminal device is generated according to the device identifier of the terminal device.
Optionally, the sending module 401 is specifically configured to send the request message to the server when the terminal device determines that the user of the terminal device is not the target user.
Optionally, the terminal device may further include:
an obtaining module 404, configured to obtain an identity code of a user of a device that establishes a short-range wireless communication connection with a terminal device; the identity code of the user of the device is generated from the device identification of the device.
A storage module 405 for locally storing an identity code of a user of the device.
Optionally, the obtaining module 404 is further configured to obtain, by the terminal device, a device identifier of the terminal device; and generating an identity code of the user of the terminal equipment according to the equipment identifier of the terminal equipment, and locally storing the identity code of the user of the terminal equipment.
In an embodiment of the present invention, a terminal device is further provided, including: the terminal device comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes each process executed by the terminal device in the method embodiment when being executed by the processor.
As shown in fig. 10, there is provided a server including:
a receiving module 501, configured to receive a request message sent by a terminal device, where the request message is used to request an identity of a target user;
a sending module 502, configured to send the stored identity of the target user to the terminal device.
Optionally, the receiving module 501 is further configured to receive an identity code of a user of the terminal device, where the identity code of the user of the terminal device is generated according to a device identifier of the terminal device;
the server further comprises a storage module 503 for storing the identity code of the user of the terminal device as the identity code of the target user.
In an embodiment of the present invention, there is further provided a server, including: the server comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program when executed by the processor implements the processes executed by the server in the method embodiments.
Optionally, the terminal device provided by the embodiment of the invention may be a mobile phone.
As shown in fig. 11, the cellular phone may include: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. The rf circuit 1110 includes a receiver 1111 and a transmitter 1112. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuitry 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. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
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 cellular phone. The display unit 1140 may include a display panel 1141, and optionally, the display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The phone also includes a power supply 1190 (e.g., a battery) for powering the various components, and preferably, the power supply may be logically connected to the processor 1180 via a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the RF circuit 1110 may send a request message to the server, where 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 determine that the user of the terminal device is an intimate contact of the target user when an identity matching the identity of the target user exists in the identities stored locally in the terminal device.
Optionally, the mobile phone may further perform other processes performed by the terminal device in the method for determining an intimate contact provided by the embodiment of the present invention.
An embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process executed by a terminal device in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process executed by a server in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A method of determining an intimate contact, comprising:
the terminal equipment sends a request message to the server, wherein the request message is used for requesting the identity of a target user;
the terminal equipment receives the identity of the target user sent by the server;
if the identity identifier matched with the identity identifier of the target user exists in the identity identifiers locally stored in the terminal equipment, determining that the user of the terminal equipment is a close contact person of the target user;
the locally stored identity is the identity of the user of the device establishing the short-distance wireless communication connection with the terminal device.
2. The method according to claim 1, wherein after the terminal device receives the identity of the target user sent by the server, the method further comprises:
and if the identity identifier matched with the identity identifier of the target user does not exist in the identity identifiers locally stored in the terminal equipment, determining that the user of the terminal equipment is not a close contact person of the target user.
3. The method of claim 1, further comprising:
and under the condition that the terminal equipment determines that the user of the terminal equipment is the target user, the terminal equipment sends the identity code of the user of the terminal equipment to the server, wherein the identity code of the user of the terminal equipment is generated according to the equipment identification of the terminal equipment.
4. The method of claim 1, wherein the terminal device sends a request message to a server, comprising:
and under the condition that the terminal equipment determines that the user of the terminal equipment is not the target user, the terminal equipment sends the request message to the server.
5. The method of claim 1, further comprising:
the terminal equipment acquires an identity code of a user of equipment which establishes short-distance wireless communication connection with the terminal equipment; the identity code of the user of the device is generated from the device identification of the device.
Storing locally an identity code of a user of the device.
6. The method according to claim 1, wherein the terminal device obtains a device identifier of the terminal device;
and generating an identity code of the user of the terminal equipment according to the equipment identification of the terminal equipment, and locally storing the identity code of the user of the terminal equipment.
7. A method of determining an intimate contact, comprising:
the method comprises the steps that a server receives a request message sent by terminal equipment, wherein the request message is used for requesting the identity of a target user;
and the server sends the stored identity of the target user to the terminal equipment.
8. The method of claim 7, further comprising:
the server receives an identity code of a user of the terminal equipment, which is sent by the terminal equipment, wherein the identity code of the user of the terminal equipment is generated according to an equipment identifier of the terminal equipment;
and the server stores the identity code of the user of the terminal equipment as the identity code of the target user.
9. A terminal device, comprising:
the sending module is used for sending a request message to the server, wherein the request message is used for requesting the identity of a target user;
the receiving module is used for receiving the identity of the target user sent by the server;
the determining module is used for determining that the user of the terminal equipment is a close contact person of the target user if the identity identifier matched with the identity identifier of the target user exists in the identity identifiers stored locally in the terminal equipment;
the locally stored identity is the identity of the user of the device establishing the short-distance wireless communication connection with the terminal device.
10. A terminal device, comprising: processor, memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of determining an intimate contact according to any of claims 1 to 6.
11. A server, comprising:
the terminal equipment comprises a receiving module, a sending module and a receiving module, wherein the receiving module is used for receiving a request message sent by the terminal equipment, and the request message is used for requesting the identity of a target user;
and the sending module is used for sending the stored identity of the target user to the terminal equipment.
12. A server, comprising: processor, memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method of determining an intimate contacter of claim 7 or 8.
13. A computer-readable storage medium, comprising: the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements a method of determining an contacter according to any one of claims 1 to 6, or implements a method of determining an contacter according to claim 7 or 8.
CN202010456272.8A 2020-05-26 2020-05-26 Method for determining close contact person, terminal equipment and server Pending CN111641928A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010456272.8A CN111641928A (en) 2020-05-26 2020-05-26 Method for determining close contact person, terminal equipment and server
PCT/CN2021/086394 WO2021238452A1 (en) 2020-05-26 2021-04-12 Method for determining close contact, terminal device, and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010456272.8A CN111641928A (en) 2020-05-26 2020-05-26 Method for determining close contact person, terminal equipment and server

Publications (1)

Publication Number Publication Date
CN111641928A true CN111641928A (en) 2020-09-08

Family

ID=72330563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010456272.8A Pending CN111641928A (en) 2020-05-26 2020-05-26 Method for determining close contact person, terminal equipment and server

Country Status (2)

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

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112135261A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Potential infector determination method, device, electronic equipment and storage medium
WO2021238452A1 (en) * 2020-05-26 2021-12-02 Oppo广东移动通信有限公司 Method for determining close contact, terminal device, and server
CN113803854A (en) * 2021-09-29 2021-12-17 四川虹美智能科技有限公司 Intelligent air conditioner, intelligent body and system for realizing motion mode of air conditioner
WO2022142442A1 (en) * 2020-12-30 2022-07-07 南方科技大学 Intimate contact determining method and apparatus, electronic device, and medium
CN115052293A (en) * 2022-04-06 2022-09-13 北京京东乾石科技有限公司 Method, device, medium, and electronic device for determining tight contact
CN115348578A (en) * 2022-10-13 2022-11-15 芯昇科技有限公司 Method and device for tracking contacter

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598995A (en) * 2022-01-28 2022-06-07 深圳源中瑞科技有限公司 Contact relation tracking method, terminal device, server and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010277452A (en) * 2009-05-29 2010-12-09 Softbank Telecom Corp Portable terminal, apparatus, method and system for processing information
CN106487762A (en) * 2015-08-31 2017-03-08 腾讯科技(深圳)有限公司 The recognition methodss of user identity, identification applications client and server
US20180052970A1 (en) * 2016-08-16 2018-02-22 International Business Machines Corporation Tracking pathogen exposure
CN111090718A (en) * 2020-03-19 2020-05-01 中科星图(深圳)数字技术产业研发中心有限公司 Portrait identification method based on track tracking
KR20200047457A (en) * 2020-03-30 2020-05-07 주식회사 올라운드 Trace system for Infectious people and trace method using it

Family Cites Families (2)

* 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
CN111641928A (en) * 2020-05-26 2020-09-08 Oppo广东移动通信有限公司 Method for determining close contact person, terminal equipment and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010277452A (en) * 2009-05-29 2010-12-09 Softbank Telecom Corp Portable terminal, apparatus, method and system for processing information
CN106487762A (en) * 2015-08-31 2017-03-08 腾讯科技(深圳)有限公司 The recognition methodss of user identity, identification applications client and server
US20180052970A1 (en) * 2016-08-16 2018-02-22 International Business Machines Corporation Tracking pathogen exposure
CN111090718A (en) * 2020-03-19 2020-05-01 中科星图(深圳)数字技术产业研发中心有限公司 Portrait identification method based on track tracking
KR20200047457A (en) * 2020-03-30 2020-05-07 주식회사 올라운드 Trace system for Infectious people and trace method using it

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021238452A1 (en) * 2020-05-26 2021-12-02 Oppo广东移动通信有限公司 Method for determining close contact, terminal device, and server
CN112135261A (en) * 2020-09-23 2020-12-25 维沃移动通信有限公司 Potential infector determination method, device, electronic equipment and storage medium
WO2022142442A1 (en) * 2020-12-30 2022-07-07 南方科技大学 Intimate contact determining method and apparatus, electronic device, and medium
CN113803854A (en) * 2021-09-29 2021-12-17 四川虹美智能科技有限公司 Intelligent air conditioner, intelligent body and system for realizing motion mode of air conditioner
CN115052293A (en) * 2022-04-06 2022-09-13 北京京东乾石科技有限公司 Method, device, medium, and electronic device for determining tight contact
CN115348578A (en) * 2022-10-13 2022-11-15 芯昇科技有限公司 Method and device for tracking contacter

Also Published As

Publication number Publication date
WO2021238452A1 (en) 2021-12-02

Similar Documents

Publication Publication Date Title
CN111641928A (en) Method for determining close contact person, terminal equipment and server
CN107943489B (en) Data sharing method and mobile terminal
CN105471931B (en) Method, device and system for inquiring service data
CN111597542B (en) Verification information sharing method and device, electronic equipment and storage medium
JP2018513499A (en) Communication message transmission method and wearable device
CN108255683B (en) Method for prompting message in terminal and terminal
CN109862504B (en) Display method and terminal equipment
CN105024984A (en) Permission setting method, apparatus and system
CN108668328B (en) Network switching method and mobile terminal
CN104901992B (en) A kind of method and apparatus of resource transfers
JP7249436B2 (en) PC5 link establishment method, device and system
CN113489630A (en) Network distribution method, device, storage medium and electronic terminal
TWI575458B (en) Method, device and system for providing service based on application
CN106470234B (en) Equipment discovery method and device
CN111093289A (en) Service transmission method and electronic equipment
CN110366182A (en) A kind of data transmission method and terminal device
CN110602766B (en) Personal hotspot identification method and method for determining association relationship between terminals
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal
CN109348425B (en) Positioning information updating method, device, equipment and storage medium
CN108988413B (en) Mobile terminal charging method and mobile terminal
CN110622528A (en) Information recommendation method and device
CN109041212B (en) Positioning method and wearable device
CN108234275B (en) Method and device for releasing communication information
CN105813013A (en) Information prompting method, device and system
CN110855550B (en) Communication method, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200908

RJ01 Rejection of invention patent application after publication