Movatterモバイル変換


[0]ホーム

URL:


CN109618055A - A location sharing method and mobile terminal - Google Patents

A location sharing method and mobile terminal
Download PDF

Info

Publication number
CN109618055A
CN109618055ACN201811594313.9ACN201811594313ACN109618055ACN 109618055 ACN109618055 ACN 109618055ACN 201811594313 ACN201811594313 ACN 201811594313ACN 109618055 ACN109618055 ACN 109618055A
Authority
CN
China
Prior art keywords
mobile terminal
orientation
user
face
reference point
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.)
Granted
Application number
CN201811594313.9A
Other languages
Chinese (zh)
Other versions
CN109618055B (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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201811594313.9ApriorityCriticalpatent/CN109618055B/en
Publication of CN109618055ApublicationCriticalpatent/CN109618055A/en
Application grantedgrantedCritical
Publication of CN109618055BpublicationCriticalpatent/CN109618055B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The embodiment of the invention discloses a kind of position sharing method and mobile terminals, wherein the described method includes: the direction for determining the mobile terminal and the angle between user's face and the screen of the mobile terminal;Wherein, the mobile terminal is oriented direction of the mobile terminal under geographic coordinate system;According to the direction of the mobile terminal and the angle, the direction that user's face is marked in interface is shared in position.The position sharing method provided through the embodiment of the present invention, mobile terminal are capable of providing accurately position shared information.

Description

A kind of position sharing method and mobile terminal
Technical field
The present embodiments relate to technical field of mobile terminals more particularly to a kind of position sharing method and mobile terminals.
Background technique
With the fast development of mobile terminal technology, installable application program type is more and more in mobile terminal.WithFamily not only can be with voice-enabled chat, viewing video capture image by mobile terminal, can also be to communication good friend's sharing position.
Currently, mobile terminal, when progress position is shared, the positioning system and gravity sensor for passing through itself setting detectThe direction of mobile terminal and position, then share the direction of mobile terminal and position mark in interface in position, in order to rightSide determines user present position according to label.
When shared using this kind of position sharing method progress position, when target object is in the high place of density of stream of peopleWhen, since the position shared information marked is only a rough position, and may be simultaneously present in region in the position moreIndividual, such other side will be unable to quickly and accurately navigate to target object, to influence user experience.As it can be seen that existing positionSharing method can not provide accurately sharing position information.
Summary of the invention
The embodiment of the present invention provides a kind of position sharing method, to solve the Wu Fati in existing position sharing methodThe problem of for accurate sharing position information.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, being applied to mobile terminal, wherein described the embodiment of the invention provides a kind of position sharing methodThe direction and the angle between user's face and the screen of the mobile terminal that method comprises determining that the mobile terminal;ItsIn, the mobile terminal is oriented direction of the mobile terminal under geographic coordinate system;According to the court of the mobile terminalTo with the angle, the direction that user's face is marked in interface is shared in position.
Second aspect, the embodiment of the invention provides a kind of mobile terminals, wherein the mobile terminal comprises determining that mouldBlock, the direction for determining the mobile terminal and the angle between user's face and the screen of the mobile terminal;Wherein,The mobile terminal is oriented direction of the mobile terminal under geographic coordinate system;Mark module, for according to the shiftingThe direction of dynamic terminal and the angle, the direction that user's face is marked in interface is shared in position.
The third aspect, the embodiment of the invention provides a kind of mobile terminals, wherein including processor, memory and storageOn the memory and the computer program that can run on the processor, the computer program are held by the processorIt is realized when row as described in the embodiment of the present invention the step of any one position sharing method.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, wherein described computer-readableComputer program is stored on storage medium, is realized as described in the embodiment of the present invention when computer program is executed by processorAny one position sharing method the step of.
In embodiments of the present invention, by the direction of determining mobile terminal, and user's face and the movement are determined eventuallyHold the angle between screen;It is total in position according to the angle between the direction of mobile terminal and user's face and mobile terminal screenThe direction for marking user's face in interface is enjoyed, can be shared in position and show accurately position shared information in interface, convenient for usingFamily is quickly found out target object.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage canIt is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various advantage and benefit are for ordinary skill peopleMember will become clear.Attached drawing is only used for showing preferred embodiment, and is not to be construed as limiting the invention.AndIn entire attached drawing, the same reference numbers will be used to refer to the same parts.
In the accompanying drawings:
Fig. 1 is a kind of step flow chart of according to embodiments of the present invention one position sharing method;
Fig. 2 is a kind of step flow chart of according to embodiments of the present invention two position sharing method;
When Fig. 3 is user's face and mobile terminal screen face, the position between the first reference point, the second reference point and screenRelation schematic diagram;
Positional diagram when Fig. 4 is user's face left avertence, between the first reference point, the second reference point and screen;
Fig. 5 is a kind of structural block diagram of according to embodiments of the present invention three mobile terminal;
Fig. 6 is a kind of hardware structural diagram of according to embodiments of the present invention four mobile terminal.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hairEmbodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative effortsExample, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of step flow chart of position sharing method of the embodiment of the present invention one is shown.
The position sharing method of the embodiment of the present invention the following steps are included:
Step 101: determining the direction of mobile terminal.
Wherein, this is oriented direction of the mobile terminal under geographic coordinate system.Determine mobile terminal towards and positionConcrete mode is not particularly limited this in the embodiment of the present invention referring to the relevant technologies.
Moreover, mobile terminal determine towards while can also determine position handled by mobile terminal.Such as:The position that mobile terminal can be determined by the positioning system in mobile terminal passes through the electronic compass or gravity in mobile terminalThe modules such as sensor determine the direction of mobile terminal.
Step 102: determining the angle between user's face and mobile terminal screen.
During concrete implementation, user's face and mobile terminal screen can be obtained by the 3D camera in mobile terminalThe angle-data of curtain.Such as: it 3D camera can be used to carry out three-dimensional modeling to user's head, pass through 3D camera after the completion of modelingPeople's eyes and face depth are analyzed, the angle of user's face and screen is calculated.
It should be noted that step 102 is not limited to execute after step 101, can also be held parallel with step 101Row executes before step 101.
Step 103: according to the direction and angle of mobile terminal, the direction that user's face is marked in interface is shared in position.
It can determine the direction of user's face by the direction and angle of mobile terminal.It is shared in position and marks user in interfaceFace towards when, can be shared in position and mark the direction of position and movement terminal in interface, and show face and movement simultaneouslyAngle between terminal screen, the direction that mobile terminal shown in interface can be shared to position is modified, accurately to showShow the facial orientation of target object, quickly finds target object from crowd convenient for other side.
Wherein, the direction label of user's face can be the forms such as arrow or text information, and the embodiment of the present invention is to thisIt is not particularly limited.
Position sharing method provided in an embodiment of the present invention, by determining the direction of mobile terminal, and determining user peopleAngle between face and the mobile terminal screen;According between the direction of mobile terminal and user's face and mobile terminal screenAngle the direction that user's face is marked in interface is shared in position, can be shared in position and show that accurately position is total in interfaceInformation is enjoyed, is quickly found out target object convenient for user.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of position sharing method of the embodiment of the present invention two is shown.
The position sharing method of the embodiment of the present invention the following steps are included:
Step 201: determining the direction of mobile terminal.
Wherein, it is oriented direction of the mobile terminal under geographic coordinate system.A kind of preferred determining mobile terminal directionMode are as follows: by the electronic compass being arranged in mobile terminal, determine the direction of mobile terminal.In addition, determining mobile terminal courtIt, specifically can be by the positioning system that is arranged in mobile terminal, really to that can also determine the location of mobile terminal beforeDetermine the location of mobile terminal.
It the location of determines in mobile terminal and after, determines the folder between user's face and mobile terminal screenAngle, specific method of determination is referring to step 202 to shown in step 204.
In a kind of preferred mode of the invention, before determining the direction of mobile terminal, determine locating for mobile terminalPosition determines the distance between user and other side according to the position and other side position of identified mobile terminal;When this is apart from smallWhen pre-determined distance, then execute the direction of determining mobile terminal and the stream of the angle between user's face and mobile terminal screenJourney.Correspondingly, it when the distance is greater than or equal to pre-determined distance, is only shared in position and marks determining mobile terminal in interfacePosition and orientation, and continue to determine the distance between user and other side.
This kind preferably mode is not compared to considering that the distance between user and other side blindly determine user's face and movementThe scheme of angle between terminal screen can reduce the processing load of mobile terminal.If user and other side's distance are farther out, evenAngle between display user's face and mobile terminal screen is not also worth, and other side can not still be accurately positioned in distant locationUser, therefore a pre-determined distance is set in this preferred embodiment, user's face and mobile terminal are determined when in pre-determined distance againAngle between screen.
Step 202: calling camera to carry out three-dimensional modeling to user's face, obtain three-dimensional portrait.
During specific implementation, AR (Augmented Reality, augmented reality) technology, VR (Virtual can be based onReality, virtual reality) technology or MR (Mingle Reality, mixed reality) technology user's face is carried out it is three-dimensional verticalVolume modeling.
Step 203: determining left the first reference point and right the second reference point on the face on the face in three-dimensional portrait.
Wherein, the first reference point and second is referring to point symmetry.
Step 204: based on the positional relationship between the first reference point, the second reference point and screen, determining user's face and moveAngle between dynamic terminal screen.
As shown in figure 3, when user's face faces mobile terminal screen, the first reference point A of a general user left side on the faceIt is symmetrical with right the second reference point B on the face, L1=L4, L2=L5 if two reference point symmetries, therefore L2 and L3, L5 and L3Angle is all 90 degree.If the first reference point, the second reference point be not be entirely it is symmetrical, mobile terminal can calculate L2 and L3,The angle degree of L5 and L3, thus calculating the angle between user's face and mobile terminal screen.Wherein choose in screen3D sensor is as screen reference point.
When Fig. 4 is user's face left avertence, the positional diagram between the first reference point A, the second reference point B and screen,Wherein choose screen in 3D sensor as screen reference point.User's face and mobile terminal screen can be calculated by the schematic diagramThe angle of interlude.
L1 can be obtained with L2, L3 by measurement, and θ can be obtained by these three values1, θ0=90 ° of-θ1
L4 can be obtained with L5, L3 by measurement, and θ can be obtained by these three values3, θ03-90°。
Pass through θ1、θ3Two reference values can correct θ0Accuracy.θ0Folder between face and mobile terminal screenAngle.During specific implementation, multipair reference point can also be set, i.e., select N number of first reference point on the face on a user left side, withThe family right side selects N number of second reference point on the face, then can obtain N number of θ1、θ3.Pass through N number of θ1With N number of θ3, so that θ0Accuracy it is higher.
Step 205: according to the direction, generating position and share arrow.
Shared arrow generated can characterize: the current direction of position and mobile terminal that user is presently in passes throughThe direction can primarily determine the moving direction of mobile terminal.
Step 206: generating orientation amendment arrow according to the angle.
Such as: if the angle is 15 degree of left avertence, the angle of orientation amendment arrow and mobile terminal between is left avertence15 degree.
Step 207: sharing display position in interface in position and share arrow, and share the original position of arrow in positionShow orientation amendment arrow.
Such as: mobile terminal is oriented 180 degree direction, and angle is 15 degree to the left between face and mobile terminal screen, then195 degree are oriented after amendment.
In the present embodiment, face and mobile terminal screen are shown while position shares and marks position and orientation in interfaceBetween angle, shown direction can be shared in interface to position and is modified, with the court of accurate displaying target object, that is, userTo quickly finding target object from crowd convenient for other side.
During specific implementation, it can also be shared in position and show reference line in interface, the reference line is by the position of userIt sets to connect with the position of other side and be in line, the first end of reference line is user location, and the other end of reference line is other side position, doubleSquare mobile terminal shows that respective user direction corresponding with angle between mobile terminal screen is repaired at corresponding position respectivelyPositive arrow.
It determines a position shared information with unilateral mobile terminal in the embodiment of the present invention and is shared in interface in position and showIt is shown as example to be illustrated, during specific implementation, the shared both sides' mobile terminal of participant position is performed both by the process in positionRespective positions shared information is shown in shared interface.Also, it with the rotation of both sides' face, shares in interface in position and may be used alsoTo show the situation of change of orientation amendment arrow.
Position sharing method provided in an embodiment of the present invention, by determining the direction of mobile terminal, and determining user peopleAngle between face and the mobile terminal screen;According between the direction of mobile terminal and user's face and mobile terminal screenAngle the direction that user's face is marked in interface is shared in position, can be shared in position and show that accurately position is total in interfaceInformation is enjoyed, is quickly found out target object convenient for user.In addition, position sharing method provided in an embodiment of the present invention, is used when determiningWhen family and other side's distance are less than pre-determined distance, then the process of the angle between determining user's face and mobile terminal screen is executed,Compared to the method for not considering that the distance between user and other side blindly determine angle between user's face and mobile terminal screen,The processing load of mobile terminal can be mitigated under the premise of meeting user demand.
Embodiment three
Referring to Fig. 5, a kind of structural block diagram of mobile terminal of the embodiment of the present invention four is shown.
The mobile terminal of the embodiment of the present invention may include: determining module 501, for determining the direction of the mobile terminalAnd the angle between user's face and the screen of the mobile terminal;Wherein, the mobile terminal is oriented the movementDirection of the terminal under geographic coordinate system;Mark module 502, for according to the mobile terminal direction and the angle,Share the direction that user's face is marked in interface in position.
Preferably, the determining module 501 determine the mobile terminal towards when, be specifically used for: by the movementElectronic compass in terminal determines the direction of the mobile terminal.
Preferably, the determining module 501 includes: to call submodule 5011, for calling camera to the user peopleFace carries out three-dimensional modeling, obtains three-dimensional portrait;Reference point determines submodule 5012, for determining that a left side is on the face in the three-dimensional portraitThe first reference point and right the second reference point on the face;Wherein, first reference point and second is referring to point symmetry;Angle determinesSubmodule 5013, for determining based on the positional relationship between first reference point, second reference point and the screenAngle between user's face and the mobile terminal screen.
Preferably, the mark module 502 includes: the first generation submodule 5021, for generating position according to the directionSet shared arrow;Second generates submodule 5022, for generating orientation amendment arrow according to the angle;Mark submodule5023, show that arrow is shared in the position in interface for sharing in position, and share the initial position of arrow in the positionPlace shows the orientation amendment arrow.
Preferably, the mobile terminal further include: position determination module 503, described in being determined in the determining moduleBefore the direction of mobile terminal and the angle between user's face and the screen of the mobile terminal, the mobile terminal is determinedLocation;Apart from determining module 504, for determining between the user and other side according to the position and other side positionDistance;Calling module 505, for executing the determining module and determining the movement when the distance is less than pre-determined distanceThe direction of terminal and the angle between user's face and the screen of the mobile terminal.
Mobile terminal provided in an embodiment of the present invention can be realized mobile terminal in the embodiment of the method for Fig. 1 to Fig. 2 and realizeEach process, to avoid repeating, which is not described herein again.
Mobile terminal provided in an embodiment of the present invention, by determine mobile terminal direction, and determine user's face withAngle between the mobile terminal screen;According to the folder between the direction of mobile terminal and user's face and mobile terminal screenThe direction that user's face is marked in interface is shared at angle in position, can be shared in position and be shown the accurately shared letter in position in interfaceBreath, is quickly found out target object convenient for user.
Example IV
Referring to Fig. 6, a kind of structural block diagram of mobile terminal of the embodiment of the present invention five is shown.
A kind of hardware structural diagram of Fig. 6 mobile terminal of each embodiment to realize the present invention, the mobile terminal 600Including but not limited to: radio frequency unit 601, audio output unit 603, input unit 604, sensor 605, is shown network module 602Show the components such as unit 606, user input unit 607, interface unit 608, memory 609, processor 610 and power supply 611.It will be understood by those skilled in the art that mobile terminal structure shown in Fig. 6 does not constitute the restriction to mobile terminal, it is mobile wholeEnd may include perhaps combining certain components or different component layouts than illustrating more or fewer components.In the present inventionIn embodiment, mobile terminal includes but is not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, can wearWear equipment and pedometer etc..
Wherein, processor 610, for determining the direction and user's face and the mobile terminal of the mobile terminalAngle between screen;Wherein, the mobile terminal is oriented direction of the mobile terminal under geographic coordinate system;According toThe direction of the mobile terminal and the angle, the direction that user's face is marked in interface is shared in position.
Mobile terminal provided in an embodiment of the present invention, by determine mobile terminal direction, and determine user's face withAngle between the mobile terminal screen;According to the folder between the direction of mobile terminal and user's face and mobile terminal screenThe direction that user's face is marked in interface is shared at angle in position, can be shared in position and be shown the accurately shared letter in position in interfaceBreath, is quickly found out target object convenient for user.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signalSend and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplinkData are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, couplingDevice, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other setStandby communication.
Mobile terminal provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receiveIt sends e-mails, browse webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also be provided and be movedThe relevant audio output of specific function that dynamic terminal 600 executes is (for example, call signal receives sound, message sink sound etc.Deng).Audio output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor(Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be depositedStorage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.MikeWind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can beThe format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Mobile terminal 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other biographiesSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 6061, and proximity sensor can close when mobile terminal 600 is moved in one's earDisplay panel 6061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generalFor three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify mobile terminal posture (ratioSuch as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passesSensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wetMeter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrapDisplay panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generate the use with mobile terminalFamily setting and the related key signals input of function control.Specifically, user input unit 607 include touch panel 6071 andOther input equipments 6072.Touch panel 6071, also referred to as touch screen collect the touch operation of user on it or nearby(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 6071 or in touch panel 6071Neighbouring operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detectionDevice detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch controlDevice processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receiving areaIt manages the order that device 610 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.Seed type realizes touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments6072.Specifically, other input equipments 6072 can include but is not limited to physical keyboard, function key (such as volume control button,Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 6071 can be covered on display panel 6061, when touch panel 6071 is detected at itOn or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touchingThe type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and displayPanel 6061 is the function that outputs and inputs of realizing mobile terminal as two independent components, but in some embodimentsIn, can be integrated by touch panel 6071 and display panel 6061 and realize the function that outputs and inputs of mobile terminal, it is specific thisPlace is without limitation.
Interface unit 608 is the interface that external device (ED) is connect with mobile terminal 600.For example, external device (ED) may include havingLine or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card endMouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification moduleMouthful etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) andBy one or more elements that the input received is transferred in mobile terminal 600 or can be used in 600 He of mobile terminalData are transmitted between external device (ED).
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connectionA part by running or execute the software program and/or module that are stored in memory 609, and calls and is stored in storageData in device 609 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.PlaceManaging device 610 may include one or more processing units;Preferably, processor 610 can integrate application processor and modulatedemodulate is mediatedManage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainProcessing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 610.
Mobile terminal 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611Can be logically contiguous by power-supply management system and processor 610, to realize management charging by power-supply management system, putThe functions such as electricity and power managed.
In addition, mobile terminal 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 610, and memory 609 is stored inOn memory 609 and the computer program that can run on the processor 610, the computer program are executed by processor 610Each process of the above-mentioned position sharing method embodiment of Shi Shixian, and identical technical effect can be reached, to avoid repeating, hereIt repeats no more.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage mediumCalculation machine program, the computer program realize each process of above-mentioned position sharing method embodiment, and energy when being executed by processorReach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as onlyRead memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviationRAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, serviceDevice, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm belongs within protection of the invention.

Claims (10)

Translated fromChinese
1.一种位置共享方法,应用于移动终端,其特征在于,所述方法包括:1. A location sharing method, applied to a mobile terminal, wherein the method comprises:确定所述移动终端的朝向以及用户人脸与所述移动终端的屏幕之间的夹角;其中,所述移动终端的朝向为所述移动终端在地理坐标系下的朝向;Determine the orientation of the mobile terminal and the angle between the user's face and the screen of the mobile terminal; wherein, the orientation of the mobile terminal is the orientation of the mobile terminal in the geographic coordinate system;根据所述移动终端的朝向和所述夹角,在位置共享界面中标记所述用户人脸的朝向。According to the orientation of the mobile terminal and the included angle, the orientation of the user's face is marked in the location sharing interface.2.根据权利要求1所述的方法,其特征在于,所述确定所述移动终端的朝向的步骤,包括:2. The method according to claim 1, wherein the step of determining the orientation of the mobile terminal comprises:通过所述移动终端中的电子罗盘,确定所述移动终端的朝向。The orientation of the mobile terminal is determined through the electronic compass in the mobile terminal.3.根据权利要求1所述的方法,其特征在于,确定用户人脸与所述移动终端屏幕之间的夹角的步骤,包括:3. The method according to claim 1, wherein the step of determining the angle between the user's face and the screen of the mobile terminal comprises:调用摄像头对所述用户人脸进行三维建模,得到三维人像;calling the camera to perform three-dimensional modeling on the user's face to obtain a three-dimensional portrait;确定所述三维人像中左脸上的第一参照点和右脸上的第二参照点;其中,所述第一参照点与第二参照点对称;determining a first reference point on the left face and a second reference point on the right face in the three-dimensional portrait; wherein, the first reference point is symmetrical with the second reference point;基于所述第一参照点、所述第二参照点与所述屏幕之间的位置关系,确定所述用户人脸与所述移动终端屏幕之间的夹角。Based on the positional relationship between the first reference point, the second reference point and the screen, the angle between the user's face and the screen of the mobile terminal is determined.4.根据权利要求1所述的方法,其特征在于,所述根据所述移动终端的朝向和所述夹角,在位置共享界面中标记所述用户人脸的朝向步骤,包括:4. The method according to claim 1, wherein the step of marking the orientation of the user's face 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;依据所述夹角生成朝向修正箭头;generating an orientation correction arrow according to the included angle;在位置共享界面中显示所述位置共享箭头,并在所述位置共享箭头的起始位置处显示所述朝向修正箭头。The location sharing arrow is displayed in the location sharing interface, and the orientation correction arrow is displayed at the starting position of the location sharing arrow.5.根据权利要求1所述的方法,其特征在于,在所述确定所述移动终端的朝向以及用户人脸与所述移动终端的屏幕之间的夹角的步骤之前,所述方法还包括:5 . The method according to claim 1 , wherein before the step of determining the orientation of the mobile terminal and the angle between the user's face and the screen of the mobile terminal, the method further comprises: 6 . :确定所述移动终端所处的位置;determining the location of the mobile terminal;依据所述位置与对方位置,确定所述用户与对方之间的距离;Determine the distance between the user and the counterparty according to the location and the counterparty location;当所述距离小于预设距离时,执行所述确定所述移动终端的朝向以及用户人脸与所述移动终端的屏幕之间的夹角的步骤。When the distance is less than the preset distance, the step of determining the orientation of the mobile terminal and the included angle between the user's face and the screen of the mobile terminal is performed.6.一种移动终端,其特征在于,所述移动终端包括:6. A mobile terminal, wherein the mobile terminal comprises:确定模块,用于确定所述移动终端的朝向以及用户人脸与所述移动终端的屏幕之间的夹角;其中,所述移动终端的朝向为所述移动终端在地理坐标系下的朝向;a determining module, configured to determine the orientation of the mobile terminal and the angle between the user's face and the screen of the mobile terminal; wherein, the orientation of the mobile terminal is the orientation of the mobile terminal in the geographic coordinate system;标记模块,用于根据所述移动终端的朝向和所述夹角,在位置共享界面中标记所述用户人脸的朝向。A marking module, configured to mark the orientation of the user's face in the location sharing interface according to the orientation of the mobile terminal and the included angle.7.根据权利要求6所述的移动终端,其特征在于,所述确定模块确定所述移动终端的朝向时,具体用于:7. The mobile terminal according to claim 6, wherein when the determining module determines the orientation of the mobile terminal, it is specifically used for:通过所述移动终端中的电子罗盘,确定所述移动终端的朝向。The orientation of the mobile terminal is determined through the electronic compass in the mobile terminal.8.根据权利要求6所述的移动终端,其特征在于,所述确定模块包括:8. The mobile terminal according to claim 6, wherein the determining module comprises:调用子模块,用于调用摄像头对所述用户人脸进行三维建模,得到三维人像;invoking a sub-module for invoking a camera to perform three-dimensional modeling on the user's face to obtain a three-dimensional portrait;参照点确定子模块,用于确定所述三维人像中左脸上的第一参照点和右脸上的第二参照点;其中,所述第一参照点与第二参照点对称;a reference point determination submodule, configured to determine a first reference point on the left face and a second reference point on the right face in the three-dimensional portrait; wherein, the first reference point and the second reference point are symmetrical;夹角确定子模块,用于基于所述第一参照点、所述第二参照点与所述屏幕之间的位置关系,确定所述用户人脸与所述移动终端屏幕之间的夹角。An included angle determination submodule is configured to determine an included angle between the user's face and the screen of the mobile terminal based on the positional relationship between the first reference point, the second reference point and the screen.9.根据权利要求6所述的移动终端,其特征在于,所述标记模块包括:9. The mobile terminal according to claim 6, wherein the marking module comprises:第一生成子模块,用于依据所述朝向,生成位置共享箭头;The first generating submodule is used to generate a position sharing arrow according to the orientation;第二生成子模块,用于依据所述夹角生成朝向修正箭头;The second generating submodule is used for generating an orientation correction arrow according to the included angle;标记子模块,用于在位置共享界面中显示所述位置共享箭头,并在所述位置共享箭头的起始位置处显示所述朝向修正箭头。A marking sub-module is configured to display the position sharing arrow in the position sharing interface, and display the orientation correction arrow at the starting position of the position sharing arrow.10.一种移动终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的位置共享方法的步骤。10. A mobile terminal, characterized in that it comprises a processor, a memory, and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the right The steps of the location sharing method of any one of claims 1 to 5.
CN201811594313.9A2018-12-252018-12-25 A location sharing method and mobile terminalActiveCN109618055B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811594313.9ACN109618055B (en)2018-12-252018-12-25 A location sharing method and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811594313.9ACN109618055B (en)2018-12-252018-12-25 A location sharing method and mobile terminal

Publications (2)

Publication NumberPublication Date
CN109618055Atrue CN109618055A (en)2019-04-12
CN109618055B CN109618055B (en)2020-07-17

Family

ID=66012392

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811594313.9AActiveCN109618055B (en)2018-12-252018-12-25 A location sharing method and mobile terminal

Country Status (1)

CountryLink
CN (1)CN109618055B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110969704A (en)*2019-11-272020-04-07北京新势界科技有限公司Marker generation tracking method and device based on AR guide
CN110996119A (en)*2019-11-292020-04-10北京新势界科技有限公司AR communication method and device for intelligent recall information
CN111885701A (en)*2020-06-192020-11-03北京嘀嘀无限科技发展有限公司Positioning method and system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116157691A (en)*2020-07-312023-05-23索尼集团公司Information processing apparatus, information processing method, and program

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103812931A (en)*2014-01-242014-05-21腾讯科技(深圳)有限公司User information sharing method, device and system
CN104468679A (en)*2013-09-242015-03-25腾讯科技(深圳)有限公司Geographic position sharing method and system and terminals
CN105444767A (en)*2006-02-242016-03-30飞扬管理有限公司User-defined private maps
US20160295384A1 (en)*2014-03-172016-10-06Tencent Technology (Shenzhen) Company LimitedMethod and system for facilitating real-time location sharing
CN106102012A (en)*2016-08-152016-11-09百度在线网络技术(北京)有限公司A kind of method and apparatus of sharing positional information
US9510182B2 (en)*2015-03-312016-11-29Airwatch LlcUser onboarding for newly enrolled devices
CN106662460A (en)*2014-09-102017-05-10微软技术许可有限责任公司Real-time location sharing to facilitate a physical meet-up
CN108257178A (en)*2018-01-192018-07-06百度在线网络技术(北京)有限公司For positioning the method and apparatus of the position of target body
CN108834051A (en)*2018-06-162018-11-16佛山长意云信息技术有限公司A kind of position sharing method, device, computer equipment and storage medium
CN108880974A (en)*2017-05-112018-11-23腾讯科技(深圳)有限公司session group creating method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105444767A (en)*2006-02-242016-03-30飞扬管理有限公司User-defined private maps
CN104468679A (en)*2013-09-242015-03-25腾讯科技(深圳)有限公司Geographic position sharing method and system and terminals
CN103812931A (en)*2014-01-242014-05-21腾讯科技(深圳)有限公司User information sharing method, device and system
US20160295384A1 (en)*2014-03-172016-10-06Tencent Technology (Shenzhen) Company LimitedMethod and system for facilitating real-time location sharing
CN106662460A (en)*2014-09-102017-05-10微软技术许可有限责任公司Real-time location sharing to facilitate a physical meet-up
US9510182B2 (en)*2015-03-312016-11-29Airwatch LlcUser onboarding for newly enrolled devices
CN106102012A (en)*2016-08-152016-11-09百度在线网络技术(北京)有限公司A kind of method and apparatus of sharing positional information
CN108880974A (en)*2017-05-112018-11-23腾讯科技(深圳)有限公司session group creating method and device
CN108257178A (en)*2018-01-192018-07-06百度在线网络技术(北京)有限公司For positioning the method and apparatus of the position of target body
CN108834051A (en)*2018-06-162018-11-16佛山长意云信息技术有限公司A kind of position sharing method, device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110969704A (en)*2019-11-272020-04-07北京新势界科技有限公司Marker generation tracking method and device based on AR guide
CN110969704B (en)*2019-11-272023-09-22北京新势界科技有限公司Mark generation tracking method and device based on AR guide
CN110996119A (en)*2019-11-292020-04-10北京新势界科技有限公司AR communication method and device for intelligent recall information
CN111885701A (en)*2020-06-192020-11-03北京嘀嘀无限科技发展有限公司Positioning method and system

Also Published As

Publication numberPublication date
CN109618055B (en)2020-07-17

Similar Documents

PublicationPublication DateTitle
CN107977144B (en) Screenshot processing method and mobile terminal
CN110427110B (en)Live broadcast method and device and live broadcast server
CN107707817B (en) A video shooting method and mobile terminal
CN110134356A (en) Screen projection method and terminal
CN108985220B (en)Face image processing method and device and storage medium
WO2022052620A1 (en)Image generation method and electronic device
US9948856B2 (en)Method and apparatus for adjusting a photo-taking direction, mobile terminal
CN107707461A (en)The display methods and mobile terminal of a kind of conversation message
CN109814968A (en) Information input method, terminal device and computer-readable storage medium
WO2020233403A1 (en)Personalized face display method and apparatus for three-dimensional character, and device and storage medium
CN108513671B (en)Display method and terminal for 2D application in VR equipment
CN109618055A (en) A location sharing method and mobile terminal
CN107291266A (en) Image display method and device
CN109685915A (en)A kind of image processing method, device and mobile terminal
CN107864336B (en) Image processing method and mobile terminal
CN108920053A (en)A kind of alignment schemes and mobile terminal
CN111314616A (en)Image acquisition method, electronic device, medium and wearable device
CN109525704A (en)A kind of control method and mobile terminal
CN109348019A (en) A display method and device
CN111399792B (en) A content sharing method and electronic device
CN109544445A (en)A kind of image processing method, device and mobile terminal
CN109803110A (en)A kind of image processing method, terminal device and server
CN113485596B (en)Virtual model processing method and device, electronic equipment and storage medium
CN108536513B (en) A kind of picture display direction adjustment method and mobile terminal
CN109547330A (en)A kind of information sharing method and device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp