CN112269842A - Information processing method and device, storage medium and computer equipment - Google Patents

Information processing method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN112269842A
CN112269842A CN202011105322.4A CN202011105322A CN112269842A CN 112269842 A CN112269842 A CN 112269842A CN 202011105322 A CN202011105322 A CN 202011105322A CN 112269842 A CN112269842 A CN 112269842A
Authority
CN
China
Prior art keywords
terminal
communication signal
information
association
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011105322.4A
Other languages
Chinese (zh)
Inventor
虞龙杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202011105322.4A priority Critical patent/CN112269842A/en
Publication of CN112269842A publication Critical patent/CN112269842A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Abstract

The embodiment of the application discloses an information processing method, an information processing device, a storage medium and computer equipment. The information processing method includes: detecting communication signal strength of one or more candidate terminals in the same communication group with the terminal; acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal; if the duration exceeds the preset duration, establishing an association relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal; and at least sending the association relation and the establishment time of the association relation to a server. According to the embodiment of the application, the communication signal strength of each terminal in the same local area network is detected, whether the terminals are in close-range continuous contact or not is reflected by the continuous duration side of the communication signal strength, and the related information is reported to the server to construct the corresponding relation network, so that when a terminal user in close-range continuous contact needs to be searched, a target can be quickly locked based on the relation network, and the information processing efficiency is effectively improved.

Description

