CN105120429B - Terminal connection method and device - Google Patents

Terminal connection method and device Download PDF

Info

Publication number
CN105120429B
CN105120429B CN201510428014.8A CN201510428014A CN105120429B CN 105120429 B CN105120429 B CN 105120429B CN 201510428014 A CN201510428014 A CN 201510428014A CN 105120429 B CN105120429 B CN 105120429B
Authority
CN
China
Prior art keywords
terminal
information
trigger signal
obtaining
motion state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510428014.8A
Other languages
Chinese (zh)
Other versions
CN105120429A (en
Inventor
陈超
周枫
蒋炜航
李勤飞
欧阳菲
袁文清
骆欢
付丰瑞
周晓兰
王鹏东
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Netease bamboo Information Technology Co.,Ltd.
Original Assignee
NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd filed Critical NET EASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co Ltd
Priority to CN201510428014.8A priority Critical patent/CN105120429B/en
Publication of CN105120429A publication Critical patent/CN105120429A/en
Application granted granted Critical
Publication of CN105120429B publication Critical patent/CN105120429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/14Network-specific arrangements or communication protocols supporting networked applications for session management
    • H04L67/141Network-specific arrangements or communication protocols supporting networked applications for session management provided for setup of an application session
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/18Network-specific arrangements or communication protocols supporting networked applications in which the network application is adapted for the location of the user terminal

Abstract

The embodiment of the invention provides a terminal connection method. The method comprises the following steps: responding to a trigger signal which cannot be used by a first terminal, and obtaining terminal information of a second terminal within a preset range from the first terminal through calculation; sending terminal information of the second terminal to a third terminal so that the third terminal can be connected with the second terminal; or sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal. The method of the invention improves the success rate of communication and brings better experience for users. In addition, the embodiment of the invention provides a terminal connection device.

Description

Terminal connection method and device
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a terminal connection method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
With the popularization of mobile terminals, mobile terminals such as mobile phones have become an essential part of people's daily life. The user can communicate with other users by dialing a telephone or using instant messaging software and the like, and the convenience of daily communication of people is greatly improved.
Disclosure of Invention
In the prior art, a user can communicate with other users by dialing a phone or using instant messaging software, but when a mobile terminal of the user cannot access a communication network or the internet, the user cannot contact with other users any more, and processing of some important matters may be delayed.
It is therefore a very annoying procedure in the prior art to encounter situations where the mobile terminal is not switched on.
For this reason, there is a strong need for an improved terminal connection scheme, so that when a terminal cannot be used, a user using the terminal can be found by connecting another terminal adjacent to the terminal through another terminal, or by sending terminal information of the terminal to another terminal adjacent to the terminal, the user using the terminal can be found through another communication method, so as to ensure smooth communication.
In this context, embodiments of the present invention are intended to provide a terminal connection method and apparatus.
In a first aspect of embodiments of the present invention, a terminal connection method is provided, including: responding to a trigger signal which cannot be used by a first terminal, and obtaining terminal information of a second terminal within a preset range from the first terminal through calculation; sending terminal information of the second terminal to a third terminal so that the third terminal can be connected with the second terminal; or sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal.
In a second aspect of embodiments of the present invention, there is provided a terminal-on apparatus including: the device comprises an obtaining unit, a judging unit and a judging unit, wherein the obtaining unit is used for responding to a trigger signal which cannot be used by a first terminal and obtaining terminal information of a second terminal within a preset range from the first terminal through calculation; a sending unit, configured to send terminal information of the second terminal to a third terminal, so that the third terminal connects to the second terminal; or sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal.
According to the terminal connection method and device provided by the embodiment of the invention, when the first terminal cannot be used, for example, the first terminal cannot be accessed to a communication network, the terminal information of the second terminal close to the first terminal can be obtained through calculation, and the second terminal is connected through the third terminal, so that a user using the second terminal can find a user using the first terminal, and the user using the third terminal can be helped to finish communication with the user using the first terminal; or, when the first terminal cannot be used, for example, internet cannot be accessed, the terminal information of the first terminal is sent to the second terminal, so that the second terminal can be connected with the first terminal through other communication modes to realize communication with the first terminal, thereby realizing that communication can be completed when the first terminal cannot be used, improving the success rate of communication and bringing better experience to users.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
FIG. 1 schematically illustrates an exemplary application scenario in which embodiments of the present invention may be implemented;
fig. 2 schematically shows a flowchart of an embodiment of a terminal connection method according to an embodiment of the present invention;
fig. 3 schematically shows a flowchart of another embodiment of a terminal-on method of an embodiment of the present invention;
fig. 4 schematically shows a flowchart of yet another embodiment of a terminal-on method of an embodiment of the present invention;
fig. 5 is a schematic diagram showing a configuration of an example of a terminal-on apparatus according to an embodiment of the present invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
The principles and spirit of the present invention will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the invention, and are not intended to limit the scope of the invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
According to the embodiment of the invention, a terminal connection method and a terminal connection device are provided.
In this document, it is to be understood that any number of elements in the figures are provided by way of illustration and not limitation, and any nomenclature is used for differentiation only and not in any limiting sense.
The principles and spirit of the present invention are explained in detail below with reference to several representative embodiments of the invention.
Summary of The Invention
The inventor finds that in the prior art, the mobile terminal of the user can not be normally used, for example, the mobile terminal has insufficient power, and the communication network or the internet can not be normally accessed due to poor conditions of the communication network, and the like, so that the normal communication of the mobile terminal can be affected, and the user can not contact other users in time.
In view of the above problems, the basic idea of the present invention is: when the server receives a trigger signal which cannot be used by the first terminal, the terminal information of the second terminal close to the first terminal can be obtained through calculation; for example, when the first terminal has insufficient power or communication cannot be connected due to other reasons, the terminal information of the second terminal may be sent to the third terminal, so that the third terminal connects the second terminal, and the user using the second terminal helps the user using the third terminal to find the user using the first terminal, thereby completing communication between the first terminal and the second terminal; alternatively, for example, when the first terminal cannot access the internet but the communication is not interrupted, the server may send the terminal information of the first terminal to the second terminal, so that the second terminal can connect the first terminal through a communication method, and complete the communication between the second terminal and the first terminal. Therefore, under the condition that the first terminal cannot be used, communication with other terminals can still be completed, the communication success rate is improved, and better experience is brought to users.
Having described the general principles of the invention, various non-limiting embodiments of the invention are described in detail below.
Application scene overview
Referring initially to FIG. 1, FIG. 1 is a block diagram of an exemplary application scenario in which embodiments of the present invention may be implemented. The user interacts with the server 101 of the network application service providing the record information through the client 102 on the user equipment, and the record information may be stored on the server 101 or the user equipment. Those skilled in the art will appreciate that the block diagram shown in FIG. 1 is merely one example in which embodiments of the present invention may be implemented. The scope of applicability of embodiments of the present invention is not limited in any way by this framework. For example, in another exemplary application scenario, the application service for recording information may be provided by the client 102 itself, or the user may interact only with the client 102 on the user device.
It is noted that the user device herein may be any user device now existing, developing or developed in the future that is capable of enabling interaction of the client 102 thereon with the server 101 via any form of wired and/or wireless connection (e.g., Wi-Fi, LAN, cellular, coaxial cable, etc.), including but not limited to: existing, developing, or future developing smartphones, non-smartphones, tablets, laptop personal computers, desktop personal computers, minicomputers, midrange computers, mainframe computers, and the like.
It should also be noted that the server 101 is only one example of an existing, developing or future developing device capable of providing application services for recording information to a user. The embodiments of the invention are not limited in any way in this respect.
Based on the framework shown in fig. 1, the server 101 may obtain, by calculation, terminal information of a second terminal within a preset range from the first terminal in response to a trigger signal that cannot be used by the first terminal; then, the server 101 may send the terminal information of the second terminal to the third terminal, so that the third terminal switches on the second terminal; or sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal.
It is to be appreciated that while the acts of embodiments of the present invention are described herein and below as being performed by the server 101 in the context of the present invention, the acts may also be performed in part by the client 102, in part by the server 101, or entirely by the client 102. The invention is not limited in its implementation to the details of execution, provided that the acts disclosed in the embodiments of the invention are performed.
Exemplary method
A method for terminal turn-on according to an exemplary embodiment of the present invention is described below with reference to fig. 2-4 in conjunction with the application scenario of fig. 1. It should be noted that the above application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present invention, and the embodiments of the present invention are not limited in this respect. Rather, embodiments of the present invention may be applied to any scenario where applicable.
For example, referring to fig. 2, a flow chart of an embodiment of a terminal connection method of the present invention is shown. For example, the method may specifically include the following steps:
step 201: and responding to a trigger signal which cannot be used by the first terminal, and obtaining terminal information of a second terminal within a preset range from the first terminal through calculation.
In some possible embodiments, the trigger signal that is not usable by the first terminal may be transmitted by a third terminal.
The first terminal cannot be used specifically in two scenarios: the first scenario is that the communication network of the first terminal cannot be used, that is, if other terminals need to make a call to dial the first terminal, the terminal is prompted to be unable to be connected, for example, the first terminal cannot access the communication network due to insufficient electric quantity or poor condition of the communication network at the position of the first terminal; the second scenario is that the internet network of the first terminal cannot be used, that is, the first terminal cannot use some applications that need to be implemented through the internet, such as instant messaging software, taxi taking software, and the like, and other terminals cannot get the response of the first terminal in time if the other terminals need to use the internet-based applications to contact the first terminal.
Corresponding to the two scenes, in the first scene, when the third terminal dials the first terminal and the first terminal cannot be connected, the third terminal can send a trigger signal which cannot be used by the first terminal to the server; in the second scenario, when the first terminal cannot access the internet, the user using the first terminal may notify the user using the third terminal, and the third terminal sends a trigger signal that the first terminal cannot use to the server, where the trigger signal that the first terminal cannot use may carry the location information of the first terminal and the motion state of the first terminal.
The server responds to a trigger signal which cannot be used by the first terminal, and terminal information of a second terminal within a preset range from the first terminal can be obtained through calculation. In some possible embodiments, the specific implementation of obtaining, through calculation, terminal information of a second terminal within a preset range from the first terminal may include: acquiring the position information of the first terminal; determining a motion state of the first terminal, wherein the motion state comprises a moving state or a static state; and obtaining terminal information of a second terminal within a preset range from the first terminal through calculation according to the motion state of the first terminal and the position information of the first terminal.
In some possible implementations, the specific implementation of the obtaining of the location information of the first terminal may include at least two ways, and in a first possible implementation, the location information of the first terminal uploaded by the first terminal may be obtained; in a second possible implementation manner, the location information of the first terminal sent by the third terminal may be received.
That is, before the signal disappears, the first terminal uploads the location information of the first terminal to the server at regular time, where the location information may be GPS (Global Positioning System) information, and the location information uploaded each time may include current location coordinates, such as longitude and latitude coordinates, and current time. The location information of the first terminal sent by the third terminal may also be geographical location information such as a street where the first terminal is located.
Correspondingly, the specific implementation of determining the motion state of the first terminal may also include at least two ways, and in a first possible implementation, the motion state of the first terminal may be determined according to the position information of the first terminal; in a second possible implementation manner, the motion state of the first terminal sent by the third terminal may be received.
That is, when the position information of the first terminal is uploaded by the first terminal, the motion state of the first terminal can be determined according to the uploaded position information of the first terminal; and when the trigger signal which is sent by the third terminal and can not be used by the first terminal carries the motion state of the first terminal, the motion state of the first terminal sent by the third terminal can be directly received.
In some possible embodiments, when the motion state of the first terminal needs to be determined according to the position information of the first terminal, the specific implementation may include:
calculating a distance difference value of the position information of the first terminal uploaded in two adjacent times within a preset time;
determining the motion state of the first terminal as a moving state in response to the distance difference being greater than or equal to a preset distance threshold; and determining the motion state of the first terminal as a static state in response to the distance difference being smaller than the preset distance threshold.
The first terminal uploads the position information regularly before the signal disappears, for example, the position information is uploaded once every 10 seconds, so that the distance difference between the position information uploaded twice in a preset time can be calculated, in a period of time, the distance difference between the position information uploaded twice in the adjacent time is greater than or equal to a preset distance threshold, the first terminal can be considered to be in a moving state, for example, in a period of time, the position information uploaded once every 10 seconds, and the distance between the position information uploaded once and the position information uploaded next time is greater than 10 meters, so that the first terminal is considered to be in the moving state; in a period of time, if the distance difference between two adjacent pieces of position information is smaller than the preset distance threshold, the first terminal may be considered to be in a stationary state and not far away from the last location where the position information is uploaded.
In some possible embodiments, the obtaining, by calculation, terminal information of a second terminal within a preset range from the first terminal according to the motion state of the first terminal and the position information of the first terminal includes:
responding to the static state of the first terminal, calculating a difference value between the last position information of the first terminal and the position information of a second terminal, and obtaining the terminal information of the second terminal within a preset range from the first terminal;
responding to the first terminal in a motion state, and calculating a difference value between the current time and time information corresponding to the last position information of the first terminal to be used as a time span value;
and responding to the fact that the time span value is smaller than a preset time threshold value, obtaining the position information expected to be reached by the first terminal according to the last position information of the first terminal and the time span value in a fitting mode, calculating the difference value between the position information expected to be reached by the first terminal and the position information of the second terminal, and obtaining the terminal information of the second terminal within a preset range of the position information expected to be reached by the first terminal.
That is, when it is determined that the first terminal is in a stationary state, it is considered that the terminal is still near the area, and a difference between the last location information of the first terminal and the location information of the second terminal may be calculated, so as to obtain the terminal information of the second terminal within a preset range from the first terminal. The location information of the second terminal may be uploaded to the server by the second terminal, and the terminal information of the second terminal may include, but is not limited to, identification information of the second terminal, such as a phone number and the like. There may be one or more pieces of terminal information of the second terminals obtained by calculation, and the terminal information may be sorted by a distance different from the first terminal, and the second terminal closer to the first terminal is more likely to find the first terminal.
When the first terminal is in a moving state, a difference value between the current time and the time information corresponding to the last position information of the first terminal needs to be calculated first to serve as a time span value, the time span value is larger than or equal to a preset time threshold value, which represents that the signal disappearance time of the first terminal is too long, and when the first terminal is in the moving state, the current position of the first terminal cannot be determined, and further the terminal information of a second terminal in a preset range of the first terminal cannot be calculated.
When the first terminal is in a moving state, but the calculated time span value is smaller than the preset time threshold value, which means that the disappearance time of the first terminal signal is not very long, the motion track of the first terminal can be fitted, the position which the first terminal can possibly reach is estimated, the difference value between the position information which the first terminal is expected to reach and the position information of the second terminal is calculated, and the terminal information of the second terminal which is within a preset range from the first terminal is obtained.
Step 202: sending terminal information of the second terminal to a third terminal so that the third terminal can be connected with the second terminal; or sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal.
And continuing to explain the terminal connection modes respectively aiming at two scenes that the first terminal cannot be used, wherein in the first scene, the third terminal needs to dial the first terminal, but the first terminal cannot be connected, at the moment, the terminal information of the second terminal obtained by calculation can be sent to the third terminal, so that the third terminal is connected with the second terminal, and the user using the second terminal helps the user using the third terminal to find the nearby user using the first terminal, so that the user using the third terminal can timely contact the user using the first terminal. In the second scenario, the first terminal cannot access the internet, but needs to be found by a nearby user using the second terminal, for example, the user using the first terminal has a demand for taxi taking, but cannot currently use taxi taking software based on the internet, the user using the first terminal informs the user using the third terminal, the third terminal sends a trigger signal that the first terminal cannot use to the server, and the server is triggered to send the terminal information of the first terminal to the nearby second user, so that the second terminal can be connected with the first terminal directly through the communication network without contacting the first terminal in time through the internet.
Thus, according to the terminal connection method of the embodiment of the present invention, when the first terminal is unavailable, for example, the first terminal cannot access the communication network, the terminal information of the second terminal close to the first terminal can be obtained through calculation, and the second terminal is connected through the third terminal, so that the user using the second terminal can find the user using the first terminal, and the user using the third terminal can be helped to complete the communication with the user using the first terminal; or, when the first terminal cannot be used, for example, internet cannot be accessed, the terminal information of the first terminal is sent to the second terminal, so that the second terminal can be connected with the first terminal through other communication modes to realize communication with the first terminal, thereby realizing communication even when the first terminal cannot be used, improving the success rate of communication and bringing better experience to users.
The above embodiments are further described with reference to specific application examples. For example, referring to fig. 3, a flowchart of another embodiment of the terminal connection method in the present invention is shown, which may specifically include the following steps:
step 301: and the third terminal sends a trigger signal which cannot be used by the first terminal to the server.
When the third terminal calls the first terminal and the first terminal cannot be connected, the third terminal can be triggered to send a trigger signal which cannot be used by the first terminal to the server.
Step 302: the server responds to a trigger signal which cannot be used by the first terminal, and acquires the position information of the first terminal uploaded by the first terminal.
Step 303: and the server determines the motion state of the first terminal according to the position information of the first terminal.
Specifically, the motion state of the first terminal can be judged by calculating a distance difference between position information of the first terminal uploaded at two adjacent times within a preset time; determining the motion state of the first terminal as a moving state in response to the distance difference being greater than or equal to a preset distance threshold; and determining the motion state of the first terminal as a static state in response to the distance difference being smaller than a preset distance threshold.
Step 304: and the server obtains the terminal information of the second terminal within a preset range from the first terminal through calculation according to the motion state of the first terminal and the position information of the first terminal.
Specifically, in response to the first terminal being in a stationary state, a difference between the last position information of the first terminal and the position information of the second terminal is calculated, so as to obtain the terminal information of the second terminal within a preset range from the first terminal; responding to the motion state of the first terminal, and calculating a difference value between the current time and time information corresponding to the last position information of the first terminal to be used as a time span value; and responding to the fact that the time span value is smaller than the preset time threshold value, obtaining the position information expected to be reached by the first terminal according to the last position information of the first terminal and the time span value fitting, calculating the difference value between the position information expected to be reached by the first terminal and the position information of the second terminal, and obtaining the terminal information of the second terminal within the preset range of the position information expected to be reached by the first terminal.
Step 305: and the server sends the terminal information of the second terminal obtained by calculation to the third terminal.
Step 306: the third terminal is connected to the second terminal.
In this embodiment, under the condition that the first terminal cannot be connected, the third terminal may connect the second terminal near the first terminal according to the terminal information of the second terminal, and the user using the first terminal is found by the help of the user using the second terminal, so that the contact between the user using the third terminal and the user using the first terminal is established in time, thereby avoiding missing important items and bringing better experience to the user.
For another example, referring to fig. 4, a flowchart of another embodiment of the terminal connection method in the present invention is shown, which may specifically include the following steps:
step 401: and the third terminal sends a trigger signal which cannot be used by the first terminal to the server.
When the first terminal cannot access the internet, the first terminal cannot use some internet-based application programs, such as taxi-taking software, if a user using the first terminal has a requirement for using the application program, such as needing to taxi and needing to find the second terminal nearby, the user using the first terminal can actively inform the third terminal of the position information and the motion state of the third terminal, the third terminal sends a trigger signal that the first terminal cannot use to the server instead of the server, and meanwhile, the trigger signal can carry the position information of the first terminal and the motion state of the first terminal.
Step 402: and the server receives the position information of the first terminal sent by the third terminal in response to the trigger signal which cannot be used by the first terminal.
Step 403: and the server receives the motion state of the first terminal sent by the third terminal.
Step 404: and the server obtains the terminal information of the second terminal within a preset range from the first terminal through calculation according to the motion state of the first terminal and the position information of the first terminal.
Specifically, in response to the first terminal being in a stationary state, a difference between the last position information of the first terminal and the position information of the second terminal is calculated, so as to obtain the terminal information of the second terminal within a preset range from the first terminal; responding to the motion state of the first terminal, and calculating a difference value between the current time and time information corresponding to the last position information of the first terminal to be used as a time span value; and responding to the fact that the time span value is smaller than the preset time threshold value, obtaining the position information expected to be reached by the first terminal according to the last position information of the first terminal and the time span value fitting, calculating the difference value between the position information expected to be reached by the first terminal and the position information of the second terminal, and obtaining the terminal information of the second terminal within the preset range of the position information expected to be reached by the first terminal.
Step 405: the server sends the terminal information of the first terminal to the second terminal.
Step 406: the second terminal is connected to the first terminal.
In this embodiment, under the condition that the first terminal cannot access the internet, the server sends the terminal information of the first terminal, for example, the phone number of the first terminal, to the second terminal near the first terminal, so that the second terminal can directly connect the first terminal without the internet, thereby realizing communication between the first terminal and the second terminal near the first terminal, and bringing better experience to the user.
Exemplary device
Having described the method of the exemplary embodiment of the present invention, an apparatus for terminal turn-on of the exemplary embodiment of the present invention will be described with reference to fig. 5.
Referring to fig. 5, a structural diagram of an embodiment of the terminal connection apparatus in the present invention is shown, which may specifically include:
an obtaining unit 501, configured to obtain, by calculation, terminal information of a second terminal that is within a preset range from a first terminal in response to a trigger signal that cannot be used by the first terminal.
A sending unit 502, configured to send terminal information of the second terminal to a third terminal, so that the third terminal is connected to the second terminal; or sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal.
In some possible embodiments, the trigger signal that is not usable by the first terminal is transmitted by the third terminal.
In some possible embodiments, the obtaining unit 501 may include:
an obtaining subunit 5011, configured to obtain location information of the first terminal.
The determining subunit 5012 is configured to determine a motion state of the first terminal, where the motion state includes a moving state or a stationary state.
The obtaining subunit 5013 is configured to obtain, through calculation, terminal information of a second terminal within a preset range from the first terminal according to the motion state of the first terminal and the position information of the first terminal.
In some possible embodiments, the acquisition subunit may 5011 to specifically: and receiving the position information of the first terminal sent by the third terminal.
The determining subunit 5012 may be specifically configured to: and receiving the motion state of the first terminal sent by the third terminal.
In some possible embodiments, the acquisition subunit 5011 may be specifically configured to: acquiring the position information of the first terminal uploaded by the first terminal;
the determining subunit 5012 may be specifically configured to: and determining the motion state of the first terminal according to the position information of the first terminal.
In some possible embodiments, the determining subunit 5012 may in turn be specifically configured to:
calculating a distance difference value of the position information of the first terminal uploaded in two adjacent times within a preset time;
determining the motion state of the first terminal as a moving state in response to the distance difference being greater than or equal to a preset distance threshold; and determining the motion state of the first terminal as a static state in response to the distance difference being smaller than the preset distance threshold.
In some possible embodiments, the obtaining subunit 5013 may be specifically configured to:
responding to the static state of the first terminal, calculating a difference value between the last position information of the first terminal and the position information of a second terminal, and obtaining the terminal information of the second terminal within a preset range from the first terminal;
responding to the first terminal in a motion state, and calculating a difference value between the current time and time information corresponding to the last position information of the first terminal to be used as a time span value;
and responding to the fact that the time span value is smaller than a preset time threshold value, obtaining the position information expected to be reached by the first terminal according to the last position information of the first terminal and the time span value in a fitting mode, calculating the difference value between the position information expected to be reached by the first terminal and the position information of the second terminal, and obtaining the terminal information of the second terminal within a preset range of the position information expected to be reached by the first terminal.
In this way, according to the terminal connection device of the embodiment of the present invention, when the first terminal is unavailable, for example, when the first terminal is unable to access the communication network, the terminal information of the second terminal close to the first terminal can be obtained through calculation, and the second terminal is connected through the third terminal, so that the user using the second terminal can find the user using the first terminal, and the user using the third terminal can be helped to complete communication with the user using the first terminal; or, when the first terminal cannot be used, for example, internet cannot be accessed, the terminal information of the first terminal is sent to the second terminal, so that the second terminal can be connected with the first terminal through other communication modes to realize communication with the first terminal, thereby realizing that communication can be completed when the first terminal cannot be used, improving the success rate of communication and bringing better experience to users.
It should be noted that although in the above detailed description several units or sub-units of the terminal-on device are mentioned, this division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the invention. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Moreover, while the operations of the method of the invention are depicted in the drawings in a particular order, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
While the spirit and principles of the invention have been described with reference to several particular embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, nor is the division of aspects, which is for convenience only as the features in such aspects may not be combined to benefit. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (4)

1. A terminal connection method is applied to a server and comprises the following steps:
responding to a trigger signal which cannot be used by a first terminal, and obtaining terminal information of a second terminal within a preset range from the first terminal through calculation; a trigger signal which cannot be used by the first terminal is sent by a third terminal; the trigger signal which cannot be used by the first terminal comprises a trigger signal which cannot be connected by the first terminal or a trigger signal which cannot be connected to the Internet by the first terminal;
the obtaining of the terminal information of the second terminal within the preset range from the first terminal through calculation includes:
acquiring the position information of the first terminal;
determining a motion state of the first terminal, wherein the motion state comprises a moving state or a static state;
obtaining terminal information of a second terminal within a preset range from the first terminal through calculation according to the motion state of the first terminal and the position information of the first terminal;
the acquiring the position information of the first terminal includes:
receiving the position information of the first terminal sent by the third terminal;
the determining the motion state of the first terminal comprises:
receiving the motion state of the first terminal sent by the third terminal;
when the trigger signal which cannot be used by the first terminal is the trigger signal which cannot be connected by the first terminal, sending terminal information of the second terminal to the third terminal so that the third terminal can be connected by the second terminal through a communication network;
and when the trigger signal which cannot be used by the first terminal is the trigger signal which cannot be accessed to the Internet by the first terminal, sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal through a communication network.
2. The method of claim 1, wherein the obtaining, through calculation, terminal information of a second terminal within a preset range from the first terminal according to the motion state of the first terminal and the position information of the first terminal comprises:
responding to the static state of the first terminal, calculating a difference value between the last position information of the first terminal and the position information of a second terminal, and obtaining the terminal information of the second terminal within a preset range from the first terminal;
responding to the first terminal in a motion state, and calculating a difference value between the current time and time information corresponding to the last position information of the first terminal to be used as a time span value;
and responding to the fact that the time span value is smaller than a preset time threshold value, obtaining the position information expected to be reached by the first terminal according to the last position information of the first terminal and the time span value in a fitting mode, calculating the difference value between the position information expected to be reached by the first terminal and the position information of the second terminal, and obtaining the terminal information of the second terminal within a preset range of the position information expected to be reached by the first terminal.
3. A terminal connection device, which is applied to a server, comprises:
the device comprises an obtaining unit, a judging unit and a judging unit, wherein the obtaining unit is used for responding to a trigger signal which cannot be used by a first terminal and obtaining terminal information of a second terminal within a preset range from the first terminal through calculation; the trigger signal which cannot be used by the first terminal is sent by a third terminal; the trigger signal which cannot be used by the first terminal comprises a trigger signal which cannot be connected by the first terminal or a trigger signal which cannot be connected to the Internet by the first terminal;
the obtaining unit includes:
an obtaining subunit, configured to obtain location information of the first terminal;
a determining subunit, configured to determine a motion state of the first terminal, where the motion state includes a moving state or a stationary state;
the obtaining subunit is configured to obtain, through calculation, terminal information of a second terminal within a preset range from the first terminal according to the motion state of the first terminal and the position information of the first terminal;
the obtaining subunit is specifically configured to:
receiving the position information of the first terminal sent by the third terminal;
the determining subunit is specifically configured to:
receiving the motion state of the first terminal sent by the third terminal;
a sending unit, configured to send terminal information of the second terminal to the third terminal when the trigger signal that cannot be used by the first terminal is the trigger signal that cannot be turned on by the first terminal, so that the third terminal turns on the second terminal through a communication network; and when the trigger signal which cannot be used by the first terminal is the trigger signal which cannot be accessed to the Internet by the first terminal, sending the terminal information of the first terminal to the second terminal so that the second terminal can be connected with the first terminal through a communication network.
4. The apparatus according to claim 3, wherein the obtaining subunit is specifically configured to:
responding to the static state of the first terminal, calculating a difference value between the last position information of the first terminal and the position information of a second terminal, and obtaining the terminal information of the second terminal within a preset range from the first terminal;
responding to the first terminal in a motion state, and calculating a difference value between the current time and time information corresponding to the last position information of the first terminal to be used as a time span value;
and responding to the fact that the time span value is smaller than a preset time threshold value, obtaining the position information expected to be reached by the first terminal according to the last position information of the first terminal and the time span value in a fitting mode, calculating the difference value between the position information expected to be reached by the first terminal and the position information of the second terminal, and obtaining the terminal information of the second terminal within a preset range of the position information expected to be reached by the first terminal.
CN201510428014.8A 2015-07-20 2015-07-20 Terminal connection method and device Active CN105120429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510428014.8A CN105120429B (en) 2015-07-20 2015-07-20 Terminal connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510428014.8A CN105120429B (en) 2015-07-20 2015-07-20 Terminal connection method and device

Publications (2)

Publication Number Publication Date
CN105120429A CN105120429A (en) 2015-12-02
CN105120429B true CN105120429B (en) 2020-03-31

Family

ID=54668267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510428014.8A Active CN105120429B (en) 2015-07-20 2015-07-20 Terminal connection method and device

Country Status (1)

Country Link
CN (1) CN105120429B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792515A (en) * 2016-11-30 2017-05-31 北京小米移动软件有限公司 Obtain the method and device of vehicle reservation person's communication connection information
CN109872552A (en) * 2017-12-01 2019-06-11 顺丰科技有限公司 A kind of automatic Pilot apparatus of transport, information processing method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014169A (en) * 2007-02-14 2007-08-08 北京天碁科技有限公司 Method and apparatus for realizing electricity saving of mobile terminal
CN101600152A (en) * 2009-07-10 2009-12-09 深圳华为通信技术有限公司 Call transferring method and device
CN102255911A (en) * 2011-07-12 2011-11-23 中国联合网络通信集团有限公司 Method, system and device for communicating between IMS (IP Multimedia Subsystem) terminal devices
CN102592439A (en) * 2012-02-03 2012-07-18 苏州大通汽车租赁有限公司 Method and system for interactively calling taxi nearby by intelligent mobile equipment
CN103051815A (en) * 2012-11-29 2013-04-17 东莞宇龙通信科技有限公司 Call forwarding method and system
CN103856391A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Information communication method and system, and server
CN103905976A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Social network user searching method, terminal, server and system
CN104363358A (en) * 2014-11-28 2015-02-18 小米科技有限责任公司 Communication processing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101014169A (en) * 2007-02-14 2007-08-08 北京天碁科技有限公司 Method and apparatus for realizing electricity saving of mobile terminal
CN101600152A (en) * 2009-07-10 2009-12-09 深圳华为通信技术有限公司 Call transferring method and device
CN102255911A (en) * 2011-07-12 2011-11-23 中国联合网络通信集团有限公司 Method, system and device for communicating between IMS (IP Multimedia Subsystem) terminal devices
CN102592439A (en) * 2012-02-03 2012-07-18 苏州大通汽车租赁有限公司 Method and system for interactively calling taxi nearby by intelligent mobile equipment
CN103051815A (en) * 2012-11-29 2013-04-17 东莞宇龙通信科技有限公司 Call forwarding method and system
CN103856391A (en) * 2012-12-06 2014-06-11 中国电信股份有限公司 Information communication method and system, and server
CN103905976A (en) * 2012-12-26 2014-07-02 腾讯科技(深圳)有限公司 Social network user searching method, terminal, server and system
CN104363358A (en) * 2014-11-28 2015-02-18 小米科技有限责任公司 Communication processing method and device

Also Published As

Publication number Publication date
CN105120429A (en) 2015-12-02

Similar Documents

Publication Publication Date Title
US9820102B2 (en) Mobile device location determination using micronetworks
US9860867B2 (en) Measurement systems and methods for fingerprinting positioning
US9877250B2 (en) Call handoff initiation in hybrid networks
US9685195B2 (en) Geographical location information/signal quality-context based recording and playback of multimedia data from a conference session
US10314098B2 (en) Method and apparatus for connecting short-range wireless communication in terminal
US8682287B2 (en) Providing information pertaining usage of a mobile wireless communications device
US8811941B2 (en) Systems and methods for providing updated mobile station location estimates to emergency services providers
JP6805143B2 (en) Positioning by criteria for over-the-top emergency calls
US9295087B2 (en) Mobile device smart button that adapts to device status
US8296428B2 (en) Mechanism to detect restricted access via internet hotspot
US8812018B2 (en) System and method for predicting future locations of mobile communication devices using connection-related data of a mobile access network
US9414422B2 (en) Proximity detection for mobile communication devices using geo-fencing
KR101123594B1 (en) Method and apparatus for using historic network information for determining approximate position
US7835721B2 (en) Multiple security level mobile telecommunications device system and method
EP1704741B1 (en) Providing location information
US8195121B2 (en) Method and system for establishing messaging communication with a service provider, such as a PSAP (public safety answering point)
US20140293986A1 (en) System and method for routing a wireless connection in a hybrid network
EP2223545B1 (en) Apparatus and method for event detection
CN103139529B (en) Video call switching method between sip server, video call device
US10382906B2 (en) Location identifiers in mobile messaging
US20150024787A1 (en) Mobile device tracking prevention method and system
US9456290B2 (en) Installation of a voice client for roaming devices in a wireless network
US8743782B1 (en) Automated method to determine position of Wi-Fi access point to enable location based services
US7853261B1 (en) Multiple communication channel router
RU2378794C2 (en) Communication service accessible outside communication system zone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 100094 1st floor, block a, building 7, West Zhongguancun Software Park, yard 10, northwest Wangdong Road, Haidian District, Beijing

Patentee after: NETEASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.

Address before: 100084, room 3, building 1, Qinghua science park, No. 206, Zhongguancun East Road, Beijing, Haidian District

Patentee before: NETEASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.

CP02 Change in the address of a patent holder
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201231

Address after: Room 303, building 3, No. 399, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province, 310052

Patentee after: Hangzhou Netease bamboo Information Technology Co.,Ltd.

Address before: 100094 1st floor, block a, building 7, West Zhongguancun Software Park, yard 10, northwest Wangdong Road, Haidian District, Beijing

Patentee before: NETEASE YOUDAO INFORMATION TECHNOLOGY (BEIJING) Co.,Ltd.