[go: up one dir, main page]

CN103279276B - The method of locating information and device - Google Patents

The method of locating information and device Download PDF

Info

Publication number
CN103279276B
CN103279276B CN201310059164.7A CN201310059164A CN103279276B CN 103279276 B CN103279276 B CN 103279276B CN 201310059164 A CN201310059164 A CN 201310059164A CN 103279276 B CN103279276 B CN 103279276B
Authority
CN
China
Prior art keywords
trigger event
touch screen
information
user
variable
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.)
Expired - Fee Related
Application number
CN201310059164.7A
Other languages
Chinese (zh)
Other versions
CN103279276A (en
Inventor
成军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201310059164.7A priority Critical patent/CN103279276B/en
Publication of CN103279276A publication Critical patent/CN103279276A/en
Application granted granted Critical
Publication of CN103279276B publication Critical patent/CN103279276B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of method and device of locating information, belong to field of computer technology.Described method comprises: detect the first trigger event produced when user touches touch screen on touch screen terminal; Upgrade the first trigger event variable, judge whether the described first trigger event variable that upgraded meets pre-conditioned, when described first trigger event variable meet described pre-conditioned time, generate orient control; Accept the location condition that user is inputted by described orient control, obtain corresponding information according to described location condition.Described device comprises: detection module, the first processing module and the first acquisition module.When the present invention is by reaching pre-conditioned to continuous slip number of times, trigger generation orient control and enter fast finding mode in the mode of localizing objects information, effectively can reduce sliding screen number of times, quick position information, guiding user operation by generating orient control, strengthening Consumer's Experience effect.

Description

定位信息的方法及装置Method and device for positioning information

技术领域technical field

本发明涉及计算机技术领域,特别涉及一种定位信息的方法及装置。The invention relates to the field of computer technology, in particular to a method and device for positioning information.

背景技术Background technique

手机、平板电脑等无线移动设备的应用越来越普遍,人们可以通过无线移动设备例如手机来查看文件、查看图片、阅读邮件、查看通讯录、阅览电子书等等,但是由于移动设备中记录了大量的信息,所以,人们在使用手机、平板电脑等移动设备时,经常不可避免的需要从记录的大量信息中查找到需要的内容。The application of wireless mobile devices such as mobile phones and tablet computers is becoming more and more common. People can view files, view pictures, read emails, view contacts, read e-books, etc. through wireless mobile devices such as mobile phones. There is a large amount of information, so when people use mobile devices such as mobile phones and tablet computers, they often inevitably need to find the required content from the large amount of recorded information.

目前,在现有的移动设备上,人们通过手指不断的滑动触屏来进行信息的查找和浏览。At present, on existing mobile devices, people search and browse information by continuously sliding their fingers on the touch screen.

在实现本发明的过程中,发明人发现现有技术至少存在以下问题:当信息量大时,需要多次的滑动触屏查找信息,操作繁琐,会浪费时间和精力,并且,大量信息不方便浏览和查找;当加入滚动控制条时,又会占用列表显示空间。In the process of realizing the present invention, the inventor found that the prior art has at least the following problems: when the amount of information is large, it is necessary to swipe the touch screen multiple times to find information, the operation is cumbersome, time and energy will be wasted, and a large amount of information is inconvenient Browse and search; when the scroll control bar is added, it will occupy the display space of the list.

发明内容Contents of the invention

为了解决现有技术中从大量信息中查找目标信息时需要多次滑动触屏查找目标信息的问题,本发明实施例提供了一种定位信息的方法及装置。所述技术方案如下:In order to solve the problem in the prior art that it is necessary to swipe the touch screen multiple times to find the target information when searching for the target information from a large amount of information, the embodiments of the present invention provide a method and device for locating information. Described technical scheme is as follows:

一方面,提供了一种定位信息的方法,所述方法包括:In one aspect, a method for locating information is provided, the method comprising:

检测触屏终端上用户触摸触屏时产生的第一触发事件;Detecting the first trigger event generated when the user touches the touch screen on the touch screen terminal;

更新第一触发事件变量,判断已更新的所述第一触发事件变量是否满足预设条件,当所述第一触发事件变量满足所述预设条件时,生成定位控件;Updating the first trigger event variable, judging whether the updated first trigger event variable satisfies a preset condition, and generating a positioning control when the first trigger event variable satisfies the preset condition;

接受用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的信息。The positioning condition input by the user through the positioning control is accepted, and the corresponding information is acquired according to the positioning condition.

结合第一方面,在第一方面的第一种可能实施方式下,所述检测触屏终端上用户触摸触屏时产生的第一触发事件之后,还包括:With reference to the first aspect, in the first possible implementation manner of the first aspect, after detecting the first trigger event generated when the user touches the touchscreen on the touchscreen terminal, the method further includes:

获取所述第一触发事件相对应的信息,判断获取的当前信息是否为目标信息,若当前信息为目标信息,则检测触屏终端上用户触摸触屏产生的第二触发事件,以使选定目标信息。Acquiring the information corresponding to the first trigger event, judging whether the acquired current information is the target information, and if the current information is the target information, detecting the second trigger event generated by the user touching the touch screen on the touch screen terminal, so that the selected target information.

结合第一方面,在第一方面的第二种可能实施方式下,所述更新第一触发事件变量,判断已更新的所述第一触发事件变量是否满足预设条件,当所述第一触发事件变量满足所述预设条件时,生成定位控件,具体包括:With reference to the first aspect, in the second possible implementation manner of the first aspect, the updating of the first trigger event variable is to determine whether the updated first trigger event variable satisfies a preset condition, and when the first trigger event variable When the event variable satisfies the preset condition, a positioning control is generated, specifically including:

将所述第一触发事件变量的值加一,判断所述第一触发事件变量加一后的值是否等于预设触发值,是则生成定位控件,否则等待检测触屏终端上用户触摸触屏时产生的第一触发事件,更新第一触发事件变量,以使满足预设条件时生成定位控件。Add one to the value of the first trigger event variable, and judge whether the value of the first trigger event variable plus one is equal to the preset trigger value, if yes, generate a positioning control, otherwise wait for the user to touch the touch screen on the touch screen terminal When the first trigger event is generated, the variable of the first trigger event is updated so that the positioning control is generated when the preset condition is met.

结合第一方面,在第一方面或第一方面第一种实施方式或第一方面第二种实施方式的第三种可能实施方式下,所述接受用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的信息之后,还包括:With reference to the first aspect, in the third possible implementation manner of the first aspect or the first implementation manner of the first aspect or the second implementation manner of the first aspect, the acceptance of the positioning condition input by the user through the positioning control, After obtaining the corresponding information according to the positioning conditions, it also includes:

判断获取的所述定位控件相对应的信息是否为目标信息,judging whether the acquired information corresponding to the positioning control is target information,

若获取的当前信息是所述目标信息,则检测触摸屏终端用户触摸触屏产生的第二触发事件,以使选定目标信息;If the acquired current information is the target information, then detecting the second trigger event generated by the touch screen terminal user touching the touch screen, so that the target information is selected;

若获取的当前信息不是所述目标信息,则继续等待检测触屏终端用户触摸触屏时产生的第一触发事件,更新第一触发变量,以使满足预设条件时生成定位控件。If the obtained current information is not the target information, continue to wait for the detection of the first trigger event generated when the touch screen terminal user touches the touch screen, and update the first trigger variable so that the positioning control is generated when the preset condition is met.

第二方面,提供了一种定位信息的装置,所述装置包括:In a second aspect, a device for positioning information is provided, and the device includes:

检测模块,用于检测触屏终端上用户触摸触屏时产生的第一触发事件;A detection module, configured to detect the first trigger event generated when the user touches the touch screen on the touch screen terminal;

第一处理模块,用于更新第一触发事件变量,判断已更新的所述第一触发事件变量是否满足预设条件,当所述第一触发事件满足所述预设条件时,生成定位控件;The first processing module is configured to update a first trigger event variable, determine whether the updated first trigger event variable satisfies a preset condition, and generate a positioning control when the first trigger event satisfies the preset condition;

第一获取模块,用于接受用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的信息。The first obtaining module is configured to accept the positioning condition input by the user through the positioning control, and obtain corresponding information according to the positioning condition.

结合第二方面,在第二方面的第一种可能的实施方式下,所述装置还包括:With reference to the second aspect, in the first possible implementation manner of the second aspect, the device further includes:

第二获取模块,用于获取所述第一触发事件相对应的信息,判断获取的当前信息是否为目标信息,若当前信息为目标信息,则检测触屏终端上用户触摸触屏产生的第二触发事件,以使选定目标信息。The second acquiring module is used to acquire the information corresponding to the first trigger event, and judge whether the acquired current information is the target information, and if the current information is the target information, then detect the second triggering event generated by the user touching the touch screen on the touch screen terminal. Trigger an event to enable selected target information.

结合第二方面,在第二方面的第二种可能的实施方式下,所述第一处理模块具体用于将所述第一触发事件变量的值加一,判断所述第一触发事件变量加一后的值是否等于预设触发值,是则生成定位控件,否则等待检测触屏终端上用户触摸触屏时产生的第一触发事件,更新第一触发事件变量,以使满足预设条件时生成定位控件。With reference to the second aspect, in a second possible implementation manner of the second aspect, the first processing module is specifically configured to add one to the value of the first trigger event variable, and determine whether the value of the first trigger event variable is Whether the last value is equal to the preset trigger value, if yes, generate a positioning control, otherwise wait for the first trigger event generated when the user touches the touch screen on the touch screen terminal, and update the first trigger event variable so that when the preset condition is met Generate a positioning control.

结合第二方面,在第一方面或第二方面第一种实施方式或第二方面第二种实施方式下,所述装置还包括:With reference to the second aspect, in the first aspect or the first implementation manner of the second aspect or the second implementation manner of the second aspect, the device further includes:

第二处理模块,用于判断获取的所述定位控件相对应的信息是否为目标信息,A second processing module, configured to determine whether the acquired information corresponding to the positioning control is target information,

若获取的当前信息是所述目标信息,则检测触摸屏终端用户触摸触屏产生的第二触发事件,以使选定目标信息;If the acquired current information is the target information, then detecting the second trigger event generated by the touch screen terminal user touching the touch screen, so that the target information is selected;

若获取的当前信息不是所述目标信息,则继续等待检测触屏终端用户触摸触屏时产生的第一触发事件,更新第一触发变量,以使满足预设条件时生成定位控件。If the obtained current information is not the target information, continue to wait for the detection of the first trigger event generated when the touch screen terminal user touches the touch screen, and update the first trigger variable so that the positioning control is generated when the preset condition is met.

本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:

通过检测用户触摸触屏时产生的触发事件,当触发事件满足预设条件时,触发生成定位控件进入快速查找方式以定位目标信息的方式,可以有效地减少滑屏次数,快速定位信息,通过生成定位控件引导用户操作,增强用户体验效果。By detecting the trigger event generated when the user touches the touch screen, when the trigger event satisfies the preset conditions, the trigger generates the positioning control to enter the quick search mode to locate the target information, which can effectively reduce the number of sliding screens and quickly locate information. By generating Positioning controls guide user operations and enhance user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本发明实施例一提供的一种定位信息的方法流程图;FIG. 1 is a flow chart of a method for positioning information provided by Embodiment 1 of the present invention;

图2是本发明实施例一步骤101的一种详细方法流程图;Fig. 2 is a kind of detailed method flowchart of step 101 of embodiment 1 of the present invention;

图3是本发明实施例一步骤103的一种详细方法流程图;FIG. 3 is a detailed method flow chart of Step 103 of Embodiment 1 of the present invention;

图4是本发明实施例二提供的一种定位信息的方法流程图;FIG. 4 is a flow chart of a positioning information method provided in Embodiment 2 of the present invention;

图5是本发明实施例三提供的一种定位信息的装置结构示意图;FIG. 5 is a schematic structural diagram of a device for positioning information provided by Embodiment 3 of the present invention;

图6是本发明实施例三提供的又一种定位信息的装置结构示意图;FIG. 6 is a schematic structural diagram of another positioning information device provided by Embodiment 3 of the present invention;

图7是本发明实施例三提供的再一种定位信息的装置结构示意图。FIG. 7 is a schematic structural diagram of another positioning information device provided by Embodiment 3 of the present invention.

具体实施方式detailed description

为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

实施例一Embodiment one

本发明实施例一提供了一种定位信息的方法,参见图1,方法流程包括:Embodiment 1 of the present invention provides a method for locating information, as shown in FIG. 1 , the method flow includes:

101:检测触屏终端用户触摸触屏时产生的第一触发事件。101: Detect a first trigger event generated when a touchscreen terminal user touches the touchscreen.

其中,上述第一触发事件是指通过用户进行滑屏查找信息而触发的事件。Wherein, the above-mentioned first triggering event refers to an event triggered by the user swiping the screen to search for information.

102:更新第一触发事件变量,判断已更新的所述第一触发事件变量是否满足预设条件,当所述第一触发事件变量满足所述预设条件时,生成定位控件。102: Update a first trigger event variable, judge whether the updated first trigger event variable satisfies a preset condition, and generate a positioning control when the first trigger event variable satisfies the preset condition.

其中,所述第一触发事件变量用于记录连续发生滑屏事件的次数,连续是指在当两次滑屏事件发生的时间小于预设时间为连续,比如预设时间可以为1s,2s等;所述预设条件可以为预设值,当连续发生滑屏事件的次数达到预设值时,表示满足预设条件,具体值可以根据实际场景进行预定义;所述定位控件是指满足预设条件时,生成的快速定位控件,所述定位控件根据实际场景定义;例如,滚动条控件,检索属性条,搜索框等等。Wherein, the first trigger event variable is used to record the number of consecutive sliding screen events, continuous means that when the time of two sliding screen events is less than the preset time, it is continuous, for example, the preset time can be 1s, 2s, etc. ; The preset condition can be a preset value. When the number of consecutive sliding screen events reaches the preset value, it means that the preset condition is met, and the specific value can be predefined according to the actual scene; the positioning control refers to meeting the preset value. When setting the condition, the quick positioning control is generated, and the positioning control is defined according to the actual scene; for example, scroll bar control, retrieval attribute bar, search box and so on.

例如,当用户需要查看邮件时,通过滑动邮件列表来查找目标邮件,当邮件列表中有大量邮件信息时,用户需要通过多次滑屏以查找邮件,当滑屏事件的次数达到预设值时,在列表侧栏生成时间轴,以供用户拖动时间轴快速定位邮件信息;For example, when the user needs to view emails, the user can find the target emails by swiping the email list. When there are a lot of email information in the email list, the user needs to swipe the screen multiple times to find the emails. When the number of sliding screen events reaches the preset value , to generate a timeline on the sidebar of the list, for users to drag the timeline to quickly locate email messages;

又如,当用户需要安装应用时,通过滑动应用列表以查找目标应用,当应用列表中应用很多时,用户通过多次滑屏以查找应用,当滑屏事件的次数达到预设值时,生成搜索栏,以供用户直接输入需要查找的目标应用信息。For another example, when the user needs to install an application, he or she can swipe the application list to find the target application. When there are many applications in the application list, the user can swipe the screen multiple times to find the application. When the number of swipe events reaches the preset value, a A search bar for users to directly input the target application information they need to find.

103:接受用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的信息。103: Accept the positioning condition input by the user through the positioning control, and acquire corresponding information according to the positioning condition.

其中,上述定位条件是指通过用户通过所述定位控件进行操作而发生的事件;例如,当所述定位控件为搜索栏时,通过用户输入目标信息相对应的关键信息,并选定搜索按钮;具体还如,用户需要查找某一应用,在搜索栏中输入“具体应用名”并点击搜索按钮。Wherein, the above positioning condition refers to an event that occurs when the user operates through the positioning control; for example, when the positioning control is a search bar, the user inputs key information corresponding to the target information and selects a search button; Specifically, if the user needs to search for a certain application, he enters "specific application name" in the search bar and clicks the search button.

结合上述实施例中步骤101进行说明,参见图2,上述步骤101,还可以为:In conjunction with the description of step 101 in the above-mentioned embodiment, referring to FIG. 2, the above-mentioned step 101 can also be:

101S1:检测触屏终端上用户触摸触屏时产生的第一触发事件。101S1: Detect the first trigger event generated when the user touches the touch screen on the touch screen terminal.

101S2:获取所述第一触发事件相对应的信息。101S2: Obtain information corresponding to the first trigger event.

其中,根据滑屏事件的方式获取相对应的信息,所述滑屏事件包括向左滑动、向右滑动、向下滑动、向上滑动,所述滑屏方式由所述滑动起点、滑动终点及滑动的速度确定;例如,在邮件列表中查找邮件时,向下滑动触屏,将获取当前页面的上一页面的邮件内容。Wherein, the corresponding information is obtained according to the way of the sliding screen event, the sliding screen event includes sliding to the left, sliding to the right, sliding down, and sliding up, and the sliding screen mode consists of the sliding starting point, the sliding end point and the sliding The speed is determined; for example, when looking for emails in the email list, sliding the touch screen down will get the email content of the previous page of the current page.

101S3:判断获取的当前信息是否为目标信息,是则执行步骤101S4;否则返回步骤101S1。101S3: Determine whether the acquired current information is the target information, if yes, execute step 101S4; otherwise, return to step 101S1.

其中,所述目标信息是指用户需查找的精确信息。Wherein, the target information refers to the precise information that the user needs to find.

101S4:检测触屏终端上用户触摸触屏产生的第二触发事件,以使选定目标信息。101S4: Detect the second trigger event generated by the user touching the touch screen on the touch screen terminal, so as to select target information.

其中,第二触发事件是指根据定位条件获取的相应信息后,对获取的信息进行选定而产生的触发;Wherein, the second trigger event refers to a trigger generated by selecting the obtained information after obtaining the corresponding information according to the positioning condition;

例如,用户查找应用时,当所述定位控件为搜索框时,用户输入具体应用名后,获取到与所述应用名相关的系列应用,从系列应用中点击目标应用,则产生第二触发,选定目标应用。For example, when a user searches for an application, when the positioning control is a search box, the user enters a specific application name, obtains a series of applications related to the application name, and clicks a target application from the series of applications, and a second trigger is generated. Select the target application.

结合上述实施例中的步骤103进行说明,参见图3,上述步骤103,还可以为:It will be described in conjunction with step 103 in the above-mentioned embodiment, referring to FIG. 3 , the above-mentioned step 103 can also be:

103S1:接收用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的定位信息。103S1: Receive a positioning condition input by the user through the positioning control, and acquire corresponding positioning information according to the positioning condition.

其中,定位条件是指通过用户根据定位控件进行相应操作以查找信息而发生的事件;例如,当用户查找签名记录时,生成的定位控件具体为时间属性条,用户通过点击对应的时间空间,获取并显示与该时间相关的签名。Among them, the positioning condition refers to an event that occurs when the user performs corresponding operations according to the positioning control to find information; for example, when the user searches for a signature record, the generated positioning control is specifically a time attribute bar, and the user clicks on the corresponding time space to obtain and display the signature associated with that time.

103S2:判断获取的所述获取的定位信息是否为目标信息,是则执行步骤103S3;否则继续等待检测触屏终端用户触摸触屏时产生的第一触发事件。103S2: Determine whether the acquired positioning information is target information, if yes, perform step 103S3; otherwise, continue to wait for the detection of the first trigger event generated when the touchscreen terminal user touches the touchscreen.

103S3:检测触摸屏终端用户触摸触屏产生的第二触发事件,以使选定目标信息。103S3: Detect the second trigger event generated by the touch screen terminal user touching the touch screen, so as to select the target information.

其中,第二触发事件是获取定位信息后,对获取的定位信息进行选定而产生的触发;Wherein, the second trigger event is a trigger generated by selecting the acquired positioning information after acquiring the positioning information;

例如,用户查找应用时,当所述定位控件为搜索框时,用户输入具体应用名后,获取到与所述应用名相关的系列应用,从系列应用中点击目标应用,则产生第二触发,选定目标应用。For example, when a user searches for an application, when the positioning control is a search box, the user enters a specific application name, obtains a series of applications related to the application name, and clicks a target application from the series of applications, and a second trigger is generated. Select the target application.

本实施例通过对连续滑动次数达到预设条件时,触发生成快速的定位控件进入快速查找方式以定位目标信息的方式,可以有效地减少滑屏次数,快速定位信息,通过生成定位控件引导用户操作,增强用户体验效果。In this embodiment, when the number of consecutive slides reaches the preset condition, triggering the generation of a fast positioning control to enter the fast search mode to locate the target information can effectively reduce the number of sliding screens, quickly locate the information, and guide the user to operate by generating the positioning control , enhance the user experience effect.

实施例二Embodiment two

结合实施例一,以检测用户触摸触屏产生的触发事件,根据预设条件对触发条件进行处理,在满足预设条件下生成定位控件快速定位信息为例,本发明实施例二提供了另一种定位信息的方法,参见图4,方法流程包括:In combination with Embodiment 1, taking the detection of a trigger event generated by the user touching the touch screen, processing the trigger condition according to preset conditions, and generating the fast positioning information of the positioning control when the preset condition is satisfied, Embodiment 2 of the present invention provides another A method for positioning information, see Figure 4, the method flow includes:

401:检测用户触摸触屏时产生的触发事件,并判断所述触发事件是否为第一触发事件,是则执行步骤402;否则根据触发事件类型执行相应的操作。401: Detect a trigger event generated when the user touches the touch screen, and determine whether the trigger event is the first trigger event, if yes, perform step 402; otherwise, perform corresponding operations according to the type of trigger event.

本实施例中,所述触发事件是指用户触摸触屏时产生的触发事件,包括但不限于单击、双击、滑屏事件;所述滑屏事件是指通过用户进行滑屏查找信息而触发的事件;In this embodiment, the trigger event refers to a trigger event generated when the user touches the touch screen, including but not limited to single-click, double-click, and slide events; event;

402:获取所述第一触发事件相对应的信息,判断获取的当前信息是否为目标信息,若当前信息为目标信息,执行步骤406;否则执行步骤403;402: Obtain information corresponding to the first trigger event, and determine whether the acquired current information is target information, and if the current information is target information, perform step 406; otherwise, perform step 403;

其中,根据滑屏事件的方式获取相对应的信息,所述滑屏事件包括向左滑动、向右滑动、向下滑动、向上滑动,所述滑屏方式由所述滑动起点、滑动终点及滑动的速度确定;例如,在邮件列表中查找邮件时,向下滑动触屏,将获取当前页面的上一页面的邮件内容。Wherein, the corresponding information is obtained according to the way of the sliding screen event, the sliding screen event includes sliding to the left, sliding to the right, sliding down, and sliding up, and the sliding screen mode consists of the sliding starting point, the sliding end point and the sliding The speed is determined; for example, when looking for emails in the email list, sliding the touch screen down will get the email content of the previous page of the current page.

403:将第一触发事件变量的值加一,判断所述第一触发事件变量加一后的值是否等于预设触发值,是则执行步骤404;否则返回步骤401。403: Add one to the value of the first trigger event variable, and judge whether the value of the first trigger event variable after adding one is equal to the preset trigger value, if yes, execute step 404; otherwise, return to step 401.

其中,所述第一触发事件变量用于记录连续发生滑屏事件的次数,可以根据实际场景进行预定义;例如,所述预设触发值为3,当连续滑屏3次时,将所述第一触发事件变量更新至3,以供生成定位控件;若连续滑屏小于三次,则返回继续检测滑屏事件触发,所述连续滑屏是指上次滑屏事件与本次滑屏事件的间隔时间小于预设时间,所述预设时间可以根据具体情况进行设定,例如1S,2S,等等。Wherein, the first trigger event variable is used to record the number of consecutive sliding screen events, which can be predefined according to the actual scene; for example, the preset trigger value is 3. The first trigger event variable is updated to 3 for generating positioning controls; if the continuous sliding screen is less than three times, then return to continue to detect the sliding screen event trigger, and the continuous sliding screen refers to the difference between the last sliding screen event and this sliding screen event The interval time is less than a preset time, and the preset time can be set according to specific conditions, such as 1S, 2S, and so on.

404:生成定位控件,接受用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的信息。404: Generate a positioning control, accept a positioning condition input by a user through the positioning control, and acquire corresponding information according to the positioning condition.

其中,所述定位控件是指满足预设条件时,生成的快速定位控件,所述定位控件根据实际场景定义;例如,滚动条控件,检索属性条,搜索框等等;Wherein, the positioning control refers to a quick positioning control generated when a preset condition is met, and the positioning control is defined according to an actual scene; for example, a scroll bar control, a retrieval attribute bar, a search box, etc.;

本实施例中,所述接受用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的信息;例如,当用户查找签名记录时,生成的定位控件具体为时间属性条,用户通过点击对应的时间控件触发第二触发事件,获取并显示与该时间相关的签名。In this embodiment, the positioning condition input by the user through the positioning control is accepted, and corresponding information is obtained according to the positioning condition; for example, when the user searches for a signature record, the generated positioning control is specifically a time attribute bar, and the user passes Click the corresponding time control to trigger the second trigger event, and obtain and display the signature related to the time.

405:判断获取定位条件对应的信息是否是目标信息,是则执行步骤406;否则返回步骤401。405: Determine whether the information corresponding to the acquired positioning condition is target information, if yes, execute step 406; otherwise, return to step 401.

本实施例中,所述目标信息是指用户需查找的精确信息。In this embodiment, the target information refers to the precise information that the user needs to find.

406:检测触屏终端用户触摸触屏产生的第二触发事件,以使选定目标信息。406: Detect a second trigger event generated by the touch screen terminal user touching the touch screen, so as to select target information.

其中,第二触发事件是指获取定位条件相应的信息后,对获取的信息进行选定而产生的触发;Wherein, the second trigger event refers to a trigger generated by selecting the obtained information after obtaining the information corresponding to the positioning condition;

例如,用户查找应用时,当所述定位控件为搜索框时,用户输入具体应用名后,获取到与所述应用名相关的系列应用,从系列应用中点击目标应用,则产生第二触发事件,选定目标应用。For example, when the user searches for an application, when the positioning control is a search box, the user enters a specific application name, obtains a series of applications related to the application name, and clicks the target application from the series of applications, and a second trigger event is generated , select the target application.

本实施例通过对连续滑动次数达到预设条件时,触发生成快速的定位控件进入快速查找方式以定位目标信息的方式,可以有效地减少滑屏次数,快速定位信息,通过生成定位控件引导用户操作,增强用户体验效果。In this embodiment, when the number of consecutive slides reaches the preset condition, triggering the generation of a fast positioning control to enter the fast search mode to locate the target information can effectively reduce the number of sliding screens, quickly locate the information, and guide the user to operate by generating the positioning control , enhance the user experience effect.

实施例三Embodiment three

参见图5,本发明实施例提供了一种定位信息的装置,该装置包括:Referring to Fig. 5, an embodiment of the present invention provides a device for positioning information, which includes:

检测模块501,用于用于检测触屏终端上用户触摸触屏时产生的第一触发事件;A detection module 501, configured to detect a first trigger event generated when the user touches the touch screen on the touch screen terminal;

第一处理模块502,用于更新第一触发事件变量,判断已更新的所述第一触发事件变量是否满足预设条件,当所述第一触发事件满足所述预设条件时,生成定位控件;The first processing module 502 is configured to update a first trigger event variable, determine whether the updated first trigger event variable satisfies a preset condition, and generate a positioning control when the first trigger event satisfies the preset condition ;

其中,第一处理模块502具体用于将所述第一触发事件变量的值加一,判断所述第一触发事件变量加一后的值是否等于预设触发值,是则生成定位控件,否则等待检测触屏终端上用户触摸触屏时产生的第一触发事件,更新第一触发事件变量,以使满足预设条件时生成定位控件;Wherein, the first processing module 502 is specifically configured to add one to the value of the first trigger event variable, and judge whether the value after adding one to the first trigger event variable is equal to a preset trigger value, if yes, generate a positioning control, otherwise Waiting to detect the first trigger event generated when the user touches the touch screen on the touch screen terminal, and updating the first trigger event variable so that the positioning control is generated when the preset condition is met;

第一获取模块503,用于接受用户通过所述定位控件输入的定位条件,根据所述定位条件获取对应的信息;The first acquiring module 503 is configured to accept the positioning condition input by the user through the positioning control, and acquire corresponding information according to the positioning condition;

结合上述装置,参见图6,本实施例提供了又一种定位信息的装置,该装置还包括:In combination with the above devices, referring to FIG. 6, this embodiment provides another device for positioning information, which further includes:

第二获取模块601,用于获取所述第一触发事件相对应的信息,判断获取的当前信息是否为目标信息,若当前信息为目标信息,则检测触屏终端上用户触摸触屏产生的第二触发事件,以使选定目标信息。The second acquiring module 601 is configured to acquire information corresponding to the first trigger event, and judge whether the acquired current information is target information, and if the current information is target information, then detect the first touch generated by the user touching the touch screen on the touch screen terminal Two trigger events to enable selected target information.

另外,结合上述两个装置,参见图7,本实施例提供再一种定位信息的装置,该装置还包括:In addition, in combination with the above two devices, referring to FIG. 7, this embodiment provides another device for positioning information, which also includes:

第二处理模块701,用于判断获取的所述定位控件相对应的信息是否为目标信息,The second processing module 701 is configured to determine whether the acquired information corresponding to the positioning control is target information,

若获取的当前信息是所述目标信息,则检测触摸屏终端用户触摸触屏产生的第二触发事件,以使选定目标信息;If the acquired current information is the target information, then detecting the second trigger event generated by the touch screen terminal user touching the touch screen, so that the target information is selected;

若获取的当前信息不是所述目标信息,则继续等待检测触屏终端用户触摸触屏时产生的第一触发事件,更新第一触发变量,以使满足预设条件时生成定位控件。If the obtained current information is not the target information, continue to wait for the detection of the first trigger event generated when the touch screen terminal user touches the touch screen, and update the first trigger variable so that the positioning control is generated when the preset condition is met.

综上所述,上述装置通过对连续滑动次数达到预设条件时,触发生成快速的定位控件进入快速查找方式以定位目标信息的方式,可以有效地减少滑屏次数,快速定位信息,通过生成定位控件引导用户操作,增强用户体验效果。To sum up, the above device can effectively reduce the number of sliding screens and quickly locate information by triggering and generating a fast positioning control to enter the fast search mode to locate the target information when the number of consecutive sliding times reaches the preset condition. Controls guide users to operate and enhance user experience.

需要说明的是:上述实施例提供的定位信息的装置,在定位信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的定位信息的装置实施例与定位信息的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the device for positioning information provided by the above-mentioned embodiments only uses the division of the above-mentioned functional modules as an example for locating information. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. , that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device embodiment of the positioning information provided by the above embodiments and the method embodiment of the positioning information belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (6)

1. a method for locating information, is characterized in that, described method comprises:
Detect the first trigger event produced when user touches touch screen on touch screen terminal;
Upgrade the first trigger event variable, judge whether the described first trigger event variable that upgraded meets pre-conditioned, when described first trigger event variable meet described pre-conditioned time, generate orient control;
Accept the location condition that user is inputted by described orient control, obtain corresponding information according to described location condition;
Wherein, described renewal first trigger event variable, judges whether the described first trigger event variable that upgraded meets pre-conditioned, when described first trigger event variable meet described pre-conditioned time, generate orient control, specifically comprise:
The value of described first trigger event variable is added one, judge that described first trigger event variable adds the value after and whether equals preset trigger, generate orient control, otherwise etc. the first trigger event produced when user touches touch screen on touch screen terminal to be detected, upgrade described first trigger event variable, during to make to meet pre-conditioned, generate orient control.
2. method according to claim 1, is characterized in that, after the first trigger event produced, also comprises when user touches touch screen on described detection touch screen terminal:
Obtain the information that described first trigger event is corresponding, judge whether the current information obtained is target information, if current information is target information, then detects user on touch screen terminal and touch the second trigger event of touch screen generation, to make selected target information.
3. method according to claim 1 and 2, is characterized in that, the location condition that the described user of acceptance is inputted by described orient control, after obtaining corresponding information, also comprises according to described location condition:
Judge whether the corresponding information of described orient control obtained is target information,
If the current information obtained is described target information, then detect the second trigger event that touch screen terminal user touches touch screen generation, to make selected target information;
If the current information obtained is not described target information, then the first trigger event produced when the touch screen terminal user to be detected such as continuations touches touch screen, upgrades the first triggering variable, generation orient control during to make to meet pre-conditioned.
4. a device for locating information, is characterized in that, described device comprises:
Detection module, for detecting the first trigger event produced when user on touch screen terminal touches touch screen;
First processing module, for upgrading the first trigger event variable, judges whether the described first trigger event variable that upgraded meets pre-conditioned, when described first trigger event meet described pre-conditioned time, generate orient control;
First acquisition module, for accepting the location condition that user is inputted by described orient control, obtains corresponding information according to described location condition;
Wherein, described first processing module is specifically for adding one by the value of described first trigger event variable, judge that described first trigger event variable adds the value after and whether equals preset trigger, generate orient control, otherwise etc. the first trigger event produced when user touches touch screen on touch screen terminal to be detected, upgrade described first trigger event variable, during to make to meet pre-conditioned, generate orient control.
5. device according to claim 4, is characterized in that, described device also comprises:
Second acquisition module, for obtaining the corresponding information of described first trigger event, judge whether the current information obtained is target information, if current information is target information, then detect user on touch screen terminal and touch the second trigger event of touch screen generation, to make selected target information.
6. the device according to claim 4 or 5, is characterized in that, described device also comprises:
Second processing module, for judging whether the corresponding information of described orient control obtained is target information,
If the current information obtained is described target information, then detect the second trigger event that touch screen terminal user touches touch screen generation, to make selected target information;
If the current information obtained is not described target information, then the first trigger event produced when the touch screen terminal user to be detected such as continuations touches touch screen, upgrades the first triggering variable, generation orient control during to make to meet pre-conditioned.
CN201310059164.7A 2013-02-25 2013-02-25 The method of locating information and device Expired - Fee Related CN103279276B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310059164.7A CN103279276B (en) 2013-02-25 2013-02-25 The method of locating information and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310059164.7A CN103279276B (en) 2013-02-25 2013-02-25 The method of locating information and device

Publications (2)

Publication Number Publication Date
CN103279276A CN103279276A (en) 2013-09-04
CN103279276B true CN103279276B (en) 2015-11-18

Family

ID=49061823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310059164.7A Expired - Fee Related CN103279276B (en) 2013-02-25 2013-02-25 The method of locating information and device

Country Status (1)

Country Link
CN (1) CN103279276B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423793A (en) * 2013-09-11 2015-03-18 联想(北京)有限公司 Information processing method and electronic device
CN105426073A (en) * 2015-10-27 2016-03-23 努比亚技术有限公司 List display control apparatus and method
CN105653711A (en) * 2015-12-30 2016-06-08 广东欧珀移动通信有限公司 A search method and device for a terminal application
CN106980428A (en) * 2016-01-16 2017-07-25 平安科技(深圳)有限公司 Application programe switch-over method and device
CN109151573B (en) 2018-09-30 2021-06-15 Oppo广东移动通信有限公司 Video enhancement control method, device and electronic device
CN111552859B (en) * 2020-04-23 2024-04-26 京东方科技集团股份有限公司 Method, storage medium and system for obtaining historical information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631332A (en) * 2009-07-29 2010-01-20 中兴通讯股份有限公司 Application program search method and application program searching device for movable terminal
CN102169410A (en) * 2011-03-15 2011-08-31 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying terminal information
CN102541928A (en) * 2010-12-30 2012-07-04 腾讯科技(深圳)有限公司 Method and device for searching contents of terminal application program
CN102890672A (en) * 2011-07-18 2013-01-23 汉王科技股份有限公司 Method and device for finding application program of mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070300176A1 (en) * 2006-06-26 2007-12-27 Ilja Fischer Entering Information in Input Field

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631332A (en) * 2009-07-29 2010-01-20 中兴通讯股份有限公司 Application program search method and application program searching device for movable terminal
CN102541928A (en) * 2010-12-30 2012-07-04 腾讯科技(深圳)有限公司 Method and device for searching contents of terminal application program
CN102169410A (en) * 2011-03-15 2011-08-31 宇龙计算机通信科技(深圳)有限公司 Method and device for displaying terminal information
CN102890672A (en) * 2011-07-18 2013-01-23 汉王科技股份有限公司 Method and device for finding application program of mobile terminal

Also Published As

Publication number Publication date
CN103279276A (en) 2013-09-04

Similar Documents

Publication Publication Date Title
CN102609170B (en) Electronic device and information presentation method thereof
US10754535B2 (en) Icon control method and terminal
CN106055202B (en) A kind of duplication method of attaching and mobile terminal
RU2501068C2 (en) Interpreting ambiguous inputs on touchscreen
US9323451B2 (en) Method and apparatus for controlling display of item
WO2019128732A1 (en) Icon management method and device
US20130234963A1 (en) File management method and electronic device having file management function
US20160054867A1 (en) Method of displaying screen in electronic device, and electronic device therefor
CN103279276B (en) The method of locating information and device
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
KR20140078629A (en) User interface for editing a value in place
EP4610850A1 (en) Method and apparatus for content presentation, device, and storage medium
KR20130010595A (en) Method and apparatus for moving items using touchscreen
WO2017128522A1 (en) Method, device, and terminal for processing touch-control operation
US20130246975A1 (en) Gesture group selection
CN105045800A (en) Information search system and method
US11460971B2 (en) Control method and electronic device
CN106919307A (en) A kind of text clone method and mobile terminal
KR20150021722A (en) Method, apparatus and recovering medium for screen display by executing scroll
CN105426049B (en) A kind of delet method and terminal
CN113268182B (en) Application icon management method and electronic device
US10732719B2 (en) Performing actions responsive to hovering over an input surface
CN105677148A (en) A search method and device for a terminal application
CN103324430B (en) Multi-finger object operation method and device
WO2016045500A1 (en) Method, apparatus and system for selecting target object in target library

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151118

CF01 Termination of patent right due to non-payment of annual fee