CN114415880A - Gesture-based anti-control web map zooming method and system - Google Patents
Gesture-based anti-control web map zooming method and system Download PDFInfo
- Publication number
- CN114415880A CN114415880A CN202111538295.4A CN202111538295A CN114415880A CN 114415880 A CN114415880 A CN 114415880A CN 202111538295 A CN202111538295 A CN 202111538295A CN 114415880 A CN114415880 A CN 114415880A
- Authority
- CN
- China
- Prior art keywords
- web map
- gesture
- screen coordinate
- sets
- zooming
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04815—Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04806—Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域technical field
本发明涉及数字地图技术领域,尤其涉及一种基于手势反控web地图缩放方法及系统。The present invention relates to the technical field of digital maps, and in particular, to a method and system for zooming and zooming a web map based on gesture reverse control.
背景技术Background technique
目前手机车机互联的应用越来越广泛,苹果、谷歌、百度等科技公司先后推出了自家的车机互联解决方案,旨在通过制定完善的技术标准指导各大车厂和车机制造商更好的实现车机互联,让用户可以在车机上像使用手机一样简单,保证一定的驾驶安全。At present, the application of mobile phone car-machine interconnection is becoming more and more extensive. Technology companies such as Apple, Google, Baidu and other technology companies have successively launched their own car-machine interconnection solutions. The realization of the car-machine interconnection allows users to use the mobile phone on the car and the machine as simple as using a mobile phone to ensure a certain driving safety.
然而,近年来有关车机互联故障的投诉却与日俱增,由于科技公司制定的技术标准各有差异,以及车载系统定制化差异引发的兼容性问题,导致车载系统死机、黑屏、无法与手机同步等故障问题频现。However, in recent years, complaints about car-machine interconnection failures have been increasing day by day. Due to differences in technical standards formulated by technology companies and compatibility issues caused by differences in the customization of in-vehicle systems, the in-vehicle system crashes, black screens, and inability to synchronize with mobile phones and other failures Problems occur frequently.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种基于手势反控web地图缩放方法及系统,用以实现通用的车机反控手机操作,避免车载系统定制化差异引发的兼容性问题。The embodiments of the present invention provide a method and system for zooming a web map based on gesture anti-control, so as to realize a general operation of a mobile phone with anti-control of a vehicle and a mobile phone, and avoid compatibility problems caused by differences in the customization of on-board systems.
第一方面,本发明实施例提供一种基于手势反控web地图缩放方法,包括:In a first aspect, an embodiment of the present invention provides a gesture-based reverse-controlled web map zooming method, including:
S1,捕捉双指触摸车机屏幕的手势,获取两组连续的屏幕坐标序列并传输至手机端;S1, capture the gesture of two-finger touching the screen of the car machine, obtain two sets of continuous screen coordinate sequences and transmit them to the mobile phone;
S2,手机端通过地图坐标转换工具将两组屏幕坐标序列转换为web地图坐标;S2, the mobile terminal converts the two sets of screen coordinate sequences into web map coordinates through a map coordinate conversion tool;
S3,根据两组屏幕坐标序列在开始和结束时的直线距离,判断当前手势的缩放操作,将所述web地图坐标导入手机端web地图,基于判断的缩放操作,进行web地图缩放。S3, according to the linear distance between the two sets of screen coordinate sequences at the beginning and the end, determine the zoom operation of the current gesture, import the web map coordinates into the mobile phone web map, and perform web map zooming based on the determined zoom operation.
优选的,在步骤S2之前,所述方法还包括:手机端接收两组连续的屏幕坐标序列,对每一组连续的屏幕坐标序列进行无效坐标点的过滤。Preferably, before step S2, the method further includes: the mobile phone terminal receives two sets of continuous screen coordinate sequences, and performs filtering of invalid coordinate points on each set of continuous screen coordinate sequences.
优选的,所述进行无效坐标点的过滤,包括:基于两组屏幕坐标序列的连续性,过滤屏幕坐标序列的重复点和无效点。Preferably, the filtering of the invalid coordinate points includes: filtering the repeated points and invalid points of the screen coordinate sequence based on the continuity of the two sets of screen coordinate sequences.
优选的,步骤S3中,所述根据两组屏幕坐标序列在开始和结束时的直线距离,判断当前手势的缩放操作,具体包括:Preferably, in step S3, determining the zoom operation of the current gesture according to the straight-line distance between the two sets of screen coordinate sequences at the beginning and the end, specifically includes:
计算两组屏幕坐标序列起始点的第一距离以及两组屏幕坐标序列结束点的第二距离;Calculate the first distance between the starting points of the two sets of screen coordinate sequences and the second distance between the ending points of the two sets of screen coordinate sequences;
若所述第一距离大于所述第二距离,则判定为缩小手势操作,反之则判定为放大手势操作。If the first distance is greater than the second distance, it is determined as a zoom-out gesture operation, otherwise, it is determined as a zoom-in gesture operation.
第二方面,本发明实施例还提供一种基于手势反控web地图缩放系统,包括车机屏幕端和手机端,其中,In a second aspect, an embodiment of the present invention further provides a gesture-based anti-control web map zooming system, including a car screen terminal and a mobile phone terminal, wherein,
所述车机端包括:获取单元,用于捕捉双指触摸车机屏幕的手势,获取两组连续的屏幕坐标序列;The in-vehicle terminal includes: an acquisition unit for capturing a gesture of two-finger touching the screen of the in-vehicle and acquiring two sets of continuous screen coordinate sequences;
传输单元,用于将获取的屏幕坐标序列传输至手机端;The transmission unit is used to transmit the acquired screen coordinate sequence to the mobile phone;
所述手机端包括:接收单元,用于接收车机端传输的两组屏幕坐标序列;The mobile phone terminal includes: a receiving unit for receiving two sets of screen coordinate sequences transmitted by the vehicle terminal;
转换单元,用于通过地图坐标转换工具将两组屏幕坐标序列转换为web地图坐标;A conversion unit, used for converting two sets of screen coordinate sequences into web map coordinates through a map coordinate conversion tool;
地图缩放单元,用于根据两组屏幕坐标序列在开始和结束时的直线距离,判断当前手势的缩放操作,将所述web地图坐标导入手机端web地图,基于判断的缩放操作,进行web地图缩放。The map zooming unit is used for judging the zooming operation of the current gesture according to the linear distance between the two sets of screen coordinate sequences at the beginning and the end, importing the coordinates of the web map into the web map of the mobile phone, and performing the zooming operation of the web map based on the determined zooming operation .
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器、通信接口和总线;其中,所述处理器、存储器、通信接口通过所述总线完成相互间的通信;所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行第一方面实施例提供的基于手势反控web地图缩放方法。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, a communication interface, and a bus; wherein the processor, the memory, and the communication interface communicate with each other through the bus; the memory Program instructions executable by the processor are stored, and the processor invokes the program instructions to execute the gesture-based reverse control web map zooming method provided by the embodiment of the first aspect.
第四方面,本发明实施例提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机程序,该计算机程序被处理器执行时实现以执行第一方面实施例提供的基于手势反控web地图缩放方法。In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, and the computer program is implemented by a processor to execute the implementation of the first aspect. The example provides a gesture-based reverse control web map zoom method.
本发明实施例提供的基于手势反控web地图缩放方法及系统,通过触摸车机端屏幕产生的两组连续屏幕坐标序列转换为地图坐标,控制web地图做出相应的缩放操作。本发明在不依赖科技公司制定的技术标准前提下,实现通用的车机反控手机操作,避免因为技术标准差异导致的车机兼容性问题,减少开发成本和硬件成本。The method and system for zooming and zooming a web map based on gesture reverse control provided by the embodiments of the present invention convert two sets of continuous screen coordinate sequences generated by touching the screen of the vehicle terminal into map coordinates, and control the web map to perform corresponding zooming operations. On the premise of not relying on the technical standards formulated by the technology company, the present invention realizes the general operation of the mobile phone for reverse control of the vehicle and the vehicle, avoids the compatibility problem of the vehicle and the vehicle caused by the difference of the technical standards, and reduces the development cost and the hardware cost.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are For some embodiments of the present invention, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例提供的基于手势反控web地图缩放方法流程示意图;1 is a schematic flowchart of a method for zooming a web map based on gesture reverse control provided by an embodiment of the present invention;
图2为本发明另一实施例提供的基于手势反控web地图缩放方法流程图;2 is a flowchart of a method for zooming a web map based on gesture reverse control provided by another embodiment of the present invention;
图3为本发明实施例提供的基于手势反控web地图缩放系统的结构框图;3 is a structural block diagram of a gesture-based anti-control web map zooming system provided by an embodiment of the present invention;
图4为本发明实施例提供的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例提供了一种基于手势反控web地图缩放方法及系统,以解决发动机未启动成功的情况下,系统误判启动,造成电池过渡损耗的问题。以下通过附图结合各实施例进行具体说明。The embodiments of the present invention provide a method and system for zooming a web map based on gesture reverse control, so as to solve the problem that the system misjudges the start of the engine when the engine fails to start successfully, resulting in the transient loss of the battery. Specific descriptions are given below with reference to the accompanying drawings in conjunction with each embodiment.
图1为本发明实施例提供的基于手势反控web地图缩放方法流程示意图,如图1所示,本发明实施例提供的基于手势反控web地图缩放方法包括但不限于以下步骤:FIG. 1 is a schematic flowchart of a method for zooming a web map based on gesture reverse control provided by an embodiment of the present invention. As shown in FIG. 1 , the method for zooming a web map based on gesture reverse control provided by an embodiment of the present invention includes but is not limited to the following steps:
步骤S1,捕捉双指触摸车机屏幕的手势,获取两组连续的屏幕坐标序列并传输至手机端。In step S1, a gesture of two-finger touching the screen of the car machine is captured, and two sets of continuous screen coordinate sequences are acquired and transmitted to the mobile phone.
本实施例中,用户用双指触摸车机屏幕后,车机屏幕捕捉双指触摸车机屏幕的手势,获取两组连续的屏幕坐标序列。可以理解的是,每个手指会划出一组连续的屏幕坐标序列。接着,车机屏幕通过通讯服务将屏幕坐标序列传输到手机端处理。In this embodiment, after the user touches the screen of the vehicle with two fingers, the screen of the vehicle captures the gesture of touching the screen of the vehicle with two fingers, and obtains two sets of continuous screen coordinate sequences. Understandably, each finger will draw a continuous sequence of screen coordinates. Then, the vehicle screen transmits the screen coordinate sequence to the mobile phone for processing through the communication service.
步骤S2,手机端通过地图坐标转换工具将两组屏幕坐标序列转换为web地图坐标;Step S2, the mobile terminal converts the two sets of screen coordinate sequences into web map coordinates through a map coordinate conversion tool;
图2为本发明另一实施例提供的基于手势反控web地图缩放方法流程图,参照图2,在一个实施方式中,执行步骤S2之前,首先通过手机端接收两组连续的屏幕坐标序列,对每一组连续的屏幕坐标序列进行无效坐标点的过滤。具体的,基于两组屏幕坐标序列的连续性,过滤两组屏幕坐标序列中的重复点和无效点。FIG. 2 is a flowchart of a method for zooming a web map based on gesture anti-control provided by another embodiment of the present invention. Referring to FIG. 2, in one embodiment, before step S2 is performed, two sets of consecutive screen coordinate sequences are firstly received through the mobile phone terminal, Filter invalid coordinate points for each group of consecutive screen coordinate sequences. Specifically, based on the continuity of the two sets of screen coordinate sequences, duplicate points and invalid points in the two sets of screen coordinate sequences are filtered.
然后,执行步骤S2,通过地图坐标转换工具将两组屏幕坐标序列转换为web地图坐标。其中,web(网络)地图是利用计算机技术,以数字方式存储和查阅的地图。是随着互联网的发展,结合传统的卫星导航数据和电子地图技术产生。Then, step S2 is performed, and the two sets of screen coordinate sequences are converted into web map coordinates by a map coordinate conversion tool. Among them, a web (network) map is a map that is digitally stored and consulted using computer technology. With the development of the Internet, it is generated by combining traditional satellite navigation data and electronic map technology.
步骤S3,根据两组屏幕坐标序列在开始和结束时的直线距离,判断当前手势的缩放操作,将所述web地图坐标导入手机端web地图,基于判断的缩放操作,进行web地图缩放。Step S3, according to the linear distance between the two sets of screen coordinate sequences at the beginning and the end, determine the zoom operation of the current gesture, import the web map coordinates into the mobile phone web map, and perform web map zooming based on the determined zoom operation.
具体地,计算两组屏幕坐标序列起始点的第一距离以及两组屏幕坐标序列结束点的第二距离;若所述第一距离大于所述第二距离,则判定为缩小手势操作,反之则判定为放大手势操作。将所述web地图坐标导入手机端web地图后,手机端根据判定的手势操作进行web地图缩放。Specifically, the first distance between the starting points of the two sets of screen coordinate sequences and the second distance between the ending points of the two sets of screen coordinate sequences are calculated; if the first distance is greater than the second distance, it is determined as a zoom-out gesture operation, and vice versa It is determined as a zoom-in gesture operation. After importing the coordinates of the web map into the web map of the mobile phone, the mobile phone zooms the web map according to the determined gesture operation.
本发明实施例提供的基于手势反控web地图缩放方法,通过触摸车机端屏幕产生的一串连续屏幕坐标序列转换为地图坐标,控制web地图做出相应的缩放操作。本发明在不依赖科技公司制定的技术标准前提下,实现通用的车机反控手机操作,避免因为技术标准差异导致的车机兼容性问题,减少开发成本和硬件成本。In the method for zooming and zooming a web map based on gesture reverse control provided by the embodiment of the present invention, a series of continuous screen coordinate sequences generated by touching the screen of the vehicle terminal are converted into map coordinates, and the web map is controlled to perform corresponding zooming operations. On the premise of not relying on the technical standards formulated by the technology company, the present invention realizes the general operation of the mobile phone for reverse control of the vehicle and the vehicle, avoids the compatibility problem of the vehicle and the vehicle caused by the difference of the technical standards, and reduces the development cost and the hardware cost.
图3为本发明实施例提供的基于手势反控web地图缩放系统的结构框图,在一个实施例中,本发明实施例还提供了一种基于手势反控web地图缩放系统,本发明实施例提供的基于手势反控web地图缩放系统用于执行前述各实施例中的基于手势反控web地图缩放方法。该系统包括包括车机屏幕端和手机端,其中,所述车机端包括:获取单元,用于捕捉双指触摸车机屏幕的手势,获取两组连续的屏幕坐标序列;FIG. 3 is a structural block diagram of a gesture-based anti-control web map zoom system provided by an embodiment of the present invention. In one embodiment, an embodiment of the present invention further provides a gesture-based anti-control web map zoom system. The gesture-based reverse control web map zooming system is used to execute the gesture-based reverse control web map zooming methods in the foregoing embodiments. The system includes an on-board screen terminal and a mobile phone terminal, wherein the on-board terminal includes: an acquisition unit for capturing a gesture of two-finger touching the on-board screen, and acquiring two sets of continuous screen coordinate sequences;
传输单元,用于将获取的屏幕坐标序列传输至手机端;The transmission unit is used to transmit the acquired screen coordinate sequence to the mobile phone;
所述手机端包括:接收单元,用于接收车机端传输的两组屏幕坐标序列;The mobile phone terminal includes: a receiving unit for receiving two sets of screen coordinate sequences transmitted by the vehicle terminal;
转换单元,用于通过地图坐标转换工具将两组屏幕坐标序列转换为web地图坐标;A conversion unit, used for converting two sets of screen coordinate sequences into web map coordinates through a map coordinate conversion tool;
地图缩放单元,用于根据两组屏幕坐标序列在开始和结束时的直线距离,判断当前手势的缩放操作,将所述web地图坐标导入手机端web地图,基于判断的缩放操作,进行web地图缩放。The map zooming unit is used for judging the zooming operation of the current gesture according to the linear distance between the two sets of screen coordinate sequences at the beginning and the end, importing the coordinates of the web map into the web map of the mobile phone, and performing the zooming operation of the web map based on the determined zooming operation .
可以理解的是,本发明提供的基于手势反控web地图缩放系统与前述实施例提供的基于手势反控web地图缩放方法相对应,基于手势反控web地图缩放系统的相关技术特征可参考基于手势反控web地图缩放方法的相关技术特征,本发明实施例在此不再赘述。It can be understood that the gesture-based anti-control web map zooming system provided by the present invention corresponds to the gesture-based anti-control web map zooming method provided in the foregoing embodiment, and the related technical features of the gesture-based anti-control web map zooming system can be referred to. Relevant technical features of the method for zooming in and out of the reverse-controlled web map are not repeated in this embodiment of the present invention.
在一个实施例中,本发明实施例提供了一种电子设备,如图4所示,该电子设备可以包括:处理器(processor)401、通信接口(Communications Interface)402、存储器(memory)403和通信总线404,其中,处理器401,通信接口402,存储器403通过通信总线404完成相互间的通信。处理器401可以调用存储器403中的逻辑指令,以执行上述各实施例提供的基于手势反控web地图缩放方法的步骤,例如包括:S1,捕捉双指触摸车机屏幕的手势,获取两组连续的屏幕坐标序列并传输至手机端;S2,手机端通过地图坐标转换工具将两组屏幕坐标序列转换为web地图坐标;S3,根据两组屏幕坐标序列在开始和结束时的直线距离,判断当前手势的缩放操作,将所述web地图坐标导入手机端web地图,进行web地图缩放。In one embodiment, an embodiment of the present invention provides an electronic device. As shown in FIG. 4 , the electronic device may include: a processor (processor) 401, a communications interface (Communications Interface) 402, a memory (memory) 403 and A
在一个实施例中,本发明实施例还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各实施例提供的基于手势反控web地图缩放方法的步骤,例如包括:S1,捕捉双指触摸车机屏幕的手势,获取两组连续的屏幕坐标序列并传输至手机端;S2,手机端通过地图坐标转换工具将两组屏幕坐标序列转换为web地图坐标;S3,根据两组屏幕坐标序列在开始和结束时的直线距离,判断当前手势的缩放操作,将所述web地图坐标导入手机端web地图,基于判断的缩放操作,进行web地图缩放。In one embodiment, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it is implemented to execute the gesture-based feedback provided by the foregoing embodiments. The steps of the method for controlling the zooming of the web map include, for example: S1, capturing the gesture of two-finger touching the screen of the car machine, obtaining two sets of continuous screen coordinate sequences and transmitting them to the mobile terminal; S2, the mobile terminal using the map coordinate conversion tool to convert the two sets of screens The coordinate sequence is converted into web map coordinates; S3, according to the straight-line distance between the two sets of screen coordinate sequences at the beginning and the end, determine the zoom operation of the current gesture, import the web map coordinates into the mobile phone web map, and based on the determined zoom operation, Perform web map zooming.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其它实施例的相关描述。It should be noted that, in the foregoing embodiments, the description of each embodiment has its own emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、装置、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(装置)、和计算机程序产品的流程图和/或方框图来描述。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式计算机或者其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (apparatus), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded computer or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means implementing the functions specified in one or more of the flowcharts and/or one or more blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。Although preferred embodiments of the present invention have been described, additional changes and modifications to these embodiments may occur to those skilled in the art once the basic inventive concepts are known. Therefore, the appended claims are intended to be construed to include the preferred embodiment and all changes and modifications that fall within the scope of the present invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包括这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111538295.4A CN114415880A (en) | 2021-12-15 | 2021-12-15 | Gesture-based anti-control web map zooming method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111538295.4A CN114415880A (en) | 2021-12-15 | 2021-12-15 | Gesture-based anti-control web map zooming method and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN114415880A true CN114415880A (en) | 2022-04-29 |
Family
ID=81268483
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111538295.4A Pending CN114415880A (en) | 2021-12-15 | 2021-12-15 | Gesture-based anti-control web map zooming method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114415880A (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1969254A (en) * | 2004-06-17 | 2007-05-23 | 皇家飞利浦电子股份有限公司 | Using two-finger typing on a touchscreen |
| CN102395104A (en) * | 2011-10-25 | 2012-03-28 | 桂林理工大学 | Method for regulating map scale automatically and dynamically for mobile terminal |
| CN104898947A (en) * | 2015-05-26 | 2015-09-09 | 中国民航大学 | Method for implementing scaling and translation of GDI electronic vector map based on mouse position |
| CN106648402A (en) * | 2016-09-05 | 2017-05-10 | 广州视睿电子科技有限公司 | Information sending method and device and information processing method and device |
| CN106681647A (en) * | 2017-03-16 | 2017-05-17 | 上海寰视网络科技有限公司 | Touch control screen operating method and device |
| CN106775199A (en) * | 2016-11-11 | 2017-05-31 | 北京奇虎科技有限公司 | The touch operation method and terminal of screen interface |
| CN109918012A (en) * | 2019-03-11 | 2019-06-21 | 百度在线网络技术(北京)有限公司 | A kind of control method of mobile terminal, device, equipment and storage medium |
| CN112000274A (en) * | 2020-10-09 | 2020-11-27 | 蘑菇车联信息科技有限公司 | Zooming method, device and equipment for screen of vehicle-mounted intelligent equipment |
-
2021
- 2021-12-15 CN CN202111538295.4A patent/CN114415880A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1969254A (en) * | 2004-06-17 | 2007-05-23 | 皇家飞利浦电子股份有限公司 | Using two-finger typing on a touchscreen |
| CN102395104A (en) * | 2011-10-25 | 2012-03-28 | 桂林理工大学 | Method for regulating map scale automatically and dynamically for mobile terminal |
| CN104898947A (en) * | 2015-05-26 | 2015-09-09 | 中国民航大学 | Method for implementing scaling and translation of GDI electronic vector map based on mouse position |
| CN106648402A (en) * | 2016-09-05 | 2017-05-10 | 广州视睿电子科技有限公司 | Information sending method and device and information processing method and device |
| CN106775199A (en) * | 2016-11-11 | 2017-05-31 | 北京奇虎科技有限公司 | The touch operation method and terminal of screen interface |
| CN106681647A (en) * | 2017-03-16 | 2017-05-17 | 上海寰视网络科技有限公司 | Touch control screen operating method and device |
| CN109918012A (en) * | 2019-03-11 | 2019-06-21 | 百度在线网络技术(北京)有限公司 | A kind of control method of mobile terminal, device, equipment and storage medium |
| CN112000274A (en) * | 2020-10-09 | 2020-11-27 | 蘑菇车联信息科技有限公司 | Zooming method, device and equipment for screen of vehicle-mounted intelligent equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7511657B2 (en) | Method, device, electronic device and non-transitory readable storage medium for page switching in an application | |
| US9007314B2 (en) | Method for touch processing and mobile terminal | |
| WO2010136969A1 (en) | Zooming of displayed image data | |
| CN105260103A (en) | Picture scaling method and electronic device | |
| CN106294006A (en) | A kind of data back up method, source terminal and target terminal | |
| KR20180048927A (en) | Method, apparatus and storage medium for controlling a screen between terminals | |
| EP4113446A1 (en) | Sticker processing method and apparatus | |
| CN104049727A (en) | Mutual control method for mobile terminal and vehicle-mounted terminal | |
| CN114722320A (en) | Page switching method and device and interaction method of terminal equipment | |
| CN112396676A (en) | Image processing method, image processing device, electronic equipment and computer readable storage medium | |
| CN103914305B (en) | A method and system for freely controlling applications on a mobile terminal | |
| CN113010073A (en) | Screen recording interaction method and device, electronic equipment and computer readable storage medium | |
| CN114055468A (en) | Track reproduction method, system and terminal equipment | |
| CN103197910A (en) | Method and device for updating images | |
| CN111601129A (en) | Control method, control device, terminal and storage medium | |
| CN114415880A (en) | Gesture-based anti-control web map zooming method and system | |
| CN113610944B (en) | Line drawing method, device, equipment and storage medium | |
| CN111273847B (en) | Page processing method and device, electronic equipment and storage medium | |
| CN112241230B (en) | Window display method and device of electronic equipment, terminal and storage medium | |
| CN113824629A (en) | House display method, device, equipment and medium | |
| CN113691967A (en) | Bluetooth scanning frequency adjusting method and device | |
| CN107315970B (en) | Sensitive data interaction method and device | |
| CN106201385B (en) | Control method and device and electronic equipment | |
| CN105653155B (en) | The control method and device of terminal device | |
| CN115390776A (en) | Screen projection control method, device, terminal and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220429 |