CN110418049A - Location information processing method and device, mobile terminal, storage medium - Google Patents
Location information processing method and device, mobile terminal, storage medium Download PDFInfo
- Publication number
- CN110418049A CN110418049A CN201810386192.2A CN201810386192A CN110418049A CN 110418049 A CN110418049 A CN 110418049A CN 201810386192 A CN201810386192 A CN 201810386192A CN 110418049 A CN110418049 A CN 110418049A
- Authority
- CN
- China
- Prior art keywords
- terminal
- camera
- location information
- image
- location
- 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
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 26
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 34
- 230000007613 environmental effect Effects 0.000 claims description 48
- 238000004590 computer program Methods 0.000 claims description 14
- 238000012545 processing Methods 0.000 description 24
- 238000010586 diagram Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 10
- 238000001514 detection method Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000001133 acceleration Effects 0.000 description 4
- 230000001413 cellular effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000001154 acute effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/02—Reservations, e.g. for tickets, services or events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/69—Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Marketing (AREA)
- Quality & Reliability (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Computer Networks & Wireless Communication (AREA)
- Operations Research (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,特别是涉及一种位置信息处理方法、装置、移动终端、计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to a location information processing method, device, mobile terminal, and computer-readable storage medium.
背景技术Background technique
随着计算机技术的发展,通过应用程序软件预约出行车辆的现象越来越普遍。乘客通过应用程序软件预约车辆时通过GPS(Global Positioning System全球定位系统)自动定位乘客的当前位置后,获取当前位置的位置信息发送给车辆驾驶员,车辆驾驶员可以根据接收的位置信息获知乘客的位置。With the development of computer technology, the phenomenon of booking a travel vehicle through application software is becoming more and more common. When the passenger reserves the vehicle through the application software, the current position of the passenger is automatically located through the GPS (Global Positioning System), and the position information of the current position is obtained and sent to the vehicle driver. The vehicle driver can know the passenger's position according to the received position information. Location.
然而,传统的技术提供的位置信息比较局限,当乘客位于交通密集或交叉路口时,车辆驾驶员无法准确的获知乘客的具体位置。However, the location information provided by the traditional technology is relatively limited, and when the passenger is located in dense traffic or at an intersection, the vehicle driver cannot accurately know the specific location of the passenger.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种位置信息处理方法、装置、移动终端、计算机可读存储介质,可以提高位置信息的准确性。Embodiments of the present application provide a method, device, mobile terminal, and computer-readable storage medium for processing location information, which can improve the accuracy of location information.
一种位置信息处理方法,包括:A location information processing method, comprising:
接收位置信息获取请求;Receive a request for obtaining location information;
根据所述位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像;Controlling the camera to rotate and collect an environmental image of the location of the first terminal according to the location information acquisition request;
将所述环境图像发送给第二终端,所述环境图像用于指示所述第二终端确定所述第一终端的位置。The environment image is sent to the second terminal, where the environment image is used to instruct the second terminal to determine the location of the first terminal.
一种位置信息处理装置,包括:A position information processing device, comprising:
请求接收模块,用于接收位置信息获取请求;A request receiving module for receiving a request for obtaining location information;
图像获取模块,用于根据所述位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像;an image acquisition module, configured to control the camera to rotate and acquire an environmental image of the location of the first terminal according to the location information acquisition request;
发送模块,将所述环境图像发送给第二终端,所述环境图像用于指示所述第二终端确定所述第一终端的位置。The sending module sends the environment image to the second terminal, where the environment image is used to instruct the second terminal to determine the position of the first terminal.
一种移动终端,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下步骤:A mobile terminal includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the following steps:
接收位置信息获取请求;Receive a request for obtaining location information;
根据所述位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像;Controlling the camera to rotate and collect an environmental image of the location of the first terminal according to the location information acquisition request;
将所述环境图像发送给第二终端,所述环境图像用于指示所述第二终端确定所述第一终端的位置。The environment image is sent to the second terminal, where the environment image is used to instruct the second terminal to determine the location of the first terminal.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
接收位置信息获取请求;Receive a request for obtaining location information;
根据所述位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像;Controlling the camera to rotate and collect an environmental image of the location of the first terminal according to the location information acquisition request;
将所述环境图像发送给第二终端,所述环境图像用于指示所述第二终端确定所述第一终端的位置。The environment image is sent to the second terminal, where the environment image is used to instruct the second terminal to determine the location of the first terminal.
上述位置信息处理方法、装置、移动终端和计算机可读存储介质,通过接收位置信息获取请求,根据位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像,将环境图像发送给第二终端,环境图像用于指示第二终端确定第一终端的位置。由于第二终端可以根据第一终端旋转采集的第一终端所在位置的环境图像确定第一终端的具体位置,提高了位置信息的准确性。The above-mentioned position information processing method, device, mobile terminal and computer-readable storage medium, by receiving the position information acquisition request, controlling the camera to rotate and collect the environmental image of the location of the first terminal according to the position information acquisition request, and sending the environmental image to the second terminal , the environment image is used to instruct the second terminal to determine the location of the first terminal. Since the second terminal can determine the specific location of the first terminal according to the environmental image of the location of the first terminal and collected by the first terminal by rotation, the accuracy of the location information is improved.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为一个实施例中位置信息处理方法的应用环境图;Fig. 1 is the application environment diagram of the position information processing method in one embodiment;
图2为一个实施例中位置信息处理方法的流程图;2 is a flowchart of a method for processing location information in one embodiment;
图3为另一个实施例中位置信息处理方法的流程图;3 is a flowchart of a method for processing position information in another embodiment;
图4为一个实施例中摄像头移动至第二位置的示意图;4 is a schematic diagram of a camera moving to a second position in one embodiment;
图5为另一个实施例中摄像头移动至第二位置的示意图;5 is a schematic diagram of a camera moving to a second position in another embodiment;
图6为一个实施例中位置信息处理方法的流程图;6 is a flowchart of a method for processing location information in one embodiment;
图7为一个实施例中图5所示的第一终端调整拍摄角度的示意图;FIG. 7 is a schematic diagram of adjusting the shooting angle of the first terminal shown in FIG. 5 in one embodiment;
图8为又一个实施例中位置信息处理方法的流程图;8 is a flowchart of a method for processing position information in yet another embodiment;
图9为一个实施例中位置信息处理方法的流程图;9 is a flowchart of a method for processing location information in one embodiment;
图10为一个实施例中位置信息处理装置的结构框图;10 is a structural block diagram of a position information processing apparatus in one embodiment;
图11为一个实施例中手机的部分结构的框图。FIG. 11 is a block diagram of part of the structure of a cell phone in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of this application. Both the first client and the second client are clients, but they are not the same client.
图1为一个实施例中位置信息处理方法的应用环境示意图。如图1所示,该应用环境包括第一终端120和第二终端140。第一终端120和第二终端140通过网络连接。第一终端120中的摄像头模组可通过驱动组件控制。第一终端120接收位置信息获取请求,根据位置信息获取请求控制摄像头旋转采集第一终端120所在位置的环境图像,将环境图像发送给第二终端140,环境图像用于指示第二终端140确定第一终端120的位置。第一终端120可以但不限于是手机、平板电脑、个人数字助理、穿戴式设备等。第二终端140可以但不限于是车载设备、手持设备如手机、平板电脑、个人数字助理、穿戴式设备等。FIG. 1 is a schematic diagram of an application environment of a method for processing location information in one embodiment. As shown in FIG. 1 , the application environment includes a first terminal 120 and a second terminal 140 . The first terminal 120 and the second terminal 140 are connected through a network. The camera module in the first terminal 120 can be controlled by the driving component. The first terminal 120 receives the position information acquisition request, controls the camera to rotate and collects the environmental image of the location of the first terminal 120 according to the position information acquisition request, and sends the environmental image to the second terminal 140, and the environmental image is used to instruct the second terminal 140 to determine the first terminal 140. The location of a terminal 120 . The first terminal 120 may be, but is not limited to, a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and the like. The second terminal 140 may be, but is not limited to, a vehicle-mounted device, a handheld device such as a mobile phone, a tablet computer, a personal digital assistant, a wearable device, and the like.
图2为一个实施例中位置信息处理方法的流程图。本实施例中的位置信息处理方法,以运行于图1中的第一终端为例进行描述。如图2所示,位置信息处理方法包括步骤202至步骤206。FIG. 2 is a flowchart of a method for processing location information in one embodiment. The location information processing method in this embodiment is described by taking the first terminal running in FIG. 1 as an example. As shown in FIG. 2 , the location information processing method includes steps 202 to 206 .
步骤202,接收位置信息获取请求。Step 202, receiving a request for obtaining location information.
位置信息是指第一终端所在位置的位置信息。具体地,位置信息可以是方位信息,也可以是街道信息等不限于此。例如,位置信息可以是第一终端所处的城市信息、街道信息、楼栋信息等,还可以是第一终端所在位置的经纬度信息等。位置信息获取请求可以是用户点击第一终端显示屏上的按钮生成的,也可以是用户通过按压第一终端触摸屏上的控件生成的。The location information refers to the location information of the location where the first terminal is located. Specifically, the location information may be azimuth information, street information, or the like, which is not limited thereto. For example, the location information may be city information, street information, building information, etc. where the first terminal is located, and may also be latitude and longitude information of the location where the first terminal is located. The location information acquisition request may be generated by the user clicking a button on the display screen of the first terminal, or may be generated by the user pressing a control on the touch screen of the first terminal.
步骤204,根据位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像。Step 204 , controlling the camera to rotate to collect an environmental image of the location where the first terminal is located according to the location information acquisition request.
第一终端可以包括摄像头模组和驱动该摄像头模组的驱动组件。摄像头模组可包括一个或多个摄像头。摄像头可包括按照顺序组装在一起的镜头、基座、传感器和电路板。摄像头为两个时,可配置一个摄像头为前置摄像头,另一个摄像头为后置摄像头,或者两个为后置摄像头。摄像头为三个或三个以上时,可配置一个前置摄像头,其余摄像头为后置摄像头,或者,配置两个前置摄像头,其余摄像头为后置摄像头。摄像头可以是内置摄像头,也可以是外置摄像头。环境图像是指摄像头采集的关于第一终端的摄像头周围环境的图像。具体地,环境图像可以存在有建筑物、公路、人物以及花草树木等物体。摄像头旋转的角度可以根据用户需求预先设定。具体地,摄像头旋转的角度可以为180度、270度、360度等不限于此。The first terminal may include a camera module and a driving component for driving the camera module. The camera module may include one or more cameras. A camera may include a lens, a base, a sensor, and a circuit board that are assembled together in sequence. When there are two cameras, one camera can be configured as the front camera, the other camera can be configured as the rear camera, or two cameras can be configured as the rear camera. When there are three or more cameras, one front-facing camera can be configured, and the rest of the cameras are rear-facing cameras, or two front-facing cameras can be configured, and the remaining cameras are rear-facing cameras. The camera can be a built-in camera or an external camera. The environment image refers to an image collected by the camera about the environment around the camera of the first terminal. Specifically, the environment image may have objects such as buildings, roads, people, flowers, trees and the like. The rotation angle of the camera can be preset according to user needs. Specifically, the rotation angle of the camera may be 180 degrees, 270 degrees, 360 degrees, etc., but is not limited thereto.
第一终端接收到位置信息获取请求后,可以通过驱动组件驱动摄像头旋转采集第一终端所在位置周围的环境图像。After the first terminal receives the request for obtaining the location information, it can drive the camera to rotate through the driving component to collect environmental images around the location where the first terminal is located.
步骤206,将环境图像发送给第二终端,环境图像用于指示第二终端确定第一终端的位置。Step 206: Send the environment image to the second terminal, where the environment image is used to instruct the second terminal to determine the location of the first terminal.
第一终端可以通过2G/3G/4G/WiFi(Wireless Fidelity,无线保真)等无线通信技术将环境图像发送给第二终端。具体地,第一终端可以通过网络直接将环境图像发送给第二终端,也可以通过网络上传到服务器,再通过服务器发送给第二终端。第二终端可以根据环境图像中的用户人脸、周围的建筑物、路牌、所处的方位等信息获知第一终端及其用户的具体位置。例如,A和B二人相约在十字路口见面,但两人分别处于十字路口4个区域中的两个不同区域,此时A触发位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像并发送给B所持的第二终端,B可以根据B周围的环境信息与环境图像中A周围的建筑物信息及对应的距离确定A所在的具体位置。The first terminal may send the environment image to the second terminal by using a wireless communication technology such as 2G/3G/4G/WiFi (Wireless Fidelity, wireless fidelity). Specifically, the first terminal may directly send the environment image to the second terminal through the network, or may upload the environment image to the server through the network, and then send the environment image to the second terminal through the server. The second terminal may learn the specific location of the first terminal and its user according to information such as the user's face, surrounding buildings, street signs, and orientation in the environment image. For example, two people A and B meet at the intersection, but they are in two different areas of the four areas of the intersection. At this time, A triggers a position information acquisition request and controls the camera to rotate to collect the environmental image of the location of the first terminal. and send it to the second terminal held by B, and B can determine the specific location of A according to the environment information around B and the building information around A in the environment image and the corresponding distance.
本申请实施例中提供的位置信息处理方法,通过接收位置信息获取请求后控制摄像头旋转采集第一终端所在位置的环境图像,将环境图像发送给第二终端,第二终端可以根据环境图像确定第一终端的位置。由于第二终端可以根据第一终端摄像头旋转采集的第一终端所在位置的环境图像确定第一终端的具体位置,提高了位置信息的准确性。The location information processing method provided in the embodiment of the present application controls the camera to rotate and collect the environmental image of the location of the first terminal after receiving the location information acquisition request, and sends the environmental image to the second terminal, and the second terminal can determine the first terminal according to the environmental image. the location of a terminal. Since the second terminal can determine the specific location of the first terminal according to the environmental image of the location where the first terminal is located and collected by the camera of the first terminal rotated, the accuracy of the location information is improved.
如图3所示,在一个实施例中提供的一种位置信息处理方法中根据位置信息获取请求控制摄像头采集第一终端所在位置的环境图像的过程还包括:As shown in FIG. 3 , in a method for processing location information provided in an embodiment, the process of controlling a camera to collect an environmental image of the location of the first terminal according to the location information acquisition request further includes:
步骤302,根据位置信息获取请求开启摄像头。Step 302: Turn on the camera according to the location information acquisition request.
具体地,第一终端可以根据位置信息获取请求开启至少一个摄像头。第一终端的显示屏上可以显示摄像头能够采集的图像范围和图像信息等。Specifically, the first terminal may turn on at least one camera according to the location information acquisition request. The image range and image information that can be collected by the camera may be displayed on the display screen of the first terminal.
步骤304,控制摄像头从第一终端上的第一位置移动至第二位置。Step 304, controlling the camera to move from the first position on the first terminal to the second position.
第二位置可以位于第一终端的顶部。第一终端包括相连接的显示屏和后壳,摄像头可以设置在显示屏和后壳之间的第一位置。当第一终端开启摄像头时,通过控制驱动组件驱动摄像头从位于后壳内的第一位置移动到位于后壳外的第二位置。摄像头位于第二位置时,可以以摄像头与第一终端的壳体之间连接的转轴进行旋转。The second location may be on top of the first terminal. The first terminal includes a connected display screen and a rear casing, and the camera can be arranged at a first position between the display screen and the rear casing. When the first terminal turns on the camera, the camera is driven to move from the first position inside the rear casing to the second position outside the rear casing by controlling the driving assembly. When the camera is located at the second position, the camera can be rotated with a rotating shaft connected between the camera and the housing of the first terminal.
步骤306,旋转摄像头拍摄第一终端周围的环境图像。Step 306 , rotate the camera to capture an image of the environment around the first terminal.
当摄像头处于第二位置时,第一终端可以通过驱动摄像头模组的驱动组件控制摄像头旋转并拍摄第一终端周围的环境图像。When the camera is in the second position, the first terminal can control the camera to rotate by driving the driving component of the camera module and shoot the image of the environment around the first terminal.
如图4所示,在一个实施例中第一终端400包括主壳体、连接于主壳体上的摄像头模组440以及驱动组件、设于主壳体内部的电池以及与电池耦合连接的处理器、通信单元。主壳体包括显示屏410、后壳420以及二者之间的侧壁430,显示屏410、后壳420和侧壁430共同围设形成容置腔。主壳体上设有凹槽,摄像头模组440嵌设于凹槽内,驱动组件则设于主壳体和摄像头模组440之间,用于产生摄像头模组440相对于主壳体的推出及旋转驱动力,以带动摄像头模组440从处于凹槽内的第一位置402移动到主壳体外的第二位置404以及使摄像头模组440位于第二位置时以摄像头模组440与驱动组件连接的转轴为轴心进行旋转转动。如图4所示,第一幅图为摄像头模组440位于第一位置402的示意图;第二幅图为后壳420视角的摄像头模组440位于第二位置404的示意图,此时摄像头的入光面为显示屏一侧;第三幅图为显示屏410视角的摄像头模组440位于第二位置404的示意图;第四幅图为侧壁430视角的摄像头模组440旋转90度或270度后的示意图,此时摄像头的入光面位于侧壁430镜头指向的一侧。As shown in FIG. 4 , in one embodiment, the first terminal 400 includes a main casing, a camera module 440 connected to the main casing, a driving assembly, a battery disposed inside the main casing, and a process for coupling and connecting with the battery. device, communication unit. The main casing includes a display screen 410, a rear casing 420, and a side wall 430 therebetween. The display screen 410, the rear casing 420 and the side wall 430 are jointly formed to form an accommodating cavity. The main casing is provided with a groove, the camera module 440 is embedded in the groove, and the driving component is arranged between the main casing and the camera module 440, and is used to generate the push-out of the camera module 440 relative to the main casing. and rotational driving force to drive the camera module 440 to move from the first position 402 in the groove to the second position 404 outside the main casing, and when the camera module 440 is located in the second position, the camera module 440 and the driving assembly The connected shaft rotates as the axis. As shown in FIG. 4 , the first picture is a schematic diagram of the camera module 440 located at the first position 402 ; the second picture is a schematic diagram of the camera module 440 located at the second position 404 from the perspective of the rear shell 420 . The glossy surface is one side of the display screen; the third picture is a schematic diagram of the camera module 440 at the second position 404 with the viewing angle of the display screen 410; the fourth picture is the camera module 440 with the viewing angle of the side wall 430 rotated 90 degrees or 270 degrees In the following schematic diagram, at this time, the light incident surface of the camera is located on the side of the side wall 430 to which the lens points.
如图5所示,在另一个实施例中第一终端500包括主壳体、连接与主壳体上的摄像头模组540以及驱动组件、设于主壳体内部的电池以及与电池耦合连接的处理器、通信单元。主壳体包括显示屏510、后侧520以及二者之间的侧壁430,显示屏510、后壳520和侧壁530共同围设形成容置腔。主壳体上设有凹槽,摄像头模组540嵌设于凹槽内,驱动组件则设于主壳体和摄像头模组540之间,用于产生摄像头模组540相对于主壳体的推出及旋转驱动力,以带动摄像头模组540从处于凹槽内的第一位置移动到主壳体外的第二位置以及摄像头模组540位于第二位置时以摄像头模组540与驱动组件连接的转轴为轴心进行旋转转动。如图5所示,第一幅图为侧壁530视角的摄像头模组位于第一位置的示意图;第二幅图为显示屏510视角的摄像头模组540位于第二位置的示意图,此时摄像头的入光面位于侧壁530镜头指向的一侧;第三幅图为显示屏510视角的摄像头模组540旋转90度或270度后的示意图,此时摄像头的入光面为显示屏510的一侧。As shown in FIG. 5 , in another embodiment, the first terminal 500 includes a main casing, a camera module 540 connected to the main casing, a driving assembly, a battery disposed inside the main casing, and a battery coupled to the battery. processor, communication unit. The main casing includes a display screen 510 , a rear side 520 and a side wall 430 therebetween. The display screen 510 , the rear casing 520 and the side wall 530 are jointly formed to form an accommodating cavity. The main casing is provided with a groove, the camera module 540 is embedded in the groove, and the driving component is arranged between the main casing and the camera module 540 for producing the push-out of the camera module 540 relative to the main casing and rotational driving force to drive the camera module 540 to move from the first position in the groove to the second position outside the main casing, and when the camera module 540 is in the second position, the camera module 540 is connected to the drive assembly with the rotating shaft Rotate the axis. As shown in FIG. 5 , the first picture is a schematic diagram of the camera module from the side wall 530 in the first position; the second picture is a schematic diagram of the camera module 540 from the display screen 510 in the second position. At this time, the camera The light incident surface is located on the side of the side wall 530 to which the lens points; the third picture is a schematic diagram of the camera module 540 rotated by 90 degrees or 270 degrees from the viewing angle of the display screen 510. side.
通过根据位置信息获取请求开启摄像头,控制摄像头移动从第一终端的第一位置移动至第二位置,旋转摄像头拍摄第一终端周围的环境图像,可以获取第一终端周围的环境图像,根据环境图像可以准确的确定第一终端所在的位置,提高位置信息的准确性。By turning on the camera according to the location information acquisition request, controlling the camera to move from the first position of the first terminal to the second position, and rotating the camera to capture the image of the environment around the first terminal, the image of the environment around the first terminal can be obtained. The location of the first terminal can be accurately determined, and the accuracy of the location information can be improved.
如图6所示,在另一个实施例中提供的一种位置信息处理方法中根据位置信息获取请求控制摄像头采集第一终端所在位置的环境图像的过程还可以包括:As shown in FIG. 6 , in a method for processing location information provided in another embodiment, the process of controlling a camera to collect an environmental image of the location where the first terminal is located according to a location information acquisition request may further include:
步骤602,检测第一终端的倾斜角度。Step 602, detecting the tilt angle of the first terminal.
倾斜角度是指第一终端与水平面之间的夹角。第一终端可以通过内置传感器检测第一终端的倾斜角度。具体地,第一终端内置的传感器可以是重力传感器,也可以是加速度传感器,还可以是陀螺仪等不限于此。The inclination angle refers to the included angle between the first terminal and the horizontal plane. The first terminal may detect the tilt angle of the first terminal through a built-in sensor. Specifically, the built-in sensor of the first terminal may be a gravity sensor, an acceleration sensor, or a gyroscope, which is not limited thereto.
步骤604,根据倾斜角度调整摄像头的拍摄方向。Step 604: Adjust the shooting direction of the camera according to the tilt angle.
具体地,拍摄方向是指摄像头拍摄图像时的朝向。例如,当摄像头拍摄的图像为天空或地面时,拍摄方向可以是水平面的垂直方向。第一终端可以根据第一终端的倾斜角度调整摄像头的拍摄方向,例如,当检测到第一终端的倾斜角度为30度时,若第一终端拍摄的目标图像为天空,则第一终端可以将摄像头调整至与第一终端形成30度的夹角,使摄像头的拍摄方向为垂直方向。Specifically, the shooting direction refers to the orientation of the camera when shooting an image. For example, when the image captured by the camera is the sky or the ground, the capturing direction may be the vertical direction of the horizontal plane. The first terminal can adjust the shooting direction of the camera according to the inclination angle of the first terminal. For example, when it is detected that the inclination angle of the first terminal is 30 degrees, if the target image captured by the first terminal is the sky, the first terminal can The camera is adjusted to form an included angle of 30 degrees with the first terminal, so that the shooting direction of the camera is the vertical direction.
步骤606,旋转摄像头拍摄第一终端周围的环境图像。Step 606, rotate the camera to capture an image of the environment around the first terminal.
当摄像头调整好拍摄方向后,第一终端可以通过驱动组件控制摄像头旋转并拍摄第一终端周围的环境图像。After the camera adjusts the shooting direction, the first terminal can control the camera to rotate through the driving component and shoot an image of the environment around the first terminal.
在一个实施中,提供的一种位置信息处理方法中根据位置信息获取请求控制摄像头采集第一终端所在位置的环境图像还可以包括:将摄像头的拍摄方向调整至水平方向。In one implementation, in the provided method for processing position information, controlling the camera to collect the environmental image of the location of the first terminal according to the position information acquisition request may further include: adjusting the shooting direction of the camera to a horizontal direction.
在日常生活中,用户手持第一终端使用时第一终端的倾斜角度通常为锐角,当第一终端的倾斜角度为锐角时,旋转摄像头拍摄的环境图像会出现较多对确定位置信息无用的区域如天空、天花板、地面等,第二终端难以根据环境图像中的天空、地面等环境因素确定第一终端的位置。本申请提供的一个实施例中,第一终端可以将摄像头的拍摄方向自动调整至水平方向。In daily life, the inclination angle of the first terminal is usually an acute angle when the user holds the first terminal for use. When the inclination angle of the first terminal is an acute angle, there will be many areas that are useless for determining the location information in the environmental image captured by the rotating camera. For example, the sky, the ceiling, the ground, etc., it is difficult for the second terminal to determine the position of the first terminal according to environmental factors such as the sky and the ground in the environmental image. In an embodiment provided in this application, the first terminal can automatically adjust the shooting direction of the camera to the horizontal direction.
如图7所示,为一个实施例中图5的第一终端与水平面形成倾斜角度的示意图。在本实施例中,驱动组件还用于产生摄像头模组相对于主壳体转动的转动驱动力,以带动摄像头模组以其与驱动组件连接的预设节点为轴心进行转动,使摄像头模组与水平面平行。图7中,第一幅图为第一终端500控制摄像头移动至第一终端上的第二位置的侧面图,此时第一终端500及其摄像头模组540均与水平面形成一定的倾斜角度;第二幅图为第一终端500通过检测第一终端500的倾斜角度,根据第一终端500的倾斜角度调整摄像头的拍摄方向至水平方向后的侧面图,此时第一终端500与水平面形成一定的倾斜角度,但摄像头模组540与水平面平行,使摄像头的拍摄方向为水平方向,此时摄像头的入光面为侧壁镜头指向的一侧;第三幅图为第一终端500控制摄像头模组540旋转拍摄第一终端500周围的环境图像的侧面图,此时摄像头模组540及其摄像头旋转90度或270度,摄像头的入光面为显示屏一侧,可以拍摄第一终端500的显示屏510一侧水平方向的环境图像。As shown in FIG. 7 , it is a schematic diagram illustrating that the first terminal of FIG. 5 forms an inclined angle with the horizontal plane in one embodiment. In this embodiment, the driving component is also used to generate a rotational driving force for the camera module to rotate relative to the main casing, so as to drive the camera module to rotate with the preset node connected with the driving component as the axis, so that the camera module rotates Groups are parallel to the horizontal plane. In FIG. 7, the first picture is a side view of the first terminal 500 controlling the camera to move to the second position on the first terminal. At this time, the first terminal 500 and its camera module 540 both form a certain inclination angle with the horizontal plane; The second picture is a side view of the first terminal 500 after detecting the inclination angle of the first terminal 500 and adjusting the shooting direction of the camera to the horizontal direction according to the inclination angle of the first terminal 500. At this time, the first terminal 500 and the horizontal plane form a certain However, the camera module 540 is parallel to the horizontal plane, so that the shooting direction of the camera is the horizontal direction. At this time, the light incident surface of the camera is the side that the side wall lens points to; the third picture shows the first terminal 500 controlling the camera module The side view of the group 540 is rotated to capture the image of the environment around the first terminal 500. At this time, the camera module 540 and its camera are rotated by 90 degrees or 270 degrees, and the light incident surface of the camera is the side of the display screen. The environmental image in the horizontal direction on one side of the display screen 510 .
通过检测第一终端的倾斜角度,将摄像头的拍摄方向调整至水平方向,旋转摄像头拍摄第一终端所在位置周围的环境图像,可以使摄像头拍摄的环境图像中存在更多使第二终端能够准确确定第一终端的位置的图像信息,提高位置信息的准确性。By detecting the inclination angle of the first terminal, adjusting the shooting direction of the camera to the horizontal direction, and rotating the camera to take pictures of the environment around the location of the first terminal, there are more environmental images captured by the camera so that the second terminal can accurately determine The image information of the location of the first terminal improves the accuracy of the location information.
如图8所示,在一个实施例中,提供的一种位置信息处理方法还包括:As shown in FIG. 8 , in one embodiment, the provided method for processing location information further includes:
步骤802,获取第一终端的经纬度信息。Step 802: Acquire longitude and latitude information of the first terminal.
经纬度信息是指具体的经纬度,是生成位置信息的主要信息。第一终端可以通过GPS(Global Positioning System全球定位系统)定位系统自动获取到第一终端对应的经纬度信息。The latitude and longitude information refers to specific latitude and longitude, and is the main information for generating location information. The first terminal may automatically acquire longitude and latitude information corresponding to the first terminal through a GPS (Global Positioning System) positioning system.
步骤804,根据经纬度信息和环境图像生成第一终端的位置信息。Step 804: Generate location information of the first terminal according to the latitude and longitude information and the environment image.
第一终端可以根据获取到的经纬度信息和环境图像生成第一终端的位置信息。例如,第一终端的经纬度信息是北纬23.1066805,东经113.3245904,第一终端可以根据第一终端的经纬度信息结合环境图像生成第一终端的位置信息,第一终端的位置信息可以是在第一终端采集的环境图像中根据经纬度信息显示第一终端的位置点。The first terminal may generate location information of the first terminal according to the acquired latitude and longitude information and the environment image. For example, the longitude and latitude information of the first terminal is 23.1066805 north latitude and 113.3245904 east longitude. The first terminal can generate the location information of the first terminal according to the longitude and latitude information of the first terminal combined with the environmental image, and the location information of the first terminal can be collected at the first terminal. The location point of the first terminal is displayed according to the latitude and longitude information in the environment image of the .
步骤806,将位置信息发送给第二终端,位置信息用于指示第二终端确定第一终端的位置。Step 806: Send location information to the second terminal, where the location information is used to instruct the second terminal to determine the location of the first terminal.
第一终端通过网络将位置信息发送至第二终端,第二终端根据第一终端的位置信息确定第一终端的位置。具体地,第二终端可以根据位置信息中的经纬度信息确定第一终端的大致位置,当第二终端进入第一终端的环境图像范围时,根据经纬度信息在环境图像中显示的第一终端的位置点确定第一终端的位置。The first terminal sends the location information to the second terminal through the network, and the second terminal determines the location of the first terminal according to the location information of the first terminal. Specifically, the second terminal may determine the approximate location of the first terminal according to the latitude and longitude information in the location information, and when the second terminal enters the environment image range of the first terminal, the location of the first terminal displayed in the environment image according to the latitude and longitude information Click to locate the first terminal.
如图9所示,在另一个实施例中,提供的一种位置信息处理方法还可以包括:As shown in FIG. 9 , in another embodiment, the provided method for processing location information may further include:
步骤902,检测第一终端的位置信息。Step 902, detecting the location information of the first terminal.
位置信息中包括第一终端的经纬度信息和环境图像。具体地,第一终端可以在向第二终端发送环境图像后,实时检测第一终端的位置信息,也可以通过设定时间间隔,在距离发送位置信息的时间超过设定时间检测时,检测第一终端的位置信息。The location information includes latitude and longitude information and an environment image of the first terminal. Specifically, the first terminal can detect the location information of the first terminal in real time after sending the environment image to the second terminal, or can detect the first terminal by setting the time interval when the time from sending the location information exceeds the set time for detection. Location information of a terminal.
步骤904,当第一终端的位置信息发生变化时,再次控制摄像头旋转采集第一终端的环境图像。Step 904, when the location information of the first terminal changes, control the camera to rotate again to collect the environment image of the first terminal.
第一终端的位置信息发生变化可以是第一终端的经纬度信息发生变化,也可以是第一终端的周围环境发生变化,还可以是上述二者的组合。具体地,第一终端可以设定第一阈值,当第一终端的经纬度变化的差值超过第一阈值时,则判定第一终端的位置信息发生变化。第一终端还可以设定第二阈值,当检测到第一终端周围环境与上一次检测第一终端周围环境的不同区域的大小超过第二阈值时,则判定第一种终端的位置信息发生变化。当判定第一终端的位置信息发生变化时,第一终端再次控制摄像头旋转采集第一终端周围环境的环境图像。The change of the location information of the first terminal may be the change of the latitude and longitude information of the first terminal, the change of the surrounding environment of the first terminal, or the combination of the above two. Specifically, the first terminal may set a first threshold, and when the difference between the changes of the latitude and longitude of the first terminal exceeds the first threshold, it is determined that the location information of the first terminal has changed. The first terminal may also set a second threshold, and when it is detected that the size of a different area between the surrounding environment of the first terminal and the last detection of the surrounding environment of the first terminal exceeds the second threshold, it is determined that the location information of the first terminal has changed. . When it is determined that the location information of the first terminal has changed, the first terminal controls the camera to rotate again to collect an environmental image of the surrounding environment of the first terminal.
步骤906,将环境图像发送给第二终端。Step 906, sending the environment image to the second terminal.
第一终端将再次采集的环境图像发送给第二终端,第二终端可以根据新的环境图像重新确定第一终端的位置。The first terminal sends the re-collected environment image to the second terminal, and the second terminal can re-determine the position of the first terminal according to the new environment image.
通过在第一终端的位置信息发生变化时,再次控制摄像头旋转采集第一终端周围的环境图像并发送给第二终端,可以使第二终端实时追踪到第一终端的位置信息,避免因第一终端位置变化而无法确定第一终端的准确位置。When the location information of the first terminal changes, by controlling the camera to rotate again to collect the image of the environment around the first terminal and send it to the second terminal, the second terminal can track the location information of the first terminal in real time, avoiding The position of the terminal changes and the exact position of the first terminal cannot be determined.
在一个实施例中,提供的一种位置信息处理方法中第二终端为车载设备或手持设备。In an embodiment, in the provided method for processing location information, the second terminal is a vehicle-mounted device or a handheld device.
车载设备可以通过支架或固定件安装在车辆内,例如可以独立安装在车辆中央控制台的上方,方便行车及等待过程中进行查看操作,也可以集成在车辆的其他装置中。手持设备可以是手机、平板电脑、个人数字助理、穿戴式设备等不限于此。例如,当第一终端的用户通过第一终端预约出租车时,第一终端可以控制摄像头旋转采集第一终端所在位置周围的环境图像并发送给出租车的车载设备或出租车驾驶员的手持设备,出租车驾驶员可以通过环境图像快速确定第一终端的位置。The in-vehicle equipment can be installed in the vehicle through brackets or fixing parts, for example, it can be independently installed above the center console of the vehicle to facilitate viewing operations during driving and waiting, or it can be integrated into other devices of the vehicle. The handheld device may be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc. without limitation. For example, when a user of the first terminal makes a reservation for a taxi through the first terminal, the first terminal can control the camera to rotate to collect an image of the environment around the location of the first terminal and send it to the on-board device of the taxi or the handheld device of the taxi driver , the taxi driver can quickly determine the location of the first terminal through the environment image.
在一个实施例中,提供了位置信息处理方法,实现该方法的具体步骤如下所述:In one embodiment, a method for processing location information is provided, and the specific steps for implementing the method are as follows:
首先,第一终端接收位置信息获取请求。位置信息是指第一终端所在位置的位置信息。具体地,位置信息可以是方位信息,也可以是街道信息等不限于此。例如,位置信息可以是第一终端所处的城市信息、街道信息、楼栋信息等,还可以是第一终端所处位置的经纬度信息等。位置信息获取请求可以是用户点击第一终端显示屏上的按钮生成的,也可以是用户通过按压第一终端触摸屏上的控件生成的。First, the first terminal receives a location information acquisition request. The location information refers to the location information of the location where the first terminal is located. Specifically, the location information may be azimuth information, street information, or the like, which is not limited thereto. For example, the location information may be city information, street information, building information, etc. where the first terminal is located, and may also be latitude and longitude information of the location where the first terminal is located. The location information acquisition request may be generated by the user clicking a button on the display screen of the first terminal, or may be generated by the user pressing a control on the touch screen of the first terminal.
接着,第一终端根据位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像。第一终端接收到位置信息获取请求后,可以通过驱动组件驱动摄像头旋转采集第一终端所在位置周围的环境图像。第一终端可以包括摄像头模组和驱动该摄像头模组的驱动组件。摄像头模组可包括一个或多个摄像头。摄像头可包括按照顺序组装在一起的镜头、基座、传感器和电路板。摄像头可以是内置摄像头,也可以是外置摄像头。环境图像是指摄像头采集的关于摄像头周围环境的图像。具体地,环境图像可以存在有建筑物、公路、人物以及花草树木等物体。摄像头旋转的角度可以根据用户需求预先设定。具体地,摄像头旋转的角度可以为180度、270度、360度等不限于此。Next, the first terminal controls the camera to rotate according to the location information acquisition request to collect an environmental image of the location where the first terminal is located. After the first terminal receives the request for obtaining the location information, it can drive the camera to rotate through the driving component to collect environmental images around the location where the first terminal is located. The first terminal may include a camera module and a driving component for driving the camera module. The camera module may include one or more cameras. A camera may include a lens, a base, a sensor, and a circuit board that are assembled together in sequence. The camera can be a built-in camera or an external camera. The environment image refers to the image of the surrounding environment of the camera collected by the camera. Specifically, the environment image may have objects such as buildings, roads, people, flowers, trees and the like. The rotation angle of the camera can be preset according to user needs. Specifically, the rotation angle of the camera may be 180 degrees, 270 degrees, 360 degrees, etc., but is not limited thereto.
可选地,第一终端根据位置信息获取请求开启摄像头,控制摄像头从第一终端的第一位置移动第二位置,旋转摄像头拍摄第一终端周围的环境图像。第一终端可以根据位置信息获取请求开启至少一个摄像头。第一终端的显示屏上可以显示摄像头能够采集的图像范围和图像信息等。第二位置可以位于第一终端的顶部。第一终端包括相连接的显示屏和后壳,摄像头模组可以设置在显示屏和后壳之间的第一位置。当第一终端开启摄像头时,通过控制驱动组件驱动摄像头从位于后壳内的第一位置移动到位于后壳外的第二位置。当第一终端开启摄像头时,通过驱动组件控制摄像头从后壳内移动到第二位置,再通过驱动组件驱动摄像头旋转并拍摄第一终端周围的环境图像。Optionally, the first terminal turns on the camera according to the location information acquisition request, controls the camera to move from the first position of the first terminal to the second position, and rotates the camera to capture images of the environment around the first terminal. The first terminal may turn on at least one camera according to the location information acquisition request. The image range and image information that can be collected by the camera may be displayed on the display screen of the first terminal. The second location may be on top of the first terminal. The first terminal includes a connected display screen and a rear shell, and the camera module can be arranged at a first position between the display screen and the rear shell. When the first terminal turns on the camera, the camera is driven to move from the first position inside the rear casing to the second position outside the rear casing by controlling the driving assembly. When the camera is turned on by the first terminal, the camera is controlled to move from the rear casing to the second position by the driving component, and the camera is driven to rotate by the driving component to capture an image of the environment around the first terminal.
可选地,第一终端检测第一终端的倾斜角度,根据倾斜角度调整摄像头的拍摄方向,旋转摄像头拍摄第一终端周围的环境图像。倾斜角度是指第一终端与水平面之间的夹角。第一终端可以通过内置传感器检测第一终端的倾斜角度。具体地,第一终端内置的传感器可以是重力传感器,也可以是加速度传感器,还可以是陀螺仪等不限于此。拍摄方向是指摄像头拍摄图像时的朝向。例如,当摄像头拍摄的图像为天空或地面时,拍摄方向可以是水平面的垂直方向。第一终端可以根据第一终端的倾斜角度调整摄像头的拍摄方向,例如,当检测到第一终端的倾斜角度为30度时,若第一终端拍摄的目标图像为天空,则第一终端可以将摄像头调整至与第一终端形成30度的夹角,使摄像头的拍摄方向为垂直方向。当摄像头调整好拍摄方向后,第一终端可以通过驱动组件驱动摄像头旋转并拍摄第一终端周围的环境图像。Optionally, the first terminal detects the inclination angle of the first terminal, adjusts the shooting direction of the camera according to the inclination angle, and rotates the camera to capture an image of the environment around the first terminal. The inclination angle refers to the included angle between the first terminal and the horizontal plane. The first terminal may detect the tilt angle of the first terminal through a built-in sensor. Specifically, the built-in sensor of the first terminal may be a gravity sensor, an acceleration sensor, or a gyroscope, which is not limited thereto. Shooting direction refers to the orientation of the camera when shooting images. For example, when the image captured by the camera is the sky or the ground, the capturing direction may be the vertical direction of the horizontal plane. The first terminal can adjust the shooting direction of the camera according to the inclination angle of the first terminal. For example, when it is detected that the inclination angle of the first terminal is 30 degrees, if the target image captured by the first terminal is the sky, the first terminal can The camera is adjusted to form an included angle of 30 degrees with the first terminal, so that the shooting direction of the camera is the vertical direction. After the camera adjusts the shooting direction, the first terminal can drive the camera to rotate through the driving component and shoot an image of the environment around the first terminal.
可选地,第一终端将摄像头的拍摄方向调整至水平方向。通过检测第一终端的倾斜角度,将摄像头的拍摄方向调整至水平方向,旋转摄像头拍摄第一终端周围的环境图像,可以使摄像头拍摄的环境图像中存在更多使第二终端能够准确确定第一终端的位置的图像信息,提高位置信息的准确性。Optionally, the first terminal adjusts the shooting direction of the camera to a horizontal direction. By detecting the inclination angle of the first terminal, adjusting the shooting direction of the camera to the horizontal direction, and rotating the camera to take pictures of the environment around the first terminal, there are more environmental images captured by the camera, so that the second terminal can accurately determine the first terminal. The image information of the location of the terminal improves the accuracy of the location information.
接着,第一终端将环境图像发送给第二终端,环境图像用于指示第二终端确定第一终端的位置。第一终端可以通过2G/3G/4G/WiFi(Wireless Fidelity,无线保真)等无线通信技术将环境图像发送给第二终端。具体地,第一终端可以通过网络直接将环境图像发送给第二终端,也可以通过网络上传到服务器,再通过服务器发送给第二终端。第二终端可以根据环境图像中的用户人脸、周围的建筑物、路牌、所处的方位等信息获知第一终端及其用户的具体位置。Next, the first terminal sends the environment image to the second terminal, where the environment image is used to instruct the second terminal to determine the position of the first terminal. The first terminal may send the environment image to the second terminal by using a wireless communication technology such as 2G/3G/4G/WiFi (Wireless Fidelity, wireless fidelity). Specifically, the first terminal may directly send the environment image to the second terminal through the network, or may upload the environment image to the server through the network, and then send the environment image to the second terminal through the server. The second terminal may learn the specific location of the first terminal and its user according to information such as the user's face, surrounding buildings, street signs, and orientation in the environment image.
可选地,第一终端获取第一终端的经纬度信息,根据经纬度信息和环境图像生成第一终端的位置信息,将位置信息发送给第二终端,位置信息用于指示第二终端确定第一终端的位置。经纬度信息是指具体的经纬度,是生成位置信息的主要信息。第一终端可以通过GPS定位系统自动获取到第一终端对应的经纬度信息。第一终端可以根据第一终端的经纬度信息结合环境图像生成第一终端的位置信息,第一终端的位置信息可以是在第一终端采集的环境图像中根据经纬度信息显示第一终端的位置点。第一终端通过网络将位置信息发送至第二终端,第二终端根据第一终端的位置信息确定第一终端的位置。第二终端可以根据位置信息中的经纬度信息确定第一终端的大致位置,当第二终端进入第一终端的环境图像范围时,根据经纬度信息在环境图像中显示的第一终端的位置点确定第一终端的位置。Optionally, the first terminal acquires latitude and longitude information of the first terminal, generates location information of the first terminal according to the latitude and longitude information and the environment image, and sends the location information to the second terminal, where the location information is used to instruct the second terminal to determine the first terminal. s position. The latitude and longitude information refers to specific latitude and longitude, and is the main information for generating location information. The first terminal can automatically acquire the latitude and longitude information corresponding to the first terminal through the GPS positioning system. The first terminal may generate location information of the first terminal according to the latitude and longitude information of the first terminal combined with the environmental image, and the location information of the first terminal may be a location point of the first terminal displayed according to the latitude and longitude information in the environmental image collected by the first terminal. The first terminal sends the location information to the second terminal through the network, and the second terminal determines the location of the first terminal according to the location information of the first terminal. The second terminal can determine the approximate location of the first terminal according to the latitude and longitude information in the location information, and when the second terminal enters the range of the environmental image of the first terminal, the second terminal can determine the location of the first terminal according to the latitude and longitude information displayed in the environmental image. the location of a terminal.
可选地,第一终端检测第一终端的位置信息,当第一终端的位置信息发生变化时,再次控制摄像头旋转采集第一终端的环境图像,将环境图像发送给第二终端。位置信息中包括第一终端的经纬度信息和环境图像。具体地,第一终端可以在向第二终端发送环境图像后,实时检测第一终端的位置信息,也可以通过设定时间间隔,在距离发送位置信息的时间超过设定时间检测时,检测第一终端的位置信息,当判定第一终端的位置信息发生变化时,第一终端再次控制摄像头旋转采集第一终端周围环境的环境图像并发送给第二终端,第二终端可以根据新的环境图像重新确定第一终端的位置。Optionally, the first terminal detects the location information of the first terminal, and when the location information of the first terminal changes, controls the camera to rotate again to collect the environmental image of the first terminal, and sends the environmental image to the second terminal. The location information includes latitude and longitude information and an environment image of the first terminal. Specifically, the first terminal can detect the location information of the first terminal in real time after sending the environment image to the second terminal, or can detect the first terminal by setting the time interval when the time from sending the location information exceeds the set time for detection. The location information of a terminal, when it is determined that the location information of the first terminal has changed, the first terminal controls the camera to rotate again to collect an environmental image of the surrounding environment of the first terminal and send it to the second terminal. Relocate the first terminal.
可选地,第二终端为车载设备或手持设备。车载设备可以通过支架或固定件安装在车辆内,例如可以独立安装在车辆中央控制台的上方,方便行车及等待过程中进行查看操作,也可以集成在车辆的其他装置中。手持设备可以是手机、平板电脑、个人数字助理、穿戴式设备等不限于此。例如,当第一终端的用户通过第一终端预约出租车时,第一终端可以控制摄像头旋转采集第一终端所在位置周围的环境图像并发送给出租车的车载设备或出租车驾驶员的手持设备,出租车驾驶员可以通过环境图像快速确定第一终端的位置。Optionally, the second terminal is a vehicle-mounted device or a handheld device. The in-vehicle equipment can be installed in the vehicle through brackets or fixing parts, for example, it can be independently installed above the center console of the vehicle to facilitate viewing operations during driving and waiting, or it can be integrated into other devices of the vehicle. The handheld device may be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, etc. without limitation. For example, when a user of the first terminal makes a reservation for a taxi through the first terminal, the first terminal can control the camera to rotate to collect an image of the environment around the location of the first terminal and send it to the on-board device of the taxi or the handheld device of the taxi driver , the taxi driver can quickly determine the location of the first terminal through the environment image.
应该理解的是,虽然图2、3、6、8、9的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2、3、6、8、9中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2 , 3 , 6 , 8 , and 9 are shown in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in FIGS. 2, 3, 6, 8, and 9 may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least a part of sub-steps or stages of other steps.
图10为一个实施例的位置信息处理装置的结构框图。如图10所示,一种位置信息处理装置,包括请求接收模块1002、图像获取模块1004和发送模块1006。其中:FIG. 10 is a structural block diagram of a position information processing apparatus according to an embodiment. As shown in FIG. 10 , a position information processing apparatus includes a request receiving module 1002 , an image acquiring module 1004 and a sending module 1006 . in:
请求接收模块1002,用于接收位置信息获取请求。The request receiving module 1002 is configured to receive a request for obtaining location information.
图像获取模块1004,用于根据位置信息获取请求控制摄像头旋转采集第一终端所在位置的环境图像。The image acquisition module 1004 is configured to control the camera to rotate and acquire the environmental image of the location of the first terminal according to the location information acquisition request.
发送模块1006,用于将环境图像发送给第二终端,环境图像用于指示第二终端确定第一终端的位置。The sending module 1006 is configured to send the environment image to the second terminal, where the environment image is used to instruct the second terminal to determine the position of the first terminal.
本实施例中的位置信息处理装置,通过接收位置信息获取请求,控制摄像头旋转采集第一终端所在位置的环境图像,将环境图像发送给第二终端,从而第二终端根据环境图像准确的确定第一终端的位置,提高位置信息的准确性。The position information processing device in this embodiment controls the camera to rotate and collect the environmental image of the location of the first terminal by receiving the position information acquisition request, and sends the environmental image to the second terminal, so that the second terminal can accurately determine the first terminal according to the environmental image. The location of a terminal improves the accuracy of location information.
在一个实施例中,图像获取模块1004还可以用于根据位置信息获取请求开启摄像头,控制摄像头从第一终端上的第一位置移动至第二位置,旋转摄像头拍摄第一终端周围的环境图像。In one embodiment, the image acquisition module 1004 may also be configured to turn on the camera according to the location information acquisition request, control the camera to move from the first position on the first terminal to the second position, and rotate the camera to capture images of the environment around the first terminal.
在一个实施例中,图像获取模块1004还可以用于检测第一终端的倾斜角度,根据倾斜角度调整摄像头的拍摄方向,旋转摄像头拍摄第一终端周围的环境图像。In one embodiment, the image acquisition module 1004 can also be used to detect the tilt angle of the first terminal, adjust the shooting direction of the camera according to the tilt angle, and rotate the camera to shoot an image of the environment around the first terminal.
在一个实施例中,图像获取模块1004还可以用于将摄像头的拍摄方向调整至水平方向。In one embodiment, the image acquisition module 1004 can also be used to adjust the shooting direction of the camera to the horizontal direction.
在一个实施例中,提供的一种位置信息处理装置还包括位置生成模块1008,用于获取第一终端的经纬度信息,根据经纬度信息和环境图像生成第一终端的位置信息,将位置信息发送给第二终端,位置信息用于指示第二终端确定第一终端的位置。In one embodiment, the provided location information processing apparatus further includes a location generation module 1008 for acquiring the latitude and longitude information of the first terminal, generating the location information of the first terminal according to the latitude and longitude information and the environment image, and sending the location information to For the second terminal, the location information is used to instruct the second terminal to determine the location of the first terminal.
在一个实施例中,图像获取模块1004还用于检测第一终端的位置信息,当第一终端的位置信息发送变化时,再次控制摄像头旋转采集第一终端的环境图像,将环境图像发送给第二终端。In one embodiment, the image acquisition module 1004 is further configured to detect the location information of the first terminal, and when the location information of the first terminal changes, control the camera to rotate again to collect the environmental image of the first terminal, and send the environmental image to the first terminal. Two terminals.
上述位置信息处理装置中各个模块的划分仅用于举例说明,在其他实施例中,可将位置信息处理装置按照需要划分为不同的模块,以完成上述位置信息处理装置的全部或部分功能。The division of each module in the above position information processing apparatus is only for illustration. In other embodiments, the position information processing apparatus may be divided into different modules as required to complete all or part of the functions of the above position information processing apparatus.
关于位置信息处理装置的具体限定可以参见上文中对于位置信息处理方法的限定,在此不再赘述。上述位置信息处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the location information processing apparatus, reference may be made to the above limitation on the location information processing method, which will not be repeated here. Each module in the above-mentioned position information processing apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
本申请实施例中提供的位置信息处理装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在移动终端上运行。该计算机程序构成的程序模块可存储在移动终端的存储器上。该计算机程序被处理器执行时,实现本申请实施例中所描述位置信息处理方法的步骤。The implementation of each module in the position information processing apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program can be run on the mobile terminal. The program modules constituted by the computer program can be stored in the memory of the mobile terminal. When the computer program is executed by the processor, the steps of the position information processing method described in the embodiments of the present application are implemented.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行位置信息处理方法的步骤。The embodiment of the present application also provides a computer-readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions, when executed by one or more processors, cause the processors to perform the steps of a method of processing location information.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行位置信息处理方法。A computer program product containing instructions, when executed on a computer, causes the computer to perform a method of processing location information.
本申请实施例还提供了一种移动终端。如图11所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以移动终端为手机为例:The embodiments of the present application also provide a mobile terminal. As shown in FIG. 11 , for the convenience of description, only the parts related to the embodiments of the present application are shown, and the specific technical details are not disclosed, please refer to the method part of the embodiments of the present application. The mobile terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, etc. Take the mobile terminal as an example of a mobile phone :
图11为与本申请实施例提供的移动终端相关的手机的部分结构的框图。参考图11,手机包括:射频(Radio Frequency,RF)电路1110、存储器1120、输入单元1130、显示单元1140、传感器1150、音频电路1160、无线保真(wireless fidelity,WiFi)模块1170、处理器1180、以及电源1190等部件。本领域技术人员可以理解,图11所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 11 is a block diagram of a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application. 11 , the mobile phone includes: a radio frequency (RF) circuit 1110 , a memory 1120 , an input unit 1130 , a display unit 1140 , a sensor 1150 , an audio circuit 1160 , a wireless fidelity (WiFi) module 1170 , and a processor 1180 , and power supply 1190 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 11 does not constitute a limitation on the mobile phone, and may include more or less components than shown, or combine some components, or arrange different components.
其中,RF电路1110可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器1180处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1110还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband CodeDivision Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 1110 can be used for receiving and sending signals during sending and receiving of information or during a call. After receiving the downlink information of the base station, it can be processed by the processor 1180; it can also send the uplink data to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 1110 may also communicate with networks and other devices via wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), email, Short Messaging Service (Short Messaging Service, SMS) and the like.
存储器1120可用于存储软件程序以及模块,处理器1180通过运行存储在存储器1120的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器1120可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器1120可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 1120 can be used to store software programs and modules, and the processor 1180 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 1120 . The memory 1120 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 for at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.), etc.; The data storage area may store data (such as audio data, address book, etc.) created according to the usage of the mobile phone, and the like. Additionally, memory 1120 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.
输入单元1130可用于接收输入的数字或字符信息,以及产生与手机1100的用户设置以及功能控制有关的键信号输入。具体地,输入单元1130可包括触控面板1131以及其他输入设备1132。触控面板1131,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1131上或在触控面板1131附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板1131可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1180,并能接收处理器1180发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1131。除了触控面板1131,输入单元1130还可以包括其他输入设备1132。具体地,其他输入设备1132可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 1130 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile phone 1100 . Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132 . The touch panel 1131, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user using a finger, a stylus, etc., any suitable object or accessory on or near the touch panel 1131) operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 1131 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 1180, and can receive the commands sent by the processor 1180 and execute them. In addition, the touch panel 1131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 1131 , the input unit 1130 may further include other input devices 1132 . Specifically, other input devices 1132 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like.
显示单元1140可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元1140可包括显示面板1141。在一个实施例中,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1141。在一个实施例中,触控面板1131可覆盖显示面板1141,当触控面板1131检测到在其上或附近的触摸操作后,传送给处理器1180以确定触摸事件的类型,随后处理器1180根据触摸事件的类型在显示面板1141上提供相应的视觉输出。虽然在图11中,触控面板1131与显示面板1141是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板1131与显示面板1141集成而实现手机的输入和输出功能。The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 1140 may include a display panel 1141 . In one embodiment, the display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 1131 may cover the display panel 1141. When the touch panel 1131 detects a touch operation on or near it, the touch panel 1131 transmits it to the processor 1180 to determine the type of the touch event, and then the processor 1180 determines the type of the touch event according to the The type of touch event provides a corresponding visual output on the display panel 1141 . Although in FIG. 11, the touch panel 1131 and the display panel 1141 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 can be integrated to form Realize the input and output functions of the mobile phone.
手机1100还可包括至少一种传感器1150,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1141的亮度,接近传感器可在手机移动到耳边时,关闭显示面板1141和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。Cell phone 1100 may also include at least one sensor 1150, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 1141 and/or when the mobile phone is moved to the ear. or backlight. Motion sensors can include acceleration sensors, which can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of mobile phones (such as switching between horizontal and vertical screens), and vibration recognition related functions (such as Pedometer, tapping), etc.; in addition, the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc.
音频电路1160、扬声器1161和传声器1162可提供用户与手机之间的音频接口。音频电路1160可将接收到的音频数据转换后的电信号,传输到扬声器1161,由扬声器1161转换为声音信号输出;另一方面,传声器1162将收集的声音信号转换为电信号,由音频电路1160接收后转换为音频数据,再将音频数据输出处理器1180处理后,经RF电路1110可以发送给另一手机,或者将音频数据输出至存储器1120以便后续处理。Audio circuit 1160, speaker 1161 and microphone 1162 may provide an audio interface between the user and the cell phone. The audio circuit 1160 can convert the received audio data into an electrical signal, and transmit it to the speaker 1161, and the speaker 1161 converts it into a sound signal for output; on the other hand, the microphone 1162 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 1160 After receiving, the audio data is converted into audio data, and then the audio data is output to the processor 1180 for processing, and can be sent to another mobile phone through the RF circuit 1110, or the audio data can be output to the memory 1120 for subsequent processing.
WiFi属于短距离无线传输技术,手机通过WiFi模块1170可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图11示出了WiFi模块1170,但是可以理解的是,其并不属于手机1100的必须构成,可以根据需要而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 1170, which provides users with wireless broadband Internet access. Although FIG. 11 shows the WiFi module 1170, it can be understood that it is not a necessary component of the mobile phone 1100 and can be omitted as required.
处理器1180是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器1120内的软件程序和/或模块,以及调用存储在存储器1120内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。在一个实施例中,处理器1180可包括一个或多个处理单元。在一个实施例中,处理器1180可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等;调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1180中。The processor 1180 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 1120, and calling the data stored in the memory 1120. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. In one embodiment, the processor 1180 may include one or more processing units. In one embodiment, the processor 1180 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface and application programs, etc.; the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 1180.
手机1100还包括给各个部件供电的电源1190(比如电池),优选的,电源可以通过电源管理系统与处理器1180逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 1100 also includes a power supply 1190 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 1180 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.
在一个实施例中,手机1100还可以包括摄像头、蓝牙模块等。In one embodiment, the mobile phone 1100 may further include a camera, a Bluetooth module, and the like.
在本申请实施例中,该移动终端所包括的处理器1180执行存储在存储器上的计算机程序时实现位置信息处理方法的步骤。In this embodiment of the present application, when the processor 1180 included in the mobile terminal executes the computer program stored in the memory, the steps of the method for processing location information are implemented.
作为在此使用的“通信终端”(或简称为“终端”)包括,但不限于被设置成经由有线线路连接(如经由公共交换电话网络(PSTN)、数字用户线路(DSL)、数字电缆、直接电缆连接,以及/或另一数据连接/网络)和/或经由(例如,针对蜂窝网络、无线局域网(WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器,以及/或另一通信终端的)无线接口接收/发送通信信号的装置。被设置成通过无线接口通信的通信终端可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括,但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。手机即为配置有蜂窝通信模块的移动终端。A "communication terminal" (or simply a "terminal") as used herein includes, but is not limited to, being configured to connect via a wired line (eg, via a public switched telephone network (PSTN), digital subscriber line (DSL), digital cable, Direct cable connection, and/or another data connection/network) and/or via (eg, for cellular networks, wireless local area networks (WLAN), digital television networks such as DVB-H networks, satellite networks, AM-FM broadcast transmitters , and/or another communication terminal's) wireless interface to receive/send communication signals. A communication terminal arranged to communicate through a wireless interface may be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communication System (PCS) terminals that may combine cellular radio telephones with data processing, fax, and data communication capabilities; may include radio telephones, pagers, Internet/Intranet access , a PDA with a web browser, memo pad, calendar, and/or a global positioning system (GPS) receiver; and conventional laptop and/or palm receivers or other electronic devices including radiotelephone transceivers. A mobile phone is a mobile terminal equipped with a cellular communication module.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810386192.2A CN110418049B (en) | 2018-04-26 | 2018-04-26 | Location information processing method and device, mobile terminal, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810386192.2A CN110418049B (en) | 2018-04-26 | 2018-04-26 | Location information processing method and device, mobile terminal, storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110418049A true CN110418049A (en) | 2019-11-05 |
CN110418049B CN110418049B (en) | 2021-08-17 |
Family
ID=68345951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810386192.2A Expired - Fee Related CN110418049B (en) | 2018-04-26 | 2018-04-26 | Location information processing method and device, mobile terminal, storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110418049B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111554084A (en) * | 2020-05-19 | 2020-08-18 | 新石器慧通(北京)科技有限公司 | Method for searching unmanned vehicle |
CN113092674A (en) * | 2021-03-30 | 2021-07-09 | 维沃移动通信有限公司 | Air quality monitoring method and electronic equipment |
CN115204548A (en) * | 2021-04-06 | 2022-10-18 | 丰田自动车株式会社 | Information processing apparatus, recording medium, and information processing method |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202634544U (en) * | 2011-12-20 | 2012-12-26 | 信利光电(汕尾)有限公司 | Panoramic photography module for mobile phone |
US8860818B1 (en) * | 2013-07-31 | 2014-10-14 | Apple Inc. | Method for dynamically calibrating rotation offset in a camera system |
CN104580909A (en) * | 2015-01-09 | 2015-04-29 | 上海小蚁科技有限公司 | Image acquisition method and device |
CN204408434U (en) * | 2015-02-25 | 2015-06-17 | 胡伟 | Mobile phone |
CN104822042A (en) * | 2015-03-03 | 2015-08-05 | 广东欧珀移动通信有限公司 | Camera-based pedestrian safety detection method and device |
CN105282413A (en) * | 2014-07-24 | 2016-01-27 | 信泰光学(深圳)有限公司 | Image pick-up device, horizontal display control method |
CN105578007A (en) * | 2015-12-21 | 2016-05-11 | 广东欧珀移动通信有限公司 | Control method and device for mobile terminal and mobile terminal |
CN106534132A (en) * | 2016-11-17 | 2017-03-22 | 京东方科技集团股份有限公司 | Taxi order-based video processing methods, apparatuses, server and system |
CN106646566A (en) * | 2017-01-03 | 2017-05-10 | 京东方科技集团股份有限公司 | Passenger positioning method, device and system |
CN106864372A (en) * | 2017-03-31 | 2017-06-20 | 寅家电子科技(上海)有限公司 | Outdoor scene internet is called a taxi accessory system and method |
CN107343064A (en) * | 2017-06-27 | 2017-11-10 | 努比亚技术有限公司 | A kind of mobile terminal of two-freedom rotating camera |
-
2018
- 2018-04-26 CN CN201810386192.2A patent/CN110418049B/en not_active Expired - Fee Related
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202634544U (en) * | 2011-12-20 | 2012-12-26 | 信利光电(汕尾)有限公司 | Panoramic photography module for mobile phone |
US8860818B1 (en) * | 2013-07-31 | 2014-10-14 | Apple Inc. | Method for dynamically calibrating rotation offset in a camera system |
CN105282413A (en) * | 2014-07-24 | 2016-01-27 | 信泰光学(深圳)有限公司 | Image pick-up device, horizontal display control method |
CN104580909A (en) * | 2015-01-09 | 2015-04-29 | 上海小蚁科技有限公司 | Image acquisition method and device |
CN204408434U (en) * | 2015-02-25 | 2015-06-17 | 胡伟 | Mobile phone |
CN104822042A (en) * | 2015-03-03 | 2015-08-05 | 广东欧珀移动通信有限公司 | Camera-based pedestrian safety detection method and device |
CN105578007A (en) * | 2015-12-21 | 2016-05-11 | 广东欧珀移动通信有限公司 | Control method and device for mobile terminal and mobile terminal |
CN106534132A (en) * | 2016-11-17 | 2017-03-22 | 京东方科技集团股份有限公司 | Taxi order-based video processing methods, apparatuses, server and system |
CN106646566A (en) * | 2017-01-03 | 2017-05-10 | 京东方科技集团股份有限公司 | Passenger positioning method, device and system |
CN106864372A (en) * | 2017-03-31 | 2017-06-20 | 寅家电子科技(上海)有限公司 | Outdoor scene internet is called a taxi accessory system and method |
CN107343064A (en) * | 2017-06-27 | 2017-11-10 | 努比亚技术有限公司 | A kind of mobile terminal of two-freedom rotating camera |
Non-Patent Citations (1)
Title |
---|
李四维 等: "《全面屏手机技术与趋势分析》", 《广东通信技术》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111554084A (en) * | 2020-05-19 | 2020-08-18 | 新石器慧通(北京)科技有限公司 | Method for searching unmanned vehicle |
CN111554084B (en) * | 2020-05-19 | 2022-01-21 | 新石器慧通(北京)科技有限公司 | Method for searching unmanned vehicle |
CN113092674A (en) * | 2021-03-30 | 2021-07-09 | 维沃移动通信有限公司 | Air quality monitoring method and electronic equipment |
CN115204548A (en) * | 2021-04-06 | 2022-10-18 | 丰田自动车株式会社 | Information processing apparatus, recording medium, and information processing method |
Also Published As
Publication number | Publication date |
---|---|
CN110418049B (en) | 2021-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108848308B (en) | A shooting method and mobile terminal | |
CN109891874B (en) | Panoramic shooting method and device | |
CN108366207B (en) | Method and device for controlling shooting, electronic equipment and computer-readable storage medium | |
CN110636174B (en) | Bus code calling method and mobile terminal | |
CN111913679B (en) | Method, device, equipment and storage medium for establishing wireless screen projection connection | |
JP2020522151A (en) | Image sharing method and electronic device | |
CN109151170B (en) | Electronic device and control method thereof | |
US11394871B2 (en) | Photo taking control method and system based on mobile terminal, and storage medium | |
CN108174103B (en) | Shooting prompting method and mobile terminal | |
CN108337368A (en) | A kind of update method and mobile terminal of location data | |
EP4114045B1 (en) | Device positioning method and relevant apparatus | |
CN107948523A (en) | A shooting method and mobile terminal | |
CN111510482B (en) | Method and device for determining failed network request and computer storage medium | |
KR20170089653A (en) | Mobile terminal and method for controlling the same | |
WO2017210971A1 (en) | Thermal imaging method and device based on mobile terminal and mobile terminal | |
CN110418050A (en) | Camera control method and device of mobile terminal, mobile terminal and storage medium | |
CN110891122A (en) | Wallpaper pushing method and electronic equipment | |
CN111385525B (en) | Video monitoring method, device, terminal and system | |
CN110418049B (en) | Location information processing method and device, mobile terminal, storage medium | |
CN106131327B (en) | Terminal and image acquisition method | |
CN110602387A (en) | Shooting method and electronic equipment | |
CN110471614B (en) | Method for storing data, method and device for detecting terminal | |
CN111176338B (en) | Navigation method, electronic device and storage medium | |
CN112019738A (en) | A photographing method and terminal device | |
CN110740263A (en) | image 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20210817 |