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

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

Info

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

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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 OR 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 comprises the following steps: detecting the communication signal strength of one or more candidate terminals in the same communication group with the terminal; acquiring duration time when the communication signal intensity is larger than the preset communication signal intensity; if the duration exceeds the preset duration, establishing an association relationship between the candidate terminal and the terminal, wherein the communication signal strength of the candidate terminal is greater than the preset communication signal strength; and sending the association relationship and the establishment time of the association relationship to a server at least. According to the method and the device for processing the information, the communication signal intensity of each terminal in the same local area network is detected, whether the terminals are in close-range continuous contact or not is reflected on the side of the duration of the communication signal intensity, and relevant information is reported to the server to construct a corresponding relation network, so that when a user of the terminal 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, device, storage medium and computer equipment
Technical Field
The present invention relates to the field of computer applications, and in particular, to an information processing method, an information processing device, a storage medium, and a computer device.
Background
Because of the latency and person-to-person infectivity of the new coronavirus pneumonia, epidemic situation is difficult to control. In order to effectively control epidemic spread, an infectious agent needs to be found, and a transmission path is cut off. If an intimate contact of the virus infected person can be found, the transmission path can be effectively cut off. The existing main method for checking the intimate contact person of the virus infected person is to recall the own activity track of the infected person, or to check the activity track of the infected person according to monitoring, or to check the public transport trip record of the infected person.
However, when the close contact person is examined by the above method, the moving track of the infected person needs to be carefully checked manually, which is inefficient, and it is difficult to obtain the complete moving track 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 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 as the terminal;
detecting the communication signal strength of the candidate terminal;
acquiring duration time when the communication signal intensity is larger than a preset communication signal intensity;
if the duration exceeds the preset duration, establishing an association relationship between the candidate terminal with the communication signal strength larger than the preset communication signal strength and the terminal;
transmitting association information at least to a server, the association information comprising: the association relationship and the establishment time of the association relationship.
Accordingly, another information processing method is provided in the embodiments of the present application, which is applied to a server, and includes:
receiving the association information sent by a plurality of different terminals, wherein the association information comprises: the communication signal strength is greater than the association relation between the candidate terminal with the preset communication signal strength and the terminal, and the establishment time of the association relation;
updating the history relation network according to the association relation and the establishment time to obtain an updated relation network, wherein the history relation network comprises: a plurality of terminals establishing an association relationship in a preset history time period;
And when the query request sent by the target terminal is detected, searching the associated terminal associated with the target terminal based on the updated relationship network.
Correspondingly, the embodiment of the application also provides an information processing device, which is applied to the terminal and comprises:
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 a communication signal strength of the candidate terminal;
the first acquisition unit is used for acquiring duration time when the communication signal intensity is larger than the preset communication signal intensity;
the establishing unit is used for establishing an association relationship between the candidate terminal with the communication signal strength larger than the preset communication signal strength and the terminal if the duration exceeds the preset duration;
the first sending unit is configured to send association information to at least a server, where the association information includes: the association relationship and the establishment time of the association relationship.
Correspondingly, the embodiment of the application also provides another information processing device, which is applied to the server and comprises the following components:
a receiving unit, configured to receive the association information sent by a plurality of different terminals, where the association information includes: the communication signal strength is greater than the association relation between the candidate terminal with the preset communication signal strength and the terminal, and the establishment time of the association relation;
The first updating unit is configured to update the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, where the historical relationship network includes: a plurality of terminals establishing an association relationship in a preset history time period;
and the searching unit is used for searching the associated terminal associated with the target terminal based on the updated relation network when the query request sent by the target terminal is detected.
Accordingly, embodiments of the present application also provide a storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the information processing method as described above.
Accordingly, embodiments of the present application also provide a computer device including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions to perform the information processing method as described above.
According to the method and the device for processing the information, the communication signal intensity of each terminal in the same local area network is detected, whether the terminals are in close-range continuous contact or not is reflected on the side of the duration of the communication signal intensity, and relevant information is reported to the server to construct a corresponding relation network, so that when a user of the terminal 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 of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an application scenario schematic diagram of an information processing method according to an embodiment of the present application.
Fig. 2 is a flow chart of an information processing method according to an embodiment of the present application.
Fig. 3 is a flow chart of another information processing method according to an embodiment of the present application.
Fig. 4 is a flow chart 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 application.
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 relational 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 following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Based on the above 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 will describe in detail.
Referring to fig. 1, fig. 1 is a schematic application scenario diagram of an information processing method according to an embodiment of the present application, where the application scenario diagram includes a terminal and a server, and the terminal and the server are connected through a network. The network comprises network entities such as a router, a gateway and the like.
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, so as to obtain a duration when the communication signal strength is greater than the preset communication signal strength, and if the duration exceeds the preset duration, establish an association relationship between the candidate terminal and the terminal, where the communication signal strength is greater than the preset communication signal strength, and then send association information at least to the server.
The server may receive association information sent by a plurality of different terminals, where the association information includes: and when the query request sent by the target terminal is detected, searching the associated terminal associated with the target terminal based on the updated relationship network.
The example of fig. 1 is merely an example of a system architecture for implementing an 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 will describe in detail. The numbers of the following examples are not intended to limit the preferred order of the examples.
Referring to fig. 2, fig. 2 is a flow chart of an information processing method according to an embodiment of the present application. 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 can be as follows:
101. one or more candidate terminals in the same communication group as the terminal are determined.
In this embodiment of the present application, the communication group may be formed by a plurality of terminals, and then 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, 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, the wireless network accessed by the terminal C may be a first wireless network, and then 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 can be a Wi-Fi Aware (Wireless-Fidelity Aware) network.
In particular, wi-Fi Aware, a peripheral awareness technology, can send extremely small amounts of data information to help multiple applications implement service discovery functions. From information broadcast to discovery and connection, the process will be lower than Wi-Fi (Wireless-Fidelity) devices sniffing hotspots, so it will be able to run continuously in the device background. Once the corresponding service or application is found, after tuning to other devices, wi-Fi Direct or conventional Wi-Fi connection may be performed. The Wi-Fi Aware has wide applicability and can normally operate in a crowded environment and indoors. Applications on the mobile device may use Wi-Fi Aware to provide services to or find services on other devices. After discovering services, a user typically "chooses" to establish a connection with the discovered device without using an internet connection.
According to the Wi-Fi Aware protocol, the Wi-Fi Aware network has 3 roles, namely a master device, a non-master synchronous device and a non-master non-synchronous device, and the building process of the Wi-Fi Aware network can be divided into the following 3 steps:
(1) The constructor is a master device, and transmits a discovery beacon frame for discovering surrounding smart phones to form a Wi-Fi Aware network, and a plurality of smart phones randomly become roles of non-master synchronous devices and non-master non-synchronous devices;
(2) The master device and the non-master synchronous device of the network send synchronous beacon frames for synchronizing clocks of the whole network, so as to reduce the power consumption of the group;
(3) In the network, the master device, the non-master synchronous device and the non-master non-synchronous device can receive and transmit service discovery frames to acquire specific information.
In Wi-Fi Aware networks, each device has an interface address (6 bytes) that is used to distinguish between different devices. One 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. Terminals in the same communication group communicate by sending and receiving messages to and from each other.
The candidate terminal may be another terminal in the same communication group as the terminal, for example, the terminal may acquire that the other terminal in the communication group in which the terminal is located may include terminal a, terminal B, and terminal C, and then 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 as the terminal, it may include:
Opening 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 may be a Wi-Fi Aware function, and after detecting that the user turns on the Wi-Fi Aware function, the terminal may scan a wireless network signal received in a current area.
The wireless network signal may include a wireless network identifier, after the terminal scans 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 be connected.
After determining the wireless network list, the terminal may select a wireless network from the wireless network list to connect, for example, the terminal may select a wireless network with the highest network signal strength from the wireless network list to connect, and so on.
In some embodiments, if the terminal does not detect the 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 turning on 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 communicates with the candidate terminal through the wireless network. In this embodiment of the present application, the strength of the communication signal may be represented by a value, such as 10, 20, 30, etc., where a larger value corresponding to the strength of the communication signal may represent a stronger strength of the communication signal, that is, a closer distance between terminals performing communication.
In some embodiments, the step of detecting the communication signal strength seconds of the candidate terminal may include:
transmitting a communication signal to a candidate terminal;
when receiving the response information of the candidate terminal to the communication signal, the communication connection is established with the candidate terminal.
The communication signal may be a service discovery frame conforming to a Wi-Fi Aware protocol, and the service discovery frame may be used for terminals in the same communication group to mutually send and receive specific messages. The format of the service discovery frame may include various 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: format of service discovery frame
Wherein Category means that the frame type is a public action frame (Public Action Frame); action fields refer to frames of public Action related to a given manufacturer; OUI refers to an organization unique number (Organizationally Unique Identifier); the 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 the OUI and Body; OUI refers to the manufacturer's number; body refers to manufacturer specific information that may be used as information specified by embodiments of the present application.
Further, the format of the service discovery frame may be simplified, and a simplified service discovery frame format may be obtained as shown in table 2 below:
table 2: simplified service discovery frame format
Wherein different message IDs may be used to perform different functions, e.g., the message IDs may be: 0x01 (the value may represent a hexadecimal number of 1), and when the message ID is 0x01, the corresponding executive function may transmit a communication signal to the candidate terminal for the terminal.
After sending the communication signal to the candidate terminal, if the candidate terminal responds to the communication signal, a network communication connection with the candidate terminal may be established. For example, a 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, the communication connection with the terminal is set up, and further, the terminal may acquire the communication signal strength of the candidate terminal that sets up the communication connection with the terminal.
For example, after the terminal receives the response information of the terminal a, the terminal B, and the terminal C of the same communication group after sending the communication signal, the terminal may respectively establish communication connections with the terminal a, the terminal B, and the terminal C, 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 the terminal a is 10, the communication signal strength of the terminal B is 10, and the communication signal strength of the terminal C is 30.
103. And acquiring the duration time when the communication signal intensity is larger than the preset communication signal intensity.
The preset communication signal may be preset, for example, the communication signal strength when two terminals communicating with each other are separated by a preset distance may be set first, 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 can be compared with the preset communication signal strength, and a comparison result is obtained. Further, the terminal may obtain, according to the comparison result, a candidate terminal having a communication signal strength greater than a preset communication signal strength.
For example, the candidate terminals may include a terminal a, a terminal B, and a terminal C, where 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, the preset communication signal strength may be 20, and the communication signal strength of each candidate terminal is compared with the preset communication signal strength, so that the candidate terminal having the communication signal strength greater than the preset communication signal strength may be obtained as the terminal C.
The duration may indicate a time length for which the communication signal strength of the candidate terminal when communicating with the terminal is greater than the preset communication signal strength duration, for example, the time length may be 1 minute, 2 minutes, or the like.
For example, if the candidate terminal C with the communication signal strength greater than the preset communication signal strength is obtained through the above steps, the duration of time for which the communication signal strength of the terminal C is greater than the preset communication signal strength may be 15 minutes.
104. If the duration exceeds the preset duration, establishing an association relationship between the candidate terminals with the communication signal strength larger than the preset communication signal strength.
The preset duration may represent a contact duration 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 strength of the candidate terminal is greater than the preset communication signal strength is obtained, the duration may be compared with the preset duration. When the duration exceeds the preset duration, an association relationship between the candidate terminal and the terminal may be established, where the candidate terminal may be a terminal with a communication signal strength greater than the preset communication signal strength.
For example, the duration of time that the communication signal strength of the terminal C is greater than the preset communication signal strength may be 15 minutes, the preset duration may be 10 minutes, it may be determined that the duration of time that the communication signal strength of the terminal C is greater than the preset communication signal strength exceeds the preset duration, and an association relationship between the terminal C and the terminal may be established.
The association relationship may represent associating the terminal with the candidate terminal, that is, the terminal may be an associated terminal of the candidate terminal, and the candidate terminal may be an associated terminal of the terminal.
105. And at least transmitting the association information to the server.
The association information may include an association relationship and an establishment time of the association relationship, where the establishment time of the association relationship may be obtained and stored when the association relationship is established.
For example, when the terminal establishes an association with the terminal C, the time for which the terminal can acquire the establishment of the association may be 9/4/8 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 months, 4 days and 8 hours 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.
In this embodiment, 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 of the terminal, and the location information in the preset period may include a location point information set of the terminal in the preset period. For example, in the preset period, acquiring the location point where the terminal is located may include: position a, position B, and position C, the position information may include position a, position B, and position C.
The preset period may be set according to actual situations, for example, the preset period may be the same as a period length of 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 as the terminal; detecting the communication signal strength of the candidate terminal; acquiring duration time when the communication signal intensity is larger than the preset communication signal intensity; if the duration exceeds the preset duration, establishing an association relationship between the candidate terminal and the terminal, wherein the communication signal strength of the candidate terminal is greater than the preset communication signal strength; and at least transmitting the association information to the server. According to the method and the device for processing the information, the communication signal intensity of each terminal in the same local area network is detected, whether the terminals are in close-range continuous contact or not is reflected on the side of the duration of the communication signal intensity, and relevant information is reported to the server to construct a corresponding relation network, so that when a user of the terminal 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 flow chart of another information processing method according to an embodiment of the present application. In the embodiment of the application, the information processing method may be applied to a server, and a specific scenario application of the information processing method may be as follows:
201. Receiving association information sent by a plurality of different terminals, wherein the association information comprises: the communication signal strength is greater than the association relation between the candidate terminal and the terminal of the preset communication signal strength, and the establishment time of the association relation.
Each terminal comprises an association information, and the association information comprises the association relation of the terminal and the establishment time of the association relation. Each association corresponds to a different set-up time.
The association relationship may be one or more, for example, the association relationship of the terminal may be 1, then it may be determined that the terminal associated with the terminal may be 1 according to the association relationship, for example, the association relationship of the terminal may be 2, and then it may be determined that the terminal associated with the terminal may be 2 according to the 2 association relationships.
For example, the plurality of different terminals may include terminal I and terminal K, etc., and then association information of terminal I and association information of terminal K may be received. The association information of the terminal I may include: the terminal for establishing the association relationship of the terminal I is the terminal A, and the establishment time can be 2020, 9, 4, 10 and 30 minutes; the association information of the terminal K may include: the terminal for establishing the association relationship of the terminal K is the terminal L, and the establishment time can be 2020, 9, 4, 12 and 30 minutes.
202. And updating the history relation network according to the association relation and the establishment time to obtain an updated relation network.
After the association relations of the plurality of different terminals and the establishment times corresponding to the association relations are obtained, the establishment times corresponding to the association relations of the plurality of different terminals can be added into the historical relation network.
The history relation network may include a plurality of terminals for which history relation is established in a history period, a history relation between terminals, and a history establishment time of the history relation. For example, the historical relationship network may include: terminal a, terminal B, terminal C, terminal D, terminal E, etc., wherein a history association relationship exists between terminal a and terminal B, and a history establishment time of the history association relationship between terminal a and terminal B may be 9 months of 2020, 1 day of 8 hours of 30 minutes; the terminal A and the terminal E have a history association relationship, and the history establishment time of the history association relationship of the terminal A and the terminal E can be 9 months in 2020 and 8 hours in 2 days; the history association relationship exists between the terminal C and the terminal D, and the history establishment time of the history association relationship between the terminal C and the terminal D may be 9 months, 3 days, 8 hours and 30 minutes in 2020.
For example, receiving the association and the set-up time may include: the terminal establishing the association relation with the terminal I is the terminal A, and the establishment time can be 2020, 9, 4, 10 and 30 minutes; the association information of the terminal K may include: the terminal for establishing the association relationship of the terminal K is the terminal L, and the establishment time can be 2020, 9, 4, 12 and 30 minutes. The history relation network can have a history association relation between the terminal A and the terminal B, and the history establishment time of the history association relation between the terminal A and the terminal B can be 2020, 9 months, 1 day, 8 hours and 30 minutes; the terminal A and the terminal E have a history association relationship, and the history establishment time of the history association relationship of the terminal A and the terminal E can be 9 months in 2020 and 8 hours in 2 days; the historical association relationship exists between the terminal C and the terminal D, and the historical establishment time of the historical association relationship between the terminal C and the terminal D may be 9 months in 2020 and 8 days in 3 and 30 minutes, then the server may update the historical relationship network according to the received association relationship and the establishment time, and the obtaining the updated relationship network may include: the terminals for establishing the association relationship of the terminal A are a terminal B, a terminal E and a terminal I respectively, and the establishment time is respectively 30 minutes of 9 months 1 day 8 hours in 2020, 30 minutes of 8 days 2 months 9 months 2 days 2020 and 30 minutes of 10 days 4 months 9 months 2020; the association relationship exists between the terminal C and the terminal D, and the establishment time of the association relationship between the terminal C and the terminal D can be 9 months, 3 days and 8 hours in 2020.
203. And when the information containing the specified content and transmitted by the target terminal is detected, searching 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. Wherein when the target terminal is a terminal included in the updated relationship network. The specified content can be set according to actual requirements, for example, epidemic situation is taken as an example, and the specified content can be disease diagnosis content, for example: user a has detected an infected person, etc.
In some embodiments, when the target terminal is not a terminal included in the post-update relationship network, before updating the history 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 server receives the information containing the specified content sent by the target network under the condition that the target terminal is not found in the updated relation network, the position information of the target terminal can be acquired. The location information may be different location points where the target terminal is located in a preset time period.
In some embodiments, the step of updating the historical relationship network according to the association relationship and the set-up time includes:
updating the historical relationship network according to the association relationship, the establishment time and the position information;
and when the information which is sent by the target terminal and contains the specified content is detected, searching the associated terminal associated with the target terminal according to the position information of the target terminal.
After the server obtains the location information of the terminal, the location information may include different location points of the target terminal in a preset time period, and then the server may generate track information of the target terminal in the preset time period according to the different location points of the target terminal in the preset time period, and may add the track information to the historical relationship network, so that the server queries other terminals that are located at the same location point with the target terminal in the same time. By the method, when the terminal cannot perform wireless network communication, the terminal associated with the terminal can be searched according to the position information of the terminal.
In some embodiments, when detecting the information including the specified content sent by the target terminal, the step of searching for the associated terminal associated with the target terminal based on the updated relationship network may include:
Extracting a target time meeting a preset condition from information containing specified content;
obtaining a first time range based on the target time and the appointed duration;
and determining an 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/4/8/17 minutes in 2020, and if the server receives the information including the specified content sent by the target terminal at the current time, the target time may be determined to be 9/4/8/17 minutes in 2020.
The specified duration may be a preset time length, for example, the specified duration may be 14 days, etc.
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 months in 2020, 4 days 8 hours 17 minutes, the specified duration may be 14 days, and the first time range may be determined to be a time range differing from the target time by 14 days: 8.21.8.17 minutes 2020 to 4.8.17 minutes 9.2020.
After determining the first time range, the server may search for an association terminal having an association relationship with the target terminal in the first time range from the updated relationship network.
For example, the first time range may be: the target terminal may be the terminal a from 8 hours 17 minutes in 2020 to 8 hours 9 months 4 months 8 minutes in 2020, and in the updated relationship network, the terminal having an association relationship with the terminal a may include the terminal B, the terminal E and the terminal I, where the time for establishing the association relationship between the terminal a and the terminal B may be 30 minutes in 2020 9 months 1 day 8 hours, the time for establishing the association relationship between the terminal a and the terminal E may be 30 minutes in 2020 9 months 2 days 8 hours, and the time for establishing the association relationship between the terminal a and the terminal I may be 30 minutes in 2020 9 months 4 days 10 hours, and then searching for the association terminal having the association relationship with the 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 updating the historical relationship network according to the association relationship and the establishment time in the step to obtain the updated relationship network, the method may further include:
when the target establishment time exceeding the designated time from the current time point is detected, the association relation between the terminals corresponding to the target establishment time is released.
The target time may be a time differing from the current time point by more than a specified period, for example, the current time may be 9 months in 2020, 14 days, 8 hours and 17 minutes.
The specified duration may be a preset time length, for example, the specified duration may be 14 days, etc.
After determining the current time and the specified duration, a second time range may be determined based on the current time and the specified duration.
For example, the current time may be 9 months of 2020, 14 days of 8 minutes, 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: 9/2020, 1/8 and 17/8 respectively to 9/14/8.
After determining the second time range, the server may search for an association terminal having an association relationship with the target terminal outside the second time range from the updated relationship network, and release the association relationship between the target terminal and the association terminal.
For example, the second time range may be: the target terminal may be the terminal a from 17 minutes in the year 2020 9 month 1 day 8 to 17 minutes in the year 2020 month 14 day 8, and in the updated relationship network, the terminal having an association relationship with the terminal a may include the terminal B, the terminal E, and the terminal I, where the time for establishing the association relationship between the terminal a and the terminal B may be 30 minutes in the year 2020 month 8 day 8, the time for establishing the association relationship between the terminal a and the terminal E may be 30 minutes in the year 2020 month 9 day 8, and the time for establishing the association relationship between the terminal a and the terminal I may be 30 minutes in the year 2020 month 9 day 4 day 10, and then searching for the association terminal having an association relationship with the terminal a outside the second time range from the updated relationship network may include: and the terminal B can release the association relationship between the terminal and the terminal B from the updated relationship network.
When the establishment time of establishing 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 occupied space of data 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 various types, for example, the terminal information may include a terminal contact manner, a user to which the terminal belongs, and so on.
The prompt information may include various types, for example, during epidemic situation prevention and control, when the user to which the target terminal belongs is diagnosed, the user in close contact with the user to which the target terminal belongs needs to be found out, the user in close contact with the user may be found out by the method in the above steps, 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 user in close contact with the user to which the target terminal belongs, at this time, the server may obtain the terminal contact manner of the associated terminal, and send the prompt information to the user to which the terminal belongs, where the content of the prompt information may be "the user in close contact with the patient for diagnosis is queried, please see medical in time for inspection" or the like, and the associated terminal user may be reminded of obtaining the related information as early as possible, so as to avoid the epidemic situation from spreading greatly.
The embodiment of the application discloses an information processing method, which comprises the following steps: receiving association information sent by a plurality of different terminals, wherein the association information comprises: the communication signal strength is greater than the association relation between the candidate terminal and the terminal of the preset communication signal strength, and the establishment time of the association relation; updating the history relation network according to the association relation and the establishment time to obtain an updated relation network, wherein the history relation network comprises: a plurality of terminals establishing an association relationship in a preset history time period; and when the query request sent by the target terminal is detected, searching the associated terminal associated with the target terminal based on the updated relationship network. According to the method and the device for inquiring the information, the history relation network is updated according to the received association information sent by the plurality of different terminals, so that an accurate relation network is obtained, the association terminal associated with the target terminal can be inquired out quickly and accurately when the inquiry request of the target terminal is received, and therefore information inquiry efficiency can be improved.
As shown in fig. 4, fig. 4 is a flow chart of another information processing method according to an embodiment of the present application. Taking interaction between a server and a terminal as an example, an information processing method is provided, and the specific flow is as follows:
301. The terminal opens the wireless network function and accesses the wireless communication network.
The wireless network may include, but is not limited to, a WiFi Aware network, and the terminal may support a WiFi Aware function.
When the user is detected to start the wireless network function, the terminal can acquire the wireless network which can be connected in the current area, and can select the wireless network with higher network signal strength from the connectable wireless networks for connection. The higher network signal strength may indicate that the terminal is closest to the area covered by the wireless network corresponding to the network signal.
For example, the terminal turning on a wireless network function, and detecting 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 for connection.
For example, referring to fig. 5, fig. 5 is a schematic diagram of a communication group according to an embodiment of the present application. In fig. 5, if a terminal, a terminal a, a terminal B, a terminal C, and a terminal D access to the wireless network a, the terminal, a terminal B, a terminal C, and a 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 receiving a response from the other terminals to the communication signal, the terminal may establish a communication connection with the other terminals, and may use the other terminals as candidate terminals.
For example, other terminals within the 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 detects that the terminal A aims at the existing communication signal, 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 greater 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, the greater the communication signal strength of the candidate terminal detected by the terminal, the closer the terminal is to the candidate terminal may be indicated.
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 traffic signal strength detected by the terminal a may be 10, the communication signal strength detected by the terminal B may be 30, the preset communication signal strength may be 20, the communication signal strength of the candidate terminal is compared with the preset communication signal strength, it may be determined that the communication signal strength of the terminal a is less than the preset communication signal strength, the communication signal strength of the terminal B is greater than the communication signal gun strength of the preset terminal, and then it may be determined that the terminal B with the communication signal strength greater than the preset communication signal strength 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 with a communication signal strength greater than a preset communication signal strength, the candidate terminal may be detected to have a communication signal strength greater than a duration of the preset communication signal strength, where the duration may represent a short-distance contact duration between the terminal and the associated terminal, and when the duration is greater than the preset duration, the candidate terminal may be determined to be a target terminal, and by determining a target terminal in close contact with the terminal from the candidate terminals by a duration of the communication signal strength and the communication signal strength greater than the preset communication signal strength, accuracy of information detection may be improved.
304. The terminal builds an association relation with the target terminal to obtain association information of the terminal.
The representation manner of the association relationship may include various types, for example, please refer to fig. 6, and fig. 6 is a schematic diagram of the association relationship of the terminal provided in the embodiment of the present application. When the terminal B is a target terminal satisfying the above conditions, the association relationship between the terminal and the terminal B may be established according to the representation shown in fig. 6.
After the terminal builds the association relation with the target terminal, the establishment time of the association relation can be obtained, and the association information of the terminal can be obtained based on the association relation and the establishment time.
305. And the terminal sends the associated information to the server.
After the terminal determines the target terminal, generating the associated information corresponding to the target terminal, and sending the associated information to the server, so that the server can update the relationship network based on the associated relationship, and timely availability 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.
The history network may include association information of a plurality of terminals, for example, please refer to fig. 7, and fig. 7 is a schematic diagram of the history network according to 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 that an establishment time of the association relationship between the terminal and the terminal F may be 2020, 9 months, 1 day, 10 hours and 24 minutes; the association information of the terminal D can also comprise that the establishment time of the association relation between the terminal D and the terminal E can be 9 months in 2020, 2 days and 10 hours; the association information of the terminal a may further include that the time for establishing the association relationship between the terminal a and the terminal G may be 9 months, 3 days, 10 hours and 24 minutes in 2020.
After the server receives the association information sent by the terminal, the history relation network can be updated according to the association information. For example, referring to fig. 8, fig. 8 is a schematic diagram of an updated relationship network according to an embodiment of the present application. The association information sent by the terminal may be the association information of the terminal and the terminal B, in the history relationship network shown in fig. 7, the association relationship between the terminal and the terminal F already exists, and then a new association relationship may be added to the terminal in the history relationship network, that is, the association relationship between the terminal and the terminal B may be obtained, and then the updated relationship network may be obtained.
307. And the terminal sends a query request to the server.
After the terminal sends the association information to the server, a query request can be sent to the server, and all associated terminals with association relation with the terminal can be queried based on the query request, so that the information searching efficiency can be greatly improved.
308. The server searches for an associated terminal associated with the terminal from the updated relationship network based on the received query request.
After the server receives the query request, it can first detect whether the terminal exists in the updated relationship network, and if the terminal exists in the updated relationship network, it can further acquire all the association relationships existing in the terminal from the updated relationship network.
For example, the server may obtain the association relationship existing in the terminal from the updated relationship network shown in fig. 8 by receiving the query request sent by the terminal, and 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 related to 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 query result can be sent to the terminal, and meanwhile, the query result can be sent 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 timely acquire related information.
The embodiment of the application discloses an information processing method, which comprises the following steps: the terminal starts a wireless network function, accesses a wireless communication network, determines candidate terminals of the same communication group based on the wireless communication network, acquires communication signal intensity of the candidate terminals, determines a target terminal with the communication signal intensity larger than preset communication signal intensity from the communication group, constructs an association relation with the target terminal to obtain association information of the terminal, then sends the association information to the 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 association terminal associated with the terminal from the updated relation network based on the received query request. According to the method and the device for information processing, through the interactive operation between the terminal and the server, the terminal is used for detecting information, the detection result is sent to the server, and then the server is used for information query, so that the information processing efficiency can be greatly improved.
In order to facilitate better implementation of the information processing method provided by the embodiment of the application, the embodiment of the application also provides a device based on the information processing method. Where the meaning of a noun is the same as in the information processing method described above, specific implementation details may be referred 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 application, which can be applied to a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm computer, a portable media player (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 with the terminal;
a detection unit 402, configured to detect a 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 the candidate terminal and the 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, to at least the server, association information, where the association information includes: the association relationship and the establishment time of the association relationship.
In some embodiments, the first transmitting 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 transmitting 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 application, where the apparatus includes:
a receiving unit 501, configured to receive the association information sent by a plurality of different terminals, where the association information includes: the communication signal strength is greater than the association relation between the candidate terminal with the preset communication signal strength and the terminal, and the establishment time of the association relation;
a first updating unit 502, configured to update a history relationship network according to the association relationship and the establishment time, to obtain an updated relationship network, where the history relationship network includes: a plurality of terminals which have established a history association relationship in a history time period, the history association relationship among the terminals, and the history establishment time of the history association relationship;
A searching unit 503, configured to, when detecting information including specified content sent by a target terminal, search for 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 the plurality of different terminals.
In some embodiments, the first updating unit 502 may include:
an updating subunit, configured to update the historical relationship network according to the association relationship, the setup time and the location 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 the information which is sent by the target terminal and contains the specified content is detected.
In some embodiments, the lookup unit 503 may include:
an extraction subunit for extracting a target time satisfying a preset condition from information containing specified content;
the obtaining subunit is used for obtaining a first time range based on the target time and the appointed duration;
and the determining subunit is used for determining the associated terminal associated with the target terminal in the first time range from the updated relation network.
In some embodiments, the information processing apparatus may further include:
and the releasing unit is used for releasing the association relation between the terminals corresponding to the target establishment time when the target establishment time exceeding the designated 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 prompt information to the associated terminal.
The embodiment of the application discloses an information processing device, which comprises: the determining unit 401 is configured to determine one or more candidate terminals that are in the same communication group with the terminal; the detecting unit 402 is configured to detect a 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 the candidate terminal and the 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, to at least the server, association information, where the association information includes: the association relationship and the establishment time of the association relationship.
The embodiment of the application also provides computer equipment, which can be a terminal. As shown in fig. 11, the terminal may include Radio Frequency (RF) circuitry 601, memory 602 including one or more storage media, input unit 603, display unit 604, sensor 605, audio circuit 606, wireless fidelity (WiFi, wireless Fidelity) module 607, processor 608 including one or more processing cores, and power supply 609. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 11 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
The RF circuit 601 may be used for receiving and transmitting signals during the process of receiving and transmitting information, in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 601 may also communicate with networks and other devices through wireless communications.
The memory 602 may be used to store software programs and modules, and the processor 608 may execute various functional applications and information processing by executing 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, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, 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 access to the memory 602 by the processor 608 and the input unit 603.
The input unit 603 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the 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 thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. The input unit 603 may comprise other input devices in addition to a 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, mouse, joystick, etc.
The display unit 604 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the server, which may be composed of graphics, text, icons, video and any combination thereof. The display unit 604 may include a display panel, which may be optionally configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed 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 based on the type of touch event. Although in fig. 11 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and the backlight when the server moves to the ear.
Audio circuitry 606, speakers, and a microphone may provide an audio interface between the user and the server. The audio circuit 606 may transmit the received electrical signal after audio data conversion to a speaker, where the electrical signal is converted to a sound signal for output; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 606 and converted into audio data, which are processed by the audio data output processor 608 for transmission to, for example, a terminal via the RF circuit 601, or which are output to the memory 602 for further processing. The audio circuit 606 may also include an ear bud jack to provide communication between the peripheral ear bud and the server.
The WiFi belongs to a short-distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web pages, access streaming media and the like through the WiFi module 607, so that wireless broadband internet access is provided for the user. Although fig. 11 shows a WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and can 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, and connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the server and processes data by running 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 mobile phone. Optionally, the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that 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 be logically connected to the processor 608 via a power management system so as to provide for managing charging, discharging, and power consumption by the power management system. The power supply 609 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Specifically, in this embodiment, the processor 608 in the terminal loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 executes the application programs stored in the memory 602, so as to implement various functions:
determining one or more candidate terminals in the same communication group as the terminal; detecting the communication signal strength of the candidate terminal; acquiring duration time when the communication signal intensity is larger than the preset communication signal intensity; if the duration exceeds the preset duration, establishing an association relationship between the candidate terminal and the terminal, wherein the communication signal strength of the candidate terminal is greater than the preset communication signal strength; at least sending association information to a server, the association information comprising: the association relationship and the establishment time of the association relationship.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
From the above, the terminal of the embodiment can implement the information processing step, thereby improving the information processing efficiency.
The embodiment of the application also provides a computer device, which can be a server, as shown in fig. 12, and shows a schematic structural diagram of the server according to the embodiment of the application, specifically:
The server may include one or more processors 701 of a processing core, memory 702 of one or more computer readable storage media, power supply 703, and input unit 704, among other components. Those skilled in the art will appreciate that the server architecture shown in fig. 12 is not limiting of the server and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the processor 701 is a control center of the server, connects respective portions 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 and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, etc., and the modem processor primarily 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 701 executes various functional applications and data processing by executing the software programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the server, etc. In addition, 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 access to the memory 702 by the processor 701.
The server also includes a power supply 703 for powering the various components, preferably, the power supply 703 is logically connected to the processor 701 via a power management system, such that functions such as charge, discharge, and power consumption management are performed by the power management system. The power supply 703 may also include one or more of any component, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, etc.
The server may further comprise an input unit 704, which input unit 704 may be used for receiving input digital or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control.
Although not shown, the server may further include a display unit or the like, which is not described herein. In this embodiment, the processor 701 in the server loads executable files corresponding to the processes of one or more application programs into the memory 702 according to the following instructions, and the processor 701 executes the application programs stored in the memory 702, so as to implement various functions as follows:
receiving association information sent by a plurality of different terminals, wherein the association information comprises: the communication signal strength is greater than the association relation between the candidate terminal and the terminal of the preset communication signal strength, and the establishment time of the association relation; updating the history relation network according to the association relation and the establishment time to obtain an updated relation network, wherein the history relation network comprises: a plurality of terminals establishing an association relationship in a preset history time period; and when the query request sent by the target terminal is detected, searching the associated terminal associated with the target terminal based on the updated relationship network.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
From the above, the server of the present embodiment can implement the steps of information processing, thereby improving the information processing efficiency.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be performed by instructions, or by controlling associated hardware by instructions, which may be stored in a storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform steps in any of the information processing methods provided by the embodiments of the present application. For example, the instructions may perform the steps of:
determining one or more candidate terminals in the same communication group as the terminal; detecting the communication signal strength of the candidate terminal; acquiring duration time when the communication signal intensity is larger than the preset communication signal intensity; if the duration exceeds the preset duration, establishing an association relationship between the candidate terminal and the terminal, wherein the communication signal strength of the candidate terminal is greater than the preset communication signal strength; at least sending association information to a server, the association information comprising: the association relationship and the establishment time of the association relationship.
Or,
receiving association information sent by a plurality of different terminals, wherein the association information comprises: the communication signal strength is greater than the association relation between the candidate terminal and the terminal of the preset communication signal strength, and the establishment time of the association relation; updating the history relation network according to the association relation and the establishment time to obtain an updated relation network, wherein the history relation network comprises: a plurality of terminals establishing an association relationship in a preset history time period; and when the query request sent by the target terminal is detected, searching the associated terminal associated with the target terminal based on the updated relationship network.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium may perform steps in any information processing method provided in the embodiments of the present application, so that the beneficial effects that any information processing method provided in the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
The information processing method, device, storage medium and terminal provided by the embodiments of the present application are described in detail, and specific examples are applied to illustrate the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (12)

1. An information processing method applied to a terminal, comprising:
opening a wireless communication function;
scanning wireless network signals received in a current area to generate a wireless network list;
selecting a wireless network with highest network signal strength from the wireless network list for connection;
determining one or more candidate terminals in the same communication group as the terminal, wherein the same communication group comprises terminals accessed to the same wireless network, and the wireless network is a wireless fidelity surrounding sensing network;
transmitting a communication signal to a candidate terminal;
when receiving response information of a candidate terminal to a communication signal, establishing communication connection with the candidate terminal, and acquiring the communication signal strength of the candidate terminal based on the communication connection, wherein the communication signal strength refers to network signal strength when the terminal and the candidate terminal communicate through the wireless network;
Acquiring duration time when the communication signal intensity is larger than a preset communication signal intensity;
if the duration exceeds the preset duration, establishing an association relationship between the candidate terminal with the communication signal strength larger than the preset communication signal strength and the terminal;
transmitting association information at least to a server, the association information comprising: the association relationship and the establishment time of the association relationship.
2. The method of claim 1, wherein the 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 the association information at least to the server includes:
and sending the association information and the position information to a server.
4. An information processing method applied to a server, comprising:
receiving association information sent by a plurality of different terminals, wherein the association information comprises: the method comprises the steps that a wireless communication function is started, wireless network signals received in a current area are scanned by the terminal, a wireless network list is generated, a wireless network with highest network signal strength is selected from the wireless network list to be connected, the terminal and the candidate terminal are connected with one another, the wireless network is a wireless fidelity surrounding sensing network, the terminal establishes communication connection with the candidate terminal through sending communication signals to the candidate terminal when response information of the candidate terminal to the communication signals is received, and the communication signal strength with the candidate terminal is acquired based on the communication connection, wherein the communication signal strength refers to the network signal strength when the terminal and the candidate terminal communicate through the wireless network;
Updating the history relation network according to the association relation and the establishment time to obtain an updated relation network, wherein the history relation network comprises: a plurality of terminals which have established a history association relationship in a history time period, the history association relationship among the terminals, and the history establishment time of the history association relationship;
and when detecting the information which is sent by the target terminal and contains the specified content, searching the associated terminal associated with the target terminal based on the updated relation network.
5. The method of claim 4, further comprising, prior to updating the historical relationship network based on the association and the set-up time:
receiving position information sent by a plurality of different terminals;
the updating the historical relationship network according to the association relationship and the establishment time comprises the following steps:
updating the historical relationship network according to the association relationship, the establishment time and the position information;
and when the information which is sent by the target terminal and contains the specified content is detected, searching the associated terminal associated with the target terminal according to the position information of the target terminal.
6. The method according to claim 4, wherein when detecting the information including the specified content transmitted by the target terminal, searching for the associated terminal associated with the target terminal based on the updated relationship network, comprising:
extracting a target time meeting a preset condition from information containing specified content;
obtaining a first time range based on the target time and the appointed duration;
and determining an associated terminal associated with the target terminal in the first time range from the updated relation network.
7. The method of claim 4, further comprising, after updating the historical relationship network based on the association and the set-up time to obtain an updated relationship network:
when the target establishment time exceeding the designated time from the current time point is detected, the association relation between the terminals corresponding to the target establishment time is released.
8. The method according to any of claims 4-7, further comprising, after searching for an 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:
The device is used for starting a wireless communication function; scanning wireless network signals received in a current area to generate a wireless network list; selecting a wireless network with highest network signal strength from the wireless network list for connection;
a determining unit, configured to determine one or more candidate terminals that are in a same communication group with the terminal, where the same communication group includes terminals that access a same wireless network, and the wireless network is a wireless fidelity surrounding awareness network;
a detection unit for transmitting a communication signal to the candidate terminal; when receiving response information of a candidate terminal to a communication signal, establishing communication connection with the candidate terminal, and acquiring the communication signal strength of the candidate terminal based on the communication connection, wherein the communication signal strength refers to network signal strength when the terminal and the candidate terminal communicate through the wireless network;
the first acquisition unit is used for acquiring duration time when the communication signal intensity is larger than the preset communication signal intensity;
the establishing unit is used for establishing an association relationship between the candidate terminal with the communication signal strength larger than the preset communication signal strength and the terminal if the duration exceeds the preset duration;
The first sending unit is configured to send association information to at least a server, where the association information includes: the association relationship and the establishment time of the association relationship.
10. An information processing apparatus applied to a server, comprising:
a receiving unit, configured to receive association information sent by a plurality of different terminals, where the association information includes: the method comprises the steps that a wireless communication function is started, wireless network signals received in a current area are scanned by the terminal, a wireless network list is generated, a wireless network with highest network signal strength is selected from the wireless network list to be connected, the terminal and the candidate terminal are connected with one another, the wireless network is a wireless fidelity surrounding sensing network, the terminal establishes communication connection with the candidate terminal through sending communication signals to the candidate terminal when response information of the candidate terminal to the communication signals is received, and the communication signal strength with the candidate terminal is acquired based on the communication connection, wherein the communication signal strength refers to the network signal strength when the terminal and the candidate terminal communicate through the wireless network;
The first updating unit is configured to update the historical relationship network according to the association relationship and the establishment time to obtain an updated relationship network, where the historical relationship network includes: a plurality of terminals establishing an association relationship in a preset history time period;
and the searching unit is used for searching the associated terminal associated with the target terminal based on the updated relation 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 perform the information processing method of 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 of claims 1 to 8.
CN202011105322.4A 2020-10-15 2020-10-15 Information processing method, device, storage medium and computer equipment Active CN112269842B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN112269842A CN112269842A (en) 2021-01-26
CN112269842B true CN112269842B (en) 2024-03-19

Family

ID=74337397

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN112269842B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112888029B (en) * 2021-02-03 2022-08-09 惠州Tcl移动通信有限公司 Communication method, computer equipment and computer readable storage medium
CN113518402A (en) * 2021-05-31 2021-10-19 深圳市发掘科技有限公司 Communication method of wireless terminal, computer device, and storage medium
CN115297075B (en) * 2022-07-06 2024-03-29 北京北信源软件股份有限公司 Instant messaging method, device, equipment and storage medium based on target group

Citations (11)

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

Patent Citations (11)

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

Non-Patent Citations (2)

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

Also Published As

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

Similar Documents

Publication Publication Date Title
CN107094294B (en) Network connection method and device
CN112269842B (en) Information processing method, device, storage medium and computer equipment
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN108667884B (en) Mirror image distribution method, mirror image acquisition method and device
CN107393548B (en) Method and device for processing voice information collected by multiple voice assistant devices
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
WO2018103380A1 (en) Method for accessing wireless network, and mobile terminal
CN107040610B (en) Method of data synchronization, device, storage medium, terminal and server
CN105530684B (en) Network access method, device and system
CN106162811B (en) Method and device for establishing network connection
CN110351702B (en) System information area determining method, indicating method, terminal and network equipment
CN106603740A (en) Network connection abnormality processing method and terminal equipment
WO2017076279A1 (en) Method of updating forward information base item, and device and system utilizing same
CN107426813B (en) Network information display method and device
CN114158025B (en) Device reconnection method and related device
CN107070883B (en) Method and device for carrying out security detection on wireless network
CN106817370B (en) Method and device for transmitting network data
CN108234275B (en) Method and device for releasing communication information
CN115065609A (en) B-end SaaS system hybrid deployment method and system
CN112732548B (en) Interface testing method and device
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal
CN112399405A (en) Method and device for reporting user equipment capability information and mobile terminal
CN106879046B (en) Network scanning method and terminal equipment
CN106714149B (en) Wireless network access method, device and terminal equipment
CN110913454A (en) Cell determination method and terminal equipment

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
GR01 Patent grant
GR01 Patent grant