Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, bluetooth module 103, A/V
(audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, storage
The components such as device 109, processor 110 and power supply 111.It will be understood by those skilled in the art that mobile terminal shown in Fig. 1
Structure does not constitute the restriction to mobile terminal, and mobile terminal may include than illustrating more or fewer components, or combination
Certain components or different components arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to be omitted in the range for the essence for not changing invention.
Bluetooth module 103 is a kind of PCBA board of integrated Bluetooth function, is used for short-distance wireless communication, is divided into indigo plant by function
Tooth data module and blue tooth voice module.Bluetooth module 104 refers to the chip basic circuit set of integrated Bluetooth function, is used for nothing
Line network communication is broadly divided into three categories type:Data transmission module remote control module etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including audio output unit etc., and details are not described herein.
It can be stored with the first equipment finder and/or the second equipment finder in memory 109, work as memory
When being stored with the first equipment finder in 109, processor 110 executes the first equipment finder and the first equipment may be implemented
The equipment finding method step of side:
Processor 110 controls bluetooth module 103 and the position requests of generation is sent to second by way of short range communication
Equipment, and the position indication information that the second equipment is sent according to position requests is received, then, processor 110 controls audio output
Unit and/or display unit 106 prompt the user with the position that the second equipment is presently according to position indication information.
In a kind of example of the present embodiment, processor 110 can also be monitored the remaining capacity of power supply 111, work as prison
When measuring the remaining capacity of power supply 111 less than low electric threshold value, the position that mobile terminal 100 is presently in is obtained, and control bluetooth
The position of mobile terminal 100 is sent to third equipment by module 103.
When being stored with the second equipment finder in memory 109, processor 110 executes the second equipment finder
The equipment finding method step of the second equipment side may be implemented:
Processor 110 controls the position requests that bluetooth module 103 is sent by receiving the first equipment, then processor 110
The position indication information for indicating itself present position to the first equipment is generated, and controls bluetooth module 103 by position instruction
Information is sent to the first equipment, so that the first equipment prompts the user with the position that mobile terminal 100 is presently in.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively
Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., it does not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
First embodiment
In order to solve aforementioned electronic devices because causing user to forget that its placement location, user are not easy to find by long-term leave unused
To the problem of, the present embodiment provides a kind of equipment finding method, it is equipment finding method base provided in this embodiment to refer to Fig. 3
This flow chart, the equipment finding method include:
S302:The position requests of generation are sent to the second equipment by the first equipment by way of short range communication.
Second equipment refers to the equipment that user does not know position currently;And the first equipment is then user setting of can finding
It is standby.It should be understood that so-called first equipment and the second equipment are opposite in the present embodiment, in practice for user's
Any one electronic equipment had both been likely to be the first equipment, it is also possible to be the second equipment.For example, some electronic equipment,
Its whithin a period of time quite user's favor, often carried at one's side by user, therefore it can be used as the first equipment, allow user
Other equipment is found.If user did not use the electronic equipment within one section of long period, but currently use
Family needs to use the equipment again, then user can by other currently can and equipment be used as the first equipment the electronics set
It is standby to be found, at this point, the electronic equipment is exactly as existing for the second equipment.
In addition, the short range communication in various embodiments of the present invention, also referred to as short haul connection connect, including Bluetooth communication connects
Connect, Zigbee (purple honeybee) communication connections, radio communication connection, NFC communication connection and WiFi communication connection etc..Certainly, in addition to
Other than these radio interconnected modes, it is also feasible to have some wired connection modes.
The first equipment is to send position requests to the second equipment under control of the user in the present embodiment.Such as work as user
When with multiple equipment, it may cause not know that the equipment is placed to because of some equipment is not used for a long time
Where.In this case, user can issue the equipment for the second equipment to the first equipment and find instruction, set when first
After receiving the searching instruction that user issues, it can be indicated to generate the position requests for the second equipment equipment according to the searching,
Then the position requests are sent to the second equipment.It should be understood that user can input the second equipment to the first equipment
Mailing address, allow the first equipment that can directly find second equipment.But, in the more common scenario, user is less likely
Remember the mailing address of oneself each electronic equipment.Therefore, the mailing address of the second equipment needs pre- by the first equipment oneself
It first stores, such as the first equipment stores the correspondence of the second equipment unique identification information and mailing address, on this basis, uses
Family only needs to input the unique identification information of the second equipment to the first equipment, so that it may to allow the first equipment to find the logical of the second equipment
Believe address.
In a kind of example of the present embodiment, the first device side provides a user " equipment searching " interface, such as Fig. 4 institutes
Show, the first equipment shows the name of each equipment once interconnected in a manner of short range communication with itself in equipment finds interface
The information such as title, mode of appearance.It is which that user, which only needs the equipment that instruction needs are found in the equipment finds interface,.
After the first equipment determines that it is which to need the second equipment found according to the instruction of user, it can will be directed to
The position requests of second equipment are sent to the second equipment by way of short range communication.So sending position to the second equipment
Before request, the first equipment should establish short range communication with the second equipment and connect.In some examples of the present embodiment, first
Short range communication connection between equipment and the second equipment can establish under control of the user, for example, being controlled before user
Device A is established Bluetooth communication with equipment B and is connect, and is transmitted across file from device A to equipment B, and hereafter, user never disconnects
Connection between the two, then in this case, the first equipment establish short range communication without oneself active request with the second equipment
Connection.But in other examples of the present embodiment, before user finds the second equipment, the first equipment and the second equipment it
Between be short range communication not to be kept to connect, then in this case, the first equipment need actively to the second equipment send connect
Request, to establish short range communication connection with the second equipment.
It should be understood that when a device request is established short range communication with another equipment and connect, requested equipment
It is not necessary to respond request, for example, requested equipment first can carry out the identity for asking equipment before respond request
Certification, to ensure that request equipment is the legitimate device having permission.Therefore, in some examples of the present embodiment, in the second equipment
After receiving the connection request that the first equipment is actively sent, need to be authenticated the first equipment.
For example, certification can be carried in the connection request that the first equipment is sent to each equipment once interconnected with oneself short distance
Information, the authentication information may include the unique mark of the first equipment oneself, user be oneself setting actively to connect code etc. several
At least one of kind.The unique mark of first equipment can be the MAC Address (hardware address) of the first equipment.If authentication information
Include the MAC Address of the first equipment, then an equipment is after receiving connection request, it may be determined that whether the MAC Address
It is present in pre-stored permissions list, and if it exists, for this explanation for the equipment, the first equipment is short with actively initiating
Otherwise the permission of journey connection request illustrates for the equipment that the first equipment cannot actively initiate short distance connection, therefore, can
To be not responding to the connection request of the first equipment.For example, the permissions list of some equipment storage is as follows:
Table 1
Allow actively to initiate the equipment that short distance connects |
MAC Address |
Device A |
xxxxxxxx |
Equipment B |
yyyyyyyy |
Equipment C |
zzzzzzzzz |
Therefore, if the equipment has received the connection request from equipment B, can further relevant device B it is mutual
It even asks, but if the connection request received comes from equipment D, can be not responding to.
In addition, in some examples of the present embodiment, user can be that an active is arranged in each equipment of oneself
Connection code can connect the active of oneself when the equipment needs actively to initiate the connection request of short range communication to other equipment
Jointer carries in a connection request as authentication information, after opposite equip. receives connection request, determines that the active connects
Code and oneself the pre-stored equipment whether actively connect code consistent.Such as user has tri- equipment of A, B, C, Yong Huwei
It is 321,123,234 that the setting of these three equipment distributed, which actively connects code respectively,.Equipment B and equipment C is stored in device A
Actively connect code;Device A and C are stored in equipment B actively connects code, and device A and B are just stored with naturally in equipment C
Actively connect code.When equipment B initiates the connection request to device A, connection code " 123 " is carried in connection request, device A connects
Whether receive and determine oneself after the connection request in advance is " 123 " if so, further sound for the code that actively connect of equipment B storages
Should connection request, otherwise refusal respond.In a kind of example of the present embodiment, device A receives the connection request of equipment B
Afterwards, the authentication information in connection request is extracted, first determines that the MAC Address in authentication information whether there is in pre-stored permission
In list, if so, further determining that the code that actively connects in authentication information is with the code that actively connect of the equipment B itself stored
It is no consistent.MAC Address only in authentication information exists in permissions list, and in authentication information actively connect code with it is pre-
The equipment B's first stored actively connects under code unanimous circumstances, and device A can just respond connection request and equipment B, and to establish short distance logical
Letter connection.
Short range communication successful connection between the first device and the second device is established, and the first equipment can be by position requests
It is sent to the second equipment by short range communication connection.
S304:Second equipment is believed according to the position instruction that position requests are sent by way of short range communication to the first equipment
Breath.
For first equipment after having sent position requests to the second equipment, the second equipment can be according to the position requests to
One equipment sends position indication information, which includes the current location information of the second equipment.It is appreciated that
It is that the second equipment sends position indication information to the first equipment and is also based on what the short range communication connection established before carried out.
In view of the location information of the second equipment belongs to than more sensitive information, therefore, in the second equipment to the first equipment
Before sending position indication information, first the user identity of the first equipment side can be authenticated, it is ensured that the user is legal use
Family avoids the location information of the second equipment from being obtained by people's malice.The present embodiment provides a kind of second the first equipment of equipment pair sides to use
The scheme that family is authenticated, refers to Fig. 5:
S502:First equipment acquires the identity information of user in real time.
In the present embodiment, the subscriber identity information that the first equipment acquires in real time can be biological information and user society
At least one of meeting characteristic information.For example, the fingerprint characteristic for the user that the first equipment can acquire in real time, iris feature, sound
At least one of several biological characteristic as user such as line feature, facial characteristics.Wherein, fingerprint characteristic passes through the first equipment
On fingerprint recognition module extract;And facial characteristics and iris feature can be adopted by the camera in the first equipment
Collection;Vocal print feature is then acquired by the microphone of the first equipment.Certainly camera, the wheat for acquiring user biological characteristic information
Gram wind and fingerprint recognition module can also be individual equipment, be not integrated into the first equipment.
If identity information is the social characteristic information of user, then the first equipment can be received by user input unit and be used
Social characteristic information that family inputs in real time, social characteristic information may include user identity card number, telephone number, E-mail address
At least one of location.It is understood that compared to user biological characteristic information, the identification card number of user, telephone number with
And E-mail address etc. is not that validated user only has, only knows, therefore, in order to promote user's input information to user identity
Characterization ability, in social characteristic information further include in the present embodiment and preset password, the preset password can be by legal
The corresponding cipher word of the pre-set information associations such as with oneself identification card number, telephone number, E-mail address of user
Symbol string.
S504:Collected identity information carrying in real time is sent to the second equipment by the first equipment in certification request.
After first equipment collects the identity information of user, which can be carried and be sent in certification request
To the second equipment.It should be understood that the second equipment to be confirmed is currently to be look for whether the user of itself is legal use
Family, therefore, the first equipment need to ensure that collected identity information belongs to the user.So the first equipment is to the second equipment
The subscriber identity information of transmission must acquire in real time, for example, the first equipment acquires when user issues searching instruction,
It is either acquired after the acquisition instruction for receiving the transmission of the second equipment, ensures that collected identity information is to belong to needs with this
Find the identity information of the user of the second equipment.
S506:Second equipment determines the first equipment side according to the identity information in validated user identity information and certification request
Whether current user is validated user.
It should be understood that the second equipment side has prestored the identity information of validated user, in this way when the second equipment connects
After the certification request for receiving the transmission of the first equipment, subscriber identity information can be extracted from certification request, then by the use
Family identity information is matched with the identity information of pre-stored validated user, so that it is determined that the user identity in certification request
Information is consistent with the identity information of validated user, i.e., currently control the first equipment user whether be the second equipment legal use
Family.
After second equipment is if it is determined that the user of the first equipment side is validated user, so that it may to carry oneself current position
The first equipment is sent in position indication information.But if the second equipment determines that the user of the first equipment side is not legal use
Family, then the second equipment can refuse to the first equipment send position indication information.Such as second equipment can directly be not responding to
The location information of one equipment does not do other processing.In some examples of the present embodiment, the second equipment can be to the first equipment
The response message for sending out characterization negative meaning, allows the first equipment to be prompted to user, as shown in Figure 6.
S306:First equipment prompts the user with the position that the second equipment is presently according to position indication information.
After first equipment receives the position indication information from the second equipment, the second equipment can be prompted the user with and worked as
The preceding position, optionally, the first equipment can prompt user according at least one of following methods:
The position that mode one, the first equipment are presently according to the second equipment is prompted the user with by the way of voice broadcast
It sets, such as " your intelligent wristwatch is located at your 12 directions, 3 meters of distance to voice content as the first device plays.”
Mode two, the first equipment are prompted according to by the way of being shown using image to user, it is shown in Figure 7 go out
A kind of display interface schematic diagram of first equipment:First equipment 70 shows the current position of the second equipment on map.In order to just
It is found in the position that user shows according to the map, oneself current position can also be also shown in figure by the first equipment 70
In, it is convenient for user to find path according to the position of the first equipment and the location determination of the second equipment in this way.
The first equipment may be used when user needs to find the second equipment in equipment finding method provided in this embodiment
It is connect to the second equipment by the short range communication between the second equipment and sends position requests, allow the second equipment by oneself current institute
The location information at place is sent in the form of position indication information in the first equipment, and the first equipment is further according to position indication information
User finds the second equipment and provides prompt and help, and to allow user easily to get the second equipment, promotes user experience.
Second embodiment:
The advantages of in order to allow those skilled in the art to become apparent from equipment finding method in the present invention and details, below in conjunction with
Specific example is described further it, refers to Fig. 8:
S802:First equipment receives the searching instruction that user issues.
In the present embodiment, user can control the first equipment and show that equipment finds interface, and then devices selected finds boundary
The second equipment in face, it is the second equipment to inform that the first equipment oneself currently needs find in this way.
S804:First equipment sends connection request to the second equipment.
This embodiment assumes that when user issues searching instruction, between the first equipment and the second equipment and do not set up short
Journey communicates to connect.In addition, being introduced so that short range communication connection is Bluetooth communication connection as an example in the present embodiment.So first sets
For after receiving the searching instruction that user issues, actively Bluetooth communication connection can be established to the second device request.
S806:Second equipment is authenticated according to the first equipment of connection request pair.
It is logical not establish bluetooth directly after the connection request for receiving the transmission of the first equipment with the first equipment for second equipment
Letter connection, but determination first is authenticated to the first equipment, whether the identity of the first equipment and the first equipment, which have, is actively asked
Seek the permission of Bluetooth communication.Specific authentication mode may refer to the introduction in first embodiment, and which is not described herein again.
S808:First equipment is established Bluetooth communication with the second equipment and is connect.
If the first equipment by the certification of the second equipment, will establish therebetween bluetooth communications link, equipment is sought
The subsequent process looked for, the two will be based on the link and carry out two-way communication.
S810:First equipment sends position requests to the second equipment.
It is successfully established after Bluetooth communication connect with the second equipment, the first equipment can ask the second equipment to believe the position of oneself
Breath sends over, and the first equipment realizes this request purpose by sending position requests in the present embodiment.
S812:Second equipment indicates the identity information of the first equipment feedback user.
In the present embodiment, after the second equipment receives position requests, the position of oneself is not fed back to the first equipment immediately
Confidence ceases, but user identity first current to the first equipment side is authenticated, and is only determining the current use in the first equipment side
In the case that family is validated user, this sensitive information of the location information of oneself can be just sent to the first equipment by the second equipment.
So after the position requests for receiving the transmission of the first equipment, the second equipment can indicate the body of the first equipment feedback user
Part information.
S814:First opening of device camera uses the iris feature and facial characteristics of user.
After first equipment receives the instruction of the second equipment, the iris feature that the camera of oneself acquires user in real time is opened
And facial characteristics.It certainly, can be with after the first equipment receives the instruction of the second equipment in other examples of the present embodiment
The otherwise biological characteristic of user is acquired using fingerprint recognition module or microphone.Moreover, the first equipment can also receive
Identity information of the social characteristic information input by user as user.
S816:The information carrying that camera acquires is sent to the second equipment by the first equipment in certification request.
After collecting the biological characteristic of user, which is included in certification request by the first equipment, with bluetooth
The mode of communication is sent to the second equipment.
S818:Second equipment is authenticated user identity.
After second equipment receives certification request of first equipment according to instruction transmission, face is extracted from the certification request
Feature and iris feature, it is then respectively that the facial characteristics in certification request is special with the face of the pre-stored validated user in this side
Sign is compared, and the iris feature in certification request is compared with this pre-stored validated user iris feature.Only
Having two comparison results when being consistent, the current user in second equipment ability the first equipment of certification side is validated user, namely
Need to obtain oneself location information is validated user.
S820:Second equipment sends position indication information to the first equipment.
In the case where it is validated user to determine the current user in the first equipment side, the second equipment obtains the position letter of oneself
Then location information carrying is sent to the first equipment by breath in position indication information.
S822:First equipment issues the user with prompt according to position indication information.
After first equipment receives the position indication information of the second equipment transmission, oneself is shown simultaneously in display interface
Position and the second equipment position indication information in indicated position, allow user to be set according to the two location determinations second
Standby specific orientation.
Equipment finding method provided in this embodiment, the second equipment to the first equipment send position indication information before,
The meeting user current to the first equipment side is authenticated, and determines whether it is validated user, is only confirming that user is legal use
When family, the location information of oneself can be just supplied to the first equipment by the second equipment, and this avoid the functions by people's malice
It utilizes, thus the problem of exposure user sensitive information.
3rd embodiment:
The present embodiment will be described further the equipment finding method provided in both of the aforesaid embodiment:
By the introduction of previous embodiment it is found that user finds another equipment by the equipment of oneself, this depends on
Communication between two equipment, but if can not be communicated between two equipment, then aforementioned device finding method is difficult to realize, example
Such as, when the equipment found is under off-mode, then user can not find it according to aforementioned schemes.So for this
The present embodiment provides a solution for situation, refer to Fig. 9:
S902:First equipment detects whether the remaining capacity of itself is less than low electric threshold value.
If so, into S904, S902 is continued to execute after otherwise waiting for a cycle.First equipment can be periodically detected
The remaining capacity of oneself, such as every time T to detecting a remaining capacity, and the low electric threshold value of testing result is compared,
Judge remaining capacity electric threshold value whether low less than this.If judging result is no, the first equipment carries out again after waiting for a cycle T
One-time detection, and the detection process is repeated always, until when certain detects the remaining capacity of oneself less than low electric threshold value, first
Equipment determines that oneself current electric quantity is relatively low.
It is the side by being periodically detected when the first equipment is monitored the remaining capacity of oneself in foregoing description
What formula carried out, but in other examples of the present embodiment, the first equipment detection remaining capacity may not be periodically, or
Person says that the size of detection cycle is not fixed.Such as first equipment the detection cycle of graded may be used to remaining capacity
It is detected, when remaining capacity is more than first threshold TH1, detection cycle T1;It is big to be less than or equal to TH1 in remaining capacity
When TH2, detection cycle T2;When remaining capacity is less than or equal to TH2 more than low electric threshold value, detection cycle T3, and T1>
T2>T3。
S904:First equipment obtains the position itself being presently in.
In the present embodiment, the first equipment can pass through GPS (Global Positioning System, global positioning system
System) at least one of several ways such as positioning mode, base station location method, WiFi positioning modes or bluetooth positioning mode obtain oneself
Location information.These localization methods are applied equally to use when the second equipment obtains oneself position.
S906:The position of oneself is sent to by way of short range communication and is set with the third of itself interconnection by the first equipment
It is standby.
After first equipment gets the position itself being presently in, the position of itself is sent by way of short range communication
Give the third equipment of itself interconnection.It should be understood that third equipment and aforementioned second equipment can be same equipment, also may be used
To be distinct device.After the position of oneself is sent to third equipment by the first equipment, even if self electric quantity exhausts, Wu Fayu
Other equipment communicates, but user can at least determine the position of the first equipment by third equipment.
In some examples of the present embodiment, when the first equipment need by the position of oneself be sent to third equipment it
Before, it needs to select third equipment.Such as first equipment when the remaining capacity for detecting itself is less than low electric threshold value, Ke Yizhu
Once at least one of excessively each equipment of short range communication sends connection request to trend, and after successful connection, the first equipment obtains user
To the service condition of equipment, then the first equipment is set according to the top n that the selection of the service condition of each equipment is used by a user recently
It is standby to be used as third equipment, the value of N that be more than or equal to 1.Such as N is 2, the first equipment gets user to A, B, C, D tetra-
The nearest usage time of equipment is respectively 9 points at night of on March 20th, 2018,12 noon on December 31st, 2017, in March, 2018
At 3 points in afternoon on the 23rd and 6 pm on March 23rd, 2018, then the first equipment equipment C and equipment D can be selected as third equipment.
The service condition of each equipment is mainly the desire to be gone over according to user it should be understood that the first equipment obtains user
The possibility of the equipment is continuing with to service condition supposition user in the next time of an equipment, because first sets
Location information oneself is sent to the equipment that user may relatively use by standby be necessary to ensure that, rather than is set by what user was left unused for a long time
It is standby.
In some other example of the present embodiment, the first equipment can also select according to the remaining capacity of each equipment
Three equipment, such as the first equipment are established with each equipment after short range communication connect, and the residue electricity that each equipment is sent can be obtained
Information is measured, then selects the highest preceding M equipment of current residual electricity as third equipment, M here is more than or equal to 1.First
Equipment selects the higher equipment of remaining capacity as third equipment and is primarily due to such subsequent stand-by time of equipment opposite
Longer, after can farthest avoiding the first equipment that location information is sent to third equipment, third equipment is because of remaining electricity
The problem of measuring deficiency and shutting down, can effectively ensure the reliability of third equipment.
Certainly, in some examples of the present embodiment, use that the first equipment can be in combination with user to each equipment
Situation and the current remaining capacity determination of each equipment select which or which equipment as third equipment.
It is understood that equipment finding method provided in this embodiment is primarily to find those for a long time by user's spare time
It sets, so that user forgets the equipment of placement location, therefore, if the comparison frequency that some equipment is natively used by a user
It is numerous, even if then the equipment is when the remaining capacity for monitoring oneself is few, the position of oneself can not also must be transmitted to other equipment
Confidence ceases.Therefore in a kind of example of the present embodiment, the first equipment is monitoring oneself remaining capacity less than low electric threshold value,
Before the location information for obtaining oneself, oneself is may determine that whether for long-term idle state, if it is not, then the first equipment
The step of obtaining position need not be executed;Only determine that oneself is left unused for a long time really in the first equipment, it just can be into line position
Acquisition is set, then position is sent to the process of third equipment.
In a kind of example of the present embodiment, the first equipment can according to itself it is the last release use state when
Durations of the t1 apart from current time t2 is carved whether to determine oneself for long-term idle state, if the duration is more than preset duration,
Then the first equipment determination lays oneself open to long-term idle state;If the duration is less than or equal to the preset duration, the first equipment determines
Oneself it is not yet in long-term idle state.
It should be understood that the low electric threshold value and preset duration of the first equipment can be pre-configured with by program staff, also may be used
To be arranged by User Defined.In the case where User Defined is arranged, user can be arranged according to the individual demand of oneself
The two parameters.
First equipment to the service condition of itself according to user in addition in addition to determining that oneself is current whether in long-term idle
Other than state, the ambient condition that can be combined with oneself being presently in is determined, such as the first equipment passes through acceleration sensing
The sensors such as device, gravity sensor, which detect, oneself to remain static or motion state is said if be kept in motion
Although bright user has longer time that oneself was not used, oneself should be carried by user at one's side, therefore, this
Kind situation can be not counting be in long-term idle state.
Equipment finding method provided in this embodiment, when a monitoring of equipment to oneself remaining capacity it is relatively low when, can be with
Oneself current location information is actively sent to third equipment, avoids oneself after electricity exhausts, it can not be logical with other equipment
The case where believing, causing user that can not find oneself by other equipment occurs, and further ensures on the basis of aforementioned exemplary
User can easily, simply look for equipment, the user experience is improved.
Fourth embodiment:
The terminal in previous embodiment will be introduced in the present embodiment, but before terminal structure is introduced,
A kind of computer readable storage medium is first provided:
One or more computers for reading, compiling or executing for memory are stored in the computer readable storage medium
Program, wherein including just at least one of the first equipment finder and the second equipment finder, wherein the first equipment is sought
The step of looking for program to be executed for processor to realize equipment finding method the first equipment side provided in previous embodiment;The
Two equipment finders execute for processor to realize the second equipment of the equipment finding method side provided in previous embodiment
The step of.
The present embodiment also provides a kind of terminal simultaneously, refers to Figure 10:Terminal 10 include processor 11, memory 12, with
And the communication bus 13 for connection processing device 11 and memory 12, wherein memory 12 can be stored with the first equipment to be aforementioned
At least one computer readable storage medium in finder and the second equipment finder.Processor 11 can read storage
The the first equipment finder stored in device 12, to realize the first equipment of the equipment finding method side provided in previous embodiment
The step of:
Processor 11 controls communication device and the position requests of generation is sent to the second equipment by way of short range communication,
And receive the position indication information that is sent according to position requests of the second equipment, then, processor 11 according to position indication information to
User prompts the position that the second equipment is presently in.
In a kind of example of the present embodiment, processor 11 can also be monitored the remaining capacity of terminal 10, work as monitoring
When being less than low electric threshold value to 10 remaining capacity of terminal, the position that terminal 10 is presently in is obtained, then the control of processor 11 communication
Position is sent to the third equipment interconnected with terminal 10 by device by way of short range communication.
It, can also first really before processor 11 obtains the position that terminal 10 is presently in a kind of example of the present embodiment
Determine whether 10 the last time of terminal is more than preset duration at the time of exit use state apart from the duration at current time.Only true
It is in the case of being to determine result, and processor 11 just can select quilt recently from each equipment once being connect with 10 short range communication of terminal
The top n equipment that user uses receives the location information of oneself as third equipment;Or, processor 11 is short with terminal 10 from once
Select the highest preceding M equipment of current residual electricity as third equipment in each equipment that journey communication link is taken over.
In addition, processor 101 can also read the second equipment finder stored in memory 102, before realizing
The step of equipment finding method the second equipment side provided in embodiment is provided:
Processor 11 controls the position requests that communication device receives the transmission of the first equipment by way of short range communication, then
Processor 11 is generated according to position requests for the position indication information to 10 present position of the first equipment instruction terminal, then,
Processor 11 controls communication device and position indication information is sent to the first equipment by way of short range communication, sets for first
It is standby to prompt the user with the position that terminal 10 is presently in.
Terminal provided by the invention and computer readable storage medium are set when user cannot find some idle electronics
It when standby, can be found by the terminal, avoid user from carrying out searching without any idea for a long time, or even after taking a long time
Still the case where can not find allows user when having use demand to stand-by equipment, can easily, quick meet demand.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited in above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.