Information processing method and device, storage medium and computer equipment
Technical Field
The present application relates to the field of computer applications, and in particular, to an information processing method, apparatus, storage medium, and computer device.
Background
The new coronavirus pneumonia has latent period and infectivity between people, so that epidemic situation is difficult to control. In order to effectively control the spread of epidemic, it is necessary to find an infection source and cut off the transmission route. If one can find close contacts with those infected with the virus, the transmission pathway can be effectively cut off. The existing method for checking the close contact person of the virus infected person is that the infected person recalls the own activity track, or traces the activity track of the infected person according to monitoring, or checks the public transportation travel record of the infected person.
However, when the close contact person is examined by the above method, the activity trace of the infected person needs to be carefully checked manually, which is inefficient, and it is difficult to obtain the complete activity trace of the infected person, which may result in missing the close contact person.
Disclosure of Invention
The embodiment of the application provides an information processing method, an information processing device, a storage medium and computer equipment, which can improve the information processing efficiency.
The embodiment of the application provides an information processing method, which is applied to a terminal and comprises the following steps:
determining one or more candidate terminals in the same communication group with the terminal;
detecting the communication signal strength of the candidate terminal;
acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal;
if the duration exceeds the preset duration, establishing an association relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal;
at least sending association information to a server, wherein the association information comprises: the incidence relation and the establishment time of the incidence relation.
Correspondingly, an embodiment of the present application provides another information processing method, which is applied to a server, and includes:
receiving the associated information sent by a plurality of different terminals, wherein the associated information comprises: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained;
updating a historical relationship network according to the incidence relationship and the establishment time to obtain an updated relationship network, wherein the historical relationship network comprises: a plurality of terminals establishing an association relationship within a preset historical time period;
and when an inquiry request sent by a target terminal is detected, searching for an associated terminal associated with the target terminal based on the updated relationship network.
Correspondingly, an embodiment of the present application further provides an information processing apparatus, which is applied to a terminal, and includes:
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 communication signal strength of the candidate terminal;
the first acquisition unit is used for acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal;
the establishing unit is used for establishing an incidence relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal if the duration exceeds the preset duration;
a first sending unit, configured to send associated information at least to a server, where the associated information includes: the incidence relation and the establishment time of the incidence relation.
Correspondingly, an embodiment of the present application further provides another information processing apparatus, which is applied to a server, and includes:
a receiving unit, configured to receive the associated information sent by multiple different terminals, where the associated information includes: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained;
a first updating unit, configured to update a historical relationship network according to the association relationship and the establishment time, so as to obtain an updated relationship network, where the historical relationship network includes: a plurality of terminals establishing an association relationship within a preset historical time period;
and the searching unit is used for searching the associated terminal associated with the target terminal based on the updated relationship network when the query request sent by the target terminal is detected.
Correspondingly, the embodiment of the application also provides a storage medium, wherein the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the information processing method.
Correspondingly, the embodiment of the application also provides a computer device, which comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the information processing method.
According to the embodiment of the application, the communication signal strength of each terminal in the same local area network is detected, whether the terminals are in close-range continuous contact or not is reflected by the continuous duration side of the communication signal strength, and the related information is reported to the server to construct the corresponding relation network, so that when a terminal user in close-range continuous contact needs to be searched, a target can be quickly locked based on the relation network, and the information processing efficiency is effectively improved.
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 are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of an information processing method according to an embodiment of the present application.
Fig. 2 is a schematic flowchart of an information processing method according to an embodiment of the present application.
Fig. 3 is a schematic flowchart of another information processing method according to an embodiment of the present application.
Fig. 4 is a schematic flowchart of another information processing method according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a communication group according to an embodiment of the present disclosure.
Fig. 6 is a schematic diagram of a terminal association relationship provided in an embodiment of the present application.
Fig. 7 is a schematic diagram of a historical relationship network according to an embodiment of the present application.
Fig. 8 is a schematic diagram of an updated relationship network according to an embodiment of the present application.
Fig. 9 is a block diagram of an information processing apparatus according to an embodiment of the present application.
Fig. 10 is a block diagram of another information processing apparatus according to an embodiment of the present application.
Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Fig. 12 is a schematic structural diagram of another computer device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In view of the foregoing problems, embodiments of the present application provide a first information processing method, apparatus, storage medium, and computer device, which can improve information processing efficiency. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of an information processing method provided in an embodiment of the present application, where the application scenario includes a terminal and a server, and the terminal is connected to the server through a network. The network includes network entities such as routers and gateways.
The terminal may determine one or more candidate terminals in the same communication group as the terminal, further detect the communication signal strength of the candidate terminals to obtain a duration when the communication signal strength is greater than the preset communication signal strength, establish an association relationship between the candidate terminals whose communication signal strength is greater than the preset communication signal strength and the terminal if the duration exceeds the preset duration, and then at least send association information to the server.
The server may receive associated information sent by a plurality of different terminals, where the associated information includes: and when an inquiry request sent by the target terminal is detected, searching for the associated terminal associated with the target terminal based on the updated associated network.
The above example of fig. 1 is only an example of a system architecture for implementing the embodiment of the present invention, and the embodiment of the present invention is not limited to the system architecture shown in fig. 1, and various embodiments of the present invention are proposed based on the system architecture.
The following are detailed below. The numbers in the following examples are not intended to limit the order of preference of the examples.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an information processing method according to an embodiment of the present disclosure. The information processing method can be applied to terminals such as mobile phones, tablet computers, notebook computers, palm computers and the like. The specific flow of the information processing method may be as follows:
101. one or more candidate terminals in the same communication group as the terminal are determined.
In this embodiment, the communication group may be composed of a plurality of terminals, and the same communication group may refer to a plurality of terminals accessing the same wireless network, for example, the plurality of terminals may include a terminal a, a terminal B, and a terminal C, where the wireless network accessed by the terminal a may be a first wireless network, the wireless network accessed by the terminal B may be a first wireless network, and the wireless network accessed by the terminal C may be a first wireless network, and it may be determined that the terminal a, the terminal B, and the terminal C are in the same communication group.
The Wireless network accessed by the terminal may be a Wi-Fi Aware (Wireless-Fidelity Aware) network.
Specifically, Wi-Fi Aware, a peripheral sensing technology, can transmit a very small amount of data information to help various applications implement a service discovery function. The process from information broadcast, to discovery and connection will be less energy consuming than a Wi-Fi (Wireless-Fidelity) device sniffing hot spots, so it will be able to run continuously in the device background. And once the corresponding service or application is found and the frequency is coordinated with other equipment, the Wi-Fi Direct or the conventional Wi-Fi connection can be carried out. The Wi-Fi Aware has wide applicability and can normally operate in crowded environments and indoors. An application on a mobile device may use Wi-Fi Aware to provide services to or look for services on other devices. After discovering a service, the user can "choose" to establish a connection with the discovered device, typically without using an internet connection.
According to a Wi-Fi Aware protocol, a Wi-Fi Aware network has 3 roles which are respectively a main device, a non-main synchronous device and a non-main asynchronous device, and the building process of the Wi-Fi Aware network can be divided into the following 3 steps:
(1) the constructor is a main device and sends a discovery beacon frame to discover surrounding smart phones to form a Wi-Fi Aware network, and a plurality of smart phones randomly play roles of non-main synchronous devices and non-main asynchronous devices;
(2) the master device and the non-master synchronization device of the network send synchronous beacon frames to synchronize the clock of the whole network, so that the power consumption of the group is reduced;
(3) in the network, the master device, the non-master synchronization device and the non-master non-synchronization device can receive and transmit the service discovery frame to acquire specific information.
In a Wi-Fi Aware network, each device has an interface address (6 bytes) to distinguish the different devices. A device in the network may send a message to another device in the network, may send a message to multiple devices in the network, or may broadcast a message to all devices in the network. The terminals in the same communication group communicate by sending and receiving messages to and from each other.
For example, the terminal may acquire that the other terminals in the communication group in which the terminal is located may include terminal a, terminal B, and terminal C, and then may determine that terminal 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 with the terminal, the method may include:
starting a wireless communication function;
scanning wireless network signals received in a current area to generate a wireless network list;
and selecting a wireless network from the wireless network list for connection.
The wireless communication function can be a Wi-Fi Aware function, and when the fact that the Wi-Fi Aware function is started by a user is detected, the terminal can scan wireless network signals received in a current area.
The wireless network signal may include a wireless network identifier, and after scanning the wireless network signal, the terminal may acquire the wireless network identifier corresponding to the wireless network signal, and further, a wireless network list may be generated according to the acquired wireless network identifier, where the wireless network list may include a wireless network to which the terminal may connect.
After determining the wireless network list, the terminal may select a wireless network from the wireless network list for connection, for example, the terminal may select a wireless network with the highest network signal strength from the wireless network list for connection, and so on.
In some embodiments, if the terminal does not detect a wireless network signal in the current area, the terminal may establish a wireless network, and other terminals may connect to the wireless network established by the terminal by starting a wireless communication function, so as to facilitate communication between the terminals.
102. And detecting the communication signal strength of the candidate terminal.
The communication signal strength may refer to a network signal strength when the terminal and the candidate terminal previously communicate through the wireless network. In the embodiment of the present application, the communication signal strength may be represented by a numerical value, such as 10, 20, 30, etc., wherein the larger the value corresponding to the communication signal strength is, the stronger the communication signal strength is, that is, the closer the distance between the terminals performing communication is.
In some embodiments, the step of detecting the communication signal strength of the candidate terminal may include:
sending a communication signal to the candidate terminal;
and when response information of the candidate terminal to the communication signal is received, establishing communication connection with the candidate terminal.
The communication signal may be a service discovery frame conforming to the Wi-Fi Aware protocol, and the service discovery frame may be used for terminals in the same communication group to send and receive specific messages to and from each other. The format of the service discovery frame may include multiple formats, for example, in the embodiment of the present application, the format of the service discovery frame may be as shown in table 1 below:
table 1: service discovery frame format
Wherein Category means that the type of the Frame is Public Action Frame (Public Action Frame); action Field refers to the frame of public Action associated with a given manufacturer; OUI refers to organization Unique number (organization Unique Identifier); OUI Type refers to the Type of OUI; attributes refers to Attributes, including service description Attributes and manufacturer specific Attributes. In the manufacturer-specific Attribute, Attribute ID refers to the number of the manufacturer-specific Attribute; length refers to the sum of the byte lengths of OUI and Body; OUI refers to the manufacturer's number; body refers to specific information of the manufacturer, and can be used as information specified in the embodiment of the present application.
Further, the format of the service discovery frame may be simplified, so as to obtain a simplified format of the service discovery frame shown in the following table 2:
table 2: simplified service discovery frame format
Wherein different message IDs may be used to perform different functions, for example, the message IDs may be: 0x01 (which may represent a hexadecimal number of 1), when the message ID is 0x01, the corresponding performing function may be the terminal sending a communication signal to the candidate terminal.
After transmitting the communication signal to the candidate terminal, a network communication connection may be established with the candidate terminal if the candidate terminal responds to the communication signal. For example, the terminal may send a communication signal in a communication group, a candidate terminal in the same communication group as the terminal may receive the communication signal, and after the candidate terminal responds to the communication signal, it indicates that a communication connection with the terminal is established, and further, the terminal may obtain the communication signal strength of the candidate terminal that establishes the communication connection with the terminal.
For example, after sending the communication signal, the terminal receives response information of the terminal a, the terminal B, and the terminal C in the same communication group, and then may establish communication connections with the terminal a, the terminal B, and the terminal C, respectively, and further, obtaining the communication signal strengths of the terminal a, the terminal B, and the 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. And acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal.
The preset communication signal may be preset, for example, the communication signal strength when two terminals communicating with each other are away from a preset distance may be first set, and the preset communication signal strength is determined according to the distance, so that a candidate terminal within a preset distance range from the terminal may be determined.
After the communication signal strength of the candidate terminals is obtained, the communication signal strength of each candidate terminal may be compared with a preset communication signal strength to obtain a comparison result. Further, the terminal may obtain a candidate terminal having a communication signal strength greater than a preset communication signal strength according to the comparison result.
For example, the candidate terminals may include a terminal a, a terminal B, and a terminal C, and when the communication signal strength of the terminal a is detected to be 10, the communication signal strength of the terminal B is detected to be 10, the communication signal strength of the terminal C is detected to be 30, and the preset communication signal strength may be 20, and when the communication signal strength of each candidate terminal is compared with the preset communication signal strength, the candidate terminal with the communication signal strength greater than the preset communication signal strength may be obtained as the terminal C.
The duration may represent a length of time that the communication signal strength of the candidate terminal when communicating with the terminal is greater than a preset communication signal strength, for example, the length of time may be 1 minute, 2 minutes, or the like.
For example, if the candidate terminal having the communication signal strength greater than the preset communication signal strength is not the terminal C, the length of time for which the communication signal strength of the terminal C greater than the preset communication signal strength can be detected may be 15 minutes.
104. And if the duration exceeds the preset duration, establishing an association relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal.
The preset time length may represent a contact time length between the terminal and a candidate terminal having a communication signal strength greater than the preset communication signal strength.
After the duration that the communication signal intensity of the candidate terminal is greater than the preset communication signal intensity is obtained, the duration may be compared with the preset duration. When the duration exceeds a 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 a preset communication signal strength.
For example, if the communication signal intensity of the terminal C is greater than the preset communication signal intensity, the duration for acquiring that the communication signal intensity of the terminal C is greater than the preset communication signal intensity may be 15 minutes, and the preset duration may be 10 minutes, it may be determined that the duration for acquiring that the communication signal intensity of the terminal C is greater than the preset communication signal intensity exceeds the preset duration, and then the association relationship between the terminal C and the terminal may be established.
The association relationship may represent that the terminal is associated 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. And at least sending the association information to the server.
The association information may include an association relationship and establishment time of the association relationship, where the establishment time of the association relationship may be obtained and stored when the association relationship is established.
For example, when the terminal establishes the association relationship with the terminal C, the time that the terminal can acquire the association relationship may be 9/4/8/30 minutes in 2020, and then it may be determined that the association information includes: the associated terminal associated with the terminal is a terminal C, and the time for establishing the association relationship between the terminal and the terminal C is 9, 4, 8 and 30 minutes in 2020.
In some embodiments, the step of sending the association information to the server may include:
and periodically sending the association information to the server.
For example, in the embodiment of the present application, in order to save power consumption of the terminal, the period length may be set to 1 day, and the terminal may send the association information to the server every day.
In some embodiments, before the step of sending the association information to the server, the method may further include:
acquiring position information of a terminal in a preset period;
the step of sending at least the association information to the server may include:
and sending the association information and the position information to a server.
The location information may include location point information where the terminal is located, and the location information in the preset period may include a location point information set where the terminal is located in the preset period. For example, in a preset period, acquiring the location point where the terminal is located may include: location a, location B, and location C, the location information may include location a, location B, and location C.
The preset period may be set according to an actual situation, for example, the preset period may be the same as a period length for sending the association information to the server, so that the terminal sends the location information to the server while sending the association information to the server. The server can conveniently store the associated information and the position information of the terminal at the same time, and the information processing efficiency can be improved.
The embodiment of the application discloses an information processing method, which comprises the following steps: determining one or more candidate terminals in the same communication group with the terminal; detecting the communication signal intensity of the candidate terminal; acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal; if the duration exceeds the preset duration, establishing an association relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal; and at least sending the association information to the server. According to the embodiment of the application, the communication signal strength of each terminal in the same local area network is detected, whether the terminals are in close-range continuous contact or not is reflected by the continuous duration side of the communication signal strength, and the related information is reported to the server to construct the corresponding relation network, so that when a terminal user in close-range continuous contact needs to be searched, a target can be quickly locked based on the relation network, and the information processing efficiency is effectively improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of another information processing method according to an embodiment of the present application. In this embodiment of the present application, the information processing method may be applied to a server, and specific application scenarios of the information processing method may be as follows:
201. receiving associated information sent by a plurality of different terminals, wherein the associated information comprises: and the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation.
Each terminal comprises an associated message, and the associated message comprises the association relationship of the terminal and the establishment time of the association relationship. Each association corresponds to a different set-up time.
For example, if the association relationship of the terminal is 1, it may be determined that the number of the terminals associated with the terminal is 1 according to the association relationship, or if the association relationship of the terminal is 2, it may be determined that the number of the terminals associated with the terminal is 2 according to the 2 association relationships.
For example, the plurality of different terminals may include terminal I, terminal K, and the like, and then the association information of terminal I and the association information of terminal K may be received. The association information of the terminal I may include: the terminal A is the terminal for establishing the association relation of the terminal I, and the establishment time can be 9, month, 4, 10 and 30 minutes in 2020; the association information of the terminal K may include: the terminal for establishing the association relationship with the terminal K is the terminal L, and the establishment time can be 9, 4, 12 hours and 30 minutes in 2020.
202. And updating the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network.
After acquiring the association relationships of the multiple different terminals and the establishment times corresponding to the association relationships, the association relationships of the multiple different terminals may be added to the historical relationship network at the establishment times corresponding to the association relationships.
The historical relationship network may include a plurality of terminals that have established historical relationships within a historical time period, historical relationships between the terminals, and historical establishment times of the historical relationships. For example, the historical relationship network may include: the terminal A and the terminal B have a historical association relationship, and the historical establishment time of the historical association relationship between the terminal A and the terminal B can be 30 minutes from 9/2020 to 1/8; the terminal A and the terminal E have a historical association relationship, and the historical establishment time of the historical association relationship of the terminal A and the terminal E can be 30 minutes in 9, 2, 8 and 2020; the terminal C and the terminal D have a historical association relationship, and the historical establishment time of the historical association relationship between the terminal C and the terminal D may be 9, 3, 8, 30 minutes in 2020.
For example, receiving the association and the establishment time may include: the terminal establishing the association relation with the terminal I is a terminal A, and the establishing time can be 9, month, 4, day, 10, 30 minutes in 2020; the association information of the terminal K may include: the terminal for establishing the association relationship with the terminal K is the terminal L, and the establishment time can be 9, 4, 12 hours and 30 minutes in 2020. The historical relationship network can be used for enabling the terminal A and the terminal B to have a historical association relationship, and the historical establishment time of the historical association relationship between the terminal A and the terminal B can be 30 minutes from 9 month to 2020 to 1 month to 8 days; the terminal A and the terminal E have a historical association relationship, and the historical establishment time of the historical association relationship of the terminal A and the terminal E can be 30 minutes in 9, 2, 8 and 2020; the terminal C and the terminal D have a historical association relationship, and the historical establishment time of the historical association relationship between the terminal C and the terminal D may be 9, 3, 8, and 30 minutes in 2020, the server may update the historical relationship network according to the received association relationship and the establishment time, and the updated relationship network may include: the terminal A establishes the association relationship with the terminal B, the terminal E and the terminal I respectively, and the establishment time is 30 minutes at 9, month, 1 and 8 of 2020, 30 minutes at 9, month, 2 and 8 of 2020, and 30 minutes at 9, month, 4 and 10 of 2020; the terminal C and the terminal D have an association relationship, and the establishment time of the association relationship between the terminal C and the terminal D can be 9, 3, 8, and 30 minutes in 2020.
203. And when the information containing the specified content sent by the target terminal is detected, searching for the associated terminal associated with the target terminal based on the updated relationship network.
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. And when the target terminal is a terminal included in the updated relationship network. The designated content can be set according to actual requirements, for example, taking epidemic situations as an example, the designated content can be the confirmed diagnosis content of the disease condition, such as: user a has detected 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, the method may further include:
and receiving the position information sent by a plurality of different terminals.
When the target terminal is not found in the updated relationship network, the server may obtain the location information of the target terminal when receiving the information including the specified content sent by the target network. 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 the establishment time comprises:
updating the historical relationship network according to the incidence relationship, the establishment time and the position information;
and when the information containing the specified content sent by the target terminal is detected, searching the associated terminal associated with the target terminal according to the position information of the target terminal.
After the server acquires the location information of the terminal, the location information may include different location points where the target terminal is located within a preset time period, and then the server may generate trajectory information of the target terminal within the preset time period according to the different location points where the target terminal is located within the preset time period, and may add the trajectory information to the historical relationship network, so that the server queries other terminals that are located at the same location point at the same time as the target terminal. By the method, when the terminal cannot carry out wireless network communication, the terminal related to the terminal can be searched according to the position information of the terminal.
In some embodiments, the step of, when detecting that the information including the specified content is sent by the target terminal, searching for an associated terminal associated with the target terminal based on the updated relationship network may include:
extracting a target time satisfying a preset condition from information including the designated content;
obtaining a first time range based on the target time and the specified duration;
and determining the associated terminal associated with the target terminal in the first time range from the updated relation network.
The target time may be a time point associated with the specified content, for example, the current time may be 9/month/4/8/17/2020, and if the server receives the information including the specified content transmitted by the target terminal at the current time, the target time may be determined to be 9/month/4/8/17/2020.
The specified time period may be a preset time length, for example, the specified time period may be 14 days.
After determining the target time and the specified duration, a first time range may be determined based on the target time and the specified duration.
For example, the target time may be 9/4/8/17 minutes in 2020, the specified duration may be 14 days, and the first time range may be determined to be a time range that differs from the target time by 14 days: 8/21/8/17/2020 to 9/4/8/17/2020.
After determining the first time range, the server may search the updated relationship network for the associated terminal having an association relationship with the target terminal within the first time range.
For example, the first time range may be: in the updated relationship network, the target terminal may be terminal a, the terminal having an association relationship with terminal a may include terminal B, terminal E and terminal I from 8 hours and 17 minutes at 21 months and 8 days at 8 months at 2020 to 9 months and 4 days at 8 days at 2020, where the establishment time of the association relationship between terminal a and terminal B may be 30 minutes at 8 hours at 9 months at 2020, the establishment time of the association relationship between terminal a and terminal E may be 30 minutes at 8 days at 2 months at 9 months at 2020, and the establishment time of the association relationship between terminal a and terminal I may be 30 minutes at 10 days at 9 months at 2020, 9 months and 4 days at 10 months at 2020, and then finding out an association terminal having an association relationship with terminal a in the first time range from the updated relationship network 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, the method may further include:
and when detecting that the target establishment time exceeds the specified time from the current time point, removing the association relation between the terminals corresponding to the target establishment time.
The target establishing time may be a time that differs from the current time point by more than a specified time duration, for example, the current time may be 9/2020/14/8/17 min.
The specified time period may be a preset time length, for example, the specified time period may be 14 days.
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.
For example, the current time may be 9/14/8/17 minutes in 2020, the specified duration may be 14 days, and the second time range may be determined to be a time range that differs from the current time by 14 days: the 17 minutes are from 9/1/8/2020 to 17 minutes from 9/14/8/2020.
After determining the second time range, the server may search, from the updated relationship network, for a relationship terminal that has a relationship with the target terminal outside the second time range, and release the relationship between the target terminal and the relationship terminal.
For example, the second time range may be: in the updated relationship network, the time 17 between 9, month 1, day 8 and 2020 to 17 between 9, month 14, day 8 and 14 in 2020, the target terminal may be a terminal a, and the terminal having an association relationship with the terminal a may include a terminal B, a terminal E and a terminal I, where the establishment time of the association relationship between the terminal a and the terminal B may be 30 minutes at 30 days 8, 9, month 2, and 2 days 8 in 2020, and the establishment time of the association relationship between the terminal a and the terminal I may be 30 minutes at 10 days 10, 9, month 4, and 2020, then the association terminal having an association relationship with the terminal a outside the second time range may be found from the updated relationship network, and the method may include: the terminal B may release the association relationship between the terminal and the terminal B from the updated relationship network.
When the establishment time for periodically detecting the association relationship with the target terminal exceeds the set time range, the association relationship between the target terminal and the association terminal is released from the updated relationship network, so that the failure information in the updated relationship network can be cleared, the data occupation space is reduced, and the information query efficiency can be improved.
In some embodiments, after the server finds the associated terminal associated with the target terminal from the updated relationship network, the method may further include:
and sending prompt information to the associated terminal.
The server may obtain terminal information of the associated terminal, where the terminal information may include multiple types, for example, the terminal information may include a terminal contact address, a user to which the terminal belongs, and the like.
The prompt information may include various information, for example, during epidemic situation prevention and control, when the user to which the target terminal belongs is diagnosed, the close contact person with the user to which the target terminal belongs needs to be found, the close contact person may be found through the above steps, and when the server queries the associated terminal associated with the target terminal from the updated relationship network, the user to which the associated terminal belongs may be determined to be the close contact person of the user to which the target terminal belongs.
The embodiment of the application discloses an information processing method, which comprises the following steps: receiving associated information sent by a plurality of different terminals, wherein the associated information comprises: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained; updating the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, wherein the historical relationship network comprises: a plurality of terminals establishing an association relationship within a preset historical time period; and when the query request sent by the target terminal is detected, searching for the associated terminal associated with the target terminal based on the updated relationship network. According to the embodiment of the application, the historical relationship network is updated according to the received associated information sent by the plurality of different terminals, so that the accurate relationship network is obtained, when the query request of the target terminal is received, the associated terminal associated with the target terminal can be rapidly and accurately queried, and the efficiency of information query can be improved.
As shown in fig. 4, fig. 4 is a schematic flow chart of another information processing method according to the embodiment of the present application. Taking the interaction between a server and a terminal as an example, an information processing method is provided, and the specific flow is as follows:
301. and the terminal starts a wireless network function and accesses a wireless communication network.
The wireless network may include, but is not limited to, a WiFi Aware network, and the terminal may support WiFi Aware functions.
When detecting that the user starts the wireless network function, the terminal can acquire the wireless networks which can be connected in the current area, and can select the wireless network with higher network signal intensity from the connectable wireless networks for connection. The higher network signal strength may indicate that the terminal is closest to an area covered by a wireless network corresponding to the network signal.
For example, the terminal turns on a wireless network function, and the detection of a connectable wireless network may include: the terminal comprises a wireless network A, a wireless network B and a wireless network C, wherein the signal intensity of the wireless network A is higher than that of the wireless network B, and the signal intensity of the wireless network B is higher than that of the wireless network C, so that the terminal can select the wireless network A to connect.
For example, please refer to fig. 5, fig. 5 is a schematic diagram illustrating a communication group according to an embodiment of the present disclosure. In fig. 5, the terminal a, the terminal B, the terminal C, and the terminal D access the wireless network a, and the terminal, the terminal a, the terminal B, the terminal C, and the terminal D may form a communication group.
302. The terminal determines candidate terminals for the same communication group based on the wireless communication network.
After the terminal accesses the wireless network, other terminals in the communication group corresponding to the wireless network can be acquired.
Further, the terminal may send a communication signal to other terminals in the communication group, and when a response to the communication signal is received by the other terminals, may establish a communication connection with the other terminals, and may use the other terminals as candidate terminals.
For example, other terminals within a communication group may include: the terminal A, the terminal B and the terminal C can send out a communication signal in the communication group, other terminals in the communication group can receive the communication signal, if the terminal A detects that the terminal A aims at the existing of the communication signal, the communication connection with the terminal A can be established, and the terminal A can be determined to be a candidate terminal.
303. The terminal acquires the communication signal intensity of the candidate terminal, and determines a target terminal with the communication signal intensity larger than the preset communication signal intensity 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 acquired. The distance between the terminal and the candidate terminal can be judged according to the detected traffic signal intensity of the candidate terminal. For example, when the terminal detects that the communication signal strength of the candidate terminal is higher, it may indicate that the terminal is closer to the candidate terminal.
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 according to the comparison result.
For example, the candidate terminals may include a terminal a and a terminal B, the strength of the traffic signal detected by the terminal a may be 10, the strength of the communication signal detected by the terminal B may be 30, the strength of the preset communication signal may be 20, comparing the strength of the communication signal of the candidate terminal with the strength of the preset communication signal may determine that the strength of the communication signal of the terminal a is less than the strength of the preset communication signal, and the strength of the communication signal of the terminal B is greater than the strength of the communication signal gun of the preset terminal, then it may determine that the terminal B whose strength of the communication signal is greater than the strength of the preset communication signal is the target terminal, that is, the terminal closest to the terminal in the communication group may be the terminal B.
In some embodiments, after determining a candidate terminal having a communication signal strength greater than a preset communication signal strength, a duration that the communication signal strength of the candidate terminal is greater than the preset communication signal strength may be detected, where the duration may represent a contact duration of the terminal and the associated terminal in a close distance, and when the duration is greater than the preset duration, the candidate terminal may be determined as a target terminal, and the target terminal in close contact with the terminal may be determined from the candidate terminals through the communication signal strength and the duration that the communication signal strength is greater than the preset communication signal strength, so that accuracy of information detection may be improved.
304. And the terminal constructs an association relation with the target terminal to obtain the association information of the terminal.
For example, please refer to fig. 6, and fig. 6 is a schematic diagram of a terminal association relationship provided in an embodiment of the present application. When the terminal B is a target terminal satisfying the above condition, the association relationship between the terminal and the terminal B may be established according to the representation shown in fig. 6.
After the terminal establishes the 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. The terminal sends the association information to the server.
After the terminal determines the target terminal, the associated information corresponding to the target terminal is generated, and the associated information can be sent to the server, so that the server can update the relationship network based on the association relationship, and the timely effectiveness of the information is ensured
306. And the server updates the historical relationship network according to the received association information to obtain an updated relationship network.
For example, please refer to fig. 7, and fig. 7 is a schematic diagram of a historical relationship network provided in an embodiment of the present application. The historical relationship network shown in fig. 7 may include association information of a terminal, a terminal D, and a terminal a, where the terminal having an association relationship with the terminal may be a terminal F, the terminal having an association relationship with the terminal a may be a terminal G, and the terminal having an association relationship with the terminal D may be a terminal E, where the association information of the terminal may further include establishment time of the association relationship between the terminal and the terminal F, which may be 24 minutes from 9/1/10/2020; the association information of the terminal D can also comprise the establishment time of the association relationship between the terminal D and the terminal E, which can be 9, 2, 10, 24 minutes in 2020; the association information of the terminal a may further include that the establishment time of the association relationship between the terminal a and the terminal G may be 9, 3, 10, 24 minutes in 2020.
After the server receives the association information sent by the terminal, the historical relationship network can be updated according to the association information. For example, please refer to fig. 8, and fig. 8 is a schematic diagram of an updated relationship network according to an embodiment of the present application. The association information received by the server and sent by the terminal may be association information between the terminal and the terminal B, and if the association relationship between the terminal and the terminal F already exists in the historical relationship network shown in fig. 7, a new association relationship may be added to the terminal in the historical relationship network, that is, the association relationship between the terminal and the terminal B may be obtained, so that an updated relationship network may be obtained.
307. The terminal sends a query request to the server.
After the terminal sends the associated information to the server, the terminal can also send a query request to the server, and based on the query request, all associated terminals having an association relation with the terminal can be queried, so that the information searching efficiency can be greatly improved.
308. And the server searches the associated terminal associated with the terminal from the updated relationship network based on the received query request.
After receiving the query request, the server may first detect whether the terminal exists in the updated relationship network, and if it is detected that the terminal exists in the updated relationship network, may further obtain all the association relationships that the terminal exists in the updated relationship network.
For example, when the server receives the query request sent by the terminal, the server may obtain the association relationship existing in the terminal from the updated relationship network shown in fig. 8, which may include the association relationship between the terminal and the terminal B and the association relationship between the terminal and the terminal F, so as to determine that the associated terminals in the relationship with the terminal are the terminal B and the terminal F.
When the server obtains the query result based on the query request sent by the terminal, the server can send the query result to the terminal, and meanwhile, the server can send the query result to the associated terminal of the terminal, so that the user to which the terminal belongs and the user to which the associated terminal belongs can obtain related information in time.
The embodiment of the application discloses an information processing method, which comprises the following steps: the method comprises the steps that a terminal starts a wireless network function, the terminal is accessed to a wireless communication network, the terminal determines candidate terminals of the same communication group based on the wireless communication network, the terminal obtains the communication signal intensity of the candidate terminals, determines target terminals with the communication signal intensity larger than the preset communication signal intensity from the communication group, the terminal constructs the association relation with the target terminals to obtain the association information of the terminal, then the terminal sends the association information to a server, the server updates a historical relation network according to the received association information to obtain an updated relation network, further, the terminal sends a query request to the server, and the server searches the associated terminals associated with the terminal from the updated relation network based on the received query request. According to the embodiment of the application, the terminal detects the information through interactive operation between the terminal and the server, the detection result is sent to the server, and then the server inquires the information, so that the information processing efficiency can be greatly improved.
In order to better implement the information processing method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the information processing method. The terms are the same as those in the above-described information processing method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 9, fig. 9 is a block diagram of an information processing apparatus according to an embodiment of the present disclosure, which may be applied to a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a Portable Media Player (PMP), and a fixed terminal such as a desktop computer, and the apparatus includes:
a determining unit 401, configured to determine one or more candidate terminals in the same communication group as the terminal;
a detecting unit 402, configured to detect communication signal strength of a candidate terminal;
a first obtaining unit 403, configured to obtain a duration when the communication signal strength is greater than a preset communication signal strength;
an establishing unit 404, configured to establish an association relationship between a candidate terminal and a terminal, where the communication signal strength is greater than the preset communication signal strength, if the duration exceeds the preset duration;
a first sending unit 405, configured to send association information at least to a server, where the association information includes: and the association relation and the establishment time of the association relation.
In some embodiments, the first sending unit 405 may include:
and the first sending subunit is used for periodically sending the association information to the server.
In some embodiments, the information processing apparatus may further include:
and the second acquisition unit is used for acquiring the position information of the terminal in a preset period.
In some embodiments, the first sending unit 405 may include:
and the second sending subunit is used for sending the association information and the position information to the server.
Referring to fig. 10, fig. 10 is a block diagram of another information processing apparatus according to an embodiment of the present disclosure, the apparatus including:
a receiving unit 501, configured to receive the association information sent by multiple different terminals, where the association information includes: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained;
a first updating unit 502, configured to update a historical relationship network according to the association relationship and the establishment time, so as to obtain an updated relationship network, where the historical relationship network includes: the method comprises the steps that a plurality of terminals with historical association relations established in historical time periods, historical association relations among the terminals and historical establishment time of the historical association relations are established;
a searching unit 503, configured to search, when detecting information that includes specified content and is sent by a target terminal, an associated terminal associated with the target terminal based on the updated relationship network.
In some embodiments, the apparatus may further comprise:
and the third acquisition unit is used for receiving the position information sent by a plurality of different terminals.
In some embodiments, the first updating unit 502 may include:
the updating subunit is used for updating the historical relationship network according to the incidence relationship, the establishment time and the position information;
and the searching subunit is used for searching the associated terminal associated with the target terminal according to the position information of the target terminal when detecting the information which is sent by the target terminal and contains the specified content.
In some embodiments, the lookup unit 503 may include:
an extraction subunit operable to extract a target time satisfying a preset condition from information containing the specified content;
the obtaining subunit is used for obtaining a first time range based on the target time and the specified duration;
a determining subunit, configured to determine, from the updated relationship network, an associated terminal associated with the target terminal within the first time range.
In some embodiments, the information processing apparatus may further include:
and the release unit is used for releasing the association relation between the terminals corresponding to the target establishment time when the target establishment time which is longer than the specified time length from the current time point is detected.
In some embodiments, the information processing apparatus may further include:
and the second sending unit is used for sending the prompt information to the associated terminal.
An embodiment of the present application discloses an information processing apparatus, including: the determining unit 401 is configured to determine one or more candidate terminals in the same communication group as the terminal; the detecting unit 402 is configured to detect communication signal strength of a candidate terminal; the first obtaining unit 403 is configured to obtain a duration when the communication signal strength is greater than a preset communication signal strength; the establishing unit 404 is configured to establish an association relationship between a candidate terminal and a terminal, where the communication signal strength is greater than the preset communication signal strength, if the duration exceeds the preset duration; the first sending unit 405 is configured to send associated information to at least a server, where the associated information includes: and the association relation and the establishment time of the association relation.
The embodiment of the application also provides computer equipment, and the computer equipment can be a terminal. As shown in fig. 11, the terminal may include a Radio Frequency (RF) 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) module 607, a processor 608 including one or more processing cores, and a power supply 609. Those skilled in the art will appreciate that the terminal structure shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during the process of transmitting and receiving information, and in particular, for processing the received downlink information of the base station by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. In general, 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), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and information processing by operating the software programs and modules stored in the memory 602. The memory 602 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 playing function, an image playing function, etc.), and the like. Further, the 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 access to the memory 602.
The input unit 603 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, input unit 603 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. The input unit 603 may include other input devices in addition to the touch-sensitive surface. In particular, 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.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by or provided to the user and various graphical user interfaces of the server, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 604 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 11 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that turns off the display panel and the backlight when the server moves to the ear.
Audio circuitry 606, speakers, and microphones may provide an audio interface between the user and the server. The audio circuit 606 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 606 and converted into audio data, which is then processed by the audio data output processor 608, and then passed through the RF circuit 601 to be sent to, for example, a terminal, or the audio data is output to the memory 602 for further processing. The audio circuitry 606 may also include an ear-bud jack to provide communication of peripheral headphones with the server.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope of not changing the essence of the application.
The processor 608 is a control center of the terminal, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the server and processes data by operating or executing software programs and modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the handset. Optionally, processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 609 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Specifically, in this embodiment, the processor 608 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 608 runs the application programs stored in the memory 602, thereby implementing various functions:
determining one or more candidate terminals in the same communication group with the terminal; detecting the communication signal intensity of the candidate terminal; acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal; if the duration exceeds the preset duration, establishing an association relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal; at least sending associated information to a server, the associated information comprising: and the association relation and the establishment time of the association relation.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, the terminal of this embodiment can implement the steps of information processing, and improve the information processing efficiency.
The embodiment of the present application further provides a computer device, which may be a server, as shown in fig. 12, which shows a schematic structural diagram of the server according to the embodiment of the present application, and specifically:
the server may include components such as a processor 701 of one or more processing cores, memory 702 of one or more computer-readable storage media, a power supply 703, and an input unit 704. Those skilled in the art will appreciate that the server architecture shown in FIG. 12 is not meant to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 701 is a control center of the server, connects various parts of the entire server using various interfaces and lines, and performs various functions of the server and processes data by running or executing software programs and/or modules stored in the memory 702 and calling data stored in the memory 702, thereby performing overall monitoring of the server. Optionally, processor 701 may include one or more processing cores; preferably, the processor 701 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701.
The memory 702 may be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by operating the software programs and modules stored in the memory 702. The memory 702 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to the use of the server, and the like. Further, the 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.
The server further includes a power source 703 for supplying power to each component, and preferably, the power source 703 may be logically connected to the processor 701 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The power supply 703 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The server may also include an input unit 704, and the input unit 704 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the server may further include a display unit and the like, which will not be described in detail herein. Specifically, in this embodiment, the processor 701 in the server loads the executable file corresponding to the process of one or more application programs into the memory 702 according to the following instructions, and the processor 701 runs the application program stored in the memory 702, thereby implementing various functions as follows:
receiving associated information sent by a plurality of different terminals, wherein the associated information comprises: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained; updating the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, wherein the historical relationship network comprises: a plurality of terminals establishing an association relationship within a preset historical time period; and when the query request sent by the target terminal is detected, searching for the associated terminal associated with the target terminal based on the updated relationship network.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, the server of this embodiment can implement the steps of information processing, and improve the information processing efficiency.
It will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, which may be stored in a storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the information processing methods provided by the present application. For example, the instructions may perform the steps of:
determining one or more candidate terminals in the same communication group with the terminal; detecting the communication signal intensity of the candidate terminal; acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal; if the duration exceeds the preset duration, establishing an association relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal; at least sending associated information to a server, the associated information comprising: and the association relation and the establishment time of the association relation.
Alternatively, the first and second electrodes may be,
receiving associated information sent by a plurality of different terminals, wherein the associated information comprises: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained; updating the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, wherein the historical relationship network comprises: a plurality of terminals establishing an association relationship within a preset historical time period; and when the query request sent by the target terminal is detected, searching for the associated terminal associated with the target terminal based on the updated relationship network.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any information processing method provided in the embodiments of the present application, beneficial effects that can be achieved by any information processing method provided in the embodiments of the present application can be achieved, and detailed descriptions are omitted here for the foregoing embodiments.
The information processing method, apparatus, storage medium, and terminal provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principles and embodiments of the present application, and the description of the embodiments above is only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (12)

1. An information processing method applied to a terminal is characterized by comprising the following steps:
determining one or more candidate terminals in the same communication group with the terminal;
detecting the communication signal strength of the candidate terminal;
acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal;
if the duration exceeds the preset duration, establishing an association relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal;
at least sending association information to a server, wherein the association information comprises: the incidence relation and the establishment time of the incidence relation.
2. The method of claim 1, wherein sending the association information to the server comprises:
and periodically sending the association information to the server.
3. The method of claim 1, further comprising, prior to sending the association information to the server:
acquiring position information of the terminal in a preset period;
the sending of the association information to at least the server includes:
and sending the association information and the position information to a server.
4. An information processing method applied to a server is characterized by comprising the following steps:
receiving the associated information sent by a plurality of different terminals, wherein the associated information comprises: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained;
updating a historical relationship network according to the incidence relationship and the establishment time to obtain an updated relationship network, wherein the historical relationship network comprises: the method comprises the steps that a plurality of terminals with historical association relations established in historical time periods, historical association relations among the terminals and historical establishment time of the historical association relations are established;
and when the information which is sent by the target terminal and contains the designated content is detected, searching the associated terminal associated with the target terminal based on the updated relationship network.
5. The method of claim 4, further comprising, before updating the historical relationship network according to the incidence relationship and the establishment time:
receiving position information sent by a plurality of different terminals;
the updating the historical relationship network according to the incidence relationship and the establishment time comprises the following steps:
updating the historical relationship network according to the incidence relationship, the establishment time and the position information;
and when the information containing the designated content sent by the target terminal is detected, searching a related terminal related to the target terminal according to the position information of the target terminal.
6. The method according to claim 4, wherein when detecting information containing specified content sent by a target terminal, searching for an associated terminal associated with the target terminal based on the updated relationship network comprises:
extracting a target time satisfying a preset condition from information including the designated content;
obtaining a first time range based on the target time and the specified duration;
and determining the associated terminal associated with the target terminal in the first time range from the updated relation network.
7. The method according to claim 4, wherein after updating the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, the method further comprises:
and when detecting that the target establishment time exceeds the specified time from the current time point, removing the association relation between the terminals corresponding to the target establishment time.
8. The method according to any of claims 4-7, further comprising, after finding the associated terminal associated with the target terminal:
and sending prompt information to the associated terminal.
9. An information processing apparatus applied to a terminal, comprising:
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 communication signal strength of the candidate terminal;
the first acquisition unit is used for acquiring the duration when the intensity of the communication signal is greater than the preset intensity of the communication signal;
the establishing unit is used for establishing an incidence relation between the candidate terminal with the communication signal strength greater than the preset communication signal strength and the terminal if the duration exceeds the preset duration;
a first sending unit, configured to send associated information at least to a server, where the associated information includes: the incidence relation and the establishment time of the incidence relation.
10. An information processing apparatus applied to a server, comprising:
a receiving unit, configured to receive the associated information sent by multiple different terminals, where the associated information includes: the association relation between the candidate terminal with the communication signal intensity greater than the preset communication signal intensity and the terminal and the establishment time of the association relation are obtained;
a first updating unit, configured to update a historical relationship network according to the association relationship and the establishment time, so as to obtain an updated relationship network, where the historical relationship network includes: a plurality of terminals establishing an association relationship within a preset historical time period;
and the searching unit is used for searching the associated terminal associated with the target terminal based on the updated relationship network when the query request sent by the target terminal is detected.
11. A storage medium storing a plurality of instructions adapted to be loaded by a processor to execute the information processing method according to any one of claims 1 to 8.
12. A computer device comprising a processor and a memory, the memory storing a plurality of instructions, the processor loading the instructions to perform the information processing method of any one of claims 1 to 8.
CN202011105322.4A 2020-10-15 2020-10-15 Information processing method and device, storage medium and computer equipment Pending CN112269842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011105322.4A CN112269842A (en) 2020-10-15 2020-10-15 Information processing method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011105322.4A CN112269842A (en) 2020-10-15 2020-10-15 Information processing method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
CN112269842A true CN112269842A (en) 2021-01-26

Family

ID=74337397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011105322.4A Pending CN112269842A (en) 2020-10-15 2020-10-15 Information processing method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN112269842A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112888029A (en) * 2021-02-03 2021-06-01 惠州Tcl移动通信有限公司 Communication method, computer equipment and computer readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112888029A (en) * 2021-02-03 2021-06-01 惠州Tcl移动通信有限公司 Communication method, computer equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10831161B2 (en) Method and device for sending communication message
CN104518953B (en) Method for deleting message, instant communication terminal and system
US10635449B2 (en) Method and apparatus for running game client
WO2018166234A1 (en) Network search method and apparatus
WO2015090248A1 (en) Server overload protection method and device
CN107393548B (en) Method and device for processing voice information collected by multiple voice assistant devices
CN107094294B (en) Network connection method and device
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
CN105208056B (en) Information interaction method and terminal
CN108667884B (en) Mirror image distribution method, mirror image acquisition method and device
WO2017096909A1 (en) Data connection establishing method and apparatus
WO2018040813A1 (en) Audio/video communication method, terminal, server, and storage medium
WO2018103380A1 (en) Method for accessing wireless network, and mobile terminal
WO2015081880A1 (en) Method, device and system for processing cluster service attribute
CN106162811B (en) Method and device for establishing network connection
CN105530684B (en) Network access method, device and system
CN112269842A (en) Information processing method and device, storage medium and computer equipment
US10785743B2 (en) Positioning method and apparatus
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN106817370B (en) Method and device for transmitting network data
CN106303616B (en) Play control method, device and terminal
CN107070883B (en) Method and device for carrying out security detection on wireless network
CN106682189B (en) File name display method and device
WO2017076279A1 (en) Method of updating forward information base item, and device and system utilizing same
CN112261634A (en) Bluetooth transmission control method, device, terminal equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination