Terminal search method, device, mobile terminal and storage medium
Obtaining and pairing mobile terminal information through the router solves the problem of being unable to find its location when the mobile phone is silent, and implements a method of quickly locating and reminding its location.
Patent Information
- Application Number
- CN202210223982.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-07
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2042-03-07
AI Technical Summary
When the mobile phone is in a silent state, its location cannot be quickly found by making a call. It is difficult to effectively solve this problem with existing technology.
Obtain the terminal information set through the router, select the target mobile terminal information, and initiate a pairing request to the router to achieve pairing between mobile terminals. After successful pairing, a prompt message is sent to remind them of their location.
It implements a method to quickly find the location of a mobile phone in a muted state, realizes pairing and prompt information transmission between mobile terminals through a router, and solves the problem of being unable to find a mobile phone through dialing.
Smart Images

Figure CN114666785B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a terminal search method, device, mobile terminal and storage medium. Background Art
[0002] At present, mobile terminals such as mobile phones are often left somewhere and forgotten, and it is often difficult to find one's mobile phone. If the mobile phone is in a silent state, it is impossible to get the specific location of the mobile phone by calling the mobile phone, and it is impossible to quickly find the mobile terminal in a silent state. Summary of the invention
[0003] The embodiments of the present application provide a terminal search method, device, mobile terminal and storage medium, which can quickly find a mobile terminal in a silent state.
[0004] A first aspect of an embodiment of the present application provides a terminal search method, which is applied to a first mobile terminal, and includes:
[0005] Get the terminal information set connected to the router;
[0006] Selecting terminal information of a second mobile terminal from the terminal information set;
[0007] Initiating a pairing request with the second mobile terminal to the router, the pairing request carrying terminal information of the second mobile terminal; the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal;
[0008] When the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal or the second mobile terminal is controlled to send a prompt message.
[0009] A second aspect of an embodiment of the present application provides a terminal search device, which is applied to a first mobile terminal, and includes:
[0010] An acquisition unit, used for acquiring a terminal information set connected to the router;
[0011] A selection unit, configured to select terminal information of a second mobile terminal from the terminal information set;
[0012] a pairing unit, configured to initiate a pairing request with the second mobile terminal to the router, wherein the pairing request carries terminal information of the second mobile terminal; and the router is configured to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal;
[0013] The prompt unit is used to control the first mobile terminal or the second mobile terminal to send a prompt message when the second mobile terminal is successfully paired with the first mobile terminal.
[0014] A third aspect of an embodiment of the present application provides a mobile terminal, comprising a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the step instructions in the second aspect of the embodiment of the present application.
[0015] The fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, and the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the step instructions in the first aspect of the embodiment of the present application.
[0016] The fifth aspect of the embodiments of the present application provides a computer program product, wherein the above-mentioned computer program product includes a computer program, and the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the step instructions in the first aspect of the embodiments of the present application.
[0017] In an embodiment of the present application, a first mobile terminal obtains a terminal information set connected to a router; selects terminal information of a second mobile terminal from the terminal information set; initiates a pairing request with the second mobile terminal to the router, the pairing request carries the terminal information of the second mobile terminal; the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal; and when the second mobile terminal is successfully paired with the first mobile terminal, controls the first mobile terminal or the second mobile terminal to send a prompt message. In a terminal search method in an embodiment of the present application, a first mobile terminal can obtain a terminal information set connected to a router through a router, and select a second mobile terminal that needs to be paired with the first mobile terminal from the terminal information set, and pair the second mobile terminal with the first mobile terminal through the router. After the pairing is successful, a prompt message can be sent by the first mobile terminal or the second mobile terminal to remind the second mobile terminal of its location, so that the second mobile terminal in a silent state can be quickly found. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1a It is a schematic diagram of a system architecture provided by an embodiment of the present application;
[0020] Figure 1b It is a specific system architecture diagram provided by an embodiment of the present application;
[0021] Figure 2 It is a flowchart of a terminal search method provided in an embodiment of the present application;
[0022] Figure 3 It is a flowchart of another terminal search method provided in an embodiment of the present application;
[0023] Figure 4 It is a flowchart of another terminal search method provided in an embodiment of the present application;
[0024] Figure 5 It is a flowchart of another terminal search method provided in an embodiment of the present application;
[0025] Figure 6 It is a structural schematic diagram of a terminal search device provided in an embodiment of the present application;
[0026] Figure 7 It is a structural diagram of a mobile terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0029] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.
[0030] The mobile terminals involved in the embodiments of the present application may include various handheld devices with communication functions, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile stations (MS), etc.
[0031] In order to facilitate understanding of the embodiments of the present application, a system architecture is first provided. Figure 1a , Figure 1a 1 is a schematic diagram of a system architecture provided by an embodiment of the present application. The system architecture may include: a router 101 and multiple mobile terminals (such as Figure 1a 102 shown). Among them, multiple mobile terminals can be connected to the router 101 via wireless fidelity (WiFi). For each mobile terminal accessing the router 101, the terminal information of all mobile terminals accessing the router 101 can be stored in the information management module of the router 101, and the set of terminal information of all mobile terminals currently accessing the router 101 can be a terminal information set. The terminal information may include the WiFi address and device description information of the mobile terminal. The device description information may include at least one of the name of the device, the unique identification code of the device, the group to which the device belongs (such as: home group, workgroup), the model of the device, the brand of the device, and the hardware description information of the device (such as the CPU model of the device, available storage space, etc.). The router 101 can obtain the device description information of the mobile terminal after authorization by the mobile terminal.
[0032] In the embodiment of the present application, as long as the mobile terminals are connected to the same router, the router can obtain the terminal information of all mobile terminals connected to the router. All mobile terminals are not limited to the same network, as long as they are connected to the same router, they can obtain the terminal information set connected to the router through the router. For example, the router can support dual WiFi (for example, 2.4GHz and 5GHz), and the router can obtain the terminal information of mobile terminals connected to the 2.4GHz WiFi network of the router and mobile terminals connected to the 5GHz WiFi network of the router.
[0033] In the embodiment of the present application, the first mobile terminal can obtain a terminal information set connected to the router through the router, and select a second mobile terminal that needs to be paired with the first mobile terminal from the terminal information set, and pair the second mobile terminal with the first mobile terminal through the router. After the pairing is successful, a prompt message can be sent through the first mobile terminal or the second mobile terminal to remind the location of the second mobile terminal, so that the second mobile terminal in the silent state can be quickly found.
[0034] See also Figure 1b , is a specific system architecture diagram provided in an embodiment of the present application; Figure 1b As shown, the router includes a network connection module and an information management module. The first mobile terminal includes a network connection module, a terminal pairing module, a terminal control module and a speaker. The second mobile terminal includes a network connection module, a terminal pairing module, a terminal control module and a speaker. The network connection module of the first mobile terminal is connected to the network connection module of the router, and the network connection module of the second mobile terminal is connected to the network connection module of the router, and the first mobile terminal and the second mobile terminal are both connected to the router.
[0035] The first mobile terminal obtains a terminal information set connected to the router from the information management module of the router through the terminal pairing module of the first mobile terminal; the terminal pairing module of the first mobile terminal selects the terminal information of the second mobile terminal from the terminal information set; the terminal pairing module of the first mobile terminal initiates a pairing request with the second mobile terminal to the router, and the pairing request carries the terminal information of the second mobile terminal; the network connection module of the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal; when the second mobile terminal is successfully paired with the first mobile terminal, the network connection module of the first mobile terminal is disconnected from the network connection module of the router, and the network connection module of the second mobile terminal is disconnected from the network connection module of the router. At this time, the network connection module of the first mobile terminal is connected to the network connection module of the second mobile terminal, and the terminal control module of the first mobile terminal can control the terminal control module of the second mobile terminal, thereby controlling the first mobile terminal or the second mobile terminal to send a prompt message. In the embodiment of the present application, the first mobile terminal or the second mobile terminal can send a prompt message to remind the second mobile terminal of its location, so that the second mobile terminal in a silent state can be quickly found.
[0036] based on Figure 1a The system architecture shown provides a terminal search method, see Figure 2 , Figure 2 is a flow chart of a terminal search method provided by an embodiment of the present application. Figure 2 As shown, the terminal search method may include the following steps.
[0037] 201. A first mobile terminal obtains a set of terminal information connected to a router.
[0038] In an embodiment of the present application, the router may include a network connection module and an information management module. The information management module of the router may store terminal information of all mobile terminals currently connected to the router, that is, a terminal information set. The terminal information of any two mobile terminals connected to the router is different.
[0039] The router may grant some or all mobile terminals connected thereto the authority to obtain the terminal information set. The terminal information of the mobile terminals granted the authority to obtain the terminal information set may be put into the first whitelist. The first whitelist may be stored in the router. In an embodiment of the present application, the router may grant the first mobile terminal the authority to obtain the terminal information set.
[0040] The first mobile terminal obtains a terminal information set connected to a router, which may specifically include the following steps: the first mobile terminal may initiate a terminal information acquisition request to the router, and the information management module of the router determines whether the terminal information of the first mobile terminal exists in the first whitelist; if so, the terminal information set stored in the information management module of the router is sent to the first mobile terminal.
[0041] 202. The first mobile terminal selects terminal information of the second mobile terminal from the terminal information set.
[0042] In the embodiment of the present application, since the terminal information of each mobile terminal is different, the user of the first mobile terminal can select the second mobile terminal to be found from the terminal information set.
[0043] Specifically, the display interface of the first mobile terminal may display a terminal information set, and the first mobile terminal may select the terminal information of the second mobile terminal from the terminal information set in response to the terminal information selection operation for the second mobile terminal in the terminal information set. For example, the terminal information selection operation for the second mobile terminal in the terminal information set may be a touch operation in which a user (e.g., a user of the first mobile terminal) clicks on the terminal information of the second mobile terminal on the display interface.
[0044] The first mobile terminal may be a sound-enabled terminal.
[0045] The second mobile terminal is a mobile terminal that is currently in a silent state. The second mobile terminal may be a sound-making terminal or a non-sound-making terminal. A sound-making terminal refers to a mobile terminal that can make sound, for example, a mobile terminal that includes a sound-making element (for example, a speaker). A non-sound-making terminal refers to a mobile terminal that cannot make sound, for example, a mobile terminal that does not include any sound-making element.
[0046] In the case where the second mobile terminal is a soundable terminal, the second mobile terminal is currently in a silent state, which means that the ringtone volume and notification volume of the second mobile terminal are both silent (volume is 0). At this time, the second mobile terminal remains silent regardless of whether it receives an incoming call or a notification message. In the case where the second mobile terminal is a non-soundable terminal, the second mobile terminal cannot make any sound, and the second mobile terminal is always in a silent state.
[0047] 203, the first mobile terminal initiates a pairing request with the second mobile terminal to the router, where the pairing request carries terminal information of the second mobile terminal; the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal.
[0048] In the embodiment of the present application, after the first mobile terminal initiates a pairing request with the second mobile terminal to the router, the router can find the second mobile terminal according to the terminal information of the second mobile terminal. The network connection module of the router can find the WiFi signal of the second mobile terminal and initiate a pairing request to the second mobile terminal. The second mobile terminal can verify the pairing request of the first mobile terminal, and after the verification is passed, the second mobile terminal is allowed to pair with the first mobile terminal. Since the second mobile terminal is in a silent state, the second mobile terminal is in a state where it cannot be discovered. The second mobile terminal cannot manually verify the pairing request of the first mobile terminal.
[0049] In a possible embodiment, the second mobile terminal passes all verifications for the pairing requests initiated by the router.
[0050] In the embodiment of the present application, the second mobile terminal can grant the router permission to verify the pairing request.
[0051] The second mobile terminal verifies the pairing request of the first mobile terminal, which may specifically include the following steps: the second mobile terminal verifies and passes all pairing requests initiated by the router.
[0052] In another possible embodiment, the second mobile terminal may verify whether the terminal information of the first mobile terminal is in the second whitelist. If so, the verification is successful; if not, the verification is unsuccessful. The second whitelist may be stored in a memory of the second mobile terminal. The second whitelist may be pre-set by the second mobile terminal.
[0053] The second mobile terminal verifies the pairing request of the first mobile terminal, which may specifically include the following steps: the second mobile terminal determines whether the terminal information of the first mobile terminal is in the second whitelist, if so, the verification is successful; if not, the verification fails.
[0054] The second mobile terminal and the first mobile terminal may be paired via a WiFi direct connection.
[0055] In the embodiment of the present application, the second mobile terminal and the first mobile terminal both have only one WiFi channel, and they were originally connected to the same router. Now the WiFi channel of the second mobile terminal and the first mobile terminal is disconnected from the router. WiFi direct connection means that the two terminals are each other's routers. Among them, the second mobile terminal and the first mobile terminal are directly connected to WiFi, and the second mobile terminal and one of the first mobile terminals can be used as WiFi hotspots to provide a WiFi network to the other mobile terminal. For example, the second mobile terminal can be allowed to turn on the WiFi hotspot. When the router initiates a pairing request to the second mobile terminal, the terminal information of the first mobile terminal can be sent to the second mobile terminal. After the second mobile terminal passes the verification, the first mobile terminal is allowed to join the WiFi hotspot turned on by the second mobile terminal. At this time, it is considered that the second mobile terminal is successfully paired with the first mobile terminal.
[0056] 204, when the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal controls the first mobile terminal or the second mobile terminal to send a prompt message.
[0057] In the embodiment of the present application, when the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal can control the first mobile terminal to send a prompt message, and the first mobile terminal can also control the second mobile terminal to send a prompt message.
[0058] When the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal may serve as a primary device, the second mobile terminal may serve as a secondary device, and the primary device may partially control the behavior of the secondary device.
[0059] The prompt information may include at least one of voice prompt information, flash prompt information, screen lighting prompt information, and vibration prompt information.
[0060] After the first mobile terminal controls the second mobile terminal to send a prompt message, the user of the first mobile terminal can quickly find the second mobile terminal according to the prompt message sent by the second mobile terminal.
[0061] After the first mobile terminal controls the first mobile terminal to send out prompt information, the user of the first mobile terminal can indicate the location of the second mobile terminal according to the prompt information sent out by the first mobile terminal.
[0062] In the embodiment of the present application, the first mobile terminal can obtain a terminal information set connected to the router through the router, and select a second mobile terminal that needs to be paired with the first mobile terminal from the terminal information set, and pair the second mobile terminal with the first mobile terminal through the router. After the pairing is successful, a prompt message can be sent through the first mobile terminal or the second mobile terminal to remind the location of the second mobile terminal, so that the second mobile terminal in the silent state can be quickly found.
[0063] Optionally, the first mobile terminal controls the first mobile terminal or the second mobile terminal to send a prompt message, including:
[0064] The first mobile terminal controls the display screen of the first mobile terminal to display the indoor location information of the second mobile terminal.
[0065] In an embodiment of the present application, the first mobile terminal and the second mobile terminal can be successfully paired through WiFi direct connection. The first mobile terminal can obtain the indoor location information of the second mobile terminal through WiFi indoor positioning, and display the indoor location information of the second mobile terminal on the display screen of the first mobile terminal, which can facilitate the user to quickly find the second mobile terminal in a silent state according to the indoor location information of the second mobile terminal displayed on the display screen of the first mobile terminal.
[0066] Optionally, in the case where the second mobile terminal is a terminal capable of making sound, the first mobile terminal controls the first mobile terminal or the second mobile terminal to send out prompt information, including:
[0067] The first mobile terminal sends an incoming call ring tone state change instruction to the second mobile terminal, where the incoming call ring tone state change instruction is used to control the incoming call ring tone state of the second mobile terminal to switch from a silent state to a ringing state;
[0068] The first mobile terminal sends a dialing request to the second mobile terminal, and the second mobile terminal rings in response to the dialing request.
[0069] In the embodiment of the present application, the second mobile terminal is a terminal that can answer calls. When the incoming call ringing state of the second mobile terminal is in a silent state, if the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal can control the incoming call ringing state of the second mobile terminal to be switched from a silent state to a ringing state, so that after the first mobile terminal sends a dialing request to the second mobile terminal, the second mobile terminal can ring, thereby facilitating the user to quickly find the second mobile terminal.
[0070] Optionally, when the second mobile terminal is a terminal that cannot make sound, the first mobile terminal controls the first mobile terminal or the second mobile terminal to send a prompt message, including:
[0071] The first mobile terminal sends a screen light up instruction or a flash light on instruction to the second mobile terminal, wherein the screen light up instruction is used to control the screen of the second mobile terminal to light up, and the flash light on instruction is used to control the second mobile terminal to turn on the flash light.
[0072] In the embodiment of the present application, the second mobile terminal cannot make a sound. If the second mobile terminal includes a screen and a flash that can be lit, the first mobile terminal can send a screen-lit instruction to the second mobile terminal to light up the screen of the second mobile terminal, so that the user can quickly find the second mobile terminal. The first mobile terminal can send a flash-on instruction to the second mobile terminal to turn on the flash of the second mobile terminal, so that the user can quickly find the second mobile terminal. The first mobile terminal can also send a screen-lit instruction and a flash-on instruction to the second mobile terminal to simultaneously light up the screen of the second mobile terminal and turn on the flash of the second mobile terminal, so that the user can quickly find the second mobile terminal.
[0073] Optionally, in the case where the second mobile terminal is a terminal capable of making sound, the first mobile terminal controls the first mobile terminal or the second mobile terminal to send out prompt information, including:
[0074] The first mobile terminal sends a search instruction to the second mobile terminal, where the search instruction is used to control the second mobile terminal to ring.
[0075] In the embodiment of the present application, since the second mobile terminal is a terminal capable of making sounds, it is only in a silent state. After the first mobile terminal sends a search instruction to the second mobile terminal, the silent state of the second mobile terminal can be cancelled and the second mobile terminal can be made to ring.
[0076] Among them, the ringing in the embodiment of the present application can include any ringing such as the ringing of an incoming call ringing tone, the ringing of an alarm ringing tone, etc.
[0077] based on Figure 1a The system architecture shown provides a terminal search method, see Figure 3 , Figure 3 is a flow chart of a terminal search method provided by an embodiment of the present application. Figure 3 As shown, the terminal search method may include the following steps.
[0078] 301. A first mobile terminal obtains a set of terminal information connected to a router.
[0079] 302. The first mobile terminal selects terminal information of the second mobile terminal from the terminal information set.
[0080] 303, the first mobile terminal initiates a pairing request with the second mobile terminal to the router, where the pairing request carries the terminal information of the second mobile terminal; the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal.
[0081] The specific implementation of steps 301 to 303 may refer to the description of steps 201 to 203, which will not be repeated here.
[0082] 304, when the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal calculates the current distance between the first mobile terminal and the second mobile terminal, and determines the first ringing mode corresponding to the current distance according to the correspondence between the distance set and the ringing mode set.
[0083] In an embodiment of the present application, when the second mobile terminal can be successfully paired with the first mobile terminal through a WiFi direct connection, the first mobile terminal can calculate the current distance between the first mobile terminal and the second mobile terminal based on the received signal strength indication (RSSI) of the WiFi signal measured by the WiFi direct connection with the second mobile terminal.
[0084] For example, the current distance between the first mobile terminal and the second mobile terminal may be calculated according to the following formula.
[0085] d=10^((abs(RSSI)-A) / (10*n));
[0086] Where d represents the calculated distance, RSSI represents the received signal strength (negative value), A represents the signal strength when the transmitter and receiver are 1 meter apart, and n represents the environmental attenuation factor.
[0087] If the second mobile terminal turns on the WiFi hotspot, generally speaking, the larger the RSSI value of the WiFi signal detected by the first mobile terminal, the closer the current distance between the first mobile terminal and the second mobile terminal is, and the smaller the RSSI value of the WiFi signal detected by the first mobile terminal, the farther the current distance between the first mobile terminal and the second mobile terminal is. For example, if the RSSI value of the WiFi signal changes from -100dbm to -90dbm, it indicates that the distance between the first mobile terminal and the second mobile terminal is getting closer.
[0088] The correspondence between the distance set and the ring mode set can be preset and stored in a memory (e.g., a non-volatile memory) of the first mobile terminal. The distance set can include at least two optional distance intervals, and the ring mode set can include at least two optional ring modes, each optional distance interval corresponding to an optional ring mode. Any two of the at least two optional ring modes are different.
[0089] Please refer to Table 1, which is a correspondence table between a distance set and a ringing mode set provided in an embodiment of the present application.
[0090] Table 1
[0091] Distance (m) Ring Mode 0~5 Ring Mode_1 5~10 Ring Mode_2 Greater than 10 Ring Mode_3
[0092] As shown in Table 1, when the distance is between 0 and 5 meters, the corresponding ringing mode is ringing mode_1, when the distance is between 5 and 10 meters, the corresponding ringing mode is ringing mode_2, and when the distance is greater than 10 meters, the corresponding ringing mode is ringing mode_3. Among them, the ringing tone of ringing mode_1 is the shortest, the ringing tone of ringing mode_2 is the second shortest, and the ringing tone of ringing mode_3 is the longest. For example, taking the ringing tone of "di di di" as an example, the ringing tone of ringing mode_1 emits a "di di di di" ringing tone in an average of one second, the ringing tone of ringing mode_2 emits a "di di di" ringing tone in an average of one second, and the ringing tone of ringing mode_3 emits a "di" ringing tone in an average of one second. The shorter the ringing tone, the closer the second mobile terminal is to the first mobile terminal, which can help the user quickly find the second mobile terminal in silent state.
[0093] In the embodiment of the present application, the distance between the first mobile terminal and the second mobile terminal is related to the shortness of the ringtone. By changing the shortness of the ringtone according to the distance, the distance between the second mobile terminal and the first mobile terminal can be better reminded.
[0094] 305, when the second mobile terminal is a terminal capable of making sounds, the first mobile terminal sends a search instruction to the second mobile terminal, where the search instruction is used to control the second mobile terminal to ring according to the first ringing mode.
[0095] based on Figure 1a The system architecture shown provides a terminal search method, see Figure 4 , Figure 4 is a flow chart of a terminal search method provided by an embodiment of the present application. Figure 4 As shown, the terminal search method may include the following steps.
[0096] 401. A first mobile terminal obtains a set of terminal information connected to a router.
[0097] 402. The first mobile terminal selects terminal information of the second mobile terminal from the terminal information set.
[0098] 403, the first mobile terminal initiates a pairing request with the second mobile terminal to the router, where the pairing request carries the terminal information of the second mobile terminal; the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal.
[0099] The specific implementation of steps 401 to 403 can refer to the description of steps 201 to 203, which will not be repeated here.
[0100] 404, when the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal calculates the current distance between the first mobile terminal and the second mobile terminal, and determines the first ringing mode corresponding to the current distance according to the correspondence between the distance set and the ringing mode set.
[0101] The specific implementation of step 404 can refer to the description of step 304, which will not be repeated here.
[0102] 405 , when the second mobile terminal is a terminal that cannot make sound, the first mobile terminal controls the first mobile terminal to ring according to the first ringing mode.
[0103] In the embodiment of the present application, since the second mobile terminal is a non-sounding terminal, the first mobile terminal can make sound by itself. During the movement of the first mobile terminal, if the distance between the first mobile terminal and the second mobile terminal is getting closer, the shorter the ringtone emitted by the first mobile terminal, the more it can remind the user that the second mobile terminal is closer to the first mobile terminal, thereby helping the user to quickly find the second mobile terminal that is in silent state.
[0104] based on Figure 1a The system architecture shown provides a terminal search method, see Figure 5 , Figure 5 is a flow chart of a terminal search method provided by an embodiment of the present application. Figure 5 As shown, the terminal search method may include the following steps.
[0105] 501. A first mobile terminal obtains a set of terminal information connected to a router.
[0106] 502. The first mobile terminal selects terminal information of the second mobile terminal from the terminal information set.
[0107] 503, the first mobile terminal initiates a pairing request with the second mobile terminal to the router, where the pairing request carries the terminal information of the second mobile terminal; the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal.
[0108] 504, when the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal controls the first mobile terminal or the second mobile terminal to send a prompt message.
[0109] The specific implementation of steps 501 to 504 may refer to steps 201 to 204 and will not be described in detail here.
[0110] 505, when the second mobile terminal is successfully paired with the first mobile terminal, obtaining notification information of the second mobile terminal, where the notification information includes at least one of incoming call notification information, SMS notification information, and application notification information.
[0111] In the embodiment of the present application, when the second mobile terminal is successfully paired with the first mobile terminal, if the second mobile terminal is not found, the user may miss the incoming call notification information, SMS notification information, application notification information, etc. on the second mobile terminal. When the second mobile terminal is successfully paired with the first mobile terminal, the first mobile terminal can be set to forward the incoming call notification information, SMS notification information, and application notification information on the second mobile terminal to the first mobile terminal through the WiFi network, so that the user can obtain the notification information of the second mobile terminal in time, and the notification information includes the incoming call notification information, SMS notification information, application notification information, etc., to avoid missing important information received by the second mobile terminal.
[0112] The following takes the first mobile terminal (mobile phone A) and the second mobile terminal (mobile phone B) as an example to specifically illustrate the terminal search method of the present application. The terminal search method is based on Figure 1b The system architecture shown may include the following steps.
[0113] (1) Mobile phone A (auxiliary mobile phone) is connected to the router via Wi-Fi, and mobile phone B (hidden mobile phone) is connected to the same router via Wi-Fi.
[0114] (2) Mobile phone A uses the information management module of the router to obtain the pairing information of mobile phone B.
[0115] (3) Mobile phone A passes the pairing information of mobile phone B to the network connection module of the router. The network connection module of the router finds the WiFi signal of mobile phone B and initiates the pairing signal. Mobile phone B verifies the pairing request of mobile phone A. Mobile phones A and B are paired successfully.
[0116] (4) Mobile phone A uses a control command to remotely turn on the speaker setting of mobile phone B. Mobile phone A sends a search command, and mobile phone B rings. As mobile phone A moves, mobile phone A calculates that the distance between mobile phone A and mobile phone B is getting closer, and the ringtone of mobile phone A gradually becomes shorter. Mobile phone A calculates that the distance between mobile phone A and mobile phone B is getting farther, and the ringtone of mobile phone A becomes longer and slower. Mobile phone B can also calculate that the distance between mobile phone B and mobile phone A is getting closer, and the ringtone of mobile phone B gradually becomes shorter. Mobile phone B calculates that the distance between mobile phone B and mobile phone A is getting farther, and the ringtone of mobile phone B becomes longer and slower.
[0117] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that in order to realize the above functions, the mobile terminal includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments provided in this document, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0118] The embodiment of the present application can divide the functional units of the mobile terminal according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0119] See also Figure 6 , Figure 6 6 is a schematic diagram of a terminal search device provided in an embodiment of the present application. The terminal search device 600 is applied to a first mobile terminal. The terminal search device 600 may include an acquisition unit 601, a selection unit 602, a pairing unit 603 and a prompt unit 604, wherein:
[0120] An acquisition unit 601 is used to acquire a terminal information set connected to the router;
[0121] A selection unit 602, configured to select terminal information of a second mobile terminal from the terminal information set;
[0122] A pairing unit 603 is configured to initiate a pairing request with the second mobile terminal to the router, wherein the pairing request carries terminal information of the second mobile terminal; the router is configured to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal;
[0123] The prompt unit 604 is used to control the first mobile terminal or the second mobile terminal to send a prompt message when the second mobile terminal is successfully paired with the first mobile terminal.
[0124] Optionally, when the second mobile terminal is a sound-making terminal, the prompt unit 604 controls the first mobile terminal or the second mobile terminal to send a prompt message, including: sending a search instruction to the second mobile terminal, wherein the search instruction is used to control the second mobile terminal to ring.
[0125] Optionally, the terminal searching device 600 may further include a calculating unit 605 and a determining unit 606 .
[0126] A calculation unit 605, configured to calculate a current distance between the first mobile terminal and the second mobile terminal;
[0127] A determining unit 606, configured to determine a first ringing mode corresponding to the current distance according to a correspondence between a distance set and a ringing mode set;
[0128] The search instruction is used to control the second mobile terminal to ring, including: the search instruction is used to control the second mobile terminal to ring according to the first ring mode.
[0129] Optionally, in the case that the second mobile terminal is a sound-making terminal, the prompt unit 604 controls the first mobile terminal or the second mobile terminal to send a prompt message, including: sending an incoming call ringtone status change instruction to the second mobile terminal, the incoming call ringtone status change instruction is used to control the incoming call ringtone status of the second mobile terminal to switch from a silent state to a ringing state; sending a dialing request to the second mobile terminal, and the second mobile terminal rings in response to the dialing request.
[0130] Optionally, when the second mobile terminal is a non-sounding terminal, the prompt unit 604 controls the first mobile terminal or the second mobile terminal to send a prompt message, including: controlling the first mobile terminal to ring, and the ringing mode of the first mobile terminal is related to the distance between the first mobile terminal and the second mobile terminal.
[0131] Optionally, in the case that the second mobile terminal is a non-sounding terminal, the prompt unit 604 controls the first mobile terminal or the second mobile terminal to send a prompt message, including: sending a screen light up instruction or a flash light on instruction to the second mobile terminal, the screen light up instruction is used to control the screen of the second mobile terminal to light up, and the flash light on instruction is used to control the second mobile terminal to turn on the flash.
[0132] Optionally, the acquisition unit 601 is further used to acquire notification information of the second mobile terminal when the second mobile terminal is successfully paired with the first mobile terminal, the notification information including at least one of incoming call notification information, SMS notification information, and application notification information.
[0133] Optionally, the second mobile terminal is paired with the first mobile terminal via WiFi direct connection.
[0134] Among them, the selection unit 602, the pairing unit 603, the calculation unit 605 and the determination unit 606 in the embodiment of the present application can be a processor in the first mobile terminal. The acquisition unit 601 in the embodiment of the present application can be a communication module in the first mobile terminal. The prompt unit 604 in the embodiment of the present application can be at least one of a sound element (e.g., a speaker) and a light-emitting element (e.g., a display screen, a flashlight) in the first mobile terminal.
[0135] Figure 6 The specific implementation of the terminal search device 600 shown can be found in Figures 2 to 5 The method embodiment shown will not be described in detail here.
[0136] In an embodiment of the present application, a terminal information set connected to the router can be obtained through the router, and a second mobile terminal that needs to be paired with the first mobile terminal can be selected from the terminal information set, and the pairing of the second mobile terminal and the first mobile terminal can be achieved through the router. After the pairing is successful, a prompt message can be sent through the first mobile terminal or the second mobile terminal to remind the location of the second mobile terminal, so that the second mobile terminal in a silent state can be quickly found.
[0137] See also Figure 7 , Figure 7 is a structural diagram of a mobile terminal provided in an embodiment of the present application, such as Figure 7 As shown, the mobile terminal 700 includes a processor 701 and a memory 702, and the processor 701 and the memory 702 can be connected to each other via a communication bus 703. The communication bus 703 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The communication bus 703 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 The memory 702 is used to store computer programs, which include program instructions. The processor 701 is configured to call the program instructions. The program includes instructions for executing Figure 2 to Figure 5 Some or all of the steps in the method shown.
[0138] The processor 701 may be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the above program.
[0139] The memory 702 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.
[0140] In addition, the mobile terminal 700 may further include a communication module 704, which may include a WiFi communication module, and may also include common components such as a communication interface and an antenna, which will not be described in detail here.
[0141] In an embodiment of the present application, a terminal information set connected to the router can be obtained through the router, and a second mobile terminal that needs to be paired with the first mobile terminal can be selected from the terminal information set, and the pairing of the second mobile terminal and the first mobile terminal can be achieved through the router. After the pairing is successful, a prompt message can be sent through the first mobile terminal or the second mobile terminal to remind the location of the second mobile terminal, so that the second mobile terminal in a silent state can be quickly found.
[0142] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any terminal search method recorded in the above method embodiments.
[0143] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0144] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0145] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0147] In addition, the functional units in the various embodiments of the application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software program modules.
[0148] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.
[0149] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, which can include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.
[0150] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of the present application. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A terminal search method, characterized in that: The method is applied to a first mobile terminal, and the method includes: Get the terminal information set connected to the router; Selecting terminal information of a second mobile terminal from the terminal information set; Initiating a pairing request with the second mobile terminal to the router, the pairing request carrying terminal information of the second mobile terminal; the router is used to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal; When the second mobile terminal is successfully paired with the first mobile terminal, calculating a current distance between the first mobile terminal and the second mobile terminal; Determine a first ring mode corresponding to the current distance according to a correspondence between a distance set and a ring mode set; control the first mobile terminal or the second mobile terminal to send a prompt message; the current distance is negatively correlated with the shortness of the ring tone of the first ring mode; In the case that the second mobile terminal is a terminal capable of making sounds, the controlling the first mobile terminal or the second mobile terminal to send out a prompt message includes: sending a search instruction to the second mobile terminal, wherein the search instruction is used to control the second mobile terminal to ring according to the first ringing mode.
2. The method according to claim 1, characterized in that In the case where the second mobile terminal is a terminal capable of making sound, the controlling the first mobile terminal or the second mobile terminal to make a prompt message includes: Sending an incoming call ring tone state change instruction to the second mobile terminal, wherein the incoming call ring tone state change instruction is used to control the incoming call ring tone state of the second mobile terminal to switch from a silent state to a ringing state; A dialing request is sent to the second mobile terminal, and the second mobile terminal rings in response to the dialing request.
3. The method according to claim 1, characterized in that: In the case that the second mobile terminal is a terminal that cannot make sound, the controlling the first mobile terminal or the second mobile terminal to send a prompt message includes: The first mobile terminal is controlled to ring, wherein a ringing mode of the first mobile terminal is related to a distance between the first mobile terminal and the second mobile terminal.
4. The method according to claim 1, characterized in that In the case that the second mobile terminal is a terminal that cannot make sound, the controlling the first mobile terminal or the second mobile terminal to send a prompt message includes: A screen light up instruction or a flash light on instruction is sent to the second mobile terminal, wherein the screen light up instruction is used to control the screen of the second mobile terminal to light up, and the flash light on instruction is used to control the second mobile terminal to turn on the flash light.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: When the second mobile terminal is successfully paired with the first mobile terminal, notification information of the second mobile terminal is acquired, where the notification information includes at least one of incoming call notification information, text message notification information, and application notification information.
6. A terminal search device, characterized in that: The device is applied to a first mobile terminal, and the device includes: An acquisition unit, used for acquiring a terminal information set connected to the router; A selection unit, configured to select terminal information of a second mobile terminal from the terminal information set; a pairing unit, configured to initiate a pairing request with the second mobile terminal to the router, wherein the pairing request carries terminal information of the second mobile terminal; and the router is configured to control the second mobile terminal to pair with the first mobile terminal according to the terminal information of the second mobile terminal; a prompting unit, configured to control the first mobile terminal or the second mobile terminal to send a prompt message when the second mobile terminal is successfully paired with the first mobile terminal; a calculating unit, configured to calculate a current distance between the first mobile terminal and the second mobile terminal; a determining unit, configured to determine a first ringing mode corresponding to the current distance according to a correspondence between a distance set and a ringing mode set; the current distance is negatively correlated with a degree of brevity of a ringing tone of the first ringing mode; In the case that the second mobile terminal is a sound-making terminal, the prompt unit controls the first mobile terminal or the second mobile terminal to send a prompt message, including: sending a search instruction to the second mobile terminal, wherein the search instruction is used to control the second mobile terminal to ring according to the first ringing mode.
7. A mobile terminal, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method according to any one of claims 1 to 5.
