Movatterモバイル変換


[0]ホーム

URL:


CN112269842B - An information processing method, device, storage medium and computer equipment - Google Patents

An information processing method, device, storage medium and computer equipment
Download PDF

Info

Publication number
CN112269842B
CN112269842BCN202011105322.4ACN202011105322ACN112269842BCN 112269842 BCN112269842 BCN 112269842BCN 202011105322 ACN202011105322 ACN 202011105322ACN 112269842 BCN112269842 BCN 112269842B
Authority
CN
China
Prior art keywords
terminal
signal strength
network
association
communication signal
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.)
Active
Application number
CN202011105322.4A
Other languages
Chinese (zh)
Other versions
CN112269842A (en
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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo LtdfiledCriticalTCL Communication Ningbo Ltd
Priority to CN202011105322.4ApriorityCriticalpatent/CN112269842B/en
Publication of CN112269842ApublicationCriticalpatent/CN112269842A/en
Application grantedgrantedCritical
Publication of CN112269842BpublicationCriticalpatent/CN112269842B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本申请实施例公开了一种信息处理方法、装置、存储介质及计算机设备。该信息处理方法包括:检测与终端处于同一通信群组的一个或多个候选终端的通信信号强度;获取通信信号强度大于预设通信信号强度时的持续时长;若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系;至少向服务器发送关联关系和关联关系的建立时间。本申请实施例通过检测同一局域网中各终端的通信信号强度,以通信信号强度的持续时长侧面反映出各终端之间是否近距离持续接触,并将相关信息上报给服务器构建对应的关系网络,使得在需要查找近距离持续接触的终端用户时,可基于该关系网络快速锁定目标,有效提高信息处理效率。

The embodiments of the present application disclose an information processing method, device, storage medium and computer equipment. The information processing method includes: detecting the communication signal strength of one or more candidate terminals in the same communication group as the terminal; obtaining the duration when the communication signal strength is greater than the preset communication signal strength; if the duration exceeds the preset duration, then Establish an association relationship between the candidate terminal whose communication signal strength is greater than the preset communication signal strength and the terminal; at least send the association relationship and the establishment time of the association relationship to the server. The embodiment of this application detects the communication signal strength of each terminal in the same local area network, uses the duration of the communication signal strength to reflect whether the terminals are in close and continuous contact, and reports the relevant information to the server to build a corresponding relationship network, so that When it is necessary to find end users who are in close and continuous contact, the target can be quickly locked based on this relationship network, effectively improving information processing efficiency.

Description

Translated fromChinese
一种信息处理方法、装置、存储介质及计算机设备An information processing method, device, storage medium and computer equipment

技术领域Technical field

本申请涉及计算机应用领域,具体涉及一种信息处理方法、装置、存储介质及计算机设备。This application relates to the field of computer applications, and specifically to an information processing method, device, storage medium and computer equipment.

背景技术Background technique

由于新型冠状病毒肺炎具有潜伏期以及人与人之间的传染性,使得疫情难以控制。为了有效地控制疫情的蔓延,需要找到传染源,切断传播途径。如果可以找到病毒感染者的密切接触者,就可以有效地切断传播途径。现有的排查病毒感染者的密切接触者的主要方法是感染者回忆自己的活动轨迹,或者根据监控去追查感染者的活动轨迹,又或是核查感染者的公共交通出行记录。Due to the incubation period and human-to-human contagiousness of the new coronavirus pneumonia, the epidemic is difficult to control. In order to effectively control the spread of the epidemic, it is necessary to find the source of infection and cut off the transmission route. If close contacts of people infected with the virus can be found, the transmission route can be effectively cut off. The existing main methods for identifying close contacts of virus-infected persons are for the infected person to recall his/her movement trajectory, or to trace the infected person's movement trajectory based on surveillance, or to verify the infected person's public transportation travel record.

但是,通过以上方法排查密切接触者时,需要人工仔细地核对感染者的活动轨迹,效率比较低下,且难以得到感染者完整的活动轨迹,可能导致遗漏密切接触者的情况。However, when checking close contacts through the above methods, it is necessary to manually check the movement trajectory of the infected person carefully, which is relatively inefficient and difficult to obtain the complete movement trajectory of the infected person, which may lead to the omission of close contacts.

发明内容Contents of the invention

本申请实施例提供一种信息处理方法、装置、存储介质及计算机设备,可以提高信息处理效率。Embodiments of the present application provide an information processing method, device, storage medium and computer equipment, which can improve information processing efficiency.

本申请实施例提供了一种信息处理方法,应用于终端,包括:The embodiment of this application provides an information processing method, applied to a terminal, including:

确定与所述终端处于同一通信群组的一个或多个候选终端;Determine one or more candidate terminals that are in the same communication group as the terminal;

检测所述候选终端的通信信号强度;Detecting the communication signal strength of the candidate terminal;

获取所述通信信号强度大于预设通信信号强度时的持续时长;Obtain the duration when the communication signal strength is greater than the preset communication signal strength;

若所述持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与所述终端之间的关联关系;If the duration exceeds the preset duration, establish an association between the candidate terminal whose communication signal strength is greater than the preset communication signal strength and the terminal;

至少向服务器发送关联信息,所述关联信息包括:所述关联关系和所述关联关系的建立时间。At least send association information to the server, where the association information includes: the association relationship and the establishment time of the association relationship.

相应的,本申请实施例提供了另一种信息处理方法,应用于服务器,包括:Correspondingly, the embodiment of this application provides another information processing method, applied to the server, including:

接收多个不同终端发送的所述关联信息,所述关联信息包括:通信信号强度大于预设通信信号强度的候选终端与所述终端之间的关联关系、以及所述关联关系的建立时间;Receive the association information sent by multiple different terminals, where the association information includes: an association relationship between a candidate terminal whose communication signal strength is greater than a preset communication signal strength and the terminal, and the establishment time of the association relationship;

根据所述关联关系和所述建立时间对历史关系网络进行更新,得到更新后关系网络,其中,所述历史关系网络包括:在预设历史时间段内建立关联关系的多个终端;The historical relationship network is updated according to the association relationship and the establishment time to obtain an updated relationship network, wherein the historical relationship network includes: multiple terminals that established association relationships within a preset historical time period;

当检测到目标终端发送的查询请求时,基于所述更新后关系网络查找与所述目标终端关联的关联终端。When the query request sent by the target terminal is detected, the associated terminal associated with the target terminal is searched based on the updated relationship network.

相应的,本申请实施例还提供了一种信息处理装置,应用于终端,包括:Correspondingly, embodiments of the present application also provide an information processing device, applied to a terminal, including:

确定单元,用于确定与所述终端处于同一通信群组的一个或多个候选终端;a determining unit, configured to determine one or more candidate terminals in the same communication group as the terminal;

检测单元,用于检测所述候选终端的通信信号强度;A detection unit configured to detect the communication signal strength of the candidate terminal;

第一获取单元,用于获取所述通信信号强度大于预设通信信号强度时的持续时长;A first acquisition unit configured to acquire the duration when the communication signal strength is greater than the preset communication signal strength;

建立单元,用于若所述持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与所述终端之间的关联关系;An establishment unit configured to, if the duration exceeds a preset duration, establish an association between a candidate terminal whose communication signal strength is greater than the preset communication signal strength and the terminal;

第一发送单元,用于至少向服务器发送关联信息,所述关联信息包括:所述关联关系和所述关联关系的建立时间。The first sending unit is configured to send at least association information to the server, where the association information includes: the association relationship and the establishment time of the association relationship.

相应的,本申请实施例还提供了另一种信息处理装置,应用于服务器,包括:Correspondingly, the embodiment of the present application also provides another information processing device, applied to a server, including:

接收单元,用于接收多个不同终端发送的所述关联信息,所述关联信息包括:通信信号强度大于预设通信信号强度的候选终端与所述终端之间的关联关系、以及所述关联关系的建立时间;A receiving unit configured to receive the association information sent by multiple different terminals, the association information including: an association relationship between a candidate terminal whose communication signal strength is greater than a preset communication signal strength and the terminal, and the association relationship. The establishment time;

第一更新单元,用于根据所述关联关系和所述建立时间对历史关系网络进行更新,得到更新后关系网络,其中,所述历史关系网络包括:在预设历史时间段内建立关联关系的多个终端;A first update unit, configured to update the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, wherein the historical relationship network includes: relationships established within a preset historical time period. multiple terminals;

查找单元,用于当检测到目标终端发送的查询请求时,基于所述更新后关系网络查找与所述目标终端关联的关联终端。A search unit configured to search for associated terminals associated with the target terminal based on the updated relationship network when detecting a query request sent by the target terminal.

相应的,本申请实施例还提供了一种存储介质,所述存储介质存储有多条指令,所述指令适于处理器进行加载,以执行如上所述的信息处理方法。Correspondingly, embodiments of the present application also provide a storage medium that stores multiple instructions, and the instructions are suitable for loading by the processor to execute the information processing method as described above.

相应的,本申请实施例还提供了一种计算机设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述指令以执行如上所述的信息处理方法。Correspondingly, embodiments of the present application also provide a computer device, including a processor and a memory. The memory stores multiple instructions, and the processor loads the instructions to execute the information processing method as described above.

本申请实施例通过检测同一局域网中各终端的通信信号强度,以通信信号强度的持续时长侧面反映出各终端之间是否近距离持续接触,并将相关信息上报给服务器构建对应的关系网络,使得在需要查找近距离持续接触的终端用户时,可基于该关系网络快速锁定目标,有效提高信息处理效率。The embodiment of this application detects the communication signal strength of each terminal in the same local area network, uses the duration of the communication signal strength to reflect whether the terminals are in close and continuous contact, and reports the relevant information to the server to build a corresponding relationship network, so that When it is necessary to find end users who are in close and continuous contact, the target can be quickly locked based on this relationship network, effectively improving information processing efficiency.

附图说明Description of the drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.

图1为本申请实施例提供的信息处理方法的应用场景示意图。Figure 1 is a schematic diagram of an application scenario of the information processing method provided by the embodiment of the present application.

图2为本申请实施例提供的一种信息处理方法的流程示意图。Figure 2 is a schematic flowchart of an information processing method provided by an embodiment of the present application.

图3为本申请实施例提供的另一种信息处理方法的流程示意图。Figure 3 is a schematic flowchart of another information processing method provided by an embodiment of the present application.

图4为本申请实施例提供的另一种信息处理方法的流程示意图。Figure 4 is a schematic flowchart of another information processing method provided by an embodiment of the present application.

图5为本申请实施例提供的一种通信群组的构成示意图。Figure 5 is a schematic diagram of the composition of a communication group provided by an embodiment of the present application.

图6为本申请实施例提供的一种终端关联关系示意图。Figure 6 is a schematic diagram of a terminal association relationship provided by an embodiment of the present application.

图7为本申请实施例提供的一种历史关系网络示意图。Figure 7 is a schematic diagram of a historical relationship network provided by an embodiment of the present application.

图8为本申请实施例提供的一种更新后关系网络示意图。Figure 8 is a schematic diagram of an updated relationship network provided by an embodiment of the present application.

图9为本申请实施例提供的一种信息处理装置的结构框图。Figure 9 is a structural block diagram of an information processing device provided by an embodiment of the present application.

图10为本申请实施例提供的另一种信息处理装置的结构框图。Figure 10 is a structural block diagram of another information processing device provided by an embodiment of the present application.

图11为本申请实施例提供的计算机设备的结构示意图。Figure 11 is a schematic structural diagram of a computer device provided by an embodiment of the present application.

图12为本申请实施例提供的另一计算机设备的结构示意图。Figure 12 is a schematic structural diagram of another computer device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请的一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts fall within the scope of protection of this application.

基于上述问题,本申请实施例提供第一种信息处理方法、装置、存储介质及计算机设备,可以提高信息处理效率。以下分别进行详细说明。Based on the above problems, embodiments of the present application provide a first information processing method, device, storage medium and computer equipment, which can improve information processing efficiency. Each is explained in detail below.

请参考图1,图1为本申请实施例提供的信息处理方法的应用场景示意图,包括终端和服务器,终端与服务器通过网络连接。其中,网络中包括路由器、网关等网络实体。Please refer to Figure 1. Figure 1 is a schematic diagram of an application scenario of the information processing method provided by the embodiment of the present application, including a terminal and a server. The terminal and the server are connected through a network. Among them, the network includes network entities such as routers and gateways.

其中,终端可以确定与该终端处于同一通信群组的一个或多个候选终端,进一步的检测候选终端的通信信号强度,以获取通信信号强度大于预设通信信号强度时的持续时长,若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与该终端之间的关联关系,之后至少向服务器发送关联信息。The terminal can determine one or more candidate terminals that are in the same communication group as the terminal, and further detect the communication signal strength of the candidate terminal to obtain the duration when the communication signal intensity is greater than the preset communication signal intensity. If the duration is When the preset time period is exceeded, an association relationship is established between the candidate terminal whose communication signal strength is greater than the preset communication signal strength and the terminal, and then at least the association information is sent to the server.

其中,服务器可以接收多个不同终端发送的关联信息,关联信息包括:通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系、以及关联关系的建立时间,之后根据关联关系和建立时间对历史关系网络进行更新,得到更新后关系网络,当检测到目标终端发送的查询请求时,以基于更新后关系网络查找与目标终端关联的关联终端。Among them, the server can receive association information sent by multiple different terminals. The association information includes: the association relationship between the candidate terminal and the terminal whose communication signal strength is greater than the preset communication signal strength, and the establishment time of the association relationship. Then, according to the association relationship and The historical relationship network is updated at the establishment time to obtain the updated relationship network. When the query request sent by the target terminal is detected, the associated terminal associated with the target terminal is found based on the updated relationship network.

上述图1的例子只是实现本发明实施例的一个系统架构实例,本发明实施例不限于上述图1所示的系统结构,基于该系统架构,提出本发明各个实施例。The above-mentioned example in Figure 1 is only an example of a system architecture for implementing the embodiment of the present invention. The embodiment of the present invention is not limited to the system structure shown in the above-mentioned Figure 1. Based on this system architecture, various embodiments of the present invention are proposed.

以下分别进行详细说明。需说明的是,以下实施例的序号不作为对实施例优选顺序的限定。Each is explained in detail below. It should be noted that the serial numbers of the following embodiments are not used to limit the preferred order of the embodiments.

请参考图2,图2为本申请实施例提供的一种信息处理方法的流程示意图。该信息处理方法可以应用于诸如手机、平板电脑、笔记本电脑,掌上电脑等终端。该信息处理方法的具体流程可以如下:Please refer to Figure 2, which is a schematic flow chart of an information processing method provided by an embodiment of the present application. This information processing method can be applied to terminals such as mobile phones, tablet computers, notebook computers, and handheld computers. The specific process of this information processing method can be as follows:

101、确定与终端处于同一通信群组的一个或多个候选终端。101. Determine one or more candidate terminals in the same communication group as the terminal.

在本申请实施例中,通信群组可以由多个终端组成,则同一通信群组可以指的是接入同一无线网络的多个终端,比如,多个终端可以包括终端A、终端B和终端C,终端A接入的无线网络可以为第一无线网络,终端B接入的无线网络可以为第一无线网络,终端C接入的无线网络可以为第一无线网络,则可以确定终端A、终端B和终端C处于同一通信群组。In this embodiment of the present application, the communication group may be composed of multiple terminals, and the same communication group may refer to multiple terminals accessing the same wireless network. For example, the multiple terminals may include terminal A, terminal B and terminal A. C. The wireless network that terminal A accesses can be the first wireless network, the wireless network that terminal B accesses can be the first wireless network, and the wireless network that terminal C accesses can be the first wireless network. Then it can be determined that terminal A, Terminal B and terminal C are in the same communication group.

其中,终端接入的无线网络可以为Wi-Fi Aware(Wireless-Fidelity Aware,无线保真周边感知)网络。Wherein, the wireless network accessed by the terminal may be a Wi-Fi Aware (Wireless-Fidelity Aware, wireless fidelity peripheral awareness) network.

具体的,Wi-Fi Aware,也即周边感知技术,它能发送极小量的数据信息,来帮助多种应用实现服务发现功能。从信息广播,到发现和连接的过程,将比Wi-Fi(Wireless-Fidelity,无线保真)设备嗅探热点的能耗更低,因此它将能够在设备后台连续地运行。而一旦发现相应的服务或应用,与其他设备谐频之后,便可进行Wi-Fi Direct或常规的Wi-Fi连接了。Wi-Fi Aware的适用性很广,可以在拥挤环境下和室内正常运行。移动设备上的应用可以使用Wi-Fi Aware向其他设备提供服务或寻找其他设备上的服务。发现服务后,通常无需使用互联网连接,用户即可“选择”与发现的设备建立连接。Specifically, Wi-Fi Aware, also known as peripheral awareness technology, can send a very small amount of data information to help a variety of applications realize service discovery functions. The process from information broadcast to discovery and connection will consume less energy than Wi-Fi (Wireless-Fidelity, Wireless Fidelity) devices sniffing hotspots, so it will be able to run continuously in the background of the device. Once the corresponding service or application is found and harmonized with other devices, Wi-Fi Direct or regular Wi-Fi connection can be made. Wi-Fi Aware has a wide range of applicability and can operate well in crowded environments and indoors. Apps on mobile devices can use Wi-Fi Aware to provide services to or find services on other devices. Once a service is discovered, users can "opt-in" to connect to discovered devices, usually without an Internet connection.

其中,根据Wi-Fi Aware协议,Wi-Fi Aware网络有3个角色,分别是主设备、非主同步设备和非主非同步设备,Wi-Fi Aware网络的组建过程可分为以下3步:Among them, according to the Wi-Fi Aware protocol, the Wi-Fi Aware network has three roles, namely the master device, the non-master synchronization device and the non-master asynchronous device. The establishment process of the Wi-Fi Aware network can be divided into the following three steps:

(1)组建者为主设备,发送发现信标帧,用来发现周边的智能手机,形成一个Wi-FiAware网络,若干台智能手机随机成为非主同步设备和非主非同步设备的角色;(1) The organizer is the master device and sends discovery beacon frames to discover surrounding smartphones to form a Wi-FiAware network. Several smartphones randomly become non-master synchronous devices and non-master asynchronous devices;

(2)该网络的主设备和非主同步设备发送同步信标帧,用来同步整个网络的时钟,降低群组的功耗;(2) The master device and non-master synchronization device of the network send synchronization beacon frames to synchronize the clock of the entire network and reduce the power consumption of the group;

(3)在该网络里,主设备、非主同步设备和非主非同步设备,可以收发服务发现帧,获取特定信息。(3) In this network, the master device, non-master synchronous device and non-master asynchronous device can send and receive service discovery frames and obtain specific information.

在Wi-Fi Aware网络中,每个设备都有一个接口地址(6字节),用来区分不同的设备。网络中的一个设备既可以向网络中的另外一个设备发送消息,可以向网络中的多个设备发送消息,也可以向网络中的所有设备广播消息。通过互相收发消息以达到同一通信群组之间的终端进行通信。In a Wi-Fi Aware network, each device has an interface address (6 bytes) to distinguish different devices. A device in the network can send a message to another device in the network, send a message to multiple devices in the network, or broadcast a message to all devices in the network. Terminals in the same communication group communicate by sending and receiving messages to each other.

其中,候选终端可以是与终端处于同一通信群组内的其他终端,例如,终端可以获取到该终端所处通信群组内的其他终端可以包括终端A、终端B和终端C,则可以确定终端A、终端B和终端C为与该终端处于同一通信群组的候选终端。The candidate terminal may be other terminals in the same communication group as the terminal. For example, the terminal may obtain that other terminals in the communication group where the terminal is located may include terminal A, terminal B and terminal C, then the terminal may be determined. A. Terminal B and terminal C are candidate terminals in the same communication group as the terminal.

在一些实施例中,在步骤确定与终端处于同一通信群组的一个或多个候选终端之前,可以包括:In some embodiments, before the step of determining one or more candidate terminals in the same communication group as the terminal, the step may include:

开启无线通信功能;Turn on the wireless communication function;

扫描在当前区域接收到的无线网络信号,生成无线网络列表;Scan the wireless network signals received in the current area and generate a wireless network list;

从无线网络列表中选择无线网络进行连接。Select a wireless network from the list of wireless networks to connect to.

其中,无线通信功能可以为Wi-Fi Aware功能,当检测到用户开启Wi-Fi Aware功能之后,终端可以扫描在当前所处区域接收到的无线网络信号。Among them, the wireless communication function can be a Wi-Fi Aware function. After detecting that the user has turned on the Wi-Fi Aware function, the terminal can scan wireless network signals received in the current area.

其中,无线网络信号可以包括无线网络标识,终端在对无线网络信号进行扫描之后,可以获取到无线网络信号对应的无线网络标识,进一步的,根据获取到的无线网络标识可以生成无线网络列表,该无线网络列表可以包括终端可以连接的无线网络。The wireless network signal may include a wireless network identifier. After scanning the wireless network signal, the terminal may obtain the wireless network identifier corresponding to the wireless network signal. Further, a wireless network list may be generated based on the obtained wireless network identifier. The wireless network list may include wireless networks to which the terminal can connect.

在确定无线网络列表之后,终端可以从该无线网络列表中选择无线网络进行连接,比如,终端可以从无线网络列表中选择网络信号强度最高的无线网络进行连接,等等。After determining the wireless network list, the terminal can select a wireless network from the wireless network list to connect. For example, the terminal can select a wireless network with the highest network signal strength from the wireless network list to connect, and so on.

在一些实施例中,若终端在当前区域未检测到无线网络信号,则终端可以组建无线网络,其他终端可以通过开启无线通信功能,连接到终端组建的无线网络,方便终端之间进行通信。In some embodiments, if the terminal does not detect a wireless network signal in the current area, the terminal can establish a wireless network, and other terminals can connect to the wireless network established by the terminal by enabling the wireless communication function to facilitate communication between terminals.

102、检测候选终端的通信信号强度。102. Detect the communication signal strength of the candidate terminal.

其中,通信信号强度可以指的是终端与候选终端之前通过无线网络进行通信时的网络信号强度。在本申请实施例中,通信信号强度可以用数值表示,比如10,20,30等等,其中,通信信号强度对应的数值越大,可以表示通信信号强度越强,也即表示进行通信的终端的距离越近。The communication signal strength may refer to the network signal strength when the terminal and the candidate terminal previously communicated through the wireless network. In the embodiment of the present application, the communication signal strength can be expressed by a numerical value, such as 10, 20, 30, etc. The larger the numerical value corresponding to the communication signal strength, the stronger the communication signal strength, that is, the terminal performing communication. The closer the distance.

在一些实施例中,步骤检测候选终端的通信信号强度秒可以包括:In some embodiments, the step of detecting the communication signal strength of the candidate terminal may include:

向候选终端发送通信信号;Send communication signals to candidate terminals;

当接收到候选终端对通信信号的响应信息时,与该候选终端建立通信连接。When response information from the candidate terminal to the communication signal is received, a communication connection is established with the candidate terminal.

其中,通信信号可以为符合Wi-Fi Aware协议的服务发现帧,该服务发现帧可以用于同一通信群组内的终端相互收发特定的消息。其中,服务发现帧的格式可以包括多种,比如,在本申请实施例中,服务发现帧的格式可以如下表1所示:The communication signal may be a service discovery frame that complies with the Wi-Fi Aware protocol. The service discovery frame may be used by terminals in the same communication group to send and receive specific messages to each other. The format of the service discovery frame may include multiple formats. For example, in the embodiment of this application, the format of the service discovery frame may be as shown in Table 1 below:

表1:服务发现帧的格式Table 1: Format of service discovery frame

其中,Category是指该帧的类型为公共行动帧(Public Action Frame);ActionField是指与指定制造商有关的公共行动帧;OUI是指组织唯一编号(OrganizationallyUnique Identifier);OUI Type是指 OUI的类型;Attributes是指属性,包括服务描述属性和制造商特定属性。在制造商特定属性中,Attribute ID是指制造商特定属性的编号;Length是指OUI和Body的字节长度和;OUI是指制造商的编号; Body是指制造商的特定信息,可以用作本申请实施例规定的信息。Among them, Category refers to the type of the frame (Public Action Frame); ActionField refers to the public action frame related to the specified manufacturer; OUI refers to the Organizationally Unique Identifier (OrganizationallyUnique Identifier); OUI Type refers to the type of OUI ;Attributes refers to attributes, including service description attributes and manufacturer-specific attributes. Among the manufacturer-specific attributes, Attribute ID refers to the number of the manufacturer-specific attribute; Length refers to the byte length sum of OUI and Body; OUI refers to the manufacturer's number; Body refers to the manufacturer-specific information, which can be used as Information specified in the embodiments of this application.

进一步的,可以将上述服务发现帧的格式进行简化,可以得到如下表2所示的简化后的服务发现帧格式:Further, the format of the above service discovery frame can be simplified, and the simplified service discovery frame format shown in Table 2 below can be obtained:

表2:简化后的服务发现帧格式Table 2: Simplified service discovery frame format

其中,不同的消息ID可以用于执行不同功能,例如,消息ID可以为:0x01(该数值可以表示十六进制数1),当消息ID为0x01时,对应的执行功能可以为终端向候选终端发送通信信号。Among them, different message IDs can be used to perform different functions. For example, the message ID can be: 0x01 (this value can represent the hexadecimal number 1). When the message ID is 0x01, the corresponding execution function can be a candidate for the terminal. The terminal sends communication signals.

在向候选终端发送通信信号之后,若候选终端对该通信信号作出响应,则可以建立与候选终端的网络通信连接。比如,终端可以在所处通信群组内发送通信信号,与该终端处于同一通信群组的候选终端可以接收到该通信信号,当候选终端针对该通信信号作出响应之后,则表示建立与终端的通信连接,进一步的,终端可以获取与该终端建立通信连接的候选终端的通信信号强度。After sending a communication signal to the candidate terminal, if the candidate terminal responds to the communication signal, a network communication connection with the candidate terminal may be established. For example, the terminal can send a communication signal in the communication group where it is located, and the candidate terminal in the same communication group as the terminal can receive the communication signal. When the candidate terminal responds to the communication signal, it means that the communication signal with the terminal is established. Communication connection, further, the terminal can obtain the communication signal strength of the candidate terminal that establishes a communication connection with the terminal.

例如,终端在发送通信信号之后,接收到同一通信群组的终端A、终端B和终端C的响应信息,则可以分别建立与终端A、终端B和终端C的通信连接,进一步的,获取终端A、终端B和终端C的通信信号强度可以包括:终端A的通信信号强度为10,终端B的通信信号强度为10,终端C的通信信号强度为30。For example, after the terminal sends a communication signal and receives response information from terminal A, terminal B and terminal C in the same communication group, it can establish communication connections with terminal A, terminal B and terminal C respectively, and further obtain the terminal A. The communication signal strengths of terminal B and terminal C may include: the communication signal strength of terminal A is 10, the communication signal strength of terminal B is 10, and the communication signal strength of terminal C is 30.

103、获取通信信号强度大于预设通信信号强度时的持续时长。103. Obtain the duration when the communication signal strength is greater than the preset communication signal strength.

其中,预设通信信号可以预先设定,比如,可以首先设定互相通信的两个终端相距预设距离时的通信信号强度,根据距离来确定预设通信信号强度,那么可以确定与该终端处于预设距离范围内的候选终端。Among them, the preset communication signal can be set in advance. For example, the communication signal strength when two terminals communicating with each other are separated by a preset distance can be first set, and the preset communication signal strength is determined based on the distance. Then it can be determined that the terminal is in the same position. Candidate terminals within a preset distance range.

在获取到候选终端的通信信号强度之后,可以将每个候选终端的通信信号强度与预设通信信号强度进行比较,得到比较结果。进一步的,终端可以根据该比较结果得到通信信号强度大于预设通信信号强度的候选终端。After obtaining the communication signal strength of the candidate terminals, the communication signal strength of each candidate terminal can be compared with the preset communication signal strength to obtain a comparison result. Further, the terminal can obtain candidate terminals whose communication signal strength is greater than the preset communication signal strength based on the comparison result.

例如,候选终端可以包括终端A、终端B和终端C,检测到终端 A的通信信号强度为10,终端B的通信信号强度为10,终端C的通信信号强度为30,预设通信信号强度可以为20,将每一候选终端的通信信号强度与预设通信信号强度进行比较,可以得到通信信号强度大于预设通信信号强度的候选终端为终端C。For example, candidate terminals may include terminal A, terminal B, and terminal C. It is detected that the communication signal strength of terminal A is 10, the communication signal strength of terminal B is 10, and the communication signal strength of terminal C is 30. The preset communication signal strength may be is 20. Compare the communication signal strength of each candidate terminal with the preset communication signal strength. It can be obtained that the candidate terminal whose communication signal strength is greater than the preset communication signal strength is terminal C.

其中,持续时长可以表示候选终端在与终端通信时的通信信号强度大于预设通信信号强度持续的时间长度,比如,时间长度可以为1 分钟,2分钟等等。The duration may represent the length of time during which the communication signal strength of the candidate terminal is greater than the preset communication signal strength when communicating with the terminal. For example, the time length may be 1 minute, 2 minutes, etc.

例如,通过上述步骤可以得到通信信号强度大于预设通信信号强度的候选终端未终端C,则可以检测终端C的通信信号强度大于预设通信信号强度持续的时间长度可以为15分钟。For example, through the above steps, it can be obtained that the candidate terminal whose communication signal strength is greater than the preset communication signal strength is terminal C. Then it can be detected that the communication signal strength of terminal C is greater than the preset communication signal strength for a duration of 15 minutes.

104、若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系。104. If the duration exceeds the preset duration, establish an association between the candidate terminal and the terminal whose communication signal strength is greater than the preset communication signal strength.

其中,预设时长可以表示终端与通信信号强度大于预设通信信号强度的候选终端的接触时长。The preset duration may represent the duration of contact between the terminal and the candidate terminal whose communication signal strength is greater than the preset communication signal strength.

在获取到候选终端通信信号强度大于预设通信信号强度的持续时长之后,可以将该持续时长与预设时长进行比较。当该持续时长超过预设时长时,可以建立该候选终端与终端之间的关联关系,其中,该候选终端可以为通信信号强度大于预设通信信号强度的终端。After obtaining the duration in which the communication signal strength of the candidate terminal is greater than the preset communication signal strength, the duration may be compared with the preset duration. When the duration exceeds the preset duration, an association relationship between the candidate terminal and the terminal may be established, where the candidate terminal may be a terminal whose communication signal strength is greater than the preset communication signal strength.

例如,终端C的通信信号强度大于预设通信信号强度,获取到终端C的通信信号强度大于预设通信信号强度的持续时长可以为15 分钟,预设时长可以为10的分钟,则可以确定终端C的通信信号强度大于预设通信信号强度的持续时长超过预设时长,则可以建立终端 C与该终端之间的关联关系。For example, if the communication signal strength of terminal C is greater than the preset communication signal strength, and the duration for which the communication signal strength of terminal C is greater than the preset communication signal strength is obtained, the duration can be 15 minutes, and the preset duration can be 10 minutes, then the terminal can be determined If the communication signal strength of C is greater than the preset communication signal strength for longer than the preset time, an association relationship between terminal C and the terminal can be established.

其中,关联关系可以表示将终端与候选终端进行关联,也即终端可以为候选终端的关联终端,候选终端可以为终端的关联终端。The association relationship may represent associating the terminal with the candidate terminal, that is, the terminal may be an associated terminal of the candidate terminal, and the candidate terminal may be an associated terminal of the terminal.

105、至少向服务器发送关联信息。105. At least send related information to the server.

其中,关联信息可以包括关联关系和该关联关系的建立时间,其中,该关联关系的建立时间可以在该关联关系建立时进行获取并保存。The association information may include an association relationship and an establishment time of the association relationship, where the establishment time of the association relationship may be obtained and saved when the association relationship is established.

例如,当终端与终端C建立关联关系时,终端可以获取该关联关系建立的时间可以为2020年9月4日8时30分,则可以确定该关联信息包括:与终端关联的关联终端为终端C,终端与终端C建立关联关系的时间为2020年9月4日8时30分。For example, when the terminal establishes an association relationship with terminal C, the terminal can obtain that the time when the association relationship was established can be 8:30 on September 4, 2020, and then it can be determined that the association information includes: the associated terminal associated with the terminal is the terminal C. The time when terminal and terminal C established an association is 8:30 on September 4, 2020.

在一些实施例中,步骤向服务器发送关联信息,可以包括:In some embodiments, the step of sending association information to the server may include:

周期性向服务器发送关联信息。Periodically sends correlation information to the server.

其中,周期长度可以根据实际情况进行设定,比如,在本申请实施例中,为了节省终端功耗,可以将周期长度设定为1天,则终端可以每天向服务器发送关联信息。The cycle length can be set according to the actual situation. For example, in the embodiment of the present application, in order to save terminal power consumption, the cycle length can be set to 1 day, and the terminal can send associated information to the server every day.

在一些实施例中,在步骤向服务器发送关联信息之前,还可以包括:In some embodiments, before sending the association information to the server, it may also include:

获取终端在预设周期内的位置信息;Obtain the location information of the terminal within the preset period;

步骤至少向服务器发送关联信息,可以包括:The steps at least send correlation information to the server, which may include:

向服务器发送关联信息和位置信息。Send association information and location information to the server.

其中,位置信息可以包括终端所处的位置点信息,则预设周期内的位置信息可以包括终端在预设周期内所处的位置点信息集合。比如,在预设周期内,获取到终端所处的位置点可以包括:位置A、位置B和位置C,则该位置信息可以包括位置A、位置B和位置C。The location information may include location point information where the terminal is located, and the location information within the preset period may include a set of location point information where the terminal is located within the preset period. For example, within a preset period, the acquired location points of the terminal may include: location A, location B, and location C, then the location information may include location A, location B, and location C.

其中,预设周期可以根据实际情况进行设定,比如,预设周期可以与向服务器发送关联信息的周期长度相同,以使终端在向服务器发送关联信息的同时向服务器发送位置信息。以方便服务器对该终端的关联信息和位置信息同时进行保存,可以提高信息处理效率。The preset period can be set according to the actual situation. For example, the preset period can be the same length as the period for sending the associated information to the server, so that the terminal sends the location information to the server while sending the associated information to the server. This facilitates the server to simultaneously save the associated information and location information of the terminal, which can improve information processing efficiency.

本申请实施例公开了一种信息处理方法,该信息处理方法包括:确定与终端处于同一通信群组的一个或多个候选终端;检测候选终端的通信信号强度;获取通信信号强度大于预设通信信号强度时的持续时长;若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系;至少向服务器发送关联信息。本申请实施例通过检测同一局域网中各终端的通信信号强度,以通信信号强度的持续时长侧面反映出各终端之间是否近距离持续接触,并将相关信息上报给服务器构建对应的关系网络,使得在需要查找近距离持续接触的终端用户时,可基于该关系网络快速锁定目标,有效提高信息处理效率。Embodiments of the present application disclose an information processing method. The information processing method includes: determining one or more candidate terminals in the same communication group as the terminal; detecting the communication signal strength of the candidate terminals; obtaining that the communication signal strength is greater than the preset communication The duration when the signal strength is strong; if the duration exceeds the preset duration, establish an association between the candidate terminal and the terminal whose communication signal strength is greater than the preset communication signal strength; at least send association information to the server. The embodiment of this application detects the communication signal strength of each terminal in the same local area network, uses the duration of the communication signal strength to reflect whether the terminals are in close and continuous contact, and reports the relevant information to the server to build a corresponding relationship network, so that When it is necessary to find end users who are in close and continuous contact, the target can be quickly locked based on this relationship network, effectively improving information processing efficiency.

参考图3,图3为本申请实施例提供的另一种信息处理方法的流程示意图。在本申请实施例中,该信息处理方法可以应用于服务器,该信息处理方法的具体场景应用可以如下:Referring to Figure 3, Figure 3 is a schematic flow chart of another information processing method provided by an embodiment of the present application. In the embodiment of this application, the information processing method can be applied to the server. The specific application scenarios of the information processing method can be as follows:

201、接收多个不同终端发送的关联信息,关联信息包括:通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系、以及关联关系的建立时间。201. Receive association information sent by multiple different terminals. The association information includes: association relationships between candidate terminals whose communication signal strength is greater than the preset communication signal strength and terminals, and the establishment time of the association relationship.

其中,每个终端包括一个关联信息,该关联信息中,包括了该终端的关联关系以及关联关系的建立时间。每一关联关系对应不同的建立时间。Each terminal includes an association information, and the association information includes the association relationship of the terminal and the establishment time of the association relationship. Each association corresponds to a different establishment time.

其中,关联关系可以为一个或者多个,比如,该终端的关联关系可以为1个,则可以根据该关联关系确定与该终端关联的终端可以为 1个,又比如,该终端的关联关系可以为2个,则可以根据该2个关联关系确定与该终端关联的终端可以为2个。Among them, the association relationship may be one or more. For example, the association relationship of the terminal may be 1. Then it can be determined that the terminal associated with the terminal may be 1 according to the association relationship. For example, the association relationship of the terminal may be is 2, then it can be determined that there are 2 terminals associated with the terminal based on the two association relationships.

例如,多个不同终端可以包括终端I和终端K等,则可以接收到终端I的关联信息,以及终端K的关联信息。其中,终端I的关联信息可以包括:终端I建立关联关系的终端为终端A,且建立时间可以为2020年9月4日10时30分;终端K的关联信息可以包括:终端 K建立关联关系的终端为终端L,且建立时间可以为2020年9月4 日12时30分。For example, multiple different terminals may include terminal I, terminal K, etc., then the association information of terminal I and the association information of terminal K may be received. Among them, the association information of terminal I may include: the terminal with which terminal I establishes the association relationship is terminal A, and the establishment time may be 10:30 on September 4, 2020; the association information of terminal K may include: terminal K establishes the association relationship The terminal is terminal L, and the establishment time can be 12:30 on September 4, 2020.

202、根据关联关系和建立时间对历史关系网络进行更新,得到更新后关系网络。202. Update the historical relationship network according to the association relationship and establishment time to obtain the updated relationship network.

在获取到多个不同终端的关联关系和关联关系对应的建立时间之后,可以将该多个不同终端的关联关系可以关联关系对应的建立时间添加至历史关系网络中。After obtaining the association relationships of multiple different terminals and the establishment times corresponding to the association relationships, the association relationships of the multiple different terminals or the establishment times corresponding to the association relationships can be added to the historical relationship network.

其中,历史关系网络可以包括在历史时间段内建立过历史关联关系的多个终端、终端之间的历史关联关系及所述历史关联关系的历史建立时间。比如,历史关系网络中可以包括:终端A、终端B、终端 C、终端D和终端E等,其中,终端A和终端B存在历史关联关系,且终端A和终端B的历史关联关系的历史建立时间可以为2020年9 月1日8时30分;终端A和终端E存在历史关联关系,且终端A和终端E的历史关联关系的历史建立时间可以为2020年9月2日8时 30分;终端C和终端D存在历史关联关系,且终端C和终端D的历史关联关系的历史建立时间可以为2020年9月3日8时30分。The historical relationship network may include multiple terminals that have established historical relationships within a historical time period, historical relationships between terminals, and the historical establishment time of the historical relationship. For example, the historical relationship network may include: terminal A, terminal B, terminal C, terminal D, and terminal E, etc., where there is a historical relationship between terminal A and terminal B, and the history of the historical relationship between terminal A and terminal B is established. The time can be 8:30 on September 1, 2020; there is a historical association between terminal A and terminal E, and the historical establishment time of the historical association between terminal A and terminal E can be 8:30 on September 2, 2020 ; There is a historical association between terminal C and terminal D, and the historical establishment time of the historical association between terminal C and terminal D can be 8:30 on September 3, 2020.

例如,接收到关联关系和建立时间可以包括:与终端I建立关联关系的终端为终端A,且建立时间可以为2020年9月4日10时30 分;终端K的关联信息可以包括:终端K建立关联关系的终端为终端L,且建立时间可以为2020年9月4日12时30分。历史关系网络可以为终端A和终端B存在历史关联关系,且终端A和终端B的历史关联关系的历史建立时间可以为2020年9月1日8时30分;终端A和终端E存在历史关联关系,且终端A和终端E的历史关联关系的历史建立时间可以为2020年9月2日8时30分;终端C和终端D存在历史关联关系,且终端C和终端D的历史关联关系的历史建立时间可以为2020年9月3日8时30分,则服务器可以根据接收到的关联关系和建立时间对历史关系网络进行更新,可以得到更新后关系网络可以包括:终端A建立关联关系的终端分别为终端B、终端 E和终端I,建立时间分别为2020年9月1日8时30分、2020年9 月2日8时30分和2020年9月4日10时30分;终端C和终端D 存在关联关系,且终端C和终端D的关联关系建立时间可以为2020 年9月3日8时30分。For example, receiving the association relationship and establishment time may include: the terminal that establishes the association relationship with terminal I is terminal A, and the establishment time may be 10:30 on September 4, 2020; the association information of terminal K may include: terminal K The terminal that establishes the association relationship is terminal L, and the establishment time can be 12:30 on September 4, 2020. The historical relationship network can have a historical relationship between terminal A and terminal B, and the historical establishment time of the historical relationship between terminal A and terminal B can be 8:30 on September 1, 2020; there is a historical relationship between terminal A and terminal E. relationship, and the historical establishment time of the historical association between terminal A and terminal E can be 8:30 on September 2, 2020; there is a historical association between terminal C and terminal D, and the historical association between terminal C and terminal D The historical establishment time can be 8:30 on September 3, 2020. The server can update the historical relationship network based on the received association relationship and establishment time. The updated relationship network can include: Terminal A establishes the association relationship. The terminals are Terminal B, Terminal E and Terminal I. The establishment times are respectively 8:30 on September 1, 2020, 8:30 on September 2, 2020 and 10:30 on September 4, 2020; the terminals There is an association between C and terminal D, and the establishment time of the association between terminal C and terminal D can be 8:30 on September 3, 2020.

203、当检测到目标终端发送的包含指定内容的信息时,基于更新后关系网络查找与目标终端关联的关联终端。203. When detecting information containing specified content sent by the target terminal, search for associated terminals associated with the target terminal based on the updated relationship network.

其中,目标终端可以为更新后关系网络中包括的终端,或者可以为更新后关系网络中不包括的终端。其中,当目标终端为更新后关系网络中包括的终端时。其中,指定内容可根据实际需求来设定,比如,以疫情为例,指定内容可以是病情确诊内容,如:用户A已检测出为感染者等。The target terminal may be a terminal included in the updated relationship network, or may be a terminal not included in the updated relationship network. Wherein, when the target terminal is a terminal included in the updated relationship network. Among them, the specified content can be set according to actual needs. For example, taking the epidemic as an example, the specified content can be the content of disease diagnosis, such as: User A has been detected as an infected person, etc.

在一些实施例中,当该目标终端不为更新后关系网络中包括的终端时,在步骤根据所述关联关系和所述建立时间对历史关系网络进行更新之前,还可以包括:In some embodiments, when the target terminal is not a terminal included in the updated relationship network, before the step of updating the historical relationship network according to the association relationship and the establishment time, it may also include:

接收多个不同终端发送的位置信息。Receive location information sent by multiple different terminals.

在更新后关系网络中未查找到该目标终端的情况下,当服务器接收到该目标网络发送的包含指定内容的信息时,可以获取该目标终端的位置信息。其中,该位置信息可以为目标终端在预设时间段内所处的不同位置点。If the target terminal is not found in the updated relationship network, when the server receives the information containing the specified content sent by the target network, the location information of the target terminal can be obtained. The location information may be different location points where the target terminal is located within a preset time period.

在一些实施例中,步骤根据关联关系和建立时间对历史关系网络进行更新,包括:In some embodiments, the step of updating the historical relationship network according to the association relationship and establishment time includes:

根据关联关系、建立时间和位置信息对历史关系网络进行更新;Update the historical relationship network based on association relationships, establishment time and location information;

当检测到目标终端发送的包含指定内容的信息时,根据目标终端的位置信息查找与目标终端关联的关联终端。When the information containing the specified content sent by the target terminal is detected, the associated terminal associated with the target terminal is searched for based on the location information of the target terminal.

在服务器获取到终端的位置信息之后,位置信息可以包括该目标终端在预设时间段内所处的不同位置点,则服务器可以根据该目标终端在预设时间段内所处的不同位置点生成该目标终端在该预设时间段内的轨迹信息,可以将轨迹信息添加至历史关系网络,以使服务器查询出与该目标终端在相同时间处于同一位置点的其他终端。通过该方式可以在终端无法进行无线网络通信时,可以根据终端的位置信息来查找与该终端关联的终端。After the server obtains the location information of the terminal, the location information may include different location points where the target terminal is located within the preset time period, and the server can generate a generated message based on the different location points where the target terminal is located during the preset time period. The trajectory information of the target terminal within the preset time period can be added to the historical relationship network, so that the server can query other terminals that are at the same location at the same time as the target terminal. In this way, when the terminal cannot communicate with the wireless network, the terminal associated with the terminal can be found based on the location information of the terminal.

在一些实施例中,步骤当检测到目标终端发送的包含指定内容的信息时,基于更新后关系网络查找与目标终端关联的关联终端,可以包括:In some embodiments, when detecting information containing specified content sent by the target terminal, the step of searching for associated terminals associated with the target terminal based on the updated relationship network may include:

从包含指定内容的信息中提取满足预设条件的目标时间;Extract target times that meet preset conditions from information containing specified content;

基于所述目标时间与指定时长得到第一时间范围;Obtain a first time range based on the target time and the specified duration;

从所述更新后关系网络中,确定在所述第一时间范围内与所述目标终端关联的关联终端。From the updated relationship network, associated terminals associated with the target terminal within the first time range are determined.

其中,目标时间可以为与该指定内容关联的时间点,比如,当前时刻可以为2020年9月4日8时17分,若服务器在当前时刻接收到目标终端发送的包含指定内容的信息,则可以确定目标时间为2020 年9月4日8时17分。The target time can be a time point associated with the specified content. For example, the current time can be 8:17 on September 4, 2020. If the server receives information containing the specified content sent by the target terminal at the current time, then The target time can be determined as 8:17 on September 4, 2020.

其中,指定时长可以为预先设定的时间长度,比如,指定时长可以为14天等。The specified time period may be a preset time length, for example, the specified time period may be 14 days, etc.

在确定目标时间和指定时长之后,可以根据该目标时间与该指定时长确定第一时间范围。After the target time and the specified duration are determined, the first time range may be determined based on the target time and the specified duration.

例如,该目标时间可以为2020年9月4日8时17分,指定时长可以为14天,可以确定第一时间范围为与该目标时间相差14天的时间范围:2020年8月21日8时17分至2020年9月4日8时17分。For example, the target time can be 8:17 on September 4, 2020, and the specified time period can be 14 days. The first time range can be determined to be a time range that is 14 days different from the target time: August 21, 2020 8 17:00 to 08:17 on September 4, 2020.

当确定第一时间范围之后,服务器可以从更新后关系网络中查找在该第一时间范围内与该目标终端存在关联关系的关联终端。After determining the first time range, the server may search for associated terminals that are associated with the target terminal within the first time range from the updated relationship network.

例如,第一时间范围可以为:2020年8月21日8时17分至2020 年9月4日8时17分,目标终端可以为终端A,更新后关系网络中,与终端A存在关联关系的终端可以包括终端B、终端E和终端I,其中终端A与终端B关联关系的建立时间可以为2020年9月1日8时 30分、终端A与终端E关联关系的建立时间可以为2020年9月2 日8时30分,终端A与终端I关联关系的建立时间可以为2020年9 月4日10时30分,则可以从更新后关系网络中查找出在第一时间范围内与终端A存在关联关系的关联终端可以包括:终端B、终端E 和终端I。For example, the first time range can be: 8:17 on August 21, 2020 to 8:17 on September 4, 2020. The target terminal can be terminal A. After the update, there is an association relationship with terminal A in the relationship network. The terminals may include terminal B, terminal E and terminal I, where the establishment time of the association between terminal A and terminal B may be 8:30 on September 1, 2020, and the establishment time of the association between terminal A and terminal E may be 2020 At 8:30 on September 2, 2020, the establishment time of the association between terminal A and terminal I can be at 10:30 on September 4, 2020. Then, the relationship between terminal A and terminal I within the first time range can be found from the updated relationship network. The associated terminals associated with terminal A may include: terminal B, terminal E, and terminal I.

在一些实施例中,在步骤根据关联关系和建立时间对历史关系网络进行更新,得到更新后关系网络之后,还可以包括:In some embodiments, after the step of updating the historical relationship network according to the association relationship and the establishment time to obtain the updated relationship network, it may also include:

当检测到距离当前时间点超过指定时长的目标建立时间时,解除与所述目标建立时间对应的终端之间的关联关系。When a target establishment time exceeding a specified time length from the current time point is detected, the association between the terminals corresponding to the target establishment time is released.

其中,目标建立时间可以是与当前时间点相差超过指定时长的时间,比如,当前时间可以为2020年9月14日8时17分时。Among them, the target establishment time can be a time difference from the current time point by more than a specified length of time. For example, the current time can be 8:17 on September 14, 2020.

其中,指定时长可以为预先设定的时间长度,比如,指定时长可以为14天等。The specified time period may be a preset time length, for example, the specified time period may be 14 days, etc.

在确定当前时间和指定时长之后,可以根据该当前时间与该指定时长确定第二时间范围。After determining the current time and the specified duration, a second time range may be determined based on the current time and the specified duration.

例如,该当前时间可以为2020年9月14日8时17分,指定时长可以为14天,可以确定第二时间范围为与该当前时间相差14天的时间范围:2020年9月1日8时17分至2020年9月14日8时17 分。For example, the current time can be 8:17 on September 14, 2020, and the specified time period can be 14 days. The second time range can be determined to be a time range that is 14 days different from the current time: September 1, 2020 8 17:00 to 08:17 on September 14, 2020.

当确定第二时间范围之后,服务器可以从更新后关系网络中查找在该第二时间范围之外与该目标终端存在关联关系的关联终端,解除目标终端与该关联终端的关联关系。After determining the second time range, the server may search from the updated relationship network for associated terminals that are associated with the target terminal outside the second time range, and cancel the association between the target terminal and the associated terminal.

例如,第二时间范围可以为:2020年9月1日8时17分至2020 年9月14日8时17分,目标终端可以为终端A,更新后关系网络中,与终端A存在关联关系的终端可以包括终端B、终端E和终端I,其中终端A与终端B关联关系的建立时间可以为2020年8月30日8 时30分、终端A与终端E关联关系的建立时间可以为2020年9月2 日8时30分,终端A与终端I关联关系的建立时间可以为2020年9 月4日10时30分,则可以从更新后关系网络中查找出在第二时间范围之外与终端A存在关联关系的关联终端可以包括:终端B,则可以从更新后关系网络中解除终端与终端B的关联关系。For example, the second time range can be: 8:17 on September 1, 2020 to 8:17 on September 14, 2020. The target terminal can be terminal A. After the update, there is an association relationship with terminal A in the relationship network. The terminals may include terminal B, terminal E and terminal I. The establishment time of the association between terminal A and terminal B may be 8:30 on August 30, 2020, and the establishment time of the association between terminal A and terminal E may be 2020 At 8:30 on September 2, 2020, the establishment time of the association between terminal A and terminal I can be 10:30 on September 4, 2020. Then it can be found from the updated relationship network that the relationship is outside the second time range. The associated terminals that are associated with terminal A may include terminal B, and then the association between the terminal and terminal B may be released from the updated relationship network.

通过上述方式周期性检测与目标终端建立关联关系的建立时间超过设定时间范围时,从更新后关系网络中解除目标终端与关联终端的关联关系,可以清除该更新后关系网络中的失效信息,减少数据占用空间,可以提高信息查询效率。By periodically detecting through the above method that the establishment time of the association relationship with the target terminal exceeds the set time range, the association relationship between the target terminal and the associated terminal is removed from the updated relationship network, and the invalidation information in the updated relationship network can be cleared. Reducing the space occupied by data can improve the efficiency of information query.

在一些实施例中,当服务器从更新后关系网络中查找到与目标终端关联的关联终端之后,还可以包括:In some embodiments, after the server finds the associated terminal associated with the target terminal from the updated relationship network, it may also include:

向关联终端发送提示信息。Send prompt information to the associated terminal.

其中,服务器可以获取该关联终端的终端信息,终端信息可以包括多种,比如,终端信息可以包括终端联系方式、终端所属用户等等。The server can obtain the terminal information of the associated terminal, and the terminal information can include multiple types. For example, the terminal information can include terminal contact information, the user to which the terminal belongs, and so on.

其中,提示信息可以包括多种,例如,在疫情防控期间,当目标终端所属的用户确诊后,需要查找出与目标终端所属用户的密切接触者,可以通过上述步骤中的方式进行查找,当服务器从更新后关系网络中查询出与目标终端关联的关联终端后,则可以确定关联终端的所属用户可以为目标终端所属用户的密切接触者,此时,服务器可以获取关联终端的终端联系方式,向关联终端的终端所属用户发送提示信息,其中,提示信息内容可以为“已查询到您为确诊患者的密切接触者,请及时就医进行检查”等等,可以提醒关联终端用户尽早获取相关信息,避免疫情大幅度扩散。Among them, the prompt information may include multiple types. For example, during the epidemic prevention and control period, when the user of the target terminal is diagnosed, it is necessary to find out the close contacts of the user of the target terminal. The search can be carried out through the above steps. When After the server queries the associated terminal associated with the target terminal from the updated relationship network, it can determine that the user of the associated terminal can be a close contact of the user of the target terminal. At this time, the server can obtain the terminal contact information of the associated terminal, Send a prompt message to the user of the associated terminal. The content of the prompt message can be "It has been found that you are a close contact of the confirmed patient. Please seek medical treatment in time for examination", etc., which can remind the associated terminal user to obtain relevant information as soon as possible. To prevent the epidemic from spreading significantly.

本申请实施例公开了一种信息处理方法,该信息处理方法包括:接收多个不同终端发送的关联信息,关联信息包括:通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系、以及关联关系的建立时间;根据关联关系和建立时间对历史关系网络进行更新,得到更新后关系网络,其中,历史关系网络包括:在预设历史时间段内建立关联关系的多个终端;当检测到目标终端发送的查询请求时,基于更新后关系网络查找与目标终端关联的关联终端。本申请实施例通过根据接收到的多个不同终端发送的关联信息,对历史关系网络进行更新,得到准确的关系网络,以便于在接收到目标终端的查询请求时,可以快速准确查询出与目标终端关联的关联终端,从而可以提高信息查询的效率。Embodiments of the present application disclose an information processing method. The information processing method includes: receiving association information sent by multiple different terminals. The association information includes: association between candidate terminals whose communication signal strength is greater than the preset communication signal strength and terminals. relationship, and the establishment time of the association relationship; the historical relationship network is updated according to the association relationship and the establishment time to obtain an updated relationship network, where the historical relationship network includes: multiple terminals that established association relationships within the preset historical time period; When the query request sent by the target terminal is detected, the associated terminal associated with the target terminal is searched based on the updated relationship network. The embodiments of the present application update the historical relationship network based on the received association information sent by multiple different terminals to obtain an accurate relationship network, so that when receiving a query request from the target terminal, the information related to the target terminal can be quickly and accurately queried. The terminal is associated with the associated terminal, thereby improving the efficiency of information query.

如图4所示,图4为本申请实施例提供的另一种信息处理方法的流程示意图。以服务器和终端之间的交互为例,提供了一种信息处理方法,具体流程如下:As shown in Figure 4, Figure 4 is a schematic flow chart of another information processing method provided by an embodiment of the present application. Taking the interaction between the server and the terminal as an example, an information processing method is provided. The specific process is as follows:

301、终端开启无线网络功能,接入无线通信网络。301. The terminal turns on the wireless network function and accesses the wireless communication network.

其中,无线网络可以包括但不限于WiFi Aware网络,该终端可以支持WiFi Aware功能。Among them, the wireless network may include but is not limited to a WiFi Aware network, and the terminal may support the WiFi Aware function.

当检测到用户开启无线网络功能时,终端可以获取当前区域可连接的无线网络,可以从可连接的无线网络中选择网络信号强度较高的无线网络进行连接。其中,网络信号强度较高可以表示终端与该网络信号对应的无线网络所覆盖的区域最接近。When detecting that the user has turned on the wireless network function, the terminal can obtain the connectable wireless networks in the current area, and can select a wireless network with higher network signal strength from the connectable wireless networks to connect. Among them, a higher network signal strength may indicate that the terminal is closest to the area covered by the wireless network corresponding to the network signal.

例如,终端开启无线网络功能,检测到可连接的无线网络可以包括:无线网络A、无线网络B和无线网络C,其中无线网络A的信号强度高于无线网络B的信号强度,无线网络B的信号强度高于无线网络C的信号强度,则终端可以选择无线网络A进行连接。For example, the terminal turns on the wireless network function and detects that the connectable wireless networks may include: wireless network A, wireless network B, and wireless network C. The signal strength of wireless network A is higher than the signal strength of wireless network B. The signal strength of wireless network B is If the signal strength is higher than that of wireless network C, the terminal can select wireless network A to connect.

例如,请参考图5,图5为本申请实施例提供的一种通信群组的构成示意图。图5中,终端、终端A、终端B、终端C和终端D接入无线网络A,则终端、终端A、终端B、终端C和终端D可以组成通信群组。For example, please refer to FIG. 5 , which is a schematic diagram of a communication group provided by an embodiment of the present application. In Figure 5, the terminal, terminal A, terminal B, terminal C and terminal D access wireless network A, then the terminal, terminal A, terminal B, terminal C and terminal D can form a communication group.

302、终端基于无线通信网络确定同一通信群组的候选终端。302. The terminal determines candidate terminals in the same communication group based on the wireless communication network.

当终端接入无线网络后,可以获取该无线网络对应的通信群组内的其他终端。After the terminal accesses the wireless network, it can obtain other terminals in the communication group corresponding to the wireless network.

进一步的,终端可以向该通信群组内的其他终端发送通信信号,当接收到其他终端针对该通信信号的响应后,则可以与该其他终端建立通信连接,可以将该其他终端作为候选终端。Further, the terminal can send communication signals to other terminals in the communication group. After receiving responses from other terminals to the communication signals, the terminal can establish communication connections with the other terminals and use the other terminals as candidate terminals.

例如,通信群组内的其他终端可以包括:终端A、终端B和终端 C,终端可以在该通信群组内发出通信信号,该通信群组内的其他终端可以接收到该通信信号,若终端检测到终端A针对该通信信号的现有,则可以建立与该终端A的通信连接,可以确定该终端A为候选终端。For example, other terminals in the communication group may include: terminal A, terminal B and terminal C. The terminal can send a communication signal in the communication group, and other terminals in the communication group can receive the communication signal. If the terminal If it is detected that terminal A has access to the communication signal, a communication connection with the terminal A can be established, and the terminal A can be determined to be a candidate terminal.

303、终端获取候选终端的通信信号强度,并从通信群组中确定通信信号强度大于预设通信信号强度的目标终端。303. The terminal obtains the communication signal strength of the candidate terminal, and determines the target terminal whose communication signal strength is greater than the preset communication signal strength from the communication group.

在终端建立与候选终端的通信连接之后,可以获取候选终端的通信信号强度。其中,可以根据检测到的候选终端的通行信号强度判断终端与候选终端的距离。比如,当终端检测到候选终端的通信信号强度越大,可以表示终端与候选终端的距离越近。After the terminal establishes a communication connection with the candidate terminal, the communication signal strength of the candidate terminal may be obtained. Wherein, the distance between the terminal and the candidate terminal can be determined based on the detected traffic signal strength of the candidate terminal. For example, when the terminal detects that the communication signal strength of the candidate terminal is greater, it may indicate that the distance between the terminal and the candidate terminal is closer.

当获取到候选终端的通信信号强度之后,可以将候选终端的通信信号强度与预设通信信号强度进行比较,根据比较结果可以确定出目标终端。After the communication signal strength of the candidate terminal is obtained, the communication signal strength of the candidate terminal can be compared with the preset communication signal strength, and the target terminal can be determined based on the comparison result.

例如,候选终端可以包括终端A和终端B,终端检测到终端A 的通行信号强度可以为10,终端检测到终端B的通信信号强度可以为30,预设通信信号强度可以为20,将候选终端的通信信号强度与预设通信信号强度进行比较,可以确定终端A的通信信号强度小于预设通信信号强度,终端B的通信信号强度大于预设终端的通信信号枪强度,则可以确定通信信号强度大于预设通信信号强度的终端B 为目标终端,也即通信群组中与终端距离最近的终端可以为终端B。For example, candidate terminals may include terminal A and terminal B. The communication signal strength detected by the terminal A may be 10, the communication signal strength detected by the terminal B may be 30, and the preset communication signal strength may be 20. The candidate terminal Comparing the communication signal strength with the preset communication signal strength, it can be determined that the communication signal strength of terminal A is less than the preset communication signal strength, and the communication signal strength of terminal B is greater than the communication signal gun strength of the preset terminal, then the communication signal strength can be determined Terminal B whose communication signal strength is greater than the preset communication signal strength is the target terminal, that is, the terminal closest to the terminal in the communication group can be terminal B.

在一些实施例中,当确定通信信号强度大于预设通信信号强度的候选终端之后,可以检测该候选终端通信信号强度大于预设通信信号强度持续的时长,该持续的时长可以表示终端与该关联终端近距离的接触时长,当该持续的时长大于预设时长时,则可以确定该候选终端为目标终端,通过通信信号强度与通信信号强度大于预设通信信号强度的持续时长,从候选终端中确定与终端密切接触的目标终端,可以提高信息检测的准确性。In some embodiments, after determining a candidate terminal whose communication signal strength is greater than the preset communication signal strength, the duration for which the communication signal strength of the candidate terminal is greater than the preset communication signal strength may be detected. The duration may indicate that the terminal is associated with the terminal. The duration of close contact of the terminal. When the duration is greater than the preset duration, the candidate terminal can be determined to be the target terminal. Through the communication signal strength and the duration that the communication signal strength is greater than the preset communication signal strength, the candidate terminal can be determined from the candidate terminal. Determining the target terminal in close contact with the terminal can improve the accuracy of information detection.

304、终端构建与目标终端的关联关系,得到终端的关联信息。304. The terminal builds an association relationship with the target terminal and obtains the terminal's association information.

其中,关联关系的表示方式可以包括多种,比如,请参考图6,图6为本申请实施例提供的一种终端关联关系示意图。当终端B为满足上述条件的目标终端时,则可以根据图6所示的表示方式建立终端与终端B的关联关系。The association relationship may be expressed in a variety of ways. For example, please refer to FIG. 6 , which is a schematic diagram of a terminal association relationship provided by an embodiment of the present application. When terminal B is a target terminal that meets the above conditions, the association relationship between the terminal and terminal B can be established according to the representation shown in FIG. 6 .

当终端构建与目标终端的关联关系之后,可以获取该关联关系的建立时间,基于该关联关系与该建立时间可以得到终端的关联信息。After the terminal establishes an association relationship with the target terminal, the establishment time of the association relationship can be obtained, and the association information of the terminal can be obtained based on the association relationship and the establishment time.

305、终端向服务器发送关联信息。305. The terminal sends related information to the server.

当终端确定目标终端之后,生成与该目标终端相应的关联信息,可以将该关联信息发送至服务器,以使服务器可以基于该关联关系对关系网络进行更新,保证信息的及时有效性After the terminal determines the target terminal, it generates association information corresponding to the target terminal, and can send the association information to the server, so that the server can update the relationship network based on the association relationship to ensure the timely validity of the information.

306、服务器根据接收到的关联信息更新历史关系网络,得到更新后关系网络。306. The server updates the historical relationship network based on the received association information, and obtains the updated relationship network.

其中,历史关系网络可以包括多个终端的关联信息,比如,请参考图7,图7为本申请实施例提供的一种历史关系网络示意图。图7所示的历史关系网络中可以包括终端、终端D和终端A的关联信息,其中,与终端存在关联关系的终端可以为终端F,与终端A存在关联关系的终端可以为终端G,与终端D存在关联关系的终端可以为终端E,其中,终端的关联信息中还可以包括终端与终端F关联关系的建立时间可以为2020年9月1日10时24分;终端D的关联信息中还可以包括终端D与终端E关联关系的建立时间可以为2020年9月 2日10时24分;终端A的关联信息中还可以包括终端A与终端G 关联关系的建立时间可以为2020年9月3日10时24分。The historical relationship network may include association information of multiple terminals. For example, please refer to Figure 7 , which is a schematic diagram of a historical relationship network provided by an embodiment of the present application. The historical relationship network shown in Figure 7 may include association information of terminals, terminal D, and terminal A. The terminal associated with the terminal may be terminal F, and the terminal associated with terminal A may be terminal G. The terminal with which terminal D has an association relationship may be terminal E. The association information of the terminal may also include that the establishment time of the association relationship between the terminal and terminal F may be 10:24 on September 1, 2020; in the association information of terminal D, It can also include that the establishment time of the association between terminal D and terminal E can be 10:24 on September 2, 2020; the association information of terminal A can also include that the establishment time of the association between terminal A and terminal G can be September 2020. At 10:24 on March 3rd.

当服务器接收到终端发送的关联信息之后,可以根据该关联信息对历史关系网络进行更新。比如,请参考图8,图8为本申请实施例提供的一种更新后关系网络示意图。服务器接收到终端发送的关联信息可以为终端与终端B的关联信息,在图7所示的历史关系网络中,已存在终端与终端F的关联关系,则可以在历史关系网络中为终端添加新的关联关系,也即终端与终端B的关联关系,则可以得到更新后关系网络。After the server receives the association information sent by the terminal, it can update the historical relationship network based on the association information. For example, please refer to Figure 8, which is a schematic diagram of an updated relationship network provided by an embodiment of the present application. The association information sent by the terminal received by the server can be the association information between the terminal and terminal B. In the historical relationship network shown in Figure 7, there is already an association between the terminal and terminal F. Then a new relationship can be added for the terminal in the historical relationship network. , that is, the association between the terminal and terminal B, then the updated relationship network can be obtained.

307、终端向服务器发送查询请求。307. The terminal sends a query request to the server.

终端向服务器发送关联信息之后,还可以向服务器发送查询请求,基于该查询请求,可以查询出与该终端存在关联关系的所有关联终端,可以极大提高信息查找效率。After the terminal sends the associated information to the server, it can also send a query request to the server. Based on the query request, all associated terminals that are associated with the terminal can be queried, which can greatly improve the efficiency of information search.

308、服务器基于接收到的查询请求,从更新后关系网络中查找与终端关联的关联终端。308. Based on the received query request, the server searches for the associated terminal associated with the terminal from the updated relationship network.

在服务器接收到查询请求后,可以首先检测更新后关系网络中是否存在该终端,若检测到更新后关系网络中存在该终端,则可以进一步从更新后关系网络中获取该终端存在的所有关联关系。After the server receives the query request, it can first detect whether the terminal exists in the updated relationship network. If it is detected that the terminal exists in the updated relationship network, it can further obtain all associated relationships of the terminal from the updated relationship network. .

例如,服务器接收到终端发送的查询请求,可以从图8所示的更新后关系网络中存在该终端,获取该终端存在的关联关系,可以包括终端与终端B的关联关系,终端与终端F的关联关系,从而可以确定与终端关系的关联终端为终端B和终端F。For example, when the server receives the query request sent by the terminal, it can obtain the association relationship of the terminal from the updated relationship network shown in Figure 8, which may include the association relationship between the terminal and terminal B, and the association relationship between the terminal and terminal F. Association relationship, so that the associated terminals related to the terminal can be determined to be terminal B and terminal F.

当服务器基于终端发送的查询请求,得到上述查询结果后,可以将查询结果发送至该终端,同时,可以将查询结果发送至该终端的关联终端,以使终端所属用户以及关联终端所属用户及时获取相关信息。After the server obtains the above query results based on the query request sent by the terminal, it can send the query results to the terminal. At the same time, it can send the query results to the associated terminal of the terminal, so that the user of the terminal and the user of the associated terminal can obtain it in time. Related Information.

本申请实施例公开了一种信息处理方法,该信息处理方法包括:终端开启无线网络功能,接入无线通信网络,终端基于无线通信网络确定同一通信群组的候选终端,终端获取候选终端的通信信号强度,并从通信群组中确定通信信号强度大于预设通信信号强度的目标终端,终端构建与目标终端的关联关系,得到终端的关联信息,之后,终端向服务器发送关联信息,则服务器根据接收到的关联信息更新历史关系网络,得到更新后关系网络,进一步的,终端向服务器发送查询请求,服务器基于接收到的查询请求,从更新后关系网络中查找与终端关联的关联终端。本申请实施例通过终端与服务器之间的交互操作,以终端来进行信息检测,将检测结果发送至服务器,之后以服务器来进行信息查询,可以极大提高信息的处理效率。Embodiments of the present application disclose an information processing method. The information processing method includes: the terminal turns on the wireless network function, accesses the wireless communication network, the terminal determines candidate terminals of the same communication group based on the wireless communication network, and the terminal obtains the communication of the candidate terminal signal strength, and determines the target terminal whose communication signal strength is greater than the preset communication signal strength from the communication group. The terminal builds an association relationship with the target terminal and obtains the terminal's associated information. After that, the terminal sends the associated information to the server, and the server The received association information updates the historical relationship network to obtain the updated relationship network. Further, the terminal sends a query request to the server. Based on the received query request, the server searches for the associated terminal associated with the terminal from the updated relationship network. In the embodiment of the present application, through the interactive operation between the terminal and the server, the terminal is used to detect information, the detection results are sent to the server, and then the server is used to query the information, which can greatly improve the efficiency of information processing.

为便于更好的实施本申请实施例提供的信息处理方法,本申请实施例还提供一种基于上述信息处理方法的装置。其中名词的含义与上述信息处理方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate better implementation of the information processing method provided by the embodiment of the present application, the embodiment of the present application also provides a device based on the above information processing method. The meanings of the nouns are the same as in the above information processing method. For specific implementation details, please refer to the description in the method embodiment.

请参阅图9,图9为本申请实施例提供的一种信息处理装置的结构框图,该信息处理装置可以应用于诸如手机、平板电脑、笔记本电脑,掌上电脑、便携式媒体播放器(Portable Media Player,PMP)等移动终端,以及诸如台式计算机等固定终端,该装置包括:Please refer to Figure 9. Figure 9 is a structural block diagram of an information processing device provided by an embodiment of the present application. The information processing device can be applied to, for example, mobile phones, tablet computers, notebook computers, PDAs, and portable media players (Portable Media Players). , PMP) and other mobile terminals, as well as fixed terminals such as desktop computers, the device includes:

确定单元401,用于确定与终端处于同一通信群组的一个或多个候选终端;Determining unit 401, used to determine one or more candidate terminals in the same communication group as the terminal;

检测单元402,用于检测候选终端的通信信号强度;The detection unit 402 is used to detect the communication signal strength of the candidate terminal;

第一获取单元403,用于获取通信信号强度大于预设通信信号强度时的持续时长;The first obtaining unit 403 is used to obtain the duration when the communication signal strength is greater than the preset communication signal strength;

建立单元404,用于若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系;The establishment unit 404 is configured to, if the duration exceeds the preset duration, establish an association between the candidate terminal and the terminal whose communication signal strength is greater than the preset communication signal strength;

第一发送单元405,用于至少向服务器发送关联信息,关联信息包括:关联关系和关联关系的建立时间。The first sending unit 405 is configured to send at least association information to the server, where the association information includes: association relationship and establishment time of the association relationship.

在一些实施例中,第一发送单元405可以包括:In some embodiments, the first sending unit 405 may include:

第一发送子单元,用于周期性向服务器发送关联信息。The first sending subunit is used to send association information to the server periodically.

在一些实施例中,该信息处理装置还可以包括:In some embodiments, the information processing device may further include:

第二获取单元,用于获取终端在预设周期内的位置信息。The second acquisition unit is used to acquire the location information of the terminal within a preset period.

在一些实施例中,第一发送单元405可以包括:In some embodiments, the first sending unit 405 may include:

第二发送子单元,用于向服务器发送关联信息和位置信息。The second sending subunit is used to send association information and location information to the server.

请参阅图10,图10为本申请实施例提供的另一种信息处理装置的结构框图,该装置包括:Please refer to Figure 10. Figure 10 is a structural block diagram of another information processing device provided by an embodiment of the present application. The device includes:

接收单元501,用于接收多个不同终端发送的所述关联信息,所述关联信息包括:通信信号强度大于预设通信信号强度的候选终端与所述终端之间的关联关系、以及所述关联关系的建立时间;The receiving unit 501 is configured to receive the association information sent by multiple different terminals. The association information includes: the association between the candidate terminal whose communication signal strength is greater than the preset communication signal strength and the terminal, and the association. the length of time the relationship was established;

第一更新单元502,用于根据所述关联关系和所述建立时间对历史关系网络进行更新,得到更新后关系网络,其中,所述历史关系网络包括:在历史时间段内建立过历史关联关系的多个终端、终端之间的历史关联关系及所述历史关联关系的历史建立时间;The first update unit 502 is configured to update the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, where the historical relationship network includes: historical association relationships established within the historical time period. Multiple terminals, historical relationships between terminals, and the historical establishment time of the historical relationships;

查找单元503,用于当检测到目标终端发送的包含指定内容的信息时,基于所述更新后关系网络查找与所述目标终端关联的关联终端。The search unit 503 is configured to search for associated terminals associated with the target terminal based on the updated relationship network when detecting information containing specified content sent by the target terminal.

在一些实施例中,该装置还可以包括:In some embodiments, the device may further include:

第三获取单元,用于接收多个不同终端发送的位置信息。The third acquisition unit is used to receive location information sent by multiple different terminals.

在一些实施例中,第一更新单元502可以包括:In some embodiments, the first update unit 502 may include:

更新子单元,用于根据所述关联关系、所述建立时间和所述位置信息对所述历史关系网络进行更新;An update subunit, configured to update the historical relationship network according to the association relationship, the establishment time and the location information;

查找子单元,用于当检测到所述目标终端发送的包含指定内容的信息时,根据所述目标终端的位置信息查找与所述目标终端关联的关联终端。A search subunit configured to search for associated terminals associated with the target terminal according to the location information of the target terminal when detecting information sent by the target terminal containing specified content.

在一些实施例中,查找单元503可以包括:In some embodiments, the search unit 503 may include:

提取子单元,用于从包含指定内容的信息中提取满足预设条件的目标时间;The extraction subunit is used to extract the target time that meets the preset conditions from the information containing the specified content;

得到子单元,用于基于所述目标时间与指定时长得到第一时间范围;Obtain a subunit for obtaining a first time range based on the target time and the specified duration;

确定子单元,用于从所述更新后关系网络中,确定在所述第一时间范围内与所述目标终端关联的关联终端。Determining subunit, configured to determine, from the updated relationship network, associated terminals associated with the target terminal within the first time range.

在一些实施例中,该信息处理装置还可以包括:In some embodiments, the information processing device may further include:

解除单元,用于当检测到距离当前时间点超过指定时长的目标建立时间时,解除与所述目标建立时间对应的终端之间的关联关系。A release unit, configured to release the association between terminals corresponding to the target establishment time when a target establishment time exceeding a specified length of time from the current time point is detected.

在一些实施例中,该信息处理装置还可以包括:In some embodiments, the information processing device may further include:

第二发送单元,用于向关联终端发送提示信息。The second sending unit is used to send prompt information to the associated terminal.

本申请实施例公开了一种信息处理装置,该信息处理装置包括:确定单元401用于确定与终端处于同一通信群组的一个或多个候选终端;检测单元402用于检测候选终端的通信信号强度;第一获取单元403用于获取通信信号强度大于预设通信信号强度时的持续时长;建立单元404用于若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系;第一发送单元405用于至少向服务器发送关联信息,关联信息包括:关联关系和关联关系的建立时间。An embodiment of the present application discloses an information processing device. The information processing device includes: a determining unit 401 for determining one or more candidate terminals in the same communication group as the terminal; a detection unit 402 for detecting communication signals of the candidate terminals Strength; the first acquisition unit 403 is used to acquire the duration when the communication signal strength is greater than the preset communication signal strength; the establishment unit 404 is used to establish a candidate whose communication signal strength is greater than the preset communication signal strength if the duration exceeds the preset duration. Association relationship between terminals; the first sending unit 405 is configured to send at least association information to the server, where the association information includes: association relationship and establishment time of the association relationship.

本申请实施例还提供一种计算机设备,该计算机设备可以为终端。如图11所示,该终端可以包括射频(RF,Radio Frequency)电路601、包括有一个或一个以上存储介质的存储器602、输入单元603、显示单元604、传感器605、音频电路606、无线保真(WiFi,WirelessFidelity)模块607、包括有一个或者一个以上处理核心的处理器608、以及电源609等部件。本领域技术人员可以理解,图11中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:An embodiment of the present application also provides a computer device, which may be a terminal. As shown in Figure 11, the terminal may include a radio frequency (RF, Radio Frequency) circuit 601, a memory 602 including one or more storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi, Wireless Fidelity) module 607 includes a processor 608 with one or more processing cores, a power supply 609 and other components. Those skilled in the art can understand that the terminal structure shown in FIG. 11 does not limit the terminal, and may include more or fewer components than shown, or combine certain components, or arrange different components. in:

RF电路601可用于收发信息过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器608处理;另外,将涉及上行的数据发送给基站。通常,RF电路601包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,LowNoise Amplifier)、双工器等。此外, RF电路601还可以通过无线通信与网络和其他设备通信。The RF circuit 601 can be used to receive and send signals during the process of sending and receiving information. In particular, after receiving downlink information from the base station, it is handed over to one or more processors 608 for processing; in addition, uplink data is sent to the base station. Typically, the RF circuit 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA, LowNoise Amplifier), duplexer, etc. In addition, RF circuit 601 can also communicate with networks and other devices through wireless communications.

存储器602可用于存储软件程序以及模块,处理器608通过运行存储在存储器602的软件程序以及模块,从而执行各种功能应用以及信息处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器 602还可以包括存储器控制器,以提供处理器608和输入单元603对存储器602的访问。The memory 602 can be used to store software programs and modules. The processor 608 executes various functional applications and information processing by running the software programs and modules stored in the memory 602 . The memory 602 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. In addition, memory 602 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. Accordingly, the memory 602 may also include a memory controller to provide the processor 608 and the input unit 603 with access to the memory 602.

输入单元603可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元603可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。除了触敏表面,输入单元 603还可以包括其他输入设备。具体地,其他输入设备可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 603 may include a touch-sensitive surface as well as other input devices. A touch-sensitive surface, also known as a touch display or trackpad, can collect the user's touch operations on or near it (such as the user using a finger, stylus, or any suitable object or accessory on or near the touch-sensitive surface). operations near the surface), and drive the corresponding connection device according to the preset program. In addition to touch-sensitive surfaces, the input unit 603 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackball, mouse, joystick, etc.

显示单元604可用于显示由用户输入的信息或提供给用户的信息以及服务器的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元604可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器608以确定触摸事件的类型,随后处理器608根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图11中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The display unit 604 may be used to display information input by the user or information provided to the user as well as various graphical user interfaces of the server. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof. The display unit 604 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED, an organic light-emitting diode), or the like. Further, the touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is sent to the processor 608 to determine the type of the touch event. The processor 608 then displays the display panel according to the type of the touch event. Corresponding visual output is provided on the panel. Although in FIG. 11 , the touch-sensitive surface and the display panel are used as two independent components to implement the input and input functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to implement the input and output functions.

终端还可包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在服务器移动到耳边时,关闭显示面板和背光。The terminal may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, 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 according to the brightness of the ambient light. The proximity sensor can turn off the display panel and backlight when the server moves to the ear.

音频电路606、扬声器,传声器可提供用户与服务器之间的音频接口。音频电路606可将接收到的音频数据转换后的电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路606接收后转换为音频数据,再将音频数据输出处理器608处理后,经RF电路601以发送给比如终端,或者将音频数据输出至存储器602以便进一步处理。音频电路 606还可能包括耳塞插孔,以提供外设耳机与服务器的通信。The audio circuit 606, speaker, and microphone can provide an audio interface between the user and the server. The audio circuit 606 can transmit the electrical signal converted from the received audio data to the speaker, which converts it into a sound signal and outputs it; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received and converted by the audio circuit 606 The audio data is processed by the audio data output processor 608 and then sent to, for example, a terminal through the RF circuit 601, or the audio data is output to the memory 602 for further processing. Audio circuitry 606 may also include an earphone jack to provide peripheral headphone communication with the server.

WiFi属于短距离无线传输技术,终端通过WiFi模块607可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了WiFi模块607,但是可以理解的是,其并不属于终端的必须构成,完全可以根据需要在不改变申请的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 607. It provides users with wireless broadband Internet access. Although FIG. 11 shows the WiFi module 607, it can be understood that it is not a necessary component of the terminal and can be omitted as needed without changing the essence of the application.

处理器608是终端的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器602内的软件程序和模块,以及调用存储在存储器602内的数据,执行服务器的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器608可包括一个或多个处理核心;优选的,处理器608可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器608中。The processor 608 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and modules stored in the memory 602, and calling the data stored in the memory 602, the processor 608 executes the server's tasks. Various functions and process data for overall monitoring of the phone. Optionally, the processor 608 may include one or more processing cores; preferably, the processor 608 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 handles wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 608.

终端还包括给各个部件供电的电源609(比如电池),优选的,电源可以通过电源管理系统与处理器608逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源609还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal also includes a power supply 609 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 608 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system. Power supply 609 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

具体在本实施例中,终端中的处理器608会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器 602中,并由处理器608来运行存储在存储器602中的应用程序,从而实现各种功能:Specifically, in this embodiment, the processor 608 in the terminal will load the executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 will run the executable files stored in the memory. 602 applications to achieve various functions:

确定与终端处于同一通信群组的一个或多个候选终端;检测候选终端的通信信号强度;获取通信信号强度大于预设通信信号强度时的持续时长;若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系;至少向服务器发送关联信息,关联信息包括:关联关系和关联关系的建立时间。Determine one or more candidate terminals in the same communication group as the terminal; detect the communication signal strength of the candidate terminal; obtain the duration when the communication signal strength is greater than the preset communication signal strength; if the duration exceeds the preset duration, establish communication The association relationship between the candidate terminal and the terminal whose signal strength is greater than the preset communication signal strength; at least send association information to the server, and the association information includes: the association relationship and the establishment time of the association relationship.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of each of the above operations, please refer to the previous embodiments and will not be described again here.

由上可知,本实施例的终端可以实现信息处理的步骤,提高了信息处理效率。It can be seen from the above that the terminal of this embodiment can implement information processing steps and improve the information processing efficiency.

本申请实施例还提供一种计算机设备,该计算机设备可以服务器,如图12所示,其示出了本申请实施例所涉及的服务器的结构示意图,具体来讲:The embodiment of the present application also provides a computer device, which can be a server, as shown in Figure 12, which shows a schematic structural diagram of the server involved in the embodiment of the present application. Specifically:

该服务器可以包括一个或者一个以上处理核心的处理器701、一个或一个以上计算机可读存储介质的存储器702、电源703和输入单元704等部件。本领域技术人员可以理解,图12中示出的服务器结构并不构成对服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The server may include components such as a processor 701 of one or more processing cores, a memory 702 of one or more computer-readable storage media, a power supply 703, and an input unit 704. Those skilled in the art can understand that the server structure shown in Figure 12 does not limit the server, and may include more or fewer components than shown, or combine certain components, or arrange different components. in:

处理器701是该服务器的控制中心,利用各种接口和线路连接整个服务器的各个部分,通过运行或执行存储在存储器702内的软件程序和/或模块,以及调用存储在存储器702内的数据,执行服务器的各种功能和处理数据,从而对服务器进行整体监控。可选的,处理器 701可包括一个或多个处理核心;优选的,处理器701可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器701中。The processor 701 is the control center of the server, using various interfaces and lines to connect various parts of the entire server, by running or executing software programs and/or modules stored in the memory 702, and calling data stored in the memory 702, Performs various server functions and processes data to provide overall monitoring of the server. Optionally, the processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor and a modem processor, where the application processor mainly processes operating systems, user interfaces, application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 701.

存储器702可用于存储软件程序以及模块,处理器701通过运行存储在存储器702的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据服务器的使用所创建的数据等。此外,存储器702可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器702还可以包括存储器控制器,以提供处理器701对存储器702的访问。The memory 702 can be used to store software programs and modules. The processor 701 executes various functional applications and data processing by running the software programs and modules stored in the memory 702 . The memory 702 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 for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the storage data area may store a program based on Data created by the use of the server, etc. In addition, memory 702 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. Accordingly, the memory 702 may also include a memory controller to provide the processor 701 with access to the memory 702 .

服务器还包括给各个部件供电的电源703,优选的,电源703可以通过电源管理系统与处理器701逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源703还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The server also includes a power supply 703 that supplies power to various components. Preferably, the power supply 703 can be logically connected to the processor 701 through a power management system, so that functions such as charging, discharging, and power consumption management can be implemented through the power management system. Power supply 703 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

该服务器还可包括输入单元704,该输入单元704可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The server may also include an input unit 704 operable to receive input numeric or character information and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.

尽管未示出,服务器还可以包括显示单元等,在此不再赘述。具体在本实施例中,服务器中的处理器701会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器702中,并由处理器701来运行存储在存储器702中的应用程序,从而实现各种功能,如下:Although not shown, the server may also include a display unit and the like, which will not be described again here. Specifically, in this embodiment, the processor 701 in the server will load the executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 will run the executable files stored in the memory. 702 applications to achieve various functions, as follows:

接收多个不同终端发送的关联信息,关联信息包括:通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系、以及关联关系的建立时间;根据关联关系和建立时间对历史关系网络进行更新,得到更新后关系网络,其中,历史关系网络包括:在预设历史时间段内建立关联关系的多个终端;当检测到目标终端发送的查询请求时,基于更新后关系网络查找与目标终端关联的关联终端。Receive association information sent by multiple different terminals. The association information includes: the association relationship between the candidate terminal and the terminal whose communication signal strength is greater than the preset communication signal strength, and the establishment time of the association relationship; compare the historical relationship according to the association relationship and the establishment time The network is updated to obtain an updated relationship network, in which the historical relationship network includes: multiple terminals that have established relationships within the preset historical time period; when a query request sent by the target terminal is detected, based on the updated relationship network, search and The associated terminal associated with the target terminal.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of each of the above operations, please refer to the previous embodiments and will not be described again here.

由上可知,本实施例的服务器可以实现信息处理的步骤,提高了信息处理效率。It can be seen from the above that the server of this embodiment can implement information processing steps and improve the information processing efficiency.

本领域普通技术人员可以理解,上述实施例的各种方法中的全部或部分步骤可以通过指令来完成,或通过指令控制相关的硬件来完成,该指令可以存储于存储介质中,并由处理器进行加载和执行。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructions, or by instructions to control related hardware. The instructions can be stored in a storage medium and controlled by a processor. to load and execute.

为此,本申请实施例提供一种存储介质,其中存储有多条指令,该指令能够被处理器进行加载,以执行本申请实施例所提供的任一种信息处理方法中的步骤。例如,该指令可以执行如下步骤:To this end, embodiments of the present application provide a storage medium in which multiple instructions are stored, and the instructions can be loaded by the processor to execute steps in any information processing method provided by the embodiments of the present application. For example, this command can perform the following steps:

确定与终端处于同一通信群组的一个或多个候选终端;检测候选终端的通信信号强度;获取通信信号强度大于预设通信信号强度时的持续时长;若持续时长超过预设时长,则建立通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系;至少向服务器发送关联信息,关联信息包括:关联关系和关联关系的建立时间。Determine one or more candidate terminals in the same communication group as the terminal; detect the communication signal strength of the candidate terminal; obtain the duration when the communication signal strength is greater than the preset communication signal strength; if the duration exceeds the preset duration, establish communication The association relationship between the candidate terminal and the terminal whose signal strength is greater than the preset communication signal strength; at least send association information to the server, and the association information includes: the association relationship and the establishment time of the association relationship.

或者,or,

接收多个不同终端发送的关联信息,关联信息包括:通信信号强度大于预设通信信号强度的候选终端与终端之间的关联关系、以及关联关系的建立时间;根据关联关系和建立时间对历史关系网络进行更新,得到更新后关系网络,其中,历史关系网络包括:在预设历史时间段内建立关联关系的多个终端;当检测到目标终端发送的查询请求时,基于更新后关系网络查找与目标终端关联的关联终端。Receive association information sent by multiple different terminals. The association information includes: the association relationship between the candidate terminal and the terminal whose communication signal strength is greater than the preset communication signal strength, and the establishment time of the association relationship; compare the historical relationship according to the association relationship and the establishment time The network is updated to obtain an updated relationship network, in which the historical relationship network includes: multiple terminals that have established relationships within the preset historical time period; when a query request sent by the target terminal is detected, based on the updated relationship network, search and The associated terminal associated with the target terminal.

以上各个操作的具体实施可参见前面的实施例,在此不再赘述。For the specific implementation of each of the above operations, please refer to the previous embodiments and will not be described again here.

其中,该存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。The storage medium may include: read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.

由于该存储介质中所存储的指令,可以执行本申请实施例所提供的任一种信息处理方法中的步骤,因此,可以实现本申请实施例所提供的任一种信息处理方法所能实现的有益效果,详见前面的实施例,在此不再赘述。Since the instructions stored in the storage medium can execute the steps in any information processing method provided by the embodiments of this application, therefore, it is possible to achieve what can be achieved by any information processing method provided by the embodiments of this application. The beneficial effects can be found in the previous embodiments for details and will not be described again here.

以上对本申请实施例所提供的信息处理方法、装置、存储介质及终端进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The information processing methods, devices, storage media and terminals provided by the embodiments of the present application have been introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only for assistance. Understand the methods and core ideas of this application; at the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the ideas of this application. In summary, the contents of this specification should not understood as a limitation on this application.

Claims (12)

receiving association information sent by a plurality of different terminals, wherein the association information comprises: the method comprises the steps that a wireless communication function is started, wireless network signals received in a current area are scanned by the terminal, a wireless network list is generated, a wireless network with highest network signal strength is selected from the wireless network list to be connected, the terminal and the candidate terminal are connected with one another, the wireless network is a wireless fidelity surrounding sensing network, the terminal establishes communication connection with the candidate terminal through sending communication signals to the candidate terminal when response information of the candidate terminal to the communication signals is received, and the communication signal strength with the candidate terminal is acquired based on the communication connection, wherein the communication signal strength refers to the network signal strength when the terminal and the candidate terminal communicate through the wireless network;
a receiving unit, configured to receive association information sent by a plurality of different terminals, where the association information includes: the method comprises the steps that a wireless communication function is started, wireless network signals received in a current area are scanned by the terminal, a wireless network list is generated, a wireless network with highest network signal strength is selected from the wireless network list to be connected, the terminal and the candidate terminal are connected with one another, the wireless network is a wireless fidelity surrounding sensing network, the terminal establishes communication connection with the candidate terminal through sending communication signals to the candidate terminal when response information of the candidate terminal to the communication signals is received, and the communication signal strength with the candidate terminal is acquired based on the communication connection, wherein the communication signal strength refers to the network signal strength when the terminal and the candidate terminal communicate through the wireless network;
CN202011105322.4A2020-10-152020-10-15 An information processing method, device, storage medium and computer equipmentActiveCN112269842B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011105322.4ACN112269842B (en)2020-10-152020-10-15 An information processing method, device, storage medium and computer equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011105322.4ACN112269842B (en)2020-10-152020-10-15 An information processing method, device, storage medium and computer equipment

Publications (2)

Publication NumberPublication Date
CN112269842A CN112269842A (en)2021-01-26
CN112269842Btrue CN112269842B (en)2024-03-19

Family

ID=74337397

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011105322.4AActiveCN112269842B (en)2020-10-152020-10-15 An information processing method, device, storage medium and computer equipment

Country Status (1)

CountryLink
CN (1)CN112269842B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112888029B (en)*2021-02-032022-08-09惠州Tcl移动通信有限公司Communication method, computer equipment and computer readable storage medium
CN115130015B (en)*2021-03-242024-08-06中国电信股份有限公司Associated travel query system, method and storage medium
CN113518402A (en)*2021-05-312021-10-19深圳市发掘科技有限公司Communication method of wireless terminal, computer device, and storage medium
CN113609881B (en)*2021-07-302025-07-29Oppo广东移动通信有限公司Method, device, equipment and storage medium for determining analog card to be activated
CN115297075B (en)*2022-07-062024-03-29北京北信源软件股份有限公司Instant messaging method, device, equipment and storage medium based on target group

Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106557376A (en)*2016-11-302017-04-05北京奇虎科技有限公司Terminal unit and its group's foundation, Adding Way and device and server
CN108260188A (en)*2018-02-282018-07-06惠州Tcl移动通信有限公司A kind of Wi-Fi connection control method and system
CN110930546A (en)*2018-08-312020-03-27阿里巴巴集团控股有限公司Information processing method, device and system, storage medium and processor
CN111241117A (en)*2020-03-152020-06-05智博云信息科技(广州)有限公司Epidemic situation database updating method and device
CN111405470A (en)*2020-04-122020-07-10北京牧家科技有限公司System and method for tracking gathered people based on mobile phone positioning algorithm
CN111459723A (en)*2020-05-112020-07-28浙江每日互动网络科技股份有限公司Terminal data processing system
CN111479224A (en)*2020-03-092020-07-31深圳市广道高新技术股份有限公司High-precision track recovery method and system and electronic equipment
CN111523006A (en)*2020-04-142020-08-11上海安洵信息技术有限公司Network public opinion tracking method for epidemic situation area
CN111601242A (en)*2020-05-202020-08-28深圳市本示科技有限公司Epidemic prevention system for efficiently tracing close splicer by using Bluetooth technology
CN111627549A (en)*2020-05-262020-09-04遵义医科大学Auxiliary system for infectious disease investigation
CN111768594A (en)*2020-07-232020-10-13Oppo广东移动通信有限公司 Close contact judgment method, device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106557376A (en)*2016-11-302017-04-05北京奇虎科技有限公司Terminal unit and its group's foundation, Adding Way and device and server
CN108260188A (en)*2018-02-282018-07-06惠州Tcl移动通信有限公司A kind of Wi-Fi connection control method and system
CN110930546A (en)*2018-08-312020-03-27阿里巴巴集团控股有限公司Information processing method, device and system, storage medium and processor
CN111479224A (en)*2020-03-092020-07-31深圳市广道高新技术股份有限公司High-precision track recovery method and system and electronic equipment
CN111241117A (en)*2020-03-152020-06-05智博云信息科技(广州)有限公司Epidemic situation database updating method and device
CN111405470A (en)*2020-04-122020-07-10北京牧家科技有限公司System and method for tracking gathered people based on mobile phone positioning algorithm
CN111523006A (en)*2020-04-142020-08-11上海安洵信息技术有限公司Network public opinion tracking method for epidemic situation area
CN111459723A (en)*2020-05-112020-07-28浙江每日互动网络科技股份有限公司Terminal data processing system
CN111601242A (en)*2020-05-202020-08-28深圳市本示科技有限公司Epidemic prevention system for efficiently tracing close splicer by using Bluetooth technology
CN111627549A (en)*2020-05-262020-09-04遵义医科大学Auxiliary system for infectious disease investigation
CN111768594A (en)*2020-07-232020-10-13Oppo广东移动通信有限公司 Close contact judgment method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
广州市新型冠状病毒肺炎疫情流行特征分析;马蒙蒙;马晓薇;吴燕;李琴;步犁;梁颖茹;张玉华;甄若楠;李科;陈雄飞;张维蔚;董志强;景钦隆;罗雷;;华南预防医学;20200820(第04期);全文*
新冠肺炎疫情传播模型及防控干预措施的因果分析评估;游光荣;游翰霖;赵得智;廉振宇;;科技导报;20200328(第06期);全文*

Also Published As

Publication numberPublication date
CN112269842A (en)2021-01-26

Similar Documents

PublicationPublication DateTitle
CN112269842B (en) An information processing method, device, storage medium and computer equipment
CN107094294B (en)Network connection method and device
US10304461B2 (en)Remote electronic service requesting and processing method, server, and terminal
WO2015090248A1 (en)Server overload protection method and device
CN106507289A (en) A wireless network access method and mobile terminal
CN107393548B (en)Method and device for processing voice information collected by multiple voice assistant devices
WO2018166234A1 (en)Network search method and apparatus
CN107786424B (en) Audio and video communication method, terminal and server
CN103455330A (en)Application program management method, terminal, equipment and system
CN106961676B (en)Network searching method, device and medium
HK1204373A1 (en)A launch control method and apparatus for application programs
CN112261735B (en) Health information detection method, system and mobile terminal
WO2017096909A1 (en)Data connection establishing method and apparatus
CN106604277B (en)Wireless network access method and mobile terminal
WO2019011324A1 (en)Method for determining access method of mobile terminal, storage medium, and mobile terminal
CN106793010B (en)Network access method and equipment
CN106603740A (en)Network connection abnormality processing method and terminal equipment
CN107256334A (en)recipe matching method and related product
CN114049967A (en)Epidemic situation monitoring method and device, storage medium and electronic equipment
CN106682189B (en)File name display method and device
CN105577712B (en)A kind of file uploading method, device and system
CN105703808A (en)Method and device for transmitting data
CN103457832A (en)Information management method, device and terminal
WO2017076279A1 (en)Method of updating forward information base item, and device and system utilizing same
CN106899624A (en)A kind of method and apparatus for updating interlock account information

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp