CN107071192A - Localization method and device in communication process - Google Patents
Localization method and device in communication process Download PDFInfo
- Publication number
- CN107071192A CN107071192A CN201710254515.8A CN201710254515A CN107071192A CN 107071192 A CN107071192 A CN 107071192A CN 201710254515 A CN201710254515 A CN 201710254515A CN 107071192 A CN107071192 A CN 107071192A
- Authority
- CN
- China
- Prior art keywords
- terminal
- call
- request message
- relative position
- server
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 106
- 230000006854 communication Effects 0.000 title claims abstract description 15
- 230000004807 localization Effects 0.000 title abstract 2
- 230000004044 response Effects 0.000 claims description 38
- 230000008569 process Effects 0.000 claims description 30
- 238000004891 communication Methods 0.000 claims description 12
- 238000004458 analytical method Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 18
- 238000012545 processing Methods 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 241000419826 Protium attenuatum Species 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000012850 discrimination method Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/56—Arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities
- H04M3/568—Arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities audio processing specific to telephonic conferencing, e.g. spatial distribution, mixing of participants
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/42348—Location-based services which utilize the location information of a target
- H04M3/42357—Location-based services which utilize the location information of a target where the information is provided to a monitoring entity such as a potential calling party or a call processing server
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure is directed to the localization method in a kind of communication process and device.Methods described includes:The current location for the first terminal and second terminal conversed is determined respectively;Current location based on the first terminal and the second terminal, the relative position of call opposite end is indicated to the first terminal and/or second terminal.Disclosed technique scheme efficiently solves the problem of user can not accurately illustrate oneself position in communication process in correlation technique, improves the outgoing meet experience of user.
Description
Technical Field
The present disclosure relates to the field of mobile device technologies, and in particular, to a positioning method and apparatus in a call process.
Background
At present, some users often meet in many public places, such as supermarkets, parks, banks, hospitals and the like, and because the places may have a large flow of people, or large place coverage area, or are unfamiliar to the users, the contracting users may not accurately indicate the positions of the users even through telephone communication, and further the mood of the appointments of the users is influenced. Because the related art cannot provide a corresponding solution for the situation, the time of the user meeting the surface is prolonged, and the user experience of going out is reduced.
Disclosure of Invention
In order to solve the problems in the related art, embodiments of the present disclosure provide a positioning method and apparatus in a call process, so as to solve the problem that the related art cannot position a location of an opposite end of a call in time.
According to a first aspect of the embodiments of the present disclosure, there is provided a positioning method in a call process, applied to a server, the method including:
respectively determining the current positions of a first terminal and a second terminal which are in conversation;
and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
In an embodiment, before determining the current locations of the first terminal and the second terminal respectively, the method further comprises:
and receiving a positioning request message sent by the first terminal and/or the second terminal.
In one embodiment, determining the current locations of the first terminal and the second terminal respectively in the process of calling comprises:
sending a location request message for requesting a location to the first terminal and/or the second terminal;
receiving a position response message returned by the first terminal and/or the second terminal according to the position request message;
and analyzing the position response message returned by the first terminal and/or the second terminal to obtain the current position of the first terminal and/or the second terminal.
In an embodiment, indicating the relative position of the opposite call end to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal includes:
determining a current distance between the first terminal and the second terminal;
and when the current distance between the first terminal and the second terminal is smaller than a first distance threshold value, sending the relative position of the opposite call terminal to the first terminal and/or the second terminal.
In an embodiment, the sending the relative position of the opposite call end to the first terminal and/or the second terminal includes:
respectively sending position prompting messages to the first terminal and the second terminal, wherein the position prompting messages are used for prompting whether the first terminal and the second terminal indicate the position of a call opposite terminal or not;
and when a response message indicating the position of the call opposite end, which is sent by the first terminal and/or the second terminal according to the position prompt message, is received, sending the relative position of the call opposite end to the first terminal and/or the second terminal according to the response message.
In one embodiment, the manner of indicating the relative location of the opposite end of the call includes at least one of:
a voice navigation mode; and/or the presence of a gas in the gas,
the manner of map display; and/or the presence of a gas in the gas,
the manner in which the pointer points; and/or the presence of a gas in the gas,
the way the words indicate.
In an embodiment, indicating the relative position of the opposite call end to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal includes:
determining the residence time of the first terminal and/or the second terminal in the area where the current position is located;
and when the staying time of the first terminal and/or the second terminal in the area where the current position is located exceeds a preset time threshold, indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal.
According to a second aspect of the embodiments of the present disclosure, there is provided a positioning method in a call process, applied to a terminal, the method including:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite call end.
In one embodiment, sending a location request message to a server includes:
when the fact that the traveling time of the terminal in the preset traveling distance exceeds a preset time threshold value is detected, the positioning request message is sent to the server; or,
and when detecting that the average moving speed of the terminal in a preset time period is smaller than a preset speed threshold value, sending the positioning request message to the server.
According to a third aspect of the embodiments of the present disclosure, there is provided a positioning apparatus in a call process, the apparatus including:
the system comprises a position determining module, a position determining module and a position determining module, wherein the position determining module is configured to respectively determine the current positions of a first terminal and a second terminal which are in conversation;
the indicating module is configured to indicate the relative position of the opposite call end to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
In an embodiment, the apparatus further comprises:
a first receiving module configured to receive a positioning request message sent by the first terminal and/or the second terminal.
In one embodiment, the location determination module comprises:
a location request submodule configured to send a location request message for requesting a location to the first terminal and/or the second terminal;
the position response submodule is configured to receive a position response message returned by the first terminal and/or the second terminal according to the position request message;
and the analysis submodule is configured to analyze the position response message returned by the first terminal and/or the second terminal to obtain the current position of the first terminal and/or the second terminal.
In one embodiment, the indication module includes:
a first determining submodule configured to determine a current distance between the first terminal and the second terminal;
the first sending submodule is configured to send the relative position of the opposite call terminal to the first terminal and/or the second terminal when the current distance between the first terminal and the second terminal is smaller than a first distance threshold.
In one embodiment, the first sending submodule includes:
a second sending submodule configured to send location prompting messages to the first terminal and the second terminal respectively when a current distance between the first terminal and the second terminal is smaller than a first distance threshold, where the location prompting messages are used for prompting whether the first terminal and the second terminal indicate a location of a call opposite terminal;
and the third sending submodule is configured to send the relative position of the call opposite end to the first terminal and/or the second terminal according to the response message when receiving the response message which indicates the position of the call opposite end and is sent by the first terminal and/or the second terminal according to the position prompt message.
In one embodiment, the indication module includes:
the time determination submodule is configured to determine the stay time of the first terminal and/or the second terminal in the area where the current position is located;
and the fourth sending submodule is configured to indicate the relative position of the opposite call terminal to the first terminal and/or the second terminal when the staying time of the first terminal and/or the second terminal in the area where the current position is located exceeds a preset time threshold.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a positioning apparatus during a call, the apparatus including:
the second sending module is configured to send a positioning request message to a server, wherein the positioning request message is used for indicating the server to respectively determine the current positions of the first terminal and the second terminal which are in conversation;
a third receiving module, configured to receive the relative position of the call opposite end returned by the server according to the positioning request message;
and the position output module is configured to output the relative position of the opposite call end.
In one embodiment, the second sending module includes:
a fifth sending submodule configured to send the positioning request message to the server when it is detected that a travel time of the terminal within a preset travel distance exceeds a preset time threshold; or,
a sixth sending submodule configured to send the positioning request message to the server when it is detected that the average moving speed of the terminal within a preset time period is less than a preset speed threshold.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a positioning apparatus during a call, the apparatus including:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
respectively determining the current positions of a first terminal and a second terminal which are in conversation;
and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a positioning apparatus during a call, the apparatus including:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite call end.
According to a seventh aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions, wherein the instructions when executed by a processor implement the steps of:
respectively determining the current positions of a first terminal and a second terminal which are in conversation;
and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
According to an eighth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions, wherein the instructions when executed by a processor implement the steps of:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite call end.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: when a server receives a positioning request message sent by a first terminal or a second terminal which is in a call, the current positions of the first terminal and the second terminal are respectively determined, and the relative positions of opposite call ends are respectively indicated to the first terminal and the second terminal based on the current positions of the first terminal and the second terminal, so that the problem that a user cannot accurately indicate the position of the user or cannot accurately know the geographical position of the user in the related art in the call process is effectively solved, the two parties in the call can meet each other as soon as possible, and the outgoing meeting experience of the user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1A is a flow chart illustrating a positioning method during a call according to an example embodiment.
Fig. 1B is a schematic diagram illustrating an application scenario of the positioning method during a call according to an exemplary embodiment.
Fig. 2A is a flow chart illustrating a method for location determination during a call according to an example embodiment.
Fig. 2B is a flowchart illustrating the method of step 202 according to an example embodiment.
Fig. 2C is a first flowchart illustrating the method of step 203 according to an example embodiment.
Fig. 2D is a flowchart of a method of step 203 shown in first exemplary embodiment.
Fig. 2E is a flowchart three illustrating the method of step 203 according to an example embodiment.
Fig. 3A is a flowchart illustrating a positioning method during a call according to an exemplary embodiment.
Fig. 3B is an interface diagram illustrating a mobile terminal performing a positioning operation during a call according to an exemplary embodiment.
Fig. 4A is a first flowchart illustrating a positioning method during a call according to an exemplary embodiment.
Fig. 4B is a flowchart two illustrating a positioning method during a call according to an exemplary embodiment three.
Fig. 5 is a block diagram illustrating a positioning device during a call in accordance with an exemplary embodiment.
Fig. 6 is a block diagram illustrating another positioning device during a call in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating yet another in-call positioning device in accordance with an exemplary embodiment.
Fig. 8 is a block diagram illustrating a positioning device during a call in accordance with an exemplary embodiment.
Fig. 9 is a block diagram illustrating another positioning device during a call in accordance with an exemplary embodiment.
Fig. 10 is a block diagram illustrating a positioning apparatus adapted for use during a call according to an example embodiment.
Fig. 11 is a block diagram illustrating a positioning apparatus adapted for use during a call according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1A is a flowchart illustrating a positioning method during a call according to an exemplary embodiment, and fig. 1B is an application scenario diagram illustrating the positioning method during the call according to an exemplary embodiment; the positioning method in the call process can be applied to a server, as shown in fig. 1A, and includes the following steps:
in step 101, the current positions of the first terminal and the second terminal which are in a call are respectively determined.
In an embodiment, the first terminal and the second terminal may be any mobile terminals having a call function, for example, a smart phone, a smart watch capable of calling, an intercom, and the like, which is not limited in this disclosure.
In an embodiment, when the first terminal and/or the second terminal sends the positioning request message to the server, the current position is carried in the positioning request message, and the server can determine the current position of the terminal sending the positioning request message by analyzing the positioning request message; in a further embodiment, the server may further send location request messages for requesting locations to the first terminal and the second terminal, respectively, upon receiving the location request messages, and parse the location response messages to determine the current locations of the first terminal and the second terminal, upon receiving location response messages returned by the first terminal and the second terminal.
In step 102, the relative position of the opposite call terminal is indicated to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
In an embodiment, the server may determine the relative position of the first terminal with respect to the second terminal and the relative position of the second terminal with respect to the first terminal according to the current position of the first terminal and the current position of the second terminal.
In an embodiment, the location of the opposite end of the call may be indicated by means of voice navigation, for example, sending a voice message "the little lee talking with you is located at a position 30 meters northeast of you" to the first terminal; in a further embodiment, the position of the opposite end of the call can be indicated in a map display manner, that is, the server can actively access a third-party server, for example, the map server a obtains maps of areas where the first terminal and the second terminal are located, marks the current positions of the first terminal and the second terminal on the map through preset marks, and sends map display information to the first terminal and the second terminal respectively; in another embodiment, the location of the opposite end of the call may also be indicated by pointing a pointer, for example, a pointer pointing is sent to the first terminal and the second terminal according to the general identification methods of up, down, south, left, right, and east; in yet another embodiment, the location of the opposite end of the call may also be indicated by text, for example, sending text message "the little lees talking with you are located at 30 meters north east" to the first terminal; in another embodiment, the location of the opposite end of the call may also be indicated by a combination of any two or more of the above manners.
In an exemplary scenario, as shown in fig. 1B, during a call, if a positioning operation triggered by a user is received, a positioning request message may be sent to the server 130, and the server 130 determines current positions of the first terminal 110 and the second terminal 120, respectively, and indicates relative positions of opposite ends of the call to the first terminal 110 and the second terminal 120, respectively, based on the current positions of the first terminal 110 and the second terminal 120.
In the embodiment, when the server receives the positioning request message sent by the first terminal or the second terminal in the call, the current positions of the first terminal and the second terminal are respectively determined, and the relative positions of the opposite ends of the call are respectively indicated to the first terminal and the second terminal based on the current positions of the first terminal and the second terminal, so that the problem that a user cannot accurately explain the position of the user or cannot accurately know the geographical position of the user by the opposite end in the call process in the related art is effectively solved, the two parties of the call can meet each other as soon as possible, and the outgoing meeting experience of the user is improved.
In an embodiment, before determining the current locations of the first terminal and the second terminal respectively, the method further comprises:
and receiving a positioning request message sent by the first terminal and/or the second terminal.
In this embodiment, only one terminal, for example, the first terminal or the second terminal, may send the positioning request message, or the first terminal and the second terminal may send the positioning request message at the same time, and the positioning request message may carry the current position.
In one embodiment, determining the current locations of the first terminal and the second terminal respectively in the process of calling comprises:
sending a position request message for requesting a position to the first terminal and/or the second terminal;
receiving a position response message returned by the first terminal and/or the second terminal according to the position request message;
and analyzing the position response message returned by the first terminal and/or the second terminal to obtain the current position of the first terminal and/or the second terminal.
In this embodiment, when the positioning request message does not carry the current location of the terminal that sent the positioning request message, the server may send the positioning request message for requesting the location to the first terminal and the second terminal at the same time, and when the positioning request message carries the current location of the terminal that sent the positioning request message (e.g., the first terminal), the server may send the positioning request message only to the other terminal, and determine the current locations of the first terminal and the second terminal according to the received location response message.
In an embodiment, indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal includes:
determining a current distance between the first terminal and the second terminal;
and when the current distance between the first terminal and the second terminal is smaller than a first distance threshold value, sending the relative position of the opposite call terminal to the first terminal and/or the second terminal.
In this embodiment, the server may send the relative positions of the opposite call ends to the first terminal and the second terminal when the current distance between the first terminal and the second terminal is smaller than the first distance threshold, for example, 50 meters.
In an embodiment, sending the relative position of the opposite call end to the first terminal and/or the second terminal includes:
respectively sending position prompting messages to the first terminal and the second terminal, wherein the position prompting messages are used for prompting whether the first terminal and the second terminal indicate the position of a call opposite terminal or not;
and when a response message indicating the position of the call opposite end and sent by the first terminal and/or the second terminal according to the position prompt message is received, sending the relative position of the call opposite end to the first terminal and/or the second terminal according to the response message.
In this embodiment, the server may send a location prompt message to the first terminal and the second terminal respectively to remind the user whether to indicate the location of the opposite-to-talk terminal when the current distance between the first terminal and the second terminal is smaller than the first distance threshold, for example, 50 meters, and send the relative location of the opposite-to-talk terminal to the first terminal and/or the second terminal when receiving a response message indicating the location of the opposite-to-talk terminal.
In one embodiment, the manner of indicating the relative location of the opposite end of the call includes at least one of:
a voice navigation mode; and/or the presence of a gas in the gas,
the manner of map display; and/or the presence of a gas in the gas,
the manner in which the pointer points; and/or the presence of a gas in the gas,
the way the words indicate.
In this embodiment, the server may flexibly indicate the relative position of the call peer in a plurality of ways.
In an embodiment, indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal includes:
determining the residence time of the first terminal and/or the second terminal in the area where the current position is located;
and when the stay time of the first terminal and/or the second terminal in the area where the current position is located exceeds a preset time threshold, indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal.
In the embodiment, when the stay time of the first terminal or the second terminal at a certain position is determined to exceed the preset time threshold, it is determined that the user has a positioning requirement, and then it is determined whether to respectively indicate the positions of the opposite call ends to the first terminal and the second terminal, so that the positioning intelligence is improved.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
Fig. 2A is a flowchart illustrating a positioning method during a call according to an exemplary embodiment, fig. 2B is a flowchart illustrating a method of step 202 according to an exemplary embodiment, fig. 2C is a flowchart illustrating a method of step 203 according to an exemplary embodiment, fig. 2D is a flowchart illustrating a method of step 203 according to an exemplary embodiment, fig. 2E is a flowchart illustrating a method of step 203 according to an exemplary embodiment; in this embodiment, by using the above method provided by the embodiment of the present disclosure, an example is described by using an example where a server indicates a relative position to a first terminal and a second terminal that are in a call, as shown in fig. 2A, the method includes the following steps:
in step 201, a positioning request message sent by the first terminal and/or the second terminal is received.
In an embodiment, the location request message may carry a current location of a terminal that sent the location request message.
In step 202, the current locations of the first terminal and the second terminal, respectively, in a call are determined.
In an embodiment, if the location request message carries the current location of the terminal that sent the location request message, the current location of the terminal that sent the location request message may be resolved from the location request message, for example, if the server receives the location request message sent by the first terminal and the location request message carries the current location of the first terminal, the current location of the first terminal may be resolved from the location request message.
In an embodiment, for a case that there is no terminal sending a positioning request message or there is no current location in the positioning request message, the current locations of the first terminal and the second terminal in a call may be determined by the method of the embodiment shown in fig. 2B.
As shown in fig. 2B, the method comprises the following steps:
in step 211, a location request message for requesting a location is transmitted to the first terminal and/or the second terminal.
In step 212, a location response message returned by the first terminal and/or the second terminal according to the location request message is received.
In step 213, the location response message returned by the first terminal and/or the second terminal is analyzed to obtain the current location of the first terminal and/or the second terminal.
In step 203, the relative position of the opposite end of the call is indicated to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
In an embodiment, the relative position of the opposite call end can be indicated to the first terminal and/or the second terminal in any one of the following four ways.
The first method is as follows: and calculating the relative position of the first terminal and the second terminal between each other, and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal.
In an embodiment, the server may calculate, according to current positions of the first terminal and the second terminal, a relative position of the first terminal with respect to the second terminal and a position of the second terminal with respect to the first terminal, and simultaneously send the relative positions to the first terminal and the second terminal, or a sending relative position pointing to a call terminal initiating positioning, for example, the first terminal sends a positioning request message, the server determines that the first terminal is located on floor 40 of first create lansan, and the second terminal is located on floor 83 of first create lansan, then the server may calculate that the first terminal is located 110 meters south of the second terminal, the second terminal is located 110 meters north of the first terminal, and the server may send the relative position only to the first terminal or may send the relative position to the first terminal and the second terminal at the same time.
The second method comprises the following steps: and indicating the relative position of the opposite call end to the first terminal and/or the second terminal according to the distance between the first terminal and the second terminal.
In an embodiment, the relative position of the opposite end of the call can be indicated to the first terminal and/or the second terminal through the embodiment shown in fig. 2C, as shown in fig. 2C, the method includes the following steps:
in step 221, a current distance between the first terminal and the second terminal is determined.
In step 222, when the current distance between the first terminal and the second terminal is smaller than the first distance threshold, the relative position of the opposite call terminal is sent to the first terminal and/or the second terminal.
In an embodiment, the server may calculate a distance between the first terminal and the second terminal according to current positions of the first terminal and the second terminal, and when the distance between the first terminal and the second terminal is smaller than a first distance threshold, simultaneously send the relative position to the first terminal and the second terminal, or only send the relative position to the call terminal initiating the positioning, for example, if the first distance threshold is 100 meters, the first terminal sends the positioning request message, and the server determines that the first terminal is located on the first lansan 40 th floor, and the second terminal is located on the first lansan 83 th floor, then the server may calculate that the distance between the first terminal and the second terminal is 110 meters, and is greater than the first distance threshold, and may not send the relative position of the opposite call terminal to the first terminal and/or the second terminal. In a further embodiment, when the distance between the first terminal and the second terminal is greater than the first distance threshold, the server may send a prompt message to the first terminal and/or the second terminal to remind that the distance between the first terminal and/or the second terminal is relatively long.
The third method comprises the following steps: and according to the distance between the first terminal and the second terminal, sending a position prompt message to the first terminal and/or the second terminal, and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal according to the feedback of the first terminal and/or the second terminal.
In an embodiment, the relative position of the opposite end of the call can be indicated to the first terminal and/or the second terminal through the embodiment shown in fig. 2D, as shown in fig. 2D, the method includes the following steps:
in step 231, the current distance between the first terminal and the second terminal is determined.
In step 232, when the current distance between the first terminal and the second terminal is smaller than the first distance threshold, position prompting messages are respectively sent to the first terminal and the second terminal, and the position prompting messages are used for prompting whether the first terminal and the second terminal indicate the position of the opposite end of the call.
In step 233, when a response message indicating the location of the opposite end of the call is received, which is sent by the first terminal and/or the second terminal according to the location hint message, the relative location of the opposite end of the call is sent to the first terminal and/or the second terminal according to the response message.
In an embodiment, the server may calculate a distance between the first terminal and the second terminal according to current positions of the first terminal and the second terminal, and send a position prompt message to the first terminal and/or the second terminal when the distance between the first terminal and the second terminal is smaller than a first distance threshold, the first terminal and/or the second terminal may display corresponding prompt information after receiving the position prompt message, for example, display prompt information of "whether to indicate a relative position of an opposite party", when the user inputs feedback information indicating confirmation according to the prompt information, the first terminal and/or the second terminal may send a response message to the server, and the server may indicate a position of the opposite party to the call to the first terminal and/or the second terminal according to the response message. For example, assuming that the first distance threshold is 120 meters, the first terminal sends the positioning request message, the server determines that the first terminal is located on the first tower of lankwan 40, and the second terminal is located on the second tower of lankwan 83, the server may calculate that the distance between the first terminal and the second terminal is 110 meters, and if the distance is smaller than the first distance threshold, the server may send a position prompt message to the first terminal and/or the second terminal, and the server may indicate the relative position of the opposite end of the call when receiving a response message returned by the first terminal and/or the second terminal.
The method is as follows: and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal according to the stay time of the first terminal and the second terminal in the area where the current position is located.
In an embodiment, the relative position of the opposite end of the call can be indicated to the first terminal and/or the second terminal through the embodiment shown in fig. 2E, as shown in fig. 2E, the method includes the following steps:
in step 241, the dwell time of the first terminal and/or the second terminal in the area where the current location is located is determined.
In step 242, when the staying time of the first terminal and/or the second terminal in the area where the current position is located exceeds a preset time threshold, indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal.
In an embodiment, the server may determine, according to the current positions of the first terminal and the second terminal, the areas where the current positions of the first terminal and the second terminal are located, for example, a range of 5 meters around the current position of the first terminal is the area where the current position of the first terminal is located, a range of 5 meters around the current position of the second terminal is the area where the current position of the second terminal is located, and the like. When the server determines that the staying time of the first terminal or the second terminal in the area where the current position is located exceeds the preset time threshold, the server can indicate the relative position of the opposite call terminal to the first terminal and/or the second terminal.
In this embodiment, the server may flexibly determine how to indicate the relative position of the opposite end of the call to the first terminal and/or the second terminal in multiple ways, thereby effectively solving the problem that the user cannot accurately indicate the position of the user or cannot accurately know the geographical position of the user by the opposite end in the call process in the related art, and further enabling the two parties of the call to meet each other as soon as possible, and improving the experience of the user in going out for meeting.
Fig. 3A is a flowchart illustrating a positioning method during a call according to an exemplary embodiment, and fig. 3B is an interface diagram illustrating a mobile terminal performing a positioning operation during a call according to an exemplary embodiment; in this embodiment, an exemplary description is given by taking a positioning operation in a call process executed by a terminal as an example by using the above method provided by the embodiment of the present disclosure, as shown in fig. 3A, including the following steps:
in step 301, a location request message is sent to the server, where the location request message is used to instruct the server to return the relative position of the call peer of the terminal.
In an embodiment, the operation of sending the location request message to the server may be triggered by a preset operation mode, where the preset operation mode may be a preset virtual key, for example, referring to fig. 3B, when the first terminal is in a call, a "location" key may be displayed on the call interface, and when the user clicks the "location" key, the location operation may be triggered; in another embodiment, the preset operation mode may be a preset physical key, for example, when the first terminal is in a call, the preset physical key is pressed to trigger the positioning operation; in another embodiment, the preset operation mode may be a mode of preset voice, for example, when the first terminal is in a call, if the user sends a preset voice message, such as "please locate the opposite party", the location operation may be triggered. In an embodiment, the positioning request message may or may not carry the current location of the first terminal.
In step 302, the relative position of the opposite end of the call returned by the server according to the positioning request message is received.
In step 303, the relative position of the opposite end of the call is output.
In an embodiment, the relative position of the opposite end of the call can be played in a voice navigation manner, for example, voice information of "the small plum talking with you is located at a position of 30 meters in the northeast direction of you" is played; in a further embodiment, the position of the opposite call end can be displayed in a map display mode; in a further embodiment, the position of the opposite end of the call can also be indicated by pointing to a pointer, for example, a pointer is displayed according to the general discrimination method of moving up, down, south, left, west and right to indicate the relative position of the call terminal; in still another embodiment, the position of the opposite end of the call can be indicated by means of text indication, for example, text information of "the small plum in the call with you is located at the position of 30 meters in the northeast direction of you" is displayed; in another embodiment, the location of the opposite end of the call may also be indicated by a combination of any two or more of the above manners.
In this embodiment, when the first terminal or the second terminal that is in a call receives a positioning operation triggered by a user, a positioning request message may be sent to the server, where the positioning request message is used by the server to indicate a relative position of the opposite end of the call, so as to effectively solve the problem that the user cannot accurately specify the location of the user or cannot enable the opposite end to accurately know the geographical location of the user in the call process in the related art, and thus, two parties in the call can meet each other as soon as possible, and the experience of the user in an outgoing meeting is improved.
In one embodiment, sending a location request message to a server includes:
when the fact that the traveling time of the terminal in the preset traveling distance exceeds a preset time threshold value is detected, a positioning request message is sent to a server; or,
and when detecting that the average moving speed of the terminal in a preset time period is smaller than a preset speed threshold value, sending a positioning request message to the server.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
Fig. 4A is a flowchart of a positioning method during a call according to an exemplary embodiment a first, and fig. 4B is a flowchart of a positioning method during a call according to an exemplary embodiment a second; in this embodiment, the above method provided by the embodiment of the present disclosure is exemplarily explained by taking an example that the terminal determines when to perform the positioning operation, as shown in fig. 4A, including the following steps:
in step 401, a travel time period of the terminal within a preset travel distance is detected.
In one embodiment, the predetermined travel distance may be a relatively small distance, such as a range of 5 meters. Whether the terminal wanders in place may be determined based on a length of travel of the terminal within a preset distance of travel, for example, if the length of travel of the terminal within a range of 5 meters exceeds 10 minutes or more, it may be said that the terminal wanders in place.
In step 402, when the travel time length within the preset travel distance exceeds a preset time length threshold, the terminal sends a positioning request message to the server.
In one embodiment, the preset duration threshold may be a relatively large duration, such as more than 10 minutes.
As shown in fig. 4B, another method flow for determining when to perform a positioning operation includes the following steps:
in step 411, an average moving speed of the terminal within a preset time period is detected.
In one embodiment, the predetermined time period may be a relatively long time period, such as 5 minutes, 10 minutes, and the like.
In step 412, the terminal sends a location request message to the server when the average moving speed within the preset time period is less than the preset speed threshold.
In an embodiment, the preset speed threshold may be a relatively small speed value, and when the moving speed is less than the preset speed threshold, it may be understood that the user wanders in place, for example, the average moving speed of the terminal in a period of 5 minutes is less than 1 meter/minute.
In the embodiment, whether the server needs to send the positioning request message or not can be determined through the moving speed of the user terminal, so that the problem that the user cannot accurately explain the position of the user or cannot enable the opposite side to accurately know the geographical position of the user in the conversation process in the related technology is effectively solved, the two parties in conversation can meet each other as soon as possible, and the outgoing meeting experience of the user is improved.
Corresponding to the embodiment of the positioning method in the conversation process, the disclosure also provides an embodiment of a positioning device in the conversation process.
Fig. 5 is a block diagram of a positioning apparatus during a call according to an exemplary embodiment, which is applied to a server, and as shown in fig. 5, the positioning apparatus during the call includes:
a position determining module 51 configured to determine current positions of the first terminal and the second terminal, respectively, which are in a call;
and the indicating module 52 is configured to indicate the relative position of the opposite call end to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
Fig. 6 is a block diagram of another positioning apparatus during a call according to an exemplary embodiment, and as shown in fig. 6, on the basis of the embodiment shown in fig. 5, in an embodiment, the apparatus further includes:
the first receiving module 53 is configured to receive a positioning request message sent by the first terminal and/or the second terminal.
In one embodiment, the position determination module 51 includes:
a location request sub-module 511 configured to transmit a location request message for requesting a location to the first terminal and/or the second terminal;
a location response submodule 512 configured to receive a location response message returned by the first terminal and/or the second terminal according to the location request message;
the parsing sub-module 513 is configured to parse the location response message returned by the first terminal and/or the second terminal to obtain the current location of the first terminal and/or the second terminal.
Fig. 7 is a block diagram illustrating a positioning apparatus during a call according to an exemplary embodiment, as shown in fig. 7, based on the embodiments shown in fig. 5 and/or 6, in one embodiment,
in one embodiment, the indication module 52 includes:
a first determining submodule 521 configured to determine a current distance between the first terminal and the second terminal;
and a first sending submodule 522 configured to send the relative position of the opposite call end to the first terminal and/or the second terminal when the current distance between the first terminal and the second terminal is smaller than the first distance threshold.
In one embodiment, the first sending submodule 522 includes:
a second sending submodule 5221 configured to send location prompting messages to the first terminal and the second terminal, respectively, when the current distance between the first terminal and the second terminal is smaller than the first distance threshold, where the location prompting messages are used for prompting whether the first terminal and the second terminal indicate the location of the opposite end of the call;
a third sending submodule 5222, configured to, when receiving a response message indicating the location of the call counterpart sent by the first terminal and/or the second terminal according to the location hint message, send the relative location of the call counterpart to the first terminal and/or the second terminal according to the response message.
In one embodiment, the indication module 52 includes:
a time determining submodule 523 configured to determine a staying time of the first terminal and/or the second terminal in an area where the current location is located;
and the fourth sending submodule 524, configured to indicate the relative position of the opposite call terminal to the first terminal and/or the second terminal when the staying time of the first terminal and/or the second terminal in the area where the current position is located exceeds a preset time threshold.
Fig. 8 is a block diagram of a positioning apparatus during a call according to an exemplary embodiment, which is applied to a terminal, and as shown in fig. 8, the positioning apparatus during the call includes:
a second sending module 81 configured to send a positioning request message to the server, where the positioning request message is used to instruct the server to determine current positions of the first terminal and the second terminal that are in a call;
a third receiving module 82, configured to receive the relative position of the call peer returned by the server according to the positioning request message;
and a position output module 83 configured to output the relative position of the opposite end of the call.
Fig. 9 is a block diagram of a positioning apparatus in another call process according to an exemplary embodiment, and as shown in fig. 9, on the basis of the above embodiment shown in fig. 8, in an embodiment, the second sending module 81 includes:
a fifth transmitting submodule 811 configured to transmit a positioning request message to the server when it is detected that a travel time length of the terminal within the preset travel distance exceeds a preset time length threshold; or,
a sixth sending submodule 818 configured to send a positioning request message to the server when it is detected that the average moving speed of the terminal in the preset time period is less than the preset speed threshold.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
According to an embodiment of the present disclosure, there is also provided a server including the positioning apparatus in the call process in any one of fig. 5 to 7. The positioning device in the call process is described above in detail, and is not described here again.
According to an embodiment of the present disclosure, there is also provided an electronic device including the positioning apparatus in the call process in fig. 8 to 9. The positioning device in the call process is described above in detail, and is not described here again.
According to an embodiment of the present disclosure, there is also provided a positioning apparatus in a call process, the apparatus including:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
respectively determining the current positions of a first terminal and a second terminal which are in conversation;
and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
According to an embodiment of the present disclosure, there is also provided a positioning apparatus in a call process, the apparatus including:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite end of the call.
Fig. 10 is a block diagram illustrating a positioning apparatus adapted for use during a call according to an example embodiment. For example, the apparatus 1000 may be the first terminal or the second terminal, such as a smart phone.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 can include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operation at the device 1000. Examples of such data include instructions, messages, pictures, etc. for any application or method operating on device 1000. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 1000. Power components 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of apparatus 1000, sensor assembly 1014 may also detect a change in position of apparatus 1000 or a component of apparatus 1000, the presence or absence of user contact with apparatus 1000, orientation or acceleration/deceleration of apparatus 1000, and a change in temperature of apparatus 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a distance sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. Device 1000 may access a wireless network based on a communication standard, such as WIFI, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the positioning method during the call.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of an apparatus, enable the apparatus to perform any of the above positioning methods in a call process according to the second aspect, the method comprising:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite call end.
Fig. 11 is a block diagram illustrating a positioning apparatus adapted for use during a call according to an example embodiment. For example, the apparatus 1100 may be a server.
Referring to fig. 11, the apparatus 1100 includes a processing component 1122 that further includes one or more processors and memory resources, represented by memory 1132, for storing instructions, such as application programs, executable by the processing component 1122. The application programs stored in memory 1132 may include one or more modules that each correspond to a set of instructions. In addition, the processing component 1122 is configured to execute the instructions to perform the positioning method during the call, including:
respectively determining the current positions of a first terminal and a second terminal which are in conversation; and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
The apparatus 1100 may also include a power component 1126 configured to perform power management of the apparatus 1100, a wired or wireless network interface 1150 configured to connect the apparatus 1100 to a network, and an input/output (I/O) interface 1158. The apparatus 1100 may operate based on an operating system stored in the memory 1132, such as Windows Server, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as memory 1132 that includes instructions executable by processing component 1122 of apparatus 1100 to perform the methods described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor on a server side, enable the server to perform any one of the methods of the first aspect:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite end of the call.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (21)
1. A positioning method in a call process is applied to a server, and the method comprises the following steps:
respectively determining the current positions of a first terminal and a second terminal which are in conversation;
and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
2. The method of claim 1, wherein prior to determining the current location of the first and second terminals, respectively, that are engaged in a call, the method further comprises:
and receiving a positioning request message sent by the first terminal and/or the second terminal.
3. The method of claim 1, wherein the determining the current locations of the first terminal and the second terminal respectively in the process of communication comprises:
sending a location request message for requesting a location to the first terminal and/or the second terminal;
receiving a position response message returned by the first terminal and/or the second terminal according to the position request message;
and analyzing the position response message returned by the first terminal and/or the second terminal to obtain the current position of the first terminal and/or the second terminal.
4. The method of claim 1, wherein the indicating the relative position of the opposite call end to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal comprises:
determining a current distance between the first terminal and the second terminal;
and when the current distance between the first terminal and the second terminal is smaller than a first distance threshold value, sending the relative position of the opposite call terminal to the first terminal and/or the second terminal.
5. The method according to claim 4, wherein the sending the relative position of the call counterpart to the first terminal and/or the second terminal comprises:
respectively sending position prompting messages to the first terminal and the second terminal, wherein the position prompting messages are used for prompting whether the first terminal and the second terminal indicate the position of a call opposite terminal or not;
and when a response message indicating the position of the call opposite end, which is sent by the first terminal and/or the second terminal according to the position prompt message, is received, sending the relative position of the call opposite end to the first terminal and/or the second terminal according to the response message.
6. The method of claim 1, wherein the means for indicating the relative location of the talking peer comprises at least one of:
a voice navigation mode; and/or the presence of a gas in the gas,
the manner of map display; and/or the presence of a gas in the gas,
the manner in which the pointer points; and/or the presence of a gas in the gas,
the way the words indicate.
7. The method of claim 1, wherein the indicating the relative position of the opposite call end to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal comprises:
determining the residence time of the first terminal and/or the second terminal in the area where the current position is located;
and when the staying time of the first terminal and/or the second terminal in the area where the current position is located exceeds a preset time threshold, indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal.
8. A positioning method in a call process is characterized in that the method is applied to a terminal and comprises the following steps:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite call end.
9. The method of claim 8, wherein sending a location request message to a server comprises:
when the fact that the traveling time of the terminal in the preset traveling distance exceeds a preset time threshold value is detected, the positioning request message is sent to the server; or,
and when detecting that the average moving speed of the terminal in a preset time period is smaller than a preset speed threshold value, sending the positioning request message to the server.
10. An apparatus for positioning during a call, the apparatus comprising:
the system comprises a position determining module, a position determining module and a position determining module, wherein the position determining module is configured to respectively determine the current positions of a first terminal and a second terminal which are in conversation;
the indicating module is configured to indicate the relative position of the opposite call end to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
11. The apparatus of claim 10, further comprising:
a first receiving module configured to receive a positioning request message sent by the first terminal and/or the second terminal.
12. The apparatus of claim 10, wherein the location determination module comprises:
a location request submodule configured to send a location request message for requesting a location to the first terminal and/or the second terminal;
the position response submodule is configured to receive a position response message returned by the first terminal and/or the second terminal according to the position request message;
and the analysis submodule is configured to analyze the position response message returned by the first terminal and/or the second terminal to obtain the current position of the first terminal and/or the second terminal.
13. The apparatus of claim 10, wherein the indication module comprises:
a first determining submodule configured to determine a current distance between the first terminal and the second terminal;
the first sending submodule is configured to send the relative position of the opposite call terminal to the first terminal and/or the second terminal when the current distance between the first terminal and the second terminal is smaller than a first distance threshold.
14. The apparatus of claim 13, wherein the first sending submodule comprises:
a second sending submodule configured to send location prompting messages to the first terminal and the second terminal respectively when a current distance between the first terminal and the second terminal is smaller than a first distance threshold, where the location prompting messages are used for prompting whether the first terminal and the second terminal indicate a location of a call opposite terminal;
and the third sending submodule is configured to send the relative position of the call opposite end to the first terminal and/or the second terminal according to the response message when receiving the response message which indicates the position of the call opposite end and is sent by the first terminal and/or the second terminal according to the position prompt message.
15. The apparatus of claim 10, wherein the indication module comprises:
the time determination submodule is configured to determine the stay time of the first terminal and/or the second terminal in the area where the current position is located;
and the fourth sending submodule is configured to indicate the relative position of the opposite call terminal to the first terminal and/or the second terminal when the staying time of the first terminal and/or the second terminal in the area where the current position is located exceeds a preset time threshold.
16. An apparatus for positioning during a call, the apparatus comprising:
the second sending module is configured to send a positioning request message to a server, wherein the positioning request message is used for indicating the server to respectively determine the current positions of the first terminal and the second terminal which are in conversation;
a third receiving module, configured to receive the relative position of the call opposite end returned by the server according to the positioning request message;
and the position output module is configured to output the relative position of the opposite call end.
17. The apparatus of claim 16, wherein the second sending module comprises:
a fifth sending submodule configured to send the positioning request message to the server when it is detected that a travel time of the terminal within a preset travel distance exceeds a preset time threshold; or,
a sixth sending submodule configured to send the positioning request message to the server when it is detected that the average moving speed of the terminal within a preset time period is less than a preset speed threshold.
18. An apparatus for positioning during a call, the apparatus comprising:
a first processor;
a first memory for storing first processor-executable instructions;
wherein the first processor is configured to:
respectively determining the current positions of a first terminal and a second terminal which are in conversation;
and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
19. An apparatus for positioning during a call, the apparatus comprising:
a second processor;
a second memory for storing second processor-executable instructions;
wherein the second processor is configured to:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite call end.
20. A non-transitory computer readable storage medium having computer instructions stored thereon which when executed by a processor implement the steps of:
respectively determining the current positions of a first terminal and a second terminal which are in conversation;
and indicating the relative position of the opposite call terminal to the first terminal and/or the second terminal based on the current positions of the first terminal and the second terminal.
21. A non-transitory computer readable storage medium having computer instructions stored thereon which when executed by a processor implement the steps of:
sending a positioning request message to a server, wherein the positioning request message is used for indicating the server to return the relative position of a call opposite end of the terminal;
receiving the relative position of the opposite call terminal returned by the server according to the positioning request message;
and outputting the relative position of the opposite call end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710254515.8A CN107071192A (en) | 2017-04-18 | 2017-04-18 | Localization method and device in communication process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710254515.8A CN107071192A (en) | 2017-04-18 | 2017-04-18 | Localization method and device in communication process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107071192A true CN107071192A (en) | 2017-08-18 |
Family
ID=59599845
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710254515.8A Pending CN107071192A (en) | 2017-04-18 | 2017-04-18 | Localization method and device in communication process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107071192A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109813298A (en) * | 2019-01-31 | 2019-05-28 | 维沃移动通信有限公司 | A kind of air navigation aid and terminal device |
WO2022242405A1 (en) * | 2021-05-19 | 2022-11-24 | 北京荣耀终端有限公司 | Voice call method and apparatus, electronic device, and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102440011A (en) * | 2011-10-24 | 2012-05-02 | 华为终端有限公司 | Method for sharing terminal position and terminal device |
CN102761824A (en) * | 2012-08-03 | 2012-10-31 | 深圳中兴网信科技有限公司 | Mobile terminal, positioning server and positioning method |
US20150319296A1 (en) * | 2004-09-21 | 2015-11-05 | Advanced Ground Information Systems, Inc. | Method of providing a cellular phone/pda communication system |
CN105101088A (en) * | 2015-07-29 | 2015-11-25 | 科泰乐讯(北京)通信设备有限公司 | Method and device for determining mobile terminal call position |
CN105466416A (en) * | 2015-11-17 | 2016-04-06 | 广东欧珀移动通信有限公司 | A route recommending method and a user terminal |
-
2017
- 2017-04-18 CN CN201710254515.8A patent/CN107071192A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150319296A1 (en) * | 2004-09-21 | 2015-11-05 | Advanced Ground Information Systems, Inc. | Method of providing a cellular phone/pda communication system |
CN102440011A (en) * | 2011-10-24 | 2012-05-02 | 华为终端有限公司 | Method for sharing terminal position and terminal device |
CN102761824A (en) * | 2012-08-03 | 2012-10-31 | 深圳中兴网信科技有限公司 | Mobile terminal, positioning server and positioning method |
CN105101088A (en) * | 2015-07-29 | 2015-11-25 | 科泰乐讯(北京)通信设备有限公司 | Method and device for determining mobile terminal call position |
CN105466416A (en) * | 2015-11-17 | 2016-04-06 | 广东欧珀移动通信有限公司 | A route recommending method and a user terminal |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109813298A (en) * | 2019-01-31 | 2019-05-28 | 维沃移动通信有限公司 | A kind of air navigation aid and terminal device |
CN109813298B (en) * | 2019-01-31 | 2021-07-20 | 维沃移动通信有限公司 | Navigation method and terminal equipment |
WO2022242405A1 (en) * | 2021-05-19 | 2022-11-24 | 北京荣耀终端有限公司 | Voice call method and apparatus, electronic device, and computer readable storage medium |
EP4113961A4 (en) * | 2021-05-19 | 2023-10-11 | Honor Device Co., Ltd. | Voice call method and apparatus, electronic device, and computer readable storage medium |
US20240223692A1 (en) * | 2021-05-19 | 2024-07-04 | Beijing Honor Device Co., Ltd. | Voice call method and apparatus, electronic device, and computer-readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20160352661A1 (en) | Video communication method and apparatus | |
CN107948926B (en) | Intelligent device sharing method and device | |
CN106790043B (en) | Method and device for sending message in live broadcast application | |
US20170085697A1 (en) | Method and device for extending call function | |
EP3407279A1 (en) | Method, apparatus and terminal device for invoking a virtual public transport card | |
EP3276974A1 (en) | Video sharing method and apparatus, computer program and recording medium | |
CN107635074B (en) | Method, apparatus and computer-readable storage medium for controlling alarm | |
CN114430920B (en) | Capability reporting method and device, and capability determining method and device | |
CN105744470B (en) | Positioning information transmission method, apparatus and system | |
CN105446616A (en) | Screen display control method, apparatus and device | |
CN105049219B (en) | Flow booking method and system, mobile terminal and server | |
CN105427161A (en) | Monetary exchange rate exchange method and device | |
CN105101078B (en) | Information prompting method, terminal and server | |
CN108718439B (en) | Data transmission method and device | |
CN105511739A (en) | Message prompting method and device | |
CN106533907B (en) | Information sending method and device | |
CN106534495B (en) | The method, device and equipment of information processing | |
CN105282295A (en) | Candidate contact recommendation method and device | |
EP3125514A1 (en) | Method and device for state notification | |
CN106506808B (en) | Method and device for prompting communication message | |
CN106878654B (en) | Video communication method and device | |
CN104780256A (en) | Address book management method and device and intelligent terminal | |
CN107071192A (en) | Localization method and device in communication process | |
CN110121148B (en) | Interphone team method and device | |
CN105101076B (en) | Information reminding method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |