CN109618055B - Position sharing method and mobile terminal - Google Patents

Position sharing method and mobile terminal Download PDF

Info

Publication number
CN109618055B
CN109618055B CN201811594313.9A CN201811594313A CN109618055B CN 109618055 B CN109618055 B CN 109618055B CN 201811594313 A CN201811594313 A CN 201811594313A CN 109618055 B CN109618055 B CN 109618055B
Authority
CN
China
Prior art keywords
mobile terminal
orientation
user
face
determining
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
CN201811594313.9A
Other languages
Chinese (zh)
Other versions
CN109618055A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811594313.9A priority Critical patent/CN109618055B/en
Publication of CN109618055A publication Critical patent/CN109618055A/en
Application granted granted Critical
Publication of CN109618055B publication Critical patent/CN109618055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Abstract

The embodiment of the invention discloses a position sharing method and a mobile terminal, wherein the method comprises the following steps: determining the orientation of the mobile terminal and an included angle between the face of a user and a screen of the mobile terminal; the orientation of the mobile terminal is the orientation of the mobile terminal under a geographic coordinate system; and marking the orientation of the face of the user in a position sharing interface according to the orientation of the mobile terminal and the included angle. By the position sharing method provided by the embodiment of the invention, the mobile terminal can provide accurate position sharing information.

Description

Position sharing method and mobile terminal
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a position sharing method and a mobile terminal.
Background
With the rapid development of mobile terminal technology, the types of applications that can be installed in mobile terminals are increasing. The user can not only chat in voice and watch the video shot image through the mobile terminal, but also share the position with the communication friend.
At present, when a mobile terminal performs position sharing, the orientation and the position of the mobile terminal are detected through a positioning system and a gravity sensor arranged on the mobile terminal, and then the orientation and the position of the mobile terminal are marked in a position sharing interface, so that an opposite side can determine the position of a user according to the marks.
When the position sharing method is adopted for position sharing, when a target object is in a place with high people stream density, the marked position sharing information is only a rough position, and a plurality of people may exist in the position area at the same time, so that the opposite party cannot quickly and accurately position the target object, and the user experience is influenced. Therefore, the existing position sharing method cannot provide accurate position information sharing.
Disclosure of Invention
The embodiment of the invention provides a position sharing method, which aims to solve the problem that the existing position sharing method cannot provide accurate shared position information.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a location sharing method, which is applied to a mobile terminal, where the method includes: determining the orientation of the mobile terminal and an included angle between the face of a user and a screen of the mobile terminal; the orientation of the mobile terminal is the orientation of the mobile terminal under a geographic coordinate system; and marking the orientation of the face of the user in a position sharing interface according to the orientation of the mobile terminal and the included angle.
In a second aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal includes: the determining module is used for determining the orientation of the mobile terminal and an included angle between the face of the user and the screen of the mobile terminal; the orientation of the mobile terminal is the orientation of the mobile terminal under a geographic coordinate system; and the marking module is used for marking the orientation of the face of the user in a position sharing interface according to the orientation of the mobile terminal and the included angle.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored in the memory and being executable on the processor, where the computer program, when executed by the processor, implements any one of the steps of the location sharing method described in the embodiment of the present invention.
In a fourth aspect, the present invention provides a computer-readable storage medium, where the computer-readable storage medium stores thereon a computer program, and the computer program, when executed by a processor, implements the steps of any one of the location sharing methods described in the embodiments of the present invention.
In the embodiment of the invention, the orientation of the mobile terminal is determined, and the included angle between the face of a user and the screen of the mobile terminal is determined; the orientation of the face of the user is marked in the position sharing interface according to the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal, accurate position sharing information can be displayed in the position sharing interface, and the user can conveniently and quickly find a target object.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings.
In the drawings:
fig. 1 is a flowchart illustrating steps of a location sharing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a location sharing method according to a second embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a position relationship among a first reference point, a second reference point and a screen when a face of a user is aligned with the screen of the mobile terminal;
FIG. 4 is a schematic diagram illustrating the position relationship between the first reference point, the second reference point and the screen when the user faces left;
fig. 5 is a block diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a mobile terminal according to a fourth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flowchart illustrating steps of a location sharing method according to a first embodiment of the present invention is shown.
The position sharing method of the embodiment of the invention comprises the following steps:
step 101: the orientation of the mobile terminal is determined.
Wherein the orientation is the orientation of the mobile terminal in a geographic coordinate system. The specific way of determining the orientation and the position of the mobile terminal may refer to related technologies, which is not specifically limited in the embodiment of the present invention.
Furthermore, the mobile terminal may determine the location processed by the mobile terminal while determining the orientation. For example: the position of the mobile terminal can be determined through a positioning system in the mobile terminal, and the orientation of the mobile terminal can be determined through modules such as an electronic compass or a gravity sensor in the mobile terminal.
Step 102: and determining an included angle between the face of the user and the screen of the mobile terminal.
In a specific implementation process, angle data of the face of the user and a screen of the mobile terminal can be acquired through a 3D camera in the mobile terminal. For example: the 3D camera can be used for carrying out three-dimensional modeling on the head of the user, and after modeling is completed, the 3D camera is used for analyzing the human eyes and the human face depth, so that the included angle between the human face of the user and the screen is calculated.
It should be noted that step 102 is not limited to be executed after step 101, and may also be executed in parallel with step 101 or before step 101.
Step 103: and marking the orientation of the face of the user in the position sharing interface according to the orientation and the included angle of the mobile terminal.
The orientation of the face of the user can be determined through the orientation and the included angle of the mobile terminal. When the orientation of the face of the user is marked in the position sharing interface, the position and the orientation of the mobile terminal can be marked in the position sharing interface, an included angle between the face and a screen of the mobile terminal is displayed at the same time, the orientation of the mobile terminal displayed in the position sharing interface can be corrected, the face orientation of the target object can be accurately displayed, and the target object can be conveniently and quickly found out from people by an opposite party.
The orientation mark of the face of the user may be in the form of an arrow or text information, and the embodiment of the present invention is not particularly limited to this.
The position sharing method provided by the embodiment of the invention determines the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal; the orientation of the face of the user is marked in the position sharing interface according to the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal, accurate position sharing information can be displayed in the position sharing interface, and the user can conveniently and quickly find a target object.
Example two
Referring to fig. 2, a flowchart illustrating steps of a location sharing method according to a second embodiment of the present invention is shown.
The position sharing method of the embodiment of the invention comprises the following steps:
step 201: the orientation of the mobile terminal is determined.
Wherein, the orientation is the orientation of the mobile terminal under the geographic coordinate system. A preferred way of determining the orientation of the mobile terminal is: and determining the orientation of the mobile terminal through an electronic compass arranged in the mobile terminal. In addition, the position of the mobile terminal can be determined before the orientation of the mobile terminal is determined, and particularly the position of the mobile terminal can be determined through a positioning system arranged in the mobile terminal.
After the position and the orientation of the mobile terminal are determined, an included angle between the face of the user and the screen of the mobile terminal is determined, and the specific determination mode refers to the modes from step 202 to step 204.
In a preferred mode of the present invention, before the orientation of the mobile terminal is determined, the position of the mobile terminal is determined, and the distance between the user and the other party is determined according to the determined position of the mobile terminal and the position of the other party; and when the distance is smaller than the preset distance, executing a process of determining the orientation of the mobile terminal and an included angle between the face of the user and the screen of the mobile terminal. Accordingly, when the distance is greater than or equal to the preset distance, only the determined position and orientation of the mobile terminal are marked in the position sharing interface, and the distance between the user and the other party is continuously determined.
Compared with a scheme of blindly determining an included angle between the face of the user and the screen of the mobile terminal without considering the distance between the user and the other party, the optimal local mode can reduce the processing load of the mobile terminal. If the user is far away from the other party, even if the angle between the face of the user and the screen of the mobile terminal is displayed, the other party still cannot accurately locate the user at a long distance, so a preset distance is set in the preferred mode, and the angle between the face of the user and the screen of the mobile terminal is determined within the preset distance.
Step 202: and calling a camera to perform three-dimensional modeling on the face of the user to obtain a three-dimensional portrait.
In a specific implementation process, three-dimensional modeling can be performed on a user face based on an AR (Augmented Reality) technology, a VR (virtual Reality) technology, or a MR (mixed Reality) technology.
Step 203: a first reference point on the left face and a second reference point on the right face in the three-dimensional portrait are determined.
Wherein the first reference point is symmetrical with the second reference point.
Step 204: and determining an included angle between the face of the user and the screen of the mobile terminal based on the position relation among the first reference point, the second reference point and the screen.
As shown in fig. 3, when the face of the user faces the screen of the mobile terminal, a first reference point a on the left face of the user is generally symmetrical to a second reference point B on the right face of the user, and L is L, L is L if the two reference points are symmetrical, so that the included angles between L and L, and between L and L are 90 degrees.
Fig. 4 is a schematic diagram of a position relationship between the first reference point a, the second reference point B and the screen when the face of the user is left-biased, wherein the 3D sensor in the screen is selected as the screen reference point. The included angle between the face of the user and the screen of the mobile terminal can be calculated through the schematic diagram.
L1 and L2, L3 can be measured, and θ can be obtained from these three values1,θ0=90°-θ1
L4 and L5, L3 can be measured, and θ can be obtained from these three values3,θ0=θ3-90°。
Through theta1、θ3Two reference values can be corrected by theta0The accuracy of (2). Theta0The included angle between the face and the screen of the mobile terminal is shown. In a specific implementation process, a plurality of pairs of reference points can be set, namely, if N first reference points are selected on the left face of the user and N second reference points are selected on the right face of the user, N θ s can be obtained1、θ3. By N number of theta1And N number of theta3So that theta0The accuracy of (2) is higher.
Step 205: according to the orientation, a position sharing arrow is generated.
The generated shared arrow may characterize: the current position of the user and the current orientation of the mobile terminal, by which the direction of movement of the mobile terminal can be preliminarily determined.
Step 206: and generating an orientation correction arrow according to the included angle.
For example: if the included angle is 15 degrees left, the included angle between the orientation correction arrow and the orientation of the mobile terminal is 15 degrees left.
Step 207: and displaying a position sharing arrow in the position sharing interface, and displaying an orientation correction arrow at the starting position of the position sharing arrow.
For example: the orientation of the mobile terminal is 180 degrees, the angle between the face and the screen of the mobile terminal is 15 degrees to the left, and the orientation is 195 degrees after correction.
In this embodiment, the position and the orientation are marked in the position sharing interface, and the included angle between the face and the screen of the mobile terminal is displayed at the same time, so that the orientation displayed in the position sharing interface can be corrected, the orientation of the target object, namely the user, can be accurately displayed, and the opposite side can conveniently and quickly find the target object from the crowd.
In a specific implementation process, a reference line can be further displayed in the position sharing interface, the reference line connects the position of the user and the position of the opposite side into a straight line, a first end of the reference line is the position of the user, the other end of the reference line is the position of the opposite side, and the mobile terminals of the two sides respectively display orientation correction arrows corresponding to the angles between the respective users and the mobile terminal screens at the respective corresponding positions.
In the embodiment of the present invention, a single-side mobile terminal determines and displays position sharing information once in a position sharing interface as an example, and in a specific implementation process, both mobile terminals participating in position sharing execute the process to display respective position sharing information in the position sharing interface. In addition, along with the rotation of the faces of the two persons, the change situation of the direction correction arrow can be displayed on the position sharing interface.
The position sharing method provided by the embodiment of the invention determines the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal; the orientation of the face of the user is marked in the position sharing interface according to the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal, accurate position sharing information can be displayed in the position sharing interface, and the user can conveniently and quickly find a target object. In addition, according to the position sharing method provided by the embodiment of the invention, when the distance between the user and the opposite side is determined to be smaller than the preset distance, the process of determining the included angle between the face of the user and the screen of the mobile terminal is executed, and compared with the method of blindly determining the included angle between the face of the user and the screen of the mobile terminal without considering the distance between the user and the opposite side, the processing load of the mobile terminal can be reduced on the premise of meeting the user requirements.
EXAMPLE III
Referring to fig. 5, a block diagram of a mobile terminal according to a fourth embodiment of the present invention is shown.
The mobile terminal of the embodiment of the invention can comprise: a determining module 501, configured to determine an orientation of the mobile terminal and an included angle between a face of a user and a screen of the mobile terminal; the orientation of the mobile terminal is the orientation of the mobile terminal under a geographic coordinate system; a marking module 502, configured to mark, in a location sharing interface, an orientation of the user face according to the orientation of the mobile terminal and the included angle.
Preferably, when the determining module 501 determines the orientation of the mobile terminal, it is specifically configured to: and determining the orientation of the mobile terminal through an electronic compass in the mobile terminal.
Preferably, the determining module 501 comprises: the calling submodule 5011 is used for calling a camera to perform three-dimensional modeling on the user face to obtain a three-dimensional portrait; a reference point determination submodule 5012 configured to determine a first reference point on a left face and a second reference point on a right face in the three-dimensional portrait; wherein the first reference point is symmetrical to the second reference point; the included angle determining submodule 5013 is configured to determine an included angle between the user face and the mobile terminal screen based on a position relationship between the first reference point, the second reference point, and the screen.
Preferably, the marking module 502 comprises: the first generating submodule 5021 is used for generating a position sharing arrow according to the orientation; the second generating submodule 5022 is used for generating an orientation correction arrow according to the included angle; the marking sub-module 5023 is configured to display the position sharing arrow in a position sharing interface, and display the orientation correction arrow at a starting position of the position sharing arrow.
Preferably, the mobile terminal further includes: a position determining module 503, configured to determine a position of the mobile terminal before the determining module determines the orientation of the mobile terminal and an included angle between a face of a user and a screen of the mobile terminal; a distance determining module 504, configured to determine a distance between the user and the other party according to the location and the location of the other party; and the calling module 505 is configured to execute the determining module to determine the orientation of the mobile terminal and an included angle between the face of the user and the screen of the mobile terminal when the distance is smaller than a preset distance.
The mobile terminal provided in the embodiment of the present invention can implement each process implemented by the mobile terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
The mobile terminal provided by the embodiment of the invention determines the orientation of the mobile terminal and the included angle between the face of a user and the screen of the mobile terminal; the orientation of the face of the user is marked in the position sharing interface according to the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal, accurate position sharing information can be displayed in the position sharing interface, and the user can conveniently and quickly find a target object.
Example four
Referring to fig. 6, a block diagram of a mobile terminal according to a fifth embodiment of the present invention is shown.
Fig. 6 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where the mobile terminal 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 6 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to determine an orientation of the mobile terminal and an included angle between a face of a user and a screen of the mobile terminal; the orientation of the mobile terminal is the orientation of the mobile terminal under a geographic coordinate system; and marking the orientation of the face of the user in a position sharing interface according to the orientation of the mobile terminal and the included angle.
The mobile terminal provided by the embodiment of the invention determines the orientation of the mobile terminal and the included angle between the face of a user and the screen of the mobile terminal; the orientation of the face of the user is marked in the position sharing interface according to the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal, accurate position sharing information can be displayed in the position sharing interface, and the user can conveniently and quickly find a target object.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 602, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The mobile terminal 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light-Emitting Diode (O L ED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. Although the touch panel 6071 and the display panel 6061 are shown in fig. 6 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 608 is an interface through which an external device is connected to the mobile terminal 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 600 or may be used to transmit data between the mobile terminal 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 609 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby integrally monitoring the mobile terminal. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The mobile terminal 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process of the above-mentioned location sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the location sharing method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A position sharing method is applied to a mobile terminal, and is characterized by comprising the following steps:
determining the orientation of the mobile terminal and an included angle between the face of a user and a screen of the mobile terminal; the orientation of the mobile terminal is the orientation of the mobile terminal under a geographic coordinate system;
and marking the orientation of the face of the user in a position sharing interface according to the orientation of the mobile terminal and the included angle.
2. The method according to claim 1, wherein the step of determining the orientation of the mobile terminal comprises:
and determining the orientation of the mobile terminal through an electronic compass in the mobile terminal.
3. The method of claim 1, wherein the step of determining the angle between the face of the user and the screen of the mobile terminal comprises:
calling a camera to perform three-dimensional modeling on the user face to obtain a three-dimensional portrait;
determining a first reference point on a left face and a second reference point on a right face in the three-dimensional portrait; wherein the first reference point is symmetrical to the second reference point;
and determining an included angle between the user face and the mobile terminal screen based on the position relation between the first reference point, the second reference point and the screen.
4. The method according to claim 1, wherein the step of marking the orientation of the face of the user in the location sharing interface according to the orientation of the mobile terminal and the included angle comprises:
generating a position sharing arrow according to the orientation of the mobile terminal;
generating an orientation correction arrow according to the included angle;
displaying the position sharing arrow in a position sharing interface, and displaying the orientation correcting arrow at a starting position of the position sharing arrow.
5. The method according to claim 1, wherein before the step of determining the orientation of the mobile terminal and the angle between the face of the user and the screen of the mobile terminal, the method further comprises:
determining the position of the mobile terminal;
determining the distance between the user and the opposite side according to the position and the position of the opposite side;
and when the distance is smaller than a preset distance, executing the step of determining the orientation of the mobile terminal and the included angle between the face of the user and the screen of the mobile terminal.
6. A mobile terminal, characterized in that the mobile terminal comprises:
the determining module is used for determining the orientation of the mobile terminal and an included angle between the face of the user and the screen of the mobile terminal; the orientation of the mobile terminal is the orientation of the mobile terminal under a geographic coordinate system;
and the marking module is used for marking the orientation of the face of the user in a position sharing interface according to the orientation of the mobile terminal and the included angle.
7. The mobile terminal according to claim 6, wherein the determining module, when determining the orientation of the mobile terminal, is specifically configured to:
and determining the orientation of the mobile terminal through an electronic compass in the mobile terminal.
8. The mobile terminal of claim 6, wherein the determining module comprises:
the calling submodule is used for calling a camera to carry out three-dimensional modeling on the face of the user to obtain a three-dimensional portrait;
the reference point determining submodule is used for determining a first reference point on a left face and a second reference point on a right face in the three-dimensional portrait; wherein the first reference point is symmetrical to the second reference point;
and the included angle determining submodule is used for determining an included angle between the face of the user and the screen of the mobile terminal based on the position relation between the first reference point, the second reference point and the screen.
9. The mobile terminal of claim 6, wherein the tagging module comprises:
the first generation submodule is used for generating a position sharing arrow according to the orientation of the mobile terminal;
the second generation submodule is used for generating an orientation correction arrow according to the included angle;
and the marking submodule is used for displaying the position sharing arrow in a position sharing interface and displaying the orientation correcting arrow at the starting position of the position sharing arrow.
10. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the location sharing method according to any one of claims 1 to 5.
CN201811594313.9A 2018-12-25 2018-12-25 Position sharing method and mobile terminal Active CN109618055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811594313.9A CN109618055B (en) 2018-12-25 2018-12-25 Position sharing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811594313.9A CN109618055B (en) 2018-12-25 2018-12-25 Position sharing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109618055A CN109618055A (en) 2019-04-12
CN109618055B true CN109618055B (en) 2020-07-17

Family

ID=66012392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811594313.9A Active CN109618055B (en) 2018-12-25 2018-12-25 Position sharing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109618055B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110969704B (en) * 2019-11-27 2023-09-22 北京新势界科技有限公司 Mark generation tracking method and device based on AR guide
CN110996119A (en) * 2019-11-29 2020-04-10 北京新势界科技有限公司 AR communication method and device for intelligent recall information
CN111885701A (en) * 2020-06-19 2020-11-03 北京嘀嘀无限科技发展有限公司 Positioning method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103812931A (en) * 2014-01-24 2014-05-21 腾讯科技(深圳)有限公司 User information sharing method, device and system
CN105444767A (en) * 2006-02-24 2016-03-30 飞扬管理有限公司 User-defined private maps
CN106662460A (en) * 2014-09-10 2017-05-10 微软技术许可有限责任公司 Real-time location sharing to facilitate a physical meet-up
CN108257178A (en) * 2018-01-19 2018-07-06 百度在线网络技术(北京)有限公司 For positioning the method and apparatus of the position of target body
CN108834051A (en) * 2018-06-16 2018-11-16 佛山长意云信息技术有限公司 A kind of position sharing method, device, computer equipment and storage medium
CN108880974A (en) * 2017-05-11 2018-11-23 腾讯科技(深圳)有限公司 session group creating method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468679B (en) * 2013-09-24 2018-03-02 腾讯科技(深圳)有限公司 Share the method, terminal and system in geographical position
CN104123333B (en) * 2014-03-17 2017-02-15 腾讯科技(深圳)有限公司 Data processing method and device for location sharing
US9510182B2 (en) * 2015-03-31 2016-11-29 Airwatch Llc User onboarding for newly enrolled devices
CN106102012A (en) * 2016-08-15 2016-11-09 百度在线网络技术(北京)有限公司 A kind of method and apparatus of sharing positional information

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105444767A (en) * 2006-02-24 2016-03-30 飞扬管理有限公司 User-defined private maps
CN103812931A (en) * 2014-01-24 2014-05-21 腾讯科技(深圳)有限公司 User information sharing method, device and system
CN106662460A (en) * 2014-09-10 2017-05-10 微软技术许可有限责任公司 Real-time location sharing to facilitate a physical meet-up
CN108880974A (en) * 2017-05-11 2018-11-23 腾讯科技(深圳)有限公司 session group creating method and device
CN108257178A (en) * 2018-01-19 2018-07-06 百度在线网络技术(北京)有限公司 For positioning the method and apparatus of the position of target body
CN108834051A (en) * 2018-06-16 2018-11-16 佛山长意云信息技术有限公司 A kind of position sharing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109618055A (en) 2019-04-12

Similar Documents

Publication Publication Date Title
CN107977144B (en) Screen capture processing method and mobile terminal
CN107707817B (en) video shooting method and mobile terminal
CN108153422B (en) Display object control method and mobile terminal
CN111130989B (en) Information display and sending method and electronic equipment
CN109348019B (en) Display method and device
CN109618055B (en) Position sharing method and mobile terminal
CN111401463B (en) Method for outputting detection result, electronic equipment and medium
CN111031234B (en) Image processing method and electronic equipment
CN110933494A (en) Picture sharing method and electronic equipment
CN111399792B (en) Content sharing method and electronic equipment
CN110602390B (en) Image processing method and electronic equipment
CN110457885B (en) Operation method and electronic equipment
CN110456923B (en) Gesture sensing data processing method and electronic equipment
CN110290263B (en) Image display method and mobile terminal
CN111031246A (en) Shooting method and electronic equipment
CN108833791B (en) Shooting method and device
CN109257489B (en) Display method and mobile terminal
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN108536513B (en) Picture display direction adjusting method and mobile terminal
CN108335259B (en) Image processing method, image processing equipment and mobile terminal
CN109117037B (en) Image processing method and terminal equipment
CN110740265B (en) Image processing method and terminal equipment
CN109618278B (en) Positioning method and mobile terminal
CN109753776B (en) Information processing method and device and mobile terminal
CN109257504B (en) Audio processing method and terminal equipment

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
GR01 Patent grant
GR01 Patent grant