WO2017185699A1 - Method for finding terminal, and terminal - Google Patents

Method for finding terminal, and terminal Download PDF

Info

Publication number
WO2017185699A1
WO2017185699A1 PCT/CN2016/103602 CN2016103602W WO2017185699A1 WO 2017185699 A1 WO2017185699 A1 WO 2017185699A1 CN 2016103602 W CN2016103602 W CN 2016103602W WO 2017185699 A1 WO2017185699 A1 WO 2017185699A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
preset
connection
near field
field communication
Prior art date
Application number
PCT/CN2016/103602
Other languages
French (fr)
Chinese (zh)
Inventor
安昌华
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017185699A1 publication Critical patent/WO2017185699A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a method and terminal for finding a terminal.
  • the mobile phone has no signal or arrears to find the mobile phone. In some places, the signal may not be good, or the mobile phone is in arrears. After the user puts the mobile phone in a certain place in the room, he can’t think of where to put it. There is no way to find a mobile phone by traditional calling.
  • Theft of the mobile phone The possibility of the mobile phone being stolen is very high. After the stolen mobile phone, if the mobile phone is to be used again, a new card will be inserted, which makes it difficult for the user to find the mobile phone.
  • the user's dependence on the mobile phone is very high, and it is often the case that the mobile phone is found.
  • the mobile phone is placed at home or somewhere in the office, it is impossible to think of it. Which position, sometimes you can find by phone, sometimes, for example, the phone is muted, such as the current signal is not good, can not be connected, such as the current mobile phone just arrears, etc., these scenes, people feel that although It is close at hand, but it cannot be found.
  • the embodiment of the invention provides a method and a terminal for finding a terminal, which solves the problem that the mobile phone cannot be found when the user cannot make a phone call to determine the location of the mobile phone when the mobile phone is lost and in a state where the mobile phone cannot be called.
  • a method for finding a terminal includes:
  • the second terminal After the second terminal detects the preset near field communication application of the first terminal, receiving connection information of the second terminal sent by the second terminal;
  • connection information of a terminal establishes a TCP connection with the first terminal.
  • the preset startup policy when the loss is:
  • the first terminal does not have a SIM card; or,
  • the SIM card of the first terminal changes;
  • the first terminal is in an airplane mode, and the first terminal does not move within a preset time period;
  • the first terminal is in a mute state, and receives multiple calls within a preset time period;
  • the first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
  • the step of issuing prompt information for prompting the location of the first terminal according to the control message is:
  • the method further includes:
  • the preset near field communication application of the first terminal is turned off.
  • the embodiment of the invention further provides a method for finding a terminal, including:
  • the step of sending a control message to the first terminal includes:
  • the manner in which the prompt information is displayed includes:
  • the embodiment of the invention further provides a terminal, including:
  • the first startup module is configured to start a preset near field communication application of the first terminal if the current state of the first terminal meets a preset startup policy when the first terminal is lost;
  • the first connection module is configured to establish a communication connection with the second terminal based on the preset near field communication application
  • the prompting module is configured to receive a control message sent by the second terminal by using a communication connection with the second terminal, and send prompt information for prompting the location of the first terminal according to the control message.
  • the first connection module includes:
  • the first receiving unit is configured to: after the second terminal detects the preset near field communication application of the first terminal, receive connection information of the second terminal sent by the second terminal;
  • a first connection unit configured to establish a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and send connection information of the first terminal to the second terminal, where The second terminal establishes a TCP connection with the first terminal according to the connection information of the first terminal.
  • the preset startup policy when the loss is:
  • the first terminal does not have a SIM card; or,
  • the SIM card of the first terminal changes;
  • the first terminal is in an airplane mode, and the first terminal does not move within a preset time period;
  • the first terminal is in a mute state, and receives multiple calls within a preset time period;
  • the first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
  • the prompt module includes:
  • the first prompt sub-module is configured to issue the prompt information according to a display manner preset by the first terminal; and/or,
  • the second prompting sub-module is configured to issue the prompt information according to a presentation manner that is sent by the second terminal by using the control message.
  • the terminal further includes:
  • And closing the module configured to close the preset near field communication application of the first terminal in response to the operation of closing the preset near field communication application.
  • the embodiment of the invention further provides a terminal, including:
  • a second startup module configured to start a preset near field communication application of the second terminal
  • a second connection module configured to establish a communication connection with the first terminal based on the preset near field communication application
  • a message sending module configured to send a control message to the first terminal by using a communication connection with the first terminal, so that the first terminal sends a prompt for prompting the location of the first terminal according to the control message Prompt message.
  • the second connection module includes:
  • a sending unit configured to send connection information of the second terminal to the first terminal after detecting a preset near field communication application of the first terminal
  • a second receiving unit configured to receive connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal;
  • the second connecting unit is configured to establish a TCP connection with the first terminal according to the connection information of the first terminal.
  • the message sending module includes:
  • the message sending sub-module is configured to send a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
  • the manner in which the prompt information is displayed includes:
  • the preset near field communication application of the first terminal is started by using a predefined startup policy, and then the second terminal is used as a client to initiate and automatically connect the preset of the first terminal.
  • the near field communication application and then notifying the user according to the preset manner, the user can quickly find the first terminal; the method can help the user find the first terminal as soon as possible in the near field distance, saving user time and improving the user experience.
  • FIG. 1 is a flow chart showing the basic steps of a method for searching for a terminal on a first terminal side according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing the basic steps of a method for searching for a terminal on a second terminal side according to an embodiment of the present invention
  • FIG. 3 is a flowchart showing specific steps of a method for finding a terminal according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a terminal corresponding to a method for searching for a terminal on a first terminal side according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a terminal corresponding to a method for searching for a terminal on a second terminal side according to an embodiment of the present invention.
  • the method for searching for a terminal involves two terminals, namely, a first terminal, that is, a terminal that is sought; and a second terminal, that is, another terminal that is used to search for the first terminal. .
  • a first terminal that is, a terminal that is sought
  • a second terminal that is, another terminal that is used to search for the first terminal.
  • an embodiment of the present invention provides a method for searching for a terminal, where the method on the first terminal side includes:
  • Step 11 If the current state of the first terminal meets the preset startup policy when the first terminal is lost, start the preset near field communication application of the first terminal;
  • Step 12 Establish a communication connection with the second terminal based on the preset near field communication application.
  • Step 13 Receive a control message sent by the second terminal by using a communication connection with the second terminal, and send prompt information for prompting the location of the first terminal according to the control message.
  • the method on the second terminal side thereof comprises:
  • Step 21 Start a preset near field communication application of the second terminal.
  • Step 22 Establish a communication connection with the first terminal based on the preset near field communication application.
  • Step 23 Send a control message to the first terminal by using a communication connection with the first terminal, so that the first terminal sends prompt information for prompting the location of the first terminal according to the control message.
  • the preset near field communication application is generally a WIFI hotspot, a Bluetooth or a short-range wireless communication technology NFC; wherein the effective distance of the WIFI hotspot is greater than the effective distance of the Bluetooth, and the effective distance of the Bluetooth is greater than the effective distance of the NFC .
  • a WIFI hotspot is generally used to find a terminal.
  • the preset startup policy when the user is lost may be set by the user or adopt the default setting of the system; specifically, the preset startup policy includes:
  • the first terminal does not have a SIM card; or,
  • the SIM card of the first terminal changes;
  • the first terminal is in an airplane mode, and the first terminal does not move within a preset time period;
  • the first terminal is in a mute state, and receives multiple calls within a preset time period;
  • the first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
  • the first terminal includes a setting module, and the function of the setting module is mainly to set some information required by the system, and the most important information is the following aspects: a hotspot startup policy (as a server of the hotspot positioning system),
  • the system will provide some default policies, such as detecting that the current mobile phone does not have a sim card, or that the mobile phone sim card has changed, or that the operating habits of the mobile phone have undergone major changes, or that the mobile phone is in flight mode, or that the mobile phone is in arrears mode. Or the mobile phone does not move for a long time, etc., users can define their own startup strategy.
  • the first terminal and the second terminal both include a WFIF module.
  • the module has two main aspects. When the first terminal satisfies the previously set start condition, the first terminal automatically starts a special hotspot, waiting for the second terminal to search, and the user needs to find When the mobile phone is opened, the second terminal mobile phone as the client is opened, and the mobile phone will open the wifi, automatically search for the hotspots that meet the needs, and automatically connect.
  • the step 12 on the first terminal side includes:
  • Step 121 After the second terminal detects the preset near field communication application of the first terminal, receiving connection information of the second terminal sent by the second terminal, where the connection information of the second terminal includes at least: Port information and IP information of the second terminal.
  • Step 122 Establish a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and send connection information of the first terminal to the second terminal, where the second terminal is configured according to the second terminal.
  • the connection information of the first terminal establishes a TCP connection with the first terminal.
  • step 22 of the second terminal side includes:
  • Step 221 After detecting the preset near field communication application of the first terminal, send connection information of the second terminal to the first terminal.
  • Step 222 Receive connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal.
  • the connection information of the first terminal includes at least : Port information and IP information of the first terminal.
  • Step 223 Establish a TCP connection with the first terminal according to the connection information of the first terminal.
  • the first terminal and the second terminal each include a connection module, and the module is mainly configured to establish a handshake connection between the two terminals.
  • the main process is that after the second terminal is connected to the special hot spot of the first terminal, the second terminal The port information, the IP information, and the like of the terminal are broadcasted to the searched mobile phone, and then the first terminal establishes a tcp connection with the second terminal through the connection information, and simultaneously sends the port information, the IP information, and the like information of the first terminal, and the second terminal receives the information. After this information, the Tcp connection is also established with the first terminal. After the two-way tcp connection is successfully established, the two terminals can communicate.
  • the step 13 on the first terminal side is:
  • Step 131 Send the prompt information according to a display manner preset by the first terminal; or,
  • Step 132 Send the prompt information according to a presentation manner that is sent by the second terminal by using the control message.
  • step 23 on the second terminal side is:
  • Step 231 Send a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
  • the second terminal sends a control message to the first terminal, so that the first terminal can be discovered by the user in a certain manner.
  • the sent control message can be accompanied by a presentation mode, such as opening a ringtone, opening a music, turning on a flashlight, making a vibration, etc.
  • the first terminal is getting information containing the presentation mode. After that, it will operate the local end correspondingly.
  • the second terminal may also send only one control message without a presentation mode, and let the first terminal perform the presentation according to the previously set default presentation mode. That is, the presentation manner of the prompt information includes: playing preset audio information or video information; or, turning on the flashlight; or, sending a vibration.
  • the setting module of the first terminal further has an important setting information, that is, how the first terminal notifies the user, and the setting module also defines a policy. For example, the first terminal detects that the current environment is noisy, and when the external environment is bright, the camera is automatically started, and then the photo is transmitted back to the second terminal; if it is detected that the surrounding environment is not noisy, the specific music is directly played; if the surrounding is detected Very dark, just turn on the flashlight and so on, so users can easily find the phone.
  • the method further includes:
  • Step 14 Close the preset near field communication application of the first terminal in response to the operation of closing the preset near field communication application.
  • the hacker in order to prevent the thief from shutting down the preset near field communication application, the hacker needs to input the password set by the user or use the fingerprint verification when the preset near field communication application is closed in the embodiment of the present invention. Finger vein authentication and the like to verify the identity of the user, thereby allowing the user to turn off the preset near field communication application.
  • the preset startup policy is capable of recognizing that the current user's mobile phone may be in a state of being searched by the user or may be in a lost state.
  • Some default policies are provided, such as:
  • the hotspot is activated immediately.
  • the user changes the card himself then he can manually turn off the hotspot in the mobile phone positioning system and input the preset password. Then, this operation is considered legal and will not start the hotspot again.
  • the hotspot creation work will be started.
  • the user may also actively switch to the flight mode.
  • the hotspot is activated, the user also Only need to legalize this operation in the hotspot positioning system (the same as entering the password), then the hotspot will be closed.
  • the mobile phone is in the searched state, and then the hotspot is activated.
  • the mobile phone is in the hands of the user, and the hotspot can be turned off by the same operation as above.
  • Step 31 the user places the mobile phone at a certain location in the home, but just can't remember, the mobile phone is in a mute state, and the user is anxious to retrieve the mobile phone (hereinafter referred to as the A machine for convenience of description).
  • step 32 the user continuously dials his mobile phone with his family's mobile phone (hereinafter referred to as the B machine for convenience of description).
  • step 33 the A machine detects that there are other machines dialing multiple times within one minute, and is in a mute state, which conforms to a certain scenario of the default hotspot, and the A machine actively activates the hot spot of the mobile phone positioning system and waits for the connection.
  • step 34 the user activates the hotspot positioning system by using the B machine, and simultaneously locates the identity as the client, and the B machine Wlan is opened.
  • step 35 the user searches for a home B machine.
  • step 36 the B machine searches for the existence of a special hot spot that matches the hotspot positioning system, and then automatically connects the hotspot.
  • step 37 the B machine and the A machine establish a handshake state through the establishment of the broadcast and the bidirectional TCP connection.
  • Step 38 After the handshake is completed, the B machine sends a control message to the A machine.
  • Step 39 Determine whether the control message sent by the B machine includes a presentation mode.
  • Step 40 if the presentation mode is not included, running according to a preset display mode
  • Step 41 If the presentation mode is included, the operation mode is performed according to the desired display mode of the B machine; for example, because the ambient light is very dark, in the control message sent by the B machine, it is desirable that the A machine display mode is to turn on the flashlight and vibrate.
  • step 42 the user finds the A machine.
  • the above embodiment of the present invention proposes a method of finding a terminal.
  • a default startup policy For example, it detects that the current mobile phone does not have a sim card, or the mobile phone sim card changes, or the mobile phone's operating habits change significantly, or the mobile phone is in flight mode, or the mobile phone is in arrears mode. , or the mobile phone has not moved for a long time, etc.
  • the system automatically starts in the background and then creates a specific hotspot. If you use this time The user found out in time that the mobile phone could not be found, then it can start the corresponding system through any other mobile phone (just let the system run as a client), then the system will automatically find all the within a certain range.
  • Hotspots if there are hotspots that match the pre-defined characteristics (for convenience of description, the system is called the hotspot positioning system), then it will automatically connect, and then you can make the sound of the user's mobile phone, or turn on the flashlight, etc. Ways to find the phone in time.
  • the hotspot positioning system for convenience of description, the system is called the hotspot positioning system
  • the embodiment of the present invention further provides a terminal, including:
  • the first startup module 401 is configured to start a preset near field communication application of the first terminal if the current state of the first terminal meets a preset startup policy when the current state is lost;
  • the first connection module 402 is configured to establish a communication connection with the second terminal based on the preset near field communication application;
  • the prompting module 403 is configured to receive a control message sent by the second terminal by using a communication connection with the second terminal, and send prompt information for prompting the location of the first terminal according to the control message.
  • the first connection module in the foregoing embodiment of the present invention includes:
  • the first receiving unit is configured to: after the second terminal detects the preset near field communication application of the first terminal, receive connection information of the second terminal sent by the second terminal;
  • a first connection unit configured to establish a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and send connection information of the first terminal to the second terminal, where The second terminal establishes a TCP connection with the first terminal according to the connection information of the first terminal.
  • the preset startup policy when the foregoing embodiment of the present invention is lost includes:
  • the first terminal does not have a SIM card; or,
  • the SIM card of the first terminal changes;
  • the first terminal is in an airplane mode, and the first terminal does not move within a preset time period;
  • the first terminal is in a mute state, and receives multiple calls within a preset time period;
  • the first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
  • the prompting module in the foregoing embodiment of the present invention includes:
  • the first prompt sub-module is configured to issue the prompt information according to a display manner preset by the first terminal; and/or,
  • a second prompting submodule configured to issue a location according to the presentation manner that the second terminal sends by using the control message Prompt information.
  • the terminal in the foregoing embodiment of the present invention further includes:
  • And closing the module configured to close the preset near field communication application of the first terminal in response to the operation of closing the preset near field communication application.
  • the terminal provided by the foregoing embodiment of the present invention is a terminal corresponding to the method for searching for a terminal on the first terminal side, and all embodiments of the method for searching for a terminal on the first terminal side are applicable to the terminal. And can achieve the same or similar benefits.
  • an embodiment of the present invention further provides a terminal, including:
  • the second startup module 501 is configured to start a preset near field communication application of the second terminal
  • the second connection module 502 is configured to establish a communication connection with the first terminal based on the preset near field communication application;
  • the message sending module 503 is configured to send a control message to the first terminal by using a communication connection with the first terminal, so that the first terminal sends a location for prompting the first terminal according to the control message. Tip message.
  • the second connection module in the foregoing embodiment of the present invention includes:
  • a sending unit configured to send connection information of the second terminal to the first terminal after detecting a preset near field communication application of the first terminal
  • a second receiving unit configured to receive connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal;
  • the second connecting unit is configured to establish a TCP connection with the first terminal according to the connection information of the first terminal.
  • the message sending module in the foregoing embodiment of the present invention includes:
  • the message sending sub-module is configured to send a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
  • the manner in which the prompt information is displayed in the foregoing embodiment of the present invention includes:
  • the terminal provided by the foregoing embodiment of the present invention is a terminal corresponding to the method for searching for a terminal on the second terminal side, and all embodiments of the method for searching for a terminal on the second terminal side are applicable to the terminal. And can reach To the same or similar benefits.

Abstract

Embodiments of the present invention provide a method for finding a terminal, and a terminal. The method for finding a terminal comprises: starting a preset near field communication application of a first terminal if the current state of the first terminal satisfies a preset start strategy in the case of a loss; establishing a communication connection with a second terminal on the basis of the preset near field communication application; and receiving a control message sent by the second terminal by means of the communication connection with the second terminal, and sending, according to the control message, prompt information for prompting the location of the first terminal. According to the embodiments of the present invention, by starting a preset near field communication application of a first terminal by means of a predefined start strategy, starting and automatically connecting the preset near field communication application of the first terminal by using a second terminal as a client, and notifying a user in a preset approach, the user can quickly find the first terminal. The method can help the user to find the first terminal in a near field distance as quickly as possible, reduce user time, and improve user experience.

Description

一种寻找终端的方法及终端Method and terminal for finding terminal 技术领域Technical field
本发明涉及通信技术领域,特别是指一种寻找终端的方法及终端。The present invention relates to the field of communication technologies, and in particular, to a method and terminal for finding a terminal.
背景技术Background technique
在当今快节奏的工作与生活中,手机已经成为一个必不可少的工具。但是用户也经常处于找手机的状态,这个有两种可能,一个是仅仅是用户暂时想不起来放哪里了,还有人就是被盗了,具体描述如下:In today's fast-paced work and life, mobile phones have become an indispensable tool. However, users are often in the state of looking for a mobile phone. There are two possibilities. One is that the user can't remember where to put it, and the other person is stolen. The details are as follows:
1.手机没信号或者欠费状态下寻找手机在某些地方可能信号不太好,或者说手机欠费了,用户把手机放在房间某个地方后,想不起来放哪里了,这个时候想通过传统的打电话寻找手机就根本没办法。1. The mobile phone has no signal or arrears to find the mobile phone. In some places, the signal may not be good, or the mobile phone is in arrears. After the user puts the mobile phone in a certain place in the room, he can’t think of where to put it. There is no way to find a mobile phone by traditional calling.
2.手机被盗:手机被盗的可能性很大,被盗后,手机如果要重新使用,就会插上新的卡,这就给用户寻找手机带来难度。2. Theft of the mobile phone: The possibility of the mobile phone being stolen is very high. After the stolen mobile phone, if the mobile phone is to be used again, a new card will be inserted, which makes it difficult for the user to find the mobile phone.
综上,由于当前手机的重要性,用户对手机的依赖性非常高,也经常会出现找手机的状态,比如明明就知道手机放在家里或者是办公室的某个地方,就是想不起来具体在哪个位置,有的时候可以通过打电话寻找,有的时候,比如电话处于静音状态,比如当前信号不好,无法接通,比如当前手机刚好欠费,等等,这些场景下,让人感觉虽然近在咫尺,却无法寻得。In summary, due to the importance of the current mobile phone, the user's dependence on the mobile phone is very high, and it is often the case that the mobile phone is found. For example, if the mobile phone is placed at home or somewhere in the office, it is impossible to think of it. Which position, sometimes you can find by phone, sometimes, for example, the phone is muted, such as the current signal is not good, can not be connected, such as the current mobile phone just arrears, etc., these scenes, people feel that although It is close at hand, but it cannot be found.
还有就是手机也会时不时由于各种原因被盗,比如说在公交车上,不小心被偷了,小偷有可能怕关机声音太大引起注意,然后就先改成静音或者是飞行模式,或者是换卡等等,用户即使知道了自己刚刚掉,或者很清楚就在某些区域掉的,也无法迅速找回来。There is also a mobile phone that can be stolen from time to time for various reasons, such as on the bus, accidentally stolen, the thief may be afraid that the shutdown sound is too loud to attract attention, and then first changed to mute or flight mode, or It is a card change, etc., even if the user knows that he has just dropped, or is clearly clear in some areas, he can't find it quickly.
发明内容Summary of the invention
本发明实施例提供了一种寻找终端的方法及终端,解决了现有技术中当手机丢失且处于无法通话的状态时,用户无法通过打电话来确定手机的位置时则无法寻找手机的问题。 The embodiment of the invention provides a method and a terminal for finding a terminal, which solves the problem that the mobile phone cannot be found when the user cannot make a phone call to determine the location of the mobile phone when the mobile phone is lost and in a state where the mobile phone cannot be called.
,根据本发明实施例的一个方面,提供一种寻找终端的方法,包括:According to an aspect of the embodiments of the present invention, a method for finding a terminal includes:
若第一终端的当前状态满足丢失时的预设启动策略,启动所述第一终端的预设近场通信应用;If the current state of the first terminal meets the preset startup policy when the first terminal is lost, the preset near field communication application of the first terminal is started;
基于所述预设近场通信应用,与第二终端建立通信连接;Establishing a communication connection with the second terminal based on the preset near field communication application;
通过与所述第二终端的通信连接,接收所述第二终端发送的控制消息,并根据所述控制消息发出用于提示所述第一终端的位置的提示信息。Receiving, by the communication connection with the second terminal, a control message sent by the second terminal, and sending prompt information for prompting the location of the first terminal according to the control message.
其中,基于所述预设近场通信应用,与第二终端建立通信连接的步骤包括:The step of establishing a communication connection with the second terminal based on the preset near field communication application includes:
在第二终端检测到所述第一终端的预设近场通信应用之后,接收所述第二终端发送的所述第二终端的连接信息;After the second terminal detects the preset near field communication application of the first terminal, receiving connection information of the second terminal sent by the second terminal;
根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接,并将所述第一终端的连接信息发送给所述第二终端,由所述第二终端根据所述第一终端的连接信息与所述第一终端建立TCP连接。Establishing a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and transmitting connection information of the first terminal to the second terminal, according to the second terminal The connection information of a terminal establishes a TCP connection with the first terminal.
其中,丢失时的所述预设启动策略包括:The preset startup policy when the loss is:
所述第一终端没有SIM卡;或者,The first terminal does not have a SIM card; or,
所述第一终端的SIM卡发生变化;或者,The SIM card of the first terminal changes; or
所述第一终端处于飞行模式,且所述第一终端在预设时间段内未发生移动;或者,The first terminal is in an airplane mode, and the first terminal does not move within a preset time period; or
所述第一终端处于静音状态,且预设时间段内接收到多次呼叫;或者,The first terminal is in a mute state, and receives multiple calls within a preset time period; or
所述第一终端处于无信号状态,且所述第一终端在预设时间段内未发生移动。The first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
其中,根据所述控制消息发出用于提示所述第一终端的位置的提示信息的步骤为:The step of issuing prompt information for prompting the location of the first terminal according to the control message is:
根据所述第一终端预先设置的展示方式发出所述提示信息;或者,Sending the prompt information according to a display manner preset by the first terminal; or
根据所述第二终端通过所述控制消息发送的展现方式,发出所述提示信息。And sending the prompt information according to a presentation manner that is sent by the second terminal by using the control message.
其中,若第一终端的当前状态满足预设启动策略,启动所述第一终端的预设近场通信应用之后,所述方法还包括:After the current state of the first terminal meets the preset startup policy, and after the preset near field communication application of the first terminal is started, the method further includes:
响应关闭所述预设近场通信应用的操作,关闭所述第一终端的预设近场通信应用。In response to turning off the operation of the preset near field communication application, the preset near field communication application of the first terminal is turned off.
本发明实施例还提供一种寻找终端的方法,包括:The embodiment of the invention further provides a method for finding a terminal, including:
启动第二终端的预设近场通信应用;Initiating a preset near field communication application of the second terminal;
基于所述预设近场通信应用,与第一终端建立通信连接; Establishing a communication connection with the first terminal based on the preset near field communication application;
通过与所述第一终端的通信连接,向所述第一终端发送控制消息,使得所述第一终端根据所述控制消息发出用于提示所述第一终端的位置的提示信息。Sending, by the communication connection with the first terminal, a control message to the first terminal, so that the first terminal sends prompt information for prompting the location of the first terminal according to the control message.
其中,基于所述预设近场通信应用,与第一终端建立通信连接的步骤包括:The step of establishing a communication connection with the first terminal based on the preset near field communication application includes:
在检测所述第一终端的预设近场通信应用之后,向所述第一终端发送所述第二终端的连接信息;After detecting the preset near field communication application of the first terminal, sending connection information of the second terminal to the first terminal;
接收所述第一终端根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接之后发送的所述第一终端的连接信息;Receiving connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal;
根据所述第一终端的连接信息与所述第一终端建立TCP连接。Establishing a TCP connection with the first terminal according to the connection information of the first terminal.
其中,向所述第一终端发送控制消息的步骤包括:The step of sending a control message to the first terminal includes:
向所述第一终端发送控制消息,所述控制消息中携带所述提示信息的展现方式。Sending a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
其中,所述提示信息的展现方式包括:The manner in which the prompt information is displayed includes:
播放预设音频信息或视频信息;或者,Play preset audio or video information; or,
打开手电筒;或者,Turn on the flashlight; or,
发出震动。Vibrate.
本发明实施例还提供一种终端,包括:The embodiment of the invention further provides a terminal, including:
第一启动模块,设置为若第一终端的当前状态满足丢失时的预设启动策略,启动所述第一终端的预设近场通信应用;The first startup module is configured to start a preset near field communication application of the first terminal if the current state of the first terminal meets a preset startup policy when the first terminal is lost;
第一连接模块,设置为基于所述预设近场通信应用,与第二终端建立通信连接;The first connection module is configured to establish a communication connection with the second terminal based on the preset near field communication application;
提示模块,设置为通过与所述第二终端的通信连接,接收所述第二终端发送的控制消息,并根据所述控制消息发出用于提示所述第一终端的位置的提示信息。The prompting module is configured to receive a control message sent by the second terminal by using a communication connection with the second terminal, and send prompt information for prompting the location of the first terminal according to the control message.
其中,所述第一连接模块包括:The first connection module includes:
第一接收单元,设置为在第二终端检测到所述第一终端的预设近场通信应用之后,接收所述第二终端发送的所述第二终端的连接信息;The first receiving unit is configured to: after the second terminal detects the preset near field communication application of the first terminal, receive connection information of the second terminal sent by the second terminal;
第一连接单元,设置为根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接,并将所述第一终端的连接信息发送给所述第二终端,由所述第二终端根据所述第一终端的连接信息与所述第一终端建立TCP连接。a first connection unit, configured to establish a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and send connection information of the first terminal to the second terminal, where The second terminal establishes a TCP connection with the first terminal according to the connection information of the first terminal.
其中,丢失时的所述预设启动策略包括: The preset startup policy when the loss is:
所述第一终端没有SIM卡;或者,The first terminal does not have a SIM card; or,
所述第一终端的SIM卡发生变化;或者,The SIM card of the first terminal changes; or
所述第一终端处于飞行模式,且所述第一终端在预设时间段内未发生移动;或者,The first terminal is in an airplane mode, and the first terminal does not move within a preset time period; or
所述第一终端处于静音状态,且预设时间段内接收到多次呼叫;或者,The first terminal is in a mute state, and receives multiple calls within a preset time period; or
所述第一终端处于无信号状态,且所述第一终端在预设时间段内未发生移动。The first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
其中,所述提示模块包括:The prompt module includes:
第一提示子模块,设置为根据所述第一终端预先设置的展示方式发出所述提示信息;和/或,The first prompt sub-module is configured to issue the prompt information according to a display manner preset by the first terminal; and/or,
第二提示子模块,设置为根据所述第二终端通过所述控制消息发送的展现方式,发出所述提示信息。The second prompting sub-module is configured to issue the prompt information according to a presentation manner that is sent by the second terminal by using the control message.
其中,所述终端还包括:The terminal further includes:
关闭模块,设置为响应关闭所述预设近场通信应用的操作,关闭所述第一终端的预设近场通信应用。And closing the module, configured to close the preset near field communication application of the first terminal in response to the operation of closing the preset near field communication application.
本发明实施例还提供一种终端,包括:The embodiment of the invention further provides a terminal, including:
第二启动模块,设置为启动第二终端的预设近场通信应用;a second startup module, configured to start a preset near field communication application of the second terminal;
第二连接模块,设置为基于所述预设近场通信应用,与第一终端建立通信连接;a second connection module, configured to establish a communication connection with the first terminal based on the preset near field communication application;
消息发送模块,设置为通过与所述第一终端的通信连接,向所述第一终端发送控制消息,使得所述第一终端根据所述控制消息发出用于提示所述第一终端的位置的提示信息。a message sending module, configured to send a control message to the first terminal by using a communication connection with the first terminal, so that the first terminal sends a prompt for prompting the location of the first terminal according to the control message Prompt message.
其中,所述第二连接模块包括:The second connection module includes:
发送单元,设置为在检测所述第一终端的预设近场通信应用之后,向所述第一终端发送所述第二终端的连接信息;a sending unit, configured to send connection information of the second terminal to the first terminal after detecting a preset near field communication application of the first terminal;
第二接收单元,设置为接收所述第一终端根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接之后发送的所述第一终端的连接信息;a second receiving unit, configured to receive connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal;
第二连接单元,设置为根据所述第一终端的连接信息与所述第一终端建立TCP连接。The second connecting unit is configured to establish a TCP connection with the first terminal according to the connection information of the first terminal.
其中,所述消息发送模块包括:The message sending module includes:
消息发送子模块,设置为向所述第一终端发送控制消息,所述控制消息中携带所述提示信息的展现方式。 The message sending sub-module is configured to send a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
其中,所述提示信息的展现方式包括:The manner in which the prompt information is displayed includes:
播放预设音频信息或视频信息;或者,Play preset audio or video information; or,
打开手电筒;或者,Turn on the flashlight; or,
发出震动。Vibrate.
本发明实施例的上述技术方案至少具有如下有益效果:The above technical solutions of the embodiments of the present invention have at least the following beneficial effects:
本发明实施例的寻找终端的方法及终端中,通过预先定义好的启动策略启动第一终端的预设近场通信应用,然后利用第二终端作为客户端启动并自动连接第一终端的预设近场通信应用,然后根据预先设置好的方式通知用户,则用户可以迅速的找到第一终端;该方法在近场距离中可以帮助用户尽快的寻找第一终端,节约用户时间,提升用户体验。In the method for searching for a terminal and the terminal in the embodiment of the present invention, the preset near field communication application of the first terminal is started by using a predefined startup policy, and then the second terminal is used as a client to initiate and automatically connect the preset of the first terminal. The near field communication application, and then notifying the user according to the preset manner, the user can quickly find the first terminal; the method can help the user find the first terminal as soon as possible in the near field distance, saving user time and improving the user experience.
附图说明DRAWINGS
图1表示本发明实施例提供的第一终端侧的寻找终端的方法的基本步骤流程图;1 is a flow chart showing the basic steps of a method for searching for a terminal on a first terminal side according to an embodiment of the present invention;
图2表示本发明实施例提供的第二终端侧的寻找终端的方法的基本步骤流程图;2 is a flow chart showing the basic steps of a method for searching for a terminal on a second terminal side according to an embodiment of the present invention;
图3表示本发明实施例提供的寻找终端的方法的具体步骤流程图;FIG. 3 is a flowchart showing specific steps of a method for finding a terminal according to an embodiment of the present invention;
图4表示本发明实施例提供的与第一终端侧的寻找终端的方法对应的终端的结构示意图;FIG. 4 is a schematic structural diagram of a terminal corresponding to a method for searching for a terminal on a first terminal side according to an embodiment of the present disclosure;
图5表示本发明实施例提供的与第二终端侧的寻找终端的方法对应的终端的结构示意图。FIG. 5 is a schematic structural diagram of a terminal corresponding to a method for searching for a terminal on a second terminal side according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in the following description.
需要说明的是,本发明实施例提供的寻找终端的方法涉及到两个终端,分别为第一终端,即被寻找的终端;以及第二终端,即用来寻找的第一终端的另一终端。本发明的具体实施例中对第一终端侧的方法和第二终端侧的方法进行分别描述,具体如下:It should be noted that the method for searching for a terminal provided by the embodiment of the present invention involves two terminals, namely, a first terminal, that is, a terminal that is sought; and a second terminal, that is, another terminal that is used to search for the first terminal. . In the specific embodiment of the present invention, the method on the first terminal side and the method on the second terminal side are separately described, as follows:
如图1所示,本发明实施例提供一种寻找终端的方法,其第一终端侧的方法包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for searching for a terminal, where the method on the first terminal side includes:
步骤11,若第一终端的当前状态满足丢失时的预设启动策略,启动所述第一终端的预设近场通信应用; Step 11: If the current state of the first terminal meets the preset startup policy when the first terminal is lost, start the preset near field communication application of the first terminal;
步骤12,基于所述预设近场通信应用,与第二终端建立通信连接;Step 12: Establish a communication connection with the second terminal based on the preset near field communication application.
步骤13,通过与所述第二终端的通信连接,接收所述第二终端发送的控制消息,并根据所述控制消息发出用于提示所述第一终端的位置的提示信息。Step 13: Receive a control message sent by the second terminal by using a communication connection with the second terminal, and send prompt information for prompting the location of the first terminal according to the control message.
相应的,其第二终端侧的方法包括:Correspondingly, the method on the second terminal side thereof comprises:
步骤21,启动第二终端的预设近场通信应用;Step 21: Start a preset near field communication application of the second terminal.
步骤22,基于所述预设近场通信应用,与第一终端建立通信连接;Step 22: Establish a communication connection with the first terminal based on the preset near field communication application.
步骤23,通过与所述第一终端的通信连接,向所述第一终端发送控制消息,使得所述第一终端根据所述控制消息发出用于提示所述第一终端的位置的提示信息。Step 23: Send a control message to the first terminal by using a communication connection with the first terminal, so that the first terminal sends prompt information for prompting the location of the first terminal according to the control message.
本发明的上述实施例中,预设近场通信应用一般为WIFI热点、蓝牙或者近距离无线通信技术NFC;其中,WIFI热点的有效距离大于蓝牙的有效距离,蓝牙的有效距离大于NFC的有效距离。本发明的具体实施例中,一般采用WIFI热点来寻找终端。In the above embodiment of the present invention, the preset near field communication application is generally a WIFI hotspot, a Bluetooth or a short-range wireless communication technology NFC; wherein the effective distance of the WIFI hotspot is greater than the effective distance of the Bluetooth, and the effective distance of the Bluetooth is greater than the effective distance of the NFC . In a specific embodiment of the present invention, a WIFI hotspot is generally used to find a terminal.
进一步的,丢失时的预设启动策略可以由用户自行设置或者采用系统的默认设置;具体的,该预设启动策略包括:Further, the preset startup policy when the user is lost may be set by the user or adopt the default setting of the system; specifically, the preset startup policy includes:
所述第一终端没有SIM卡;或者,The first terminal does not have a SIM card; or,
所述第一终端的SIM卡发生变化;或者,The SIM card of the first terminal changes; or
所述第一终端处于飞行模式,且所述第一终端在预设时间段内未发生移动;或者,The first terminal is in an airplane mode, and the first terminal does not move within a preset time period; or
所述第一终端处于静音状态,且预设时间段内接收到多次呼叫;或者,The first terminal is in a mute state, and receives multiple calls within a preset time period; or
所述第一终端处于无信号状态,且所述第一终端在预设时间段内未发生移动。The first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
具体的,第一终端包括设置模块,该设置模块的功能主要就是设置一些本系统需要的信息,最主要有以下几个方面的信息,分别是热点启动策略(作为热点定位系统的服务端),系统会提供一些默认策略,比如检测到当前手机没有sim卡,或者是手机sim卡发生变化,或者说是手机的操作习惯发生重大变化,或者说是手机处于飞行模式,或者手机处于欠费模式,或者手机长时间位置没有移动等等,用户可以自己定义自己的启动策略。Specifically, the first terminal includes a setting module, and the function of the setting module is mainly to set some information required by the system, and the most important information is the following aspects: a hotspot startup policy (as a server of the hotspot positioning system), The system will provide some default policies, such as detecting that the current mobile phone does not have a sim card, or that the mobile phone sim card has changed, or that the operating habits of the mobile phone have undergone major changes, or that the mobile phone is in flight mode, or that the mobile phone is in arrears mode. Or the mobile phone does not move for a long time, etc., users can define their own startup strategy.
第一终端和第二终端均包括WFIF模块,这个模块主要有两个方面,第一终端在满足之前设置好的启动条件的时候,自动启动特殊的热点,等待第二终端来寻找,用户需要寻找手机的时候,就打开作为客户端的第二终端手机,该手机会打开wifi,自动搜索符合需要的热点,自动去连接。 The first terminal and the second terminal both include a WFIF module. The module has two main aspects. When the first terminal satisfies the previously set start condition, the first terminal automatically starts a special hotspot, waiting for the second terminal to search, and the user needs to find When the mobile phone is opened, the second terminal mobile phone as the client is opened, and the mobile phone will open the wifi, automatically search for the hotspots that meet the needs, and automatically connect.
具体的,本发明的上述实施例中,第一终端侧的步骤12包括:Specifically, in the foregoing embodiment of the present invention, the step 12 on the first terminal side includes:
步骤121,在第二终端检测到所述第一终端的预设近场通信应用之后,接收所述第二终端发送的所述第二终端的连接信息;第二终端的连接信息至少包括:第二终端的端口信息、IP信息。Step 121: After the second terminal detects the preset near field communication application of the first terminal, receiving connection information of the second terminal sent by the second terminal, where the connection information of the second terminal includes at least: Port information and IP information of the second terminal.
步骤122,根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接,并将所述第一终端的连接信息发送给所述第二终端,由所述第二终端根据所述第一终端的连接信息与所述第一终端建立TCP连接。Step 122: Establish a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and send connection information of the first terminal to the second terminal, where the second terminal is configured according to the second terminal. The connection information of the first terminal establishes a TCP connection with the first terminal.
响应的,第二终端侧的步骤22包括:In response, step 22 of the second terminal side includes:
步骤221,在检测所述第一终端的预设近场通信应用之后,向所述第一终端发送所述第二终端的连接信息;Step 221: After detecting the preset near field communication application of the first terminal, send connection information of the second terminal to the first terminal.
步骤222,接收所述第一终端根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接之后发送的所述第一终端的连接信息;第一终端的连接信息至少包括:第一终端的端口信息、IP信息。Step 222: Receive connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal. The connection information of the first terminal includes at least : Port information and IP information of the first terminal.
步骤223,根据所述第一终端的连接信息与所述第一终端建立TCP连接。Step 223: Establish a TCP connection with the first terminal according to the connection information of the first terminal.
具体的,第一终端及第二终端均包括一连接模块,该模块主要是要建立两个终端之间的握手连接,主要流程是第二终端连上第一终端的特殊热点后,将第二终端的端口信息、IP信息等广播给被寻找的手机,然后第一终端通过这些连接信息与第二终端建立tcp连接,同时发送第一终端端的端口信息、IP信息等信息,第二终端收到这些信息后,也主动与第一终端建立tcp连接,通过双向tcp连接成功建立后,两个终端就可以通信。Specifically, the first terminal and the second terminal each include a connection module, and the module is mainly configured to establish a handshake connection between the two terminals. The main process is that after the second terminal is connected to the special hot spot of the first terminal, the second terminal The port information, the IP information, and the like of the terminal are broadcasted to the searched mobile phone, and then the first terminal establishes a tcp connection with the second terminal through the connection information, and simultaneously sends the port information, the IP information, and the like information of the first terminal, and the second terminal receives the information. After this information, the Tcp connection is also established with the first terminal. After the two-way tcp connection is successfully established, the two terminals can communicate.
较佳的,第一终端侧的步骤13为:Preferably, the step 13 on the first terminal side is:
步骤131,根据所述第一终端预先设置的展示方式发出所述提示信息;或者,Step 131: Send the prompt information according to a display manner preset by the first terminal; or,
步骤132,根据所述第二终端通过所述控制消息发送的展现方式,发出所述提示信息。Step 132: Send the prompt information according to a presentation manner that is sent by the second terminal by using the control message.
相应的,第二终端侧的步骤23为:Correspondingly, step 23 on the second terminal side is:
步骤231,向所述第一终端发送控制消息,所述控制消息中携带所述提示信息的展现方式。Step 231: Send a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
本发明实施例中,第一终端与第二终端连接建立之后,第二终端会发送控制消息给第一终端,让第一终端通过某种方式让用户可以尽快发现。发送的控制消息里面可以附带展现方式,比如开铃声,开音乐,打开电筒,发出震动等等,第一终端在得到含有展现方式的信息 后,就会对应的去操作本端。当然,第二终端也可以仅发送一个不带展现方式的控制消息,而让第一终端根据之前设置好的默认的展现方式进行展现。即所述提示信息的展现方式包括:播放预设音频信息或视频信息;或者,打开手电筒;或者,发出震动。In the embodiment of the present invention, after the connection between the first terminal and the second terminal is established, the second terminal sends a control message to the first terminal, so that the first terminal can be discovered by the user in a certain manner. The sent control message can be accompanied by a presentation mode, such as opening a ringtone, opening a music, turning on a flashlight, making a vibration, etc., the first terminal is getting information containing the presentation mode. After that, it will operate the local end correspondingly. Of course, the second terminal may also send only one control message without a presentation mode, and let the first terminal perform the presentation according to the previously set default presentation mode. That is, the presentation manner of the prompt information includes: playing preset audio information or video information; or, turning on the flashlight; or, sending a vibration.
需要说明的是,若第一终端包含预设设置的默认展现方式,则上述第一终端的设置模块还有个重要的设置信息,就是第一终端如何通知用户,设置模块也会定义一个策略,比如第一终端检测到当前环境比较吵,同时外面环境比较亮,就自动启动拍照,然后将照片回传给第二终端;如果检测到周围环境不吵,就直接播放特定音乐;如果检测到周围很暗,则直接打开手电筒等等,这样用户就很容易找到手机。It should be noted that, if the first terminal includes a default display mode of the preset setting, the setting module of the first terminal further has an important setting information, that is, how the first terminal notifies the user, and the setting module also defines a policy. For example, the first terminal detects that the current environment is noisy, and when the external environment is bright, the camera is automatically started, and then the photo is transmitted back to the second terminal; if it is detected that the surrounding environment is not noisy, the specific music is directly played; if the surrounding is detected Very dark, just turn on the flashlight and so on, so users can easily find the phone.
本发明的上述实施例中,若第一终端的当前状态满足丢失时的预设启动策略,启动所述第一终端的预设近场通信应用之后,用户发现第一终端并未丢失或者被盗,此时为了节约第一终端的电量,需要关闭不必要的应用。即所述方法还包括:In the foregoing embodiment of the present invention, after the current state of the first terminal meets the preset startup policy when the user is lost, after the preset near field communication application of the first terminal is started, the user finds that the first terminal is not lost or stolen. In this case, in order to save the power of the first terminal, it is necessary to close unnecessary applications. That is, the method further includes:
步骤14,响应关闭所述预设近场通信应用的操作,关闭所述第一终端的预设近场通信应用。Step 14: Close the preset near field communication application of the first terminal in response to the operation of closing the preset near field communication application.
本发明实施例中,为了防止被盗状态下,偷窃者自行关闭预设近场通信应用,本发明实施例中关闭预设近场通信应用时需输入用户自行设定的密码或者采用指纹验证、指静脉验证等方式来验证用户身份,从而允许用户关闭预设近场通信应用。In the embodiment of the present invention, in order to prevent the thief from shutting down the preset near field communication application, the hacker needs to input the password set by the user or use the fingerprint verification when the preset near field communication application is closed in the embodiment of the present invention. Finger vein authentication and the like to verify the identity of the user, thereby allowing the user to turn off the preset near field communication application.
具体的,本发明实施例中,预设启动策略要能识别出当前用户手机可能处于被用户寻找状态或者说可能处于丢失状态。系统会提供一些默认策略,比如:Specifically, in the embodiment of the present invention, the preset startup policy is capable of recognizing that the current user's mobile phone may be in a state of being searched by the user or may be in a lost state. Some default policies are provided, such as:
1:检测到当前没有sim卡,或者手机sim卡发生变化。1: It is detected that there is no sim card currently, or the sim card of the mobile phone has changed.
这个时候用户手机很有可能被盗,处于换卡状态,那么此时就立刻启动热点,当然,如果是用户自己换卡,那么可以去手机定位系统里面手动关闭热点,并输入预先设定的密码,那么此次操作就认为是合法的,不会再启动热点。At this time, the user's mobile phone is likely to be stolen and in the state of changing the card. Then, the hotspot is activated immediately. Of course, if the user changes the card himself, then he can manually turn off the hotspot in the mobile phone positioning system and input the preset password. Then, this operation is considered legal and will not start the hotspot again.
2:检测到当前处于飞行模式,或者没有信号,或者欠费。2: It is detected that it is currently in flight mode, or there is no signal, or arrears.
这个时候用户手机如果检测到一直处于同一个位置没有变化,那么就可能处于被寻找状态,就会启动后面热点创建工作,当然用户也有可能主动切换到飞行模式,这个时候热点被启动后,用户也只需要在热点定位系统将此次操作合法化(同上输入密码),那么热点就被关闭。 At this time, if the user's mobile phone detects that it has been in the same position and has not changed, then it may be in the state of being searched, and the hotspot creation work will be started. Of course, the user may also actively switch to the flight mode. At this time, after the hotspot is activated, the user also Only need to legalize this operation in the hotspot positioning system (the same as entering the password), then the hotspot will be closed.
3:检测到处于静音状态。3: It is detected that it is muted.
这个时候如果另外一个号码在一分钟连续拨打三次,则有可能该手机处于被寻找状态,然后就会启动热点。当然如果不是处于寻找状态,手机就在用户手中,也可以通过上面的同样的操作,关闭热点。At this time, if another number is dialed three times in a minute, it is possible that the mobile phone is in the searched state, and then the hotspot is activated. Of course, if it is not in the search state, the mobile phone is in the hands of the user, and the hotspot can be turned off by the same operation as above.
举例说明如下:An example is as follows:
为了描述方便,下面就以流程图的形式,详细描述这种手机定位系统在家里找手机的使用步骤(其他场景可以类推),如图3所示:For convenience of description, the following is a detailed description of the steps of using the mobile phone positioning system to find a mobile phone at home in the form of a flow chart (other scenarios can be analogized), as shown in FIG. 3:
步骤31,用户将手机放在家里某个位置,但是就是想不起来了,手机又是处于静音状态,用户着急找回手机(后面为了描述方便,称为A机)。Step 31, the user places the mobile phone at a certain location in the home, but just can't remember, the mobile phone is in a mute state, and the user is anxious to retrieve the mobile phone (hereinafter referred to as the A machine for convenience of description).
步骤32,用户用其家人的手机(后面为了描述方便,称为B机)连续拨打自己的手机。In step 32, the user continuously dials his mobile phone with his family's mobile phone (hereinafter referred to as the B machine for convenience of description).
步骤33,A机检测到一分钟内有其他机器多次拨打,且自身处于静音状态,符合默认的启动热点的某一种场景,A机主动启动手机定位系统的热点,等待连接。In step 33, the A machine detects that there are other machines dialing multiple times within one minute, and is in a mute state, which conforms to a certain scenario of the default hotspot, and the A machine actively activates the hot spot of the mobile phone positioning system and waits for the connection.
步骤34,用户用B机启动热点定位系统,同时将身份定位为客户端,此时B机Wlan打开。In step 34, the user activates the hotspot positioning system by using the B machine, and simultaneously locates the identity as the client, and the B machine Wlan is opened.
步骤35,用户拿着B机在家里搜索。In step 35, the user searches for a home B machine.
步骤36,B机搜索到符合热点定位系统的特殊热点的存在,然后自动连接该热点。In step 36, the B machine searches for the existence of a special hot spot that matches the hotspot positioning system, and then automatically connects the hotspot.
步骤37,B机与A机通过广播以及双向TCP连接的建立,达成一个握手状态。In step 37, the B machine and the A machine establish a handshake state through the establishment of the broadcast and the bidirectional TCP connection.
步骤38,握手完成之后,B机向A机发出控制消息;Step 38: After the handshake is completed, the B machine sends a control message to the A machine.
步骤39,判断B机发送的控制消息是否包含展现方式;Step 39: Determine whether the control message sent by the B machine includes a presentation mode.
步骤40,若不包含展现方式,则按照预先设置的展现方式运行;Step 40, if the presentation mode is not included, running according to a preset display mode;
步骤41,若包含展现方式,则按照B机期望的展现方式运行;例如由于周围光线很暗,因此B机发出的控制消息里面,希望A机展现方式为打开手电筒,且震动。Step 41: If the presentation mode is included, the operation mode is performed according to the desired display mode of the B machine; for example, because the ambient light is very dark, in the control message sent by the B machine, it is desirable that the A machine display mode is to turn on the flashlight and vibrate.
步骤42,用户找到A机。In step 42, the user finds the A machine.
综上,本发明上述实施例提出了一种寻找终端的方法。首先设置有默认启动策略,比如说检测到当前手机没有sim卡,或者是手机sim卡发生变化,或者说是手机的操作习惯发生重大变化,或者说是手机处于飞行模式,或者手机处于欠费模式,或者手机长时间位置没有移动等等,在这些场景,该系统就后台自动启动,然后创建一个特定的热点。这个时候如果用 户及时发现了手机找不到了,那么就可以通过任何一台其他的手机,也启动对应的系统(只是让该系统作为客户端的方式运行),然后该系统就会自动寻找一定范围内的所有的热点,如果有符合预先定义好的特点的热点(为了描述方便,后面称该系统为,热点定位系统),那么就会自动连接,然后可以通过让用户的手机发出声音,或者说打开手电筒等各种方式,及时找回手机。In summary, the above embodiment of the present invention proposes a method of finding a terminal. First, there is a default startup policy. For example, it detects that the current mobile phone does not have a sim card, or the mobile phone sim card changes, or the mobile phone's operating habits change significantly, or the mobile phone is in flight mode, or the mobile phone is in arrears mode. , or the mobile phone has not moved for a long time, etc. In these scenarios, the system automatically starts in the background and then creates a specific hotspot. If you use this time The user found out in time that the mobile phone could not be found, then it can start the corresponding system through any other mobile phone (just let the system run as a client), then the system will automatically find all the within a certain range. Hotspots, if there are hotspots that match the pre-defined characteristics (for convenience of description, the system is called the hotspot positioning system), then it will automatically connect, and then you can make the sound of the user's mobile phone, or turn on the flashlight, etc. Ways to find the phone in time.
如图4所示,为了更好的实现上述目的,本发明实施例还提供一种终端,包括:As shown in FIG. 4, in order to achieve the foregoing, the embodiment of the present invention further provides a terminal, including:
第一启动模块401,设置为若第一终端的当前状态满足丢失时的预设启动策略,启动所述第一终端的预设近场通信应用;The first startup module 401 is configured to start a preset near field communication application of the first terminal if the current state of the first terminal meets a preset startup policy when the current state is lost;
第一连接模块402,设置为基于所述预设近场通信应用,与第二终端建立通信连接;The first connection module 402 is configured to establish a communication connection with the second terminal based on the preset near field communication application;
提示模块403,设置为通过与所述第二终端的通信连接,接收所述第二终端发送的控制消息,并根据所述控制消息发出用于提示所述第一终端的位置的提示信息。The prompting module 403 is configured to receive a control message sent by the second terminal by using a communication connection with the second terminal, and send prompt information for prompting the location of the first terminal according to the control message.
具体的,本发明的上述实施例中所述第一连接模块包括:Specifically, the first connection module in the foregoing embodiment of the present invention includes:
第一接收单元,设置为在第二终端检测到所述第一终端的预设近场通信应用之后,接收所述第二终端发送的所述第二终端的连接信息;The first receiving unit is configured to: after the second terminal detects the preset near field communication application of the first terminal, receive connection information of the second terminal sent by the second terminal;
第一连接单元,设置为根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接,并将所述第一终端的连接信息发送给所述第二终端,由所述第二终端根据所述第一终端的连接信息与所述第一终端建立TCP连接。a first connection unit, configured to establish a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and send connection information of the first terminal to the second terminal, where The second terminal establishes a TCP connection with the first terminal according to the connection information of the first terminal.
具体的,本发明的上述实施例中丢失时的所述预设启动策略包括:Specifically, the preset startup policy when the foregoing embodiment of the present invention is lost includes:
所述第一终端没有SIM卡;或者,The first terminal does not have a SIM card; or,
所述第一终端的SIM卡发生变化;或者,The SIM card of the first terminal changes; or
所述第一终端处于飞行模式,且所述第一终端在预设时间段内未发生移动;或者,The first terminal is in an airplane mode, and the first terminal does not move within a preset time period; or
所述第一终端处于静音状态,且预设时间段内接收到多次呼叫;或者,The first terminal is in a mute state, and receives multiple calls within a preset time period; or
所述第一终端处于无信号状态,且所述第一终端在预设时间段内未发生移动。The first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
具体的,本发明的上述实施例中所述提示模块包括:Specifically, the prompting module in the foregoing embodiment of the present invention includes:
第一提示子模块,设置为根据所述第一终端预先设置的展示方式发出所述提示信息;和/或,The first prompt sub-module is configured to issue the prompt information according to a display manner preset by the first terminal; and/or,
第二提示子模块,设置为根据所述第二终端通过所述控制消息发送的展现方式,发出所 述提示信息。a second prompting submodule, configured to issue a location according to the presentation manner that the second terminal sends by using the control message Prompt information.
具体的,本发明的上述实施例中所述终端还包括:Specifically, the terminal in the foregoing embodiment of the present invention further includes:
关闭模块,设置为响应关闭所述预设近场通信应用的操作,关闭所述第一终端的预设近场通信应用。And closing the module, configured to close the preset near field communication application of the first terminal in response to the operation of closing the preset near field communication application.
需要说明的是,本发明的上述实施例提供的终端是与上述第一终端侧的寻找终端的方法对应的终端,则上述第一终端侧的寻找终端的方法的所有实施例均适用于该终端,且均能达到相同或相似的有益效果。It should be noted that, the terminal provided by the foregoing embodiment of the present invention is a terminal corresponding to the method for searching for a terminal on the first terminal side, and all embodiments of the method for searching for a terminal on the first terminal side are applicable to the terminal. And can achieve the same or similar benefits.
如图5所示,本发明实施例还提供一种终端,包括:As shown in FIG. 5, an embodiment of the present invention further provides a terminal, including:
第二启动模块501,设置为启动第二终端的预设近场通信应用;The second startup module 501 is configured to start a preset near field communication application of the second terminal;
第二连接模块502,设置为基于所述预设近场通信应用,与第一终端建立通信连接;The second connection module 502 is configured to establish a communication connection with the first terminal based on the preset near field communication application;
消息发送模块503,设置为通过与所述第一终端的通信连接,向所述第一终端发送控制消息,使得所述第一终端根据所述控制消息发出用于提示所述第一终端的位置的提示信息。The message sending module 503 is configured to send a control message to the first terminal by using a communication connection with the first terminal, so that the first terminal sends a location for prompting the first terminal according to the control message. Tip message.
具体的,本发明的上述实施例中所述第二连接模块包括:Specifically, the second connection module in the foregoing embodiment of the present invention includes:
发送单元,设置为在检测所述第一终端的预设近场通信应用之后,向所述第一终端发送所述第二终端的连接信息;a sending unit, configured to send connection information of the second terminal to the first terminal after detecting a preset near field communication application of the first terminal;
第二接收单元,设置为接收所述第一终端根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接之后发送的所述第一终端的连接信息;a second receiving unit, configured to receive connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal;
第二连接单元,设置为根据所述第一终端的连接信息与所述第一终端建立TCP连接。The second connecting unit is configured to establish a TCP connection with the first terminal according to the connection information of the first terminal.
具体的,本发明的上述实施例中所述消息发送模块包括:Specifically, the message sending module in the foregoing embodiment of the present invention includes:
消息发送子模块,设置为向所述第一终端发送控制消息,所述控制消息中携带所述提示信息的展现方式。The message sending sub-module is configured to send a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
具体的,本发明的上述实施例中所述提示信息的展现方式包括:Specifically, the manner in which the prompt information is displayed in the foregoing embodiment of the present invention includes:
播放预设音频信息或视频信息;或者,Play preset audio or video information; or,
打开手电筒;或者,Turn on the flashlight; or,
发出震动。Vibrate.
需要说明的是,本发明的上述实施例提供的终端是与上述第二终端侧的寻找终端的方法对应的终端,则上述第二终端侧的寻找终端的方法的所有实施例均适用于该终端,且均能达 到相同或相似的有益效果。It should be noted that, the terminal provided by the foregoing embodiment of the present invention is a terminal corresponding to the method for searching for a terminal on the second terminal side, and all embodiments of the method for searching for a terminal on the second terminal side are applicable to the terminal. And can reach To the same or similar benefits.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。 The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should also be considered as the scope of protection of the present invention.

Claims (18)

  1. 一种寻找终端的方法,其中包括:A method of finding a terminal, including:
    若第一终端的当前状态满足丢失时的预设启动策略,启动所述第一终端的预设近场通信应用;If the current state of the first terminal meets the preset startup policy when the first terminal is lost, the preset near field communication application of the first terminal is started;
    基于所述预设近场通信应用,与第二终端建立通信连接;Establishing a communication connection with the second terminal based on the preset near field communication application;
    通过与所述第二终端的通信连接,接收所述第二终端发送的控制消息,并根据所述控制消息发出用于提示所述第一终端的位置的提示信息。Receiving, by the communication connection with the second terminal, a control message sent by the second terminal, and sending prompt information for prompting the location of the first terminal according to the control message.
  2. 如权利要求1所述的寻找终端的方法,其中,基于所述预设近场通信应用,与第二终端建立通信连接的步骤包括:The method for finding a terminal according to claim 1, wherein the step of establishing a communication connection with the second terminal based on the preset near field communication application comprises:
    在第二终端检测到所述第一终端的预设近场通信应用之后,接收所述第二终端发送的所述第二终端的连接信息;After the second terminal detects the preset near field communication application of the first terminal, receiving connection information of the second terminal sent by the second terminal;
    根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接,并将所述第一终端的连接信息发送给所述第二终端,由所述第二终端根据所述第一终端的连接信息与所述第一终端建立TCP连接。Establishing a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and transmitting connection information of the first terminal to the second terminal, according to the second terminal The connection information of a terminal establishes a TCP connection with the first terminal.
  3. 如权利要求1所述的寻找终端的方法,其中,丢失时的所述预设启动策略包括:The method for finding a terminal according to claim 1, wherein the preset activation policy when the loss is:
    所述第一终端没有SIM卡;或者,The first terminal does not have a SIM card; or,
    所述第一终端的SIM卡发生变化;或者,The SIM card of the first terminal changes; or
    所述第一终端处于飞行模式,且所述第一终端在预设时间段内未发生移动;或者,The first terminal is in an airplane mode, and the first terminal does not move within a preset time period; or
    所述第一终端处于静音状态,且预设时间段内接收到多次呼叫;或者,The first terminal is in a mute state, and receives multiple calls within a preset time period; or
    所述第一终端处于无信号状态,且所述第一终端在预设时间段内未发生移动。The first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
  4. 如权利要求1所述的寻找终端的方法,其中,根据所述控制消息发出用于提示所述第一终端的位置的提示信息的步骤为:The method for finding a terminal according to claim 1, wherein the step of issuing prompt information for prompting the location of the first terminal according to the control message is:
    根据所述第一终端预先设置的展示方式发出所述提示信息;或者,Sending the prompt information according to a display manner preset by the first terminal; or
    根据所述第二终端通过所述控制消息发送的展现方式,发出所述提示信息。And sending the prompt information according to a presentation manner that is sent by the second terminal by using the control message.
  5. 如权利要求1所述的寻找终端的方法,其中,若第一终端的当前状态满足预设启动策略,启动所述第一终端的预设近场通信应用之后,所述方法还包括:The method for searching for a terminal according to claim 1, wherein, after the current state of the first terminal meets the preset activation policy, and the preset near field communication application of the first terminal is started, the method further includes:
    响应关闭所述预设近场通信应用的操作,关闭所述第一终端的预设近场通信应用。In response to turning off the operation of the preset near field communication application, the preset near field communication application of the first terminal is turned off.
  6. 一种寻找终端的方法,包括: A method of finding a terminal, including:
    启动第二终端的预设近场通信应用;Initiating a preset near field communication application of the second terminal;
    基于所述预设近场通信应用,与第一终端建立通信连接;Establishing a communication connection with the first terminal based on the preset near field communication application;
    通过与所述第一终端的通信连接,向所述第一终端发送控制消息,使得所述第一终端根据所述控制消息发出用于提示所述第一终端的位置的提示信息。Sending, by the communication connection with the first terminal, a control message to the first terminal, so that the first terminal sends prompt information for prompting the location of the first terminal according to the control message.
  7. 如权利要求6所述的寻找终端的方法,其中,基于所述预设近场通信应用,与第一终端建立通信连接的步骤包括:The method for finding a terminal according to claim 6, wherein the step of establishing a communication connection with the first terminal based on the preset near field communication application comprises:
    在检测所述第一终端的预设近场通信应用之后,向所述第一终端发送所述第二终端的连接信息;After detecting the preset near field communication application of the first terminal, sending connection information of the second terminal to the first terminal;
    接收所述第一终端根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接之后发送的所述第一终端的连接信息;Receiving connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal;
    根据所述第一终端的连接信息与所述第一终端建立TCP连接。Establishing a TCP connection with the first terminal according to the connection information of the first terminal.
  8. 如权利要求6所述的寻找终端的方法,其中,向所述第一终端发送控制消息的步骤包括:The method for finding a terminal according to claim 6, wherein the step of transmitting a control message to the first terminal comprises:
    向所述第一终端发送控制消息,所述控制消息中携带所述提示信息的展现方式。Sending a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
  9. 如权利要求6所述的寻找终端的方法,其中,所述提示信息的展现方式包括:The method for searching for a terminal according to claim 6, wherein the presentation manner of the prompt information comprises:
    播放预设音频信息或视频信息;或者,Play preset audio or video information; or,
    打开手电筒;或者,Turn on the flashlight; or,
    发出震动。Vibrate.
  10. 一种终端,包括:A terminal comprising:
    第一启动模块,设置为若第一终端的当前状态满足丢失时的预设启动策略,启动所述第一终端的预设近场通信应用;The first startup module is configured to start a preset near field communication application of the first terminal if the current state of the first terminal meets a preset startup policy when the first terminal is lost;
    第一连接模块,设置为基于所述预设近场通信应用,与第二终端建立通信连接;The first connection module is configured to establish a communication connection with the second terminal based on the preset near field communication application;
    提示模块,设置为通过与所述第二终端的通信连接,接收所述第二终端发送的控制消息,并根据所述控制消息发出用于提示所述第一终端的位置的提示信息。The prompting module is configured to receive a control message sent by the second terminal by using a communication connection with the second terminal, and send prompt information for prompting the location of the first terminal according to the control message.
  11. 如权利要求10所述的终端,其中,所述第一连接模块包括:The terminal of claim 10, wherein the first connection module comprises:
    第一接收单元,设置为在第二终端检测到所述第一终端的预设近场通信应用之后,接收所述第二终端发送的所述第二终端的连接信息; The first receiving unit is configured to: after the second terminal detects the preset near field communication application of the first terminal, receive connection information of the second terminal sent by the second terminal;
    第一连接单元,设置为根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接,并将所述第一终端的连接信息发送给所述第二终端,由所述第二终端根据所述第一终端的连接信息与所述第一终端建立TCP连接。a first connection unit, configured to establish a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal, and send connection information of the first terminal to the second terminal, where The second terminal establishes a TCP connection with the first terminal according to the connection information of the first terminal.
  12. 如权利要求10所述的终端,其中,丢失时的所述预设启动策略包括:The terminal of claim 10, wherein the preset activation policy when lost comprises:
    所述第一终端没有SIM卡;或者,The first terminal does not have a SIM card; or,
    所述第一终端的SIM卡发生变化;或者,The SIM card of the first terminal changes; or
    所述第一终端处于飞行模式,且所述第一终端在预设时间段内未发生移动;或者,The first terminal is in an airplane mode, and the first terminal does not move within a preset time period; or
    所述第一终端处于静音状态,且预设时间段内接收到多次呼叫;或者,The first terminal is in a mute state, and receives multiple calls within a preset time period; or
    所述第一终端处于无信号状态,且所述第一终端在预设时间段内未发生移动。The first terminal is in a no-signal state, and the first terminal does not move within a preset time period.
  13. 如权利要求10所述的终端,其中,所述提示模块包括:The terminal of claim 10, wherein the prompting module comprises:
    第一提示子模块,设置为根据所述第一终端预先设置的展示方式发出所述提示信息;和/或,The first prompt sub-module is configured to issue the prompt information according to a display manner preset by the first terminal; and/or,
    第二提示子模块,设置为根据所述第二终端通过所述控制消息发送的展现方式,发出所述提示信息。The second prompting sub-module is configured to issue the prompt information according to a presentation manner that is sent by the second terminal by using the control message.
  14. 如权利要求10所述的终端,其中,所述终端还包括:The terminal of claim 10, wherein the terminal further comprises:
    关闭模块,设置为响应关闭所述预设近场通信应用的操作,关闭所述第一终端的预设近场通信应用。And closing the module, configured to close the preset near field communication application of the first terminal in response to the operation of closing the preset near field communication application.
  15. 一种终端,包括:A terminal comprising:
    第二启动模块,设置为启动第二终端的预设近场通信应用;a second startup module, configured to start a preset near field communication application of the second terminal;
    第二连接模块,设置为基于所述预设近场通信应用,与第一终端建立通信连接;a second connection module, configured to establish a communication connection with the first terminal based on the preset near field communication application;
    消息发送模块,设置为通过与所述第一终端的通信连接,向所述第一终端发送控制消息,使得所述第一终端根据所述控制消息发出用于提示所述第一终端的位置的提示信息。a message sending module, configured to send a control message to the first terminal by using a communication connection with the first terminal, so that the first terminal sends a prompt for prompting the location of the first terminal according to the control message Prompt message.
  16. 如权利要求15所述的终端,其中,所述第二连接模块包括:The terminal of claim 15, wherein the second connection module comprises:
    发送单元,设置为在检测所述第一终端的预设近场通信应用之后,向所述第一终端发送所述第二终端的连接信息;a sending unit, configured to send connection information of the second terminal to the first terminal after detecting a preset near field communication application of the first terminal;
    第二接收单元,设置为接收所述第一终端根据所述第二终端的连接信息与所述第二终端建立传输控制协议TCP连接之后发送的所述第一终端的连接信息; a second receiving unit, configured to receive connection information of the first terminal that is sent after the first terminal establishes a transmission control protocol TCP connection with the second terminal according to the connection information of the second terminal;
    第二连接单元,设置为根据所述第一终端的连接信息与所述第一终端建立TCP连接。The second connecting unit is configured to establish a TCP connection with the first terminal according to the connection information of the first terminal.
  17. 如权利要求15所述的终端,其中,所述消息发送模块包括:The terminal of claim 15, wherein the message sending module comprises:
    消息发送子模块,设置为向所述第一终端发送控制消息,所述控制消息中携带所述提示信息的展现方式。The message sending sub-module is configured to send a control message to the first terminal, where the control message carries a presentation manner of the prompt information.
  18. 如权利要求15所述的终端,其中,所述提示信息的展现方式包括:The terminal according to claim 15, wherein the presentation manner of the prompt information comprises:
    播放预设音频信息或视频信息;或者,Play preset audio or video information; or,
    打开手电筒;或者,Turn on the flashlight; or,
    发出震动。 Vibrate.
PCT/CN2016/103602 2016-04-25 2016-10-27 Method for finding terminal, and terminal WO2017185699A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610262061.4 2016-04-25
CN201610262061.4A CN107306312A (en) 2016-04-25 2016-04-25 A kind of method and terminal for finding terminal

Publications (1)

Publication Number Publication Date
WO2017185699A1 true WO2017185699A1 (en) 2017-11-02

Family

ID=60150267

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103602 WO2017185699A1 (en) 2016-04-25 2016-10-27 Method for finding terminal, and terminal

Country Status (2)

Country Link
CN (1) CN107306312A (en)
WO (1) WO2017185699A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107995612A (en) * 2017-11-16 2018-05-04 北京小米移动软件有限公司 Equipment finding method, device and electronic equipment
CN108337306A (en) * 2018-01-31 2018-07-27 广东欧珀移动通信有限公司 Equipment finding method, device, system, terminal and storage medium
CN112437401A (en) * 2020-11-25 2021-03-02 维沃移动通信有限公司 Operation control method and device and electronic equipment
CN115942253B (en) * 2023-02-01 2023-08-04 荣耀终端有限公司 Prompting method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001103149A (en) * 1999-09-29 2001-04-13 Ricoh Co Ltd Mobile phone and its control method
CN101600016A (en) * 2009-06-26 2009-12-09 宇龙计算机通信科技(深圳)有限公司 A kind of reminding method of portable terminal, system and portable terminal
CN102395102A (en) * 2011-10-25 2012-03-28 华为终端有限公司 Processing method of lost mobile terminal, related apparatus and communication system
CN104742861A (en) * 2015-03-26 2015-07-01 佛山市智海星空科技有限公司 Android-based car anti-theft monitoring method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001103149A (en) * 1999-09-29 2001-04-13 Ricoh Co Ltd Mobile phone and its control method
CN101600016A (en) * 2009-06-26 2009-12-09 宇龙计算机通信科技(深圳)有限公司 A kind of reminding method of portable terminal, system and portable terminal
CN102395102A (en) * 2011-10-25 2012-03-28 华为终端有限公司 Processing method of lost mobile terminal, related apparatus and communication system
CN104742861A (en) * 2015-03-26 2015-07-01 佛山市智海星空科技有限公司 Android-based car anti-theft monitoring method

Also Published As

Publication number Publication date
CN107306312A (en) 2017-10-31

Similar Documents

Publication Publication Date Title
CN104765990B (en) The setting method and device of intelligent device management account
EP3068115B1 (en) Incoming call identification
US10798552B2 (en) Emergency call-for-help method and system based on fingerprint identification for mobile terminal, and mobile terminal
WO2017185699A1 (en) Method for finding terminal, and terminal
CN106356060B (en) Voice communication method and device
US20170156166A1 (en) Method and Apparatus for Connecting With Controlled Smart Device, and Storage Medium
US8805281B2 (en) Controlling device functions of a mobile terminal in a restricted area
WO2018000290A1 (en) Method for managing bluetooth connection, bluetooth main device and apparatus
WO2015188327A1 (en) Method and terminal for quickly starting application service
CN105162668B (en) Connect method and device for removing
KR20110028056A (en) System and method for connecting bluetooth communication
CN105652671B (en) The setting method and device of smart machine operating mode
WO2014075301A1 (en) Method, mobile terminal, bluetooth device and system for establishing bluetooth connection
CN111447602B (en) Bluetooth device, Bluetooth preemption method and device thereof, and computer-readable storage medium
US10236016B1 (en) Peripheral-based selection of audio sources
JP2003319062A (en) Handfree portable telephone and handfree switching program
WO2019128191A1 (en) Method for processing call request, and mobile terminal and readable storage medium
WO2017197786A1 (en) Method and apparatus for accessing base station
CN106488450B (en) Connect the method and device of wireless network
CN106101456A (en) A kind of method and device of call contact
JP2013247616A (en) Short-range radio communication device
CN113078921A (en) Data processing method, device and storage medium
CN105337937B (en) Network verification method, device and computer readable storage medium
WO2014172894A1 (en) Split-type mobile terminal and interaction processing method for communications event
CN105430642B (en) Document transmission method and device

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16900207

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900207

Country of ref document: EP

Kind code of ref document: A1