WO2019041120A1 - 控件触发方法及终端设备 - Google Patents

控件触发方法及终端设备 Download PDF

Info

Publication number
WO2019041120A1
WO2019041120A1 PCT/CN2017/099412 CN2017099412W WO2019041120A1 WO 2019041120 A1 WO2019041120 A1 WO 2019041120A1 CN 2017099412 W CN2017099412 W CN 2017099412W WO 2019041120 A1 WO2019041120 A1 WO 2019041120A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
terminal device
preset area
page
end position
Prior art date
Application number
PCT/CN2017/099412
Other languages
English (en)
French (fr)
Inventor
霍绍强
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to CN201780096311.4A priority Critical patent/CN111279303B/zh
Priority to PCT/CN2017/099412 priority patent/WO2019041120A1/zh
Publication of WO2019041120A1 publication Critical patent/WO2019041120A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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

Definitions

  • the present application relates to the field of communications, and in particular, to a control triggering method and a terminal device.
  • a large number of information-containing controls are displayed on the pages of many applications. For example, a link to a picture control of a large number of products is displayed on the shopping software interface, and the user clicks on the image to enter the detailed interface of the product to browse, and when browsing is required, When you next store, you need to exit from the detailed interface of the product to the shopping software interface, and then click the image of the next product to browse.
  • the invention provides a control triggering method and a terminal device, so as to enable a user to quickly trigger various information controls, perform preview display or expansion operations, etc. when facing a page containing a large number of information controls, thereby determining whether there is a further click.
  • the need for the control to enter the detailed interface simplifies the operation process, improves the search efficiency, and further satisfies the user's need to quickly find information.
  • the present invention provides a control triggering method, including:
  • the terminal device acquires a first end position of the first control that is dragged on the display interface
  • the terminal device displays the page content corresponding to the first control in the preset area.
  • the terminal device displays the first control corresponding to the terminal device in the preset area. After the page content, the method further includes:
  • the terminal device acquires a second end position of the second control that is dragged on the display interface
  • the terminal device replaces the page content displayed in the preset area with the page content corresponding to the second control.
  • the terminal device displays the page content corresponding to the first control in the preset area, including:
  • the terminal device acquires a guide page corresponding to the first control
  • the terminal device displays a guide page corresponding to the first control in the preset area.
  • the method further includes:
  • the terminal device acquires an operation instruction that the user operates the guide page
  • the terminal device acquires a detailed page corresponding to the first control according to the operation instruction
  • the terminal device displays the detailed page in the display interface.
  • the terminal device acquires a first end position of the first control that is dragged on the display interface, including:
  • the terminal device determines whether the long press time of the first control by the user is greater than a preset trigger time
  • the terminal device sets the first control to a floating state, where the floating state is that the first control is in a state that can be dragged on the display interface;
  • the terminal device acquires a signal that the user's finger leaves the touch screen
  • the current position of the first control on the display interface is used as the first end position.
  • the predetermined area is located in an upper area or a lower area of the display interface.
  • the present invention provides a terminal device, including:
  • An obtaining module configured to acquire a first end position of the first control that is dragged on the display interface
  • a determining module configured to determine whether the first end position is within a preset area in the display interface
  • a display module configured to display page content corresponding to the first control in the preset area.
  • the acquiring module is further configured to: after displaying the page content corresponding to the first control in the preset area, acquiring a second control being dragged on the display interface Second end position
  • the determining module is further configured to determine whether the second end position is within the preset area
  • the display module is further configured to replace the page content displayed in the preset area with the second control pair The content of the page should be.
  • the display module is specifically configured to:
  • the acquisition module is further used,
  • the display module is further configured to display the detailed page information.
  • the determining module is further configured to determine whether a long press time of the first control by the user is greater than a preset trigger time
  • the terminal device further includes:
  • a setting module configured to set the first control to a floating state, wherein the floating state is a state in which the first control is dragged on the page;
  • the acquiring module is further configured to use, as the first end position, a position at which the first control obtains the touch signal in the process of being dragged.
  • the predetermined area is located in an upper area or a lower area of the display interface.
  • the present invention provides a terminal device comprising: a memory, a processor, and a computer program, wherein the computer program is stored in the memory, the processor running the computer program to perform the first aspect and the first aspect Various possible design-described control trigger methods.
  • the present invention also provides a storage medium comprising: a readable storage medium and a computer program for implementing the first aspect and various possible control triggering methods of the first aspect.
  • the invention provides a control triggering method.
  • the user can quickly trigger each information control, and the terminal device can display the page content corresponding to the control in the preset area, thereby determining whether there is further Clicking on the control to enter the detailed page is necessary, simplifies the operation process, improves the search efficiency, and further satisfies the user's need to quickly find information.
  • FIG. 1 is a schematic diagram of an optional control triggering method used by the present invention
  • FIG. 2 is a flowchart of a method for triggering a control according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of an interface of the first control of the drag and drop in FIG. 2;
  • FIG. 4 is a schematic diagram showing the interface of the first control guide page in FIG. 2;
  • FIG. 5 is a schematic diagram of an interface for triggering a detailed page of a first control according to Embodiment 1 of the present invention.
  • FIG. 6 is a schematic diagram of a second interface triggering mode second interface of the first control according to the first embodiment of the present invention.
  • FIG. 7 is a schematic diagram of an interface for displaying a detailed page of a first control according to Embodiment 1 of the present invention.
  • FIG. 8 is a flowchart of a method for triggering a control according to Embodiment 2 of the present invention.
  • FIG. 9 is a flowchart of a method for triggering a control according to Embodiment 3 of the present invention.
  • FIG. 10 is a schematic structural diagram of a terminal device according to Embodiment 4 of the present invention.
  • FIG. 11 is a schematic structural diagram of hardware of a terminal device provided by the present invention.
  • FIG. 1 is a schematic diagram of an optional interface of a control triggering method provided by the present invention.
  • a control area 1 is disposed in the upper half of the display interface, and a preset area 2 is disposed in the lower half of the display interface, wherein the control area 11 is provided with the control 11 .
  • the user drags the control 11 in the control area 1 into the preset area 2 to realize the display of the corresponding guide page of the control 11 in the preset area 2.
  • FIG. 2 is a flowchart of a method for triggering a control according to Embodiment 1 of the present invention. As shown in FIG. 2, the method provided in this embodiment includes:
  • Step 101 The terminal device acquires a first end position that is dragged by the first control on the display interface.
  • FIG. 3 is a schematic diagram of the interface of the first control dragged in FIG. 2, as shown in FIG. 3, the user drags and drags the first control in the control area, and the drag operation is obtained after the user drags the action.
  • the upper part of the software interface is set as a control area
  • the control of the control area contains the product picture and name information
  • the lower part is set as a preset area, which is used to preview the product.
  • the user can drag and drop the control containing the item information to the preset area for preview.
  • Step 102 The terminal device determines whether the first end position is in a preset area in the display interface, and if so, Then, step 103 is performed, and if not, the process ends.
  • At least one preset area is disposed in the display interface, wherein the preset area can perform a corresponding specific operation on the control falling within the range of the area.
  • the terminal device determines whether to perform a corresponding specific operation on the control by determining whether the acquired first end position is within a preset area in the display interface.
  • the terminal device determines whether the preview information of the product is displayed in the preset area by determining whether the control end position of the product information dragged by the user is within the preset area.
  • Step 103 The terminal device displays the page content corresponding to the first control in the preset area.
  • FIG. 4 is a schematic diagram of the interface for displaying the content of the corresponding page of the first control in FIG. 2, as shown in FIG. 4, if the first end position falls into the preset area in the display interface when the drag operation ends, The page content corresponding to the first control is displayed in the preset area.
  • the first control is pre-configured with a corresponding guide page, and the guide page includes summary information in the detailed page corresponding to the first control. If the first end position of the first control is dragged into the preset area in the display interface, the terminal device acquires the guide page corresponding to the first control, and displays the guide page in the preset area.
  • each product information control corresponds to a corresponding guide page, wherein the guide page contains an introduction to the product, such as a specific model of the product and a main information picture. If the user drags the item information control into the preset area, a guide page containing the specific model number of the item, the main information picture, and the like is displayed in the preset area.
  • FIG. 5 is a schematic diagram of an interface of the first page of the first control in the first page of the embodiment of the present invention
  • FIG. 6 is a schematic diagram of the second page of the first page of the first control in the embodiment of the present invention.
  • FIG. 7 is a schematic diagram of the first embodiment of the present invention.
  • FIG. 5-7 after the user obtains the information in the guide page corresponding to the first control displayed in the preset area, if the information needs to be further understood, as shown in FIG. 5, the first control may be triggered.
  • the triggering page on the display page can also be triggered, and the terminal device automatically acquires the detailed page corresponding to the first control after acquiring the operation instruction of the user to operate the guide page, and is in the terminal device. Displayed in the display interface.
  • the user can directly click the control or in the preset area.
  • the display page of the terminal device will jump to the detailed page that introduces the product information, so that the user can obtain more information about the product.
  • each information when a user faces a page that contains a large number of information controls, each information can be quickly triggered.
  • the control device can display the page content corresponding to the control in the preset area, thereby determining whether there is a need to further click the control to enter the detailed page, simplifying the operation process, improving the search efficiency, and further satisfying the user to quickly find information. demand.
  • FIG. 8 is a flowchart of a method for triggering a control according to Embodiment 2 of the present invention. As shown in FIG. 8, the method provided in this embodiment includes:
  • Step 201 The terminal device acquires a first end position that is dragged by the first control on the display interface.
  • Step 202 The terminal device determines whether the first end position is in a preset area in the display interface. If yes, step 103 is performed, and if not, the process ends. .
  • Step 203 The terminal device displays the page content corresponding to the first control in the preset area.
  • Step 204 The terminal device acquires a second end position that is dragged by the second control on the display interface.
  • the user may continue to drag and drop the second control in the control area, and after the user's drag operation ends, obtain the end position of the drag operation. And use it as the second end position.
  • the upper part of the software interface is set as a control area
  • the control of the control area contains the product picture and name information
  • the lower part is set as a preset area, which is used to preview the product. After the user previews the information of the previous item in the preset area and finds that the item does not meet the requirements, the user can again drag and drop a new space to the preset area for preview.
  • multiple preset areas can be set on the shopping software interface, and the user can drag and drop different controls to preview different preset areas, and compare and further improve the speed and efficiency of the user to find the goods. .
  • Step 205 The terminal device determines whether the second end position is in the preset area. If yes, step 206 is performed, and if not, the process ends. .
  • the terminal device determines whether to stop the specific operation of the first control by performing a specific operation on the second control by determining whether the acquired second end position is within a preset area in the display interface.
  • the terminal device determines whether the preview position of the original reality is turned off in the preset area by determining whether the control end position of the product information that the user re-drags is in the preset area, and the display is re-drag Preview information for the item.
  • Step 206 The terminal device replaces the page content displayed in the preset area with the page content corresponding to the second control.
  • the page content displayed in the preset area is replaced with the page content corresponding to the second control.
  • FIG. 9 is a flowchart of a method for triggering a control according to Embodiment 3 of the present invention. As shown in FIG. 9, the method provided in this embodiment includes:
  • Step 301 The terminal device determines whether the long press time of the first control is greater than a preset trigger time. If yes, step 302 is performed. If not, the process ends. .
  • the user can press and hold the first control on the display interface through the touch screen, and the terminal device performs statistics on the long press time of the user, and compares with the preset trigger time in the system, thereby determining the length of the user on the first control. Whether the time is greater than the preset trigger time.
  • Step 302 The terminal device sets the first control to a floating state.
  • the terminal device sets the first control to a floating state, wherein the floating state is that the first control is dragged on the display interface. status.
  • the terminal device does not perform any setting operation on the first control.
  • Step 303 The terminal device first obtains the location of the touch signal in the process of being dragged as the first end position.
  • the user's finger presses and drags the first control on the touch screen the user's finger and the working surface form a coupling capacitor due to the human body electric field, because the high-frequency signal is connected to the working surface, so the finger absorbs a very high a small current that flows from the electrodes at the four corners of the screen, and the current flowing through the four electrodes is theoretically proportional to the distance from the finger to the four corners, and the terminal device performs a precise calculation of the ratio of the four currents.
  • the position of the user's touch pressure can be calculated in real time.
  • the terminal device can no longer obtain the touch signal. Therefore, the first control finally obtains the touch signal during the process of being dragged.
  • the position is the first end position.
  • Step 304 The terminal device determines whether the first end position is in the preset area in the display interface. If yes, step 305 is performed, and if not, the process ends. .
  • Step 305 The terminal device displays the page content corresponding to the first control in the preset area.
  • Step 306 The terminal device acquires a second end position that is dragged by the second control on the display interface.
  • Step 307 The terminal device determines whether the second end position is within the preset area.
  • Step 308 If the determination result is yes, the terminal device replaces the page content displayed in the preset area with the page content corresponding to the second control.
  • steps 304-305 refer to the description of the steps 102-103 in the first embodiment.
  • the specific implementation manners of the steps 306-308 refer to the description of the steps 204-206 in the second embodiment, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of a terminal device according to Embodiment 4 of the present invention. As shown in FIG. 10, the terminal device provided in this embodiment includes:
  • the obtaining module 401 is configured to acquire a first end position of the first control that is dragged on the display interface;
  • the determining module 402 is configured to determine whether the first end position is within a preset area in the display interface
  • the display module 403 is configured to display the page content corresponding to the first control in the preset area.
  • the obtaining module 401 is further configured to: after displaying the page content corresponding to the first control in the preset area, acquiring a second end position of the second control being dragged on the display interface;
  • the determining module 402 is further configured to determine whether the second end position is within the preset area
  • the display module 403 is further configured to replace the page content displayed in the preset area with the page content corresponding to the second control.
  • the display module 403 is specifically configured to:
  • the guide page corresponding to the first control is displayed in the preset area.
  • the display module 403 is further configured to replace the page content displayed in the preset area with the page content corresponding to the second control.
  • the determining module 402 is further configured to determine whether the long pressing time of the first control by the user is greater than a preset triggering time
  • a setting module configured to set the first control to a floating state, wherein the floating state is a state in which the first control is dragged on the page;
  • the obtaining module 401 is further configured to use the position where the first control obtains the touch signal in the process of being dragged as the first end position.
  • the terminal device provided in the fourth embodiment can be used to perform the methods provided in the foregoing Embodiments 1 to 3.
  • the specific implementation manners and technical effects are similar, and details are not described herein again.
  • FIG. 11 is a schematic structural diagram of hardware of a terminal device provided by the present application.
  • the terminal device 50 includes: a processor 51 and a memory 52;
  • the memory 52 is configured to store a computer program, and the memory may also be a flash memory.
  • the processor 51 is configured to execute an execution instruction of the memory storage to implement each step in the above decoding method. For details, refer to the related description in the foregoing method embodiments.
  • the memory 52 can be either stand-alone or integrated with the processor 51.
  • the terminal device 50 may further include:
  • a bus 53 is provided for connecting the memory 52 and the processor 51.
  • the application further provides a storage medium in which an execution instruction is stored, and when at least one processor of the terminal device executes the execution instruction, the terminal device executes the application management method provided by the various embodiments described above.
  • the application also provides a program product comprising an execution instruction stored in a readable storage medium.
  • At least one processor of the terminal device can read the execution instructions from a readable storage medium, and the at least one processor executes the execution instructions such that the terminal device implements the application management methods provided by the various embodiments described above.
  • the processor may be a central processing unit (English: Central Processing Unit, CPU for short), or may be other general-purpose processors, digital signal processors (English: Digital Signal Processor, Abbreviation: DSP), Application Specific Integrated Circuit (English: Application Specific Integrated Circuit, ASIC for short).
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like. The steps of the method disclosed in connection with the present application may be directly embodied by hardware processor execution or by a combination of hardware and software modules in a processor.
  • All or part of the steps of implementing the above method embodiments may be performed by hardware associated with the program instructions.
  • the aforementioned program can be stored in a readable memory.
  • the steps including the foregoing method embodiments are performed; and the foregoing memory (storage medium) includes: read-only memory (English: read-only memory, abbreviation: ROM), RAM, flash memory, hard disk, Solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

Abstract

一种控件触发方法及终端设备。所述方法包括:终端设备获取第一控件在显示界面上被拖拽的第一终点位置(101);所述终端设备判断所述第一终点位置是否在所述显示界面中的预设区域内(102);若判断结果为是,则所述终端设备在所述预设区域内显示所述第一控件对应的页面内容(103)。简化了寻找信息的操作过程,提高了查找效率,进一步满足了用户快速寻找信息的需求。

Description

控件触发方法及终端设备 技术领域
本申请涉及通信领域,尤其涉及一种控件触发方法及终端设备。
背景技术
随着通信技术的快速发展,终端设备中的应用程序也为用户提供越来越丰富的人机交互方式,其中鼠标、触摸感应屏幕以及体感设备的诞生更是大大增强了人机交互的便利性。
目前在许多应用程序的页面中都会显示大量的含有信息的控件,例如,购物软件界面上会显示大量商品的图片控件链接,用户通过点击该图片进入该商品的详细界面进行浏览,而当需要浏览下一个商品时,又需要从该商品的详细界面中退出至购物软件界面,再点击下一个商品的图片以进行浏览。
尤其是,当用户面对含有大量信息控件的页面时,通过现有技术中的点击方式进入界面,再点击退出到主界面,然后再点击进入下个界面的交互方式来寻找信息时,操作比较复杂且效率较低。
发明内容
本发明提供一种控件触发方法及终端设备,以实现用户面对含有大量信息控件的页面时,能够快速地触发各个信息控件,对其进行预览显示或者展开等操作,从而判断是否有进一步点击该控件进入详细界面的必要,简化了操作过程,提高了查找效率,进一步满足用户快速寻找信息的需求。
第一方面,本发明提供一种控件触发方法,包括:
终端设备获取第一控件在显示界面上被拖拽的第一终点位置;
所述终端设备判断所述第一终点位置是否在所述显示界面中的预设区域内;
若判断结果为是,则所述终端设备在所述预设区域内显示所述第一控件对应的页面内容。
在一种可能的设计中,在所述终端设备在所述预设区域内显示所述第一控件对应 的页面内容之后,所述方法,还包括:
所述终端设备获取第二控件在所述显示界面上被拖拽的第二终点位置;
所述终端设备判断所述第二终点位置是否在所述预设区域内;
若判断结果为是,则所述终端设备将所述预设区域内显示的页面内容替换为所述第二控件对应的页面内容。
在一种可能的设计中,所述终端设备在所述预设区域内显示所述第一控件对应的页面内容,包括:
所述终端设备获取所述第一控件对应的引导页;
所述终端设备在所述预设区域内显示所述第一控件对应的引导页。
在一种可能的设计中,在所述终端设备在所述预设区域内显示所述第一控件对应的引导页之后,所述方法,还包括:
所述终端设备获取用户对所述引导页进行操作的操作指令;
所述终端设备根据所述操作指令,获取所述第一控件对应的详细页;
所述终端设备在所述显示界面中显示所述详细页。
在一种可能的设计中,所述终端设备获取第一控件在显示界面上被拖拽的第一终点位置,包括:
所述终端设备判断用户对所述第一控件的长按时间是否大于预设的触发时间;
若判断结果为是,则所述终端设备将所述第一控件设置为浮动状态,其中,所述浮动状态为所述第一控件在所述显示界面上处于可被拖拽的状态;
所述终端设备获取到用户手指离开触摸屏的信号时,将当前所述第一控件在所述显示界面上所处的位置作为第一终点位置。
在一种可能的设计中,所述预设区域位于所述显示界面的上部区域或下部区域。
第二方面,本发明提供一种终端设备,包括:
获取模块,用于获取第一控件在显示界面上被拖拽的第一终点位置;
判断模块,用于判断所述第一终点位置是否在所述显示界面中的预设区域内;
显示模块,用于在所述预设区域内显示所述第一控件对应的页面内容。
在一种可能的设计中,所述获取模块,还用于在所述预设区域内显示所述第一控件对应的页面内容之后,获取第二控件在所述显示界面上被拖拽的第二终点位置;
所述判断模块,还用于判断所述第二终点位置是否在所述预设区域内;
所述显示模块,还用于将所述预设区域内显示的页面内容替换为所述第二控件对 应的页面内容。
在一种可能的设计中,所述显示模块,具体用于:
获取所述第一控件对应的引导页;
在所述预设区域内显示所述第一控件对应的引导页。
在一种可能的设计中,所述获取模块还用于,
获取用户对所述引导页进行操作的操作指令;
根据所述操作指令,获取所述第一控件对应的详细页;
所述显示模块,还用于显示所述详细页面信息。
在一种可能的设计中,所述判断模块,还用于判断用户对所述第一控件的长按时间是否大于预设的触发时间;
所述终端设备,还包括:
设置模块,用于将所述第一控件设置为浮动状态,其中,所述浮动状态为所述第一控件在所述页面上处于可以被拖拽的状态;
所述获取模块,还用于将所述第一控件在被拖拽的过程中最后获取到触压信号的位置作为所述第一终点位置。
在一种可能的设计中,所述预设区域位于所述显示界面的上部区域或下部区域。
第三方面,本发明提供一种终端设备,包括:存储器、处理器以及计算机程序,所述计算机程序存储在所述存储器中,所述处理器运行所述计算机程序执行第一方面及第一方面各种可能的设计所述的控件触发方法。
第四方面,本发明还提供一种存储介质,包括:可读存储介质和计算机程序,所述计算机程序用于实现第一方面及第一方面各种可能的控件触发方法。
本发明提供一种控件触发方法,当用户面对含有大量信息控件的页面时,能够快速地触发各个信息控件,终端设备能够在预设区域内显示该控件对应的页面内容,从而判断是否有进一步点击该控件进入详细页的必要,简化了操作过程,提高了查找效率,进一步满足了用户快速寻找信息的需求。
附图说明
图1为本发明提供的一种可选的控件触发方法使用界面示意图;
图2为本发明实施例一提供的控件触发方法的流程图;
图3为图2中拖拽第一控件的界面示意图;
图4为图2中显示第一控件引导页的界面示意图;
图5为本发明实施例一中第一控件详细页触发方式一界面示意图;
图6为本发明实施例一中第一控件详细页触发方式二界面示意图;
图7为本发明实施例一中显示第一控件详细页的界面示意图;
图8为本发明实施例二提供的控件触发方法的流程图;
图9为本发明实施例三提供的控件触发方法的流程图;
图10为本发明实施例四提供的终端设备的结构示意图;
图11为本发明提供的终端设备的硬件结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
图1为本发明提供的一种可选的控件触发方法使用界面示意图。如图1所示,在显示界面的上半部分设置有控件区域1,显示界面的下半部分设置有预设区域2,其中控件区域1中设置有控件11。用户通过将控件区域1中的控件11拖拽到预设区域2中,以实现在预设区域2对控件11对应引导页的显示。
图2为本发明实施例一提供的控件触发方法的流程图。如图2所示,本实施例提供的方法,包括:
步骤101、终端设备获取第一控件在显示界面上被拖拽的第一终点位置。
具体地,图3为图2中拖拽第一控件的界面示意图,如图3所示,用户对控件区域中的第一控件进行拖拽操作,用户的拖拽动作结束后,获取拖拽操作的终点位置,并将其作为第一终点位置。
例如,对于一个购物软件界面,将该软件界面上半部分设置为控件区域,该控件区域的控件包含商品图片和名称信息,而下半部分设置为预设区域,该预设区域用于预览商品,用户在该界面挑选商品时,就可以通过将包含商品信息的控件拖拽到预设区域进行预览。
步骤102、终端设备判断第一终点位置是否在显示界面中的预设区域内,若是, 则执行步骤103,若否,则流程结束。
具体地,在显示界面中至少设置有一个预设区域,其中该预设区域可以对落入该区域范围内的控件执行相应的特定操作。终端设备通过判断上述获取到的第一终点位置是否在显示界面中的预设区域内来决定是否对该控件执行相应的特定操作。
例如,在购物软件界面中,终端设备通过判断用户拖拽的商品信息的控件终点位置是否在预设区域内,从而来决定是否在预设区域显示商品的预览信息。
步骤103、终端设备在预设区域内显示第一控件对应的页面内容。
具体地,图4为图2中显示第一控件对应页面内容的界面示意图,如图4所示,若拖拽操作结束时,第一终点位置落入了显示界面中的预设区域,则在该预设区域内显示第一控件对应的页面内容。
在实际应用过程中,第一控件预设有对应的引导页,该引导页中包含了第一控件所对应的详细页中的概要信息。如果第一控件拖拽结束时的第一终点位置落入了显示界面中的预设区域,则终端设备获取第一控件对应的引导页,并在预设区域内显示该引导页。
例如,在购物软件界面中,每个商品信息控件都对应有对应的引导页,其中该引导页包含了该商品的简介,比如说该商品的具体型号和主要信息图片等。如果用户将商品信息控件拖拽进了预设区域,则在该预设区域内显示含有该商品的具体型号和主要信息图片等的引导页。
进一步地,图5为本发明实施例一第一控件详细页触发方式一界面示意图,图6为本发明实施例一第一控件详细页触发方式二界面示意图,图7为本发明实施例一中显示第一控件详细页的界面示意图。如图5-图7所示,用户通过获取到预设区域内显示的第一控件对应的引导页中的信息之后,如果需要进一步了解信息,如图5所示,可以通过触发第一控件,如图6所示,也可以通过触发显示页面上的引导页,而终端设备在获取到用户对引导页进行操作的操作指令之后,会自动获取第一控件对应的详细页,并在终端设备的显示界面中进行显示。
例如,在购物软件界面中,用户获取了在预设区域显示的含有商品的具体型号和主要信息图片等的引导页之后,希望能够进一步了解该商品,则可以直接点击该控件或者在预设区域内点击,终端设备的显示页面则会跳转到介绍该商品信息的详细页,从而用户可以获取更多该商品的信息。
本实施例中,当用户面对含有大量信息控件的页面时,能够快速地触发各个信息 控件,终端设备能够在预设区域内显示该控件对应的页面内容,从而判断是否有进一步点击该控件进入详细页的必要,简化了操作过程,提高了查找效率,进一步满足了用户快速寻找信息的需求。
图8为本发明实施例二提供的控件触发方法的流程图。如图8所示,本实施例提供的方法,包括:
步骤201、终端设备获取第一控件在显示界面上被拖拽的第一终点位置。
步骤202、终端设备判断第一终点位置是否在显示界面中的预设区域内,若是,则执行步骤103,若否,则流程结束。。
步骤203、则终端设备在预设区域内显示第一控件对应的页面内容。
值得说明地,步骤201-203的具体实现方式参照实施例一中步骤101-103的描述,这里不再赘述。
步骤204、终端设备获取第二控件在显示界面上被拖拽的第二终点位置。
具体地,当用户获取完第一控件对应的引导页的信息之后,用户可以继续对控件区域中的第二控件进行拖拽操作,用户的拖拽动作结束后,获取拖拽操作的终点位置,并将其作为第二终点位置。
例如,对于一个购物软件界面,将该软件界面上半部分设置为控件区域,该控件区域的控件包含商品图片和名称信息,而下半部分设置为预设区域,该预设区域用于预览商品,用户在预设区域预览完前一个商品的信息之后,发现商品并不符合其要求,则可以重新将一个新的空间拖拽到预设区域进行预览。
可选的,在购物软件界面上还可以设置多个预设区域,用户可以通过将不同的控件拖拽到不同的预设区域预览,并进行对比,更进一步地提高用户查找商品的速度和效率。
步骤205、终端设备判断第二终点位置是否在预设区域内,若是,则执行步骤206,若否,则流程结束。。
具体地,终端设备通过判断上述获取到的第二终点位置是否在显示界面中的预设区域内来决定是否停止对第一控件的特定操作,而执行对第二控件的特定操作
例如,在购物软件界面中,终端设备通过判断用户重新拖拽的商品信息的控件终点位置是否在预设区域内,从而来决定是否在预设区域关闭原来现实的预览信息,而显示重新拖拽的商品的预览信息。
步骤206、终端设备将预设区域内显示的页面内容替换为第二控件对应的页面内容。
具体地,若拖拽操作结束时,第二终点位置落入了显示界面中的预设区域,则在该预设区域内显示的页面内容替换为第二控件对应的页面内容。
图9为本发明实施例三提供的控件触发方法的流程图。如图9所示,本实施例提供的方法,包括:
步骤301、终端设备判断用户对第一控件的长按时间是否大于预设的触发时间,若是,则执行步骤302,若否,则流程结束。。
具体地,用户可以通过触摸屏长按显示界面上的第一控件,终端设备会对用户的长按时间进行统计,并与系统内预设的触发时间进行对比,从而判断用户对第一控件的长按时间是否大于预设的触发时间。
步骤302、终端设备将第一控件设置为浮动状态。
具体地,如果用户对第一控件的长按时间大于预设的触发时间,则终端设备将第一控件设置为浮动状态,其中,浮动状态为第一控件在显示界面上处于可被拖拽的状态。
如果用户对第一控件的长按时间小于或者等于预设的触发时间,则终端设备并不会对第一控件进行任何的设置操作。
通过将用户对第一控件的长按时间与预设的触发时间进行对比从而确定第一控件是否能够设置为可被拖拽的状态的交互方式,有效地避免了由于用户误操作所引起的控件拖拽。
步骤303、终端设备将第一控件在被拖拽的过程中最后获取到触压信号的位置作为第一终点位置。
具体地,当用户手指按压在触摸屏上对第一控件进行拖拽操作时,由于人体电场,用户手指和工作面形成一个耦合电容,因为工作面上接有高频信号,于是手指吸收走一个很小的电流,这个电流分别从屏的四个角上的电极中流出,且理论上流经四个电极的电流与手指头到四角的距离成比例,终端设备通过对四个电流比例的精密计算,从而可以实时计算出用户触压的位置。当用户将第一控件拖拽到指定位置后,手指离开触摸屏,则终端设备不再能够获取到触压信号,因此,第一控件在被拖拽的过程中终端设备最后获取到触压信号的位置即为第一终点位置。
步骤304、终端设备判断第一终点位置是否在显示界面中的预设区域内,若是,则执行步骤305,若否,则流程结束。。
步骤305、终端设备在预设区域内显示第一控件对应的页面内容。
步骤306、终端设备获取第二控件在显示界面上被拖拽的第二终点位置。
步骤307、终端设备判断第二终点位置是否在预设区域内。
步骤308、若判断结果为是,则终端设备将预设区域内显示的页面内容替换为第二控件对应的页面内容。
值得说明地,步骤304-305的具体实现方式参照实施例一中步骤102-103的描述,步骤306-308的具体实现方式参照实施例二中步骤204-206的描述,这里不再赘述。
图10为本发明实施例四提供的终端设备的结构示意图。如图10所示,本实施例提供的终端设备,包括:
获取模块401,用于获取第一控件在显示界面上被拖拽的第一终点位置;
判断模块402,用于判断第一终点位置是否在显示界面中的预设区域内;
显示模块403,用于在预设区域内显示第一控件对应的页面内容。
在一种可能的设计中,获取模块401,还用于在预设区域内显示第一控件对应的页面内容之后,获取第二控件在显示界面上被拖拽的第二终点位置;
判断模块402,还用于判断第二终点位置是否在预设区域内;
显示模块403,还用于将预设区域内显示的页面内容替换为第二控件对应的页面内容。
在一种可能的设计中,显示模块403,具体用于:
获取第一控件对应的引导页;
在预设区域内显示第一控件对应的引导页。
在一种可能的设计中,显示模块403,还用于将预设区域内显示的页面内容替换为第二控件对应的页面内容。
在一种可能的设计中,判断模块402,还用于判断用户对第一控件的长按时间是否大于预设的触发时间;
设置模块,用于将第一控件设置为浮动状态,其中,浮动状态为第一控件在页面上处于可以被拖拽的状态;
获取模块401,还用于将第一控件在被拖拽的过程中最后获取到触压信号的位置作为第一终点位置。
实施例四提供的终端设备,可用于执行上述实施例一至实施例三提供的方法,具体实现方式和技术效果类似,这里不再赘述。
图11为本申请提供的终端设备的硬件结构示意图。如图11所示,该终端设备50包括:处理器51以及存储器52;其中
存储器52,用于存储计算机程序,该存储器还可以是flash(闪存)。
处理器51,用于执行存储器存储的执行指令,以实现上述译码方法中的各个步骤。具体可以参见前面方法实施例中的相关描述。
可选地,存储器52既可以是独立的,也可以跟处理器51集成在一起。
当所述存储器52是独立于处理器51之外的器件时,所述终端设备50还可以包括:
总线53,用于连接所述存储器52和处理器51。
本申请还提供一种存储介质,存储介质中存储有执行指令,当终端设备的至少一个处理器执行该执行指令时,终端设备执行上述的各种实施方式提供的应用程序管理方法。
本申请还提供一种程序产品,该程序产品包括执行指令,该执行指令存储在可读存储介质中。终端设备的至少一个处理器可以从可读存储介质读取该执行指令,至少一个处理器执行该执行指令使得终端设备实施上述的各种实施方式提供的应用程序管理方法。
在上述终端设备的实施例中,应理解,处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。
实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一可读取存储器中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储器(存储介质)包括:只读存储器(英文:read-only memory,缩写:ROM)、RAM、快闪存储器、硬盘、固态硬盘、磁带(英文:magnetic tape)、软盘(英文:floppy disk)、光盘(英文:optical disc)及其任意组合。
最后应说明的是:尽管参照前述各实施例对本方案进行了详细的说明,本领域的 普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不能使相应技术方案的本质脱离本申请各实施例技术方案的范围。

Claims (10)

  1. 一种控件触发方法,其特征在于,包括:
    终端设备获取第一控件在显示界面上被拖拽的第一终点位置;
    所述终端设备判断所述第一终点位置是否在所述显示界面中的预设区域内;
    若判断结果为是,则所述终端设备在所述预设区域内显示所述第一控件对应的页面内容。
  2. 根据权利要求1所述的方法,其特征在于,在所述终端设备在所述预设区域内显示所述第一控件对应的页面内容之后,还包括:
    所述终端设备获取第二控件在所述显示界面上被拖拽的第二终点位置;
    所述终端设备判断所述第二终点位置是否在所述预设区域内;
    若判断结果为是,则所述终端设备将所述预设区域内显示的页面内容替换为所述第二控件对应的页面内容。
  3. 根据权利要求1所述的方法,其特征在于,所述终端设备在所述预设区域内显示所述第一控件对应的页面内容,包括:
    所述终端设备获取所述第一控件对应的引导页;
    所述终端设备在所述预设区域内显示所述第一控件对应的引导页。
  4. 根据权利要求3所述的方法,其特征在于,在所述终端设备在所述预设区域内显示所述第一控件对应的引导页之后,还包括:
    所述终端设备获取用户对所述引导页进行操作的操作指令;
    所述终端设备根据所述操作指令,获取所述第一控件对应的详细页;
    所述终端设备在所述显示界面中显示所述详细页。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述终端设备获取第一控件在显示界面上被拖拽的第一终点位置,包括:
    所述终端设备判断用户对所述第一控件的长按时间是否大于预设的触发时间;
    若判断结果为是,则所述终端设备将所述第一控件设置为浮动状态,其中,所述浮动状态为所述第一控件在所述显示界面上处于可被拖拽的状态;
    所述终端设备将所述第一控件在被拖拽的过程中最后获取到触压信号的位置作为所述第一终点位置。
  6. 根据权利要求1-4中任一项所述的方法,其特征在于,所述预设区域位于所述显示界面的上部区域或下部区域。
  7. 一种终端设备,其特征在于,包括:
    获取模块,用于获取第一控件在显示界面上被拖拽的第一终点位置;
    判断模块,用于判断所述第一终点位置是否在所述显示界面中的预设区域内;
    显示模块,用于在所述预设区域内显示所述第一控件对应的页面内容。
  8. 根据权利要求7所述的终端设备,其特征在于,所述获取模块,还用于在所述预设区域内显示所述第一控件对应的页面内容之后,获取第二控件在所述显示界面上被拖拽的第二终点位置;
    所述判断模块,还用于判断所述第二终点位置是否在所述预设区域内;
    所述显示模块,还用于将所述预设区域内显示的页面内容替换为所述第二控件对应的页面内容。
  9. 根据权利要求7所述的终端设备,其特征在于,所述显示模块,具体用于:
    获取所述第一控件对应的引导页;
    在所述预设区域内显示所述第一控件对应的引导页。
  10. 根据权利要求9所述的终端设备,其特征在于,所述获取模块还用于,
    获取用户对所述引导页进行操作的操作指令;
    根据所述操作指令,获取所述第一控件对应的详细页;
    所述显示模块,还用于显示所述详细页面信息。
PCT/CN2017/099412 2017-08-29 2017-08-29 控件触发方法及终端设备 WO2019041120A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780096311.4A CN111279303B (zh) 2017-08-29 2017-08-29 控件触发方法及终端设备
PCT/CN2017/099412 WO2019041120A1 (zh) 2017-08-29 2017-08-29 控件触发方法及终端设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099412 WO2019041120A1 (zh) 2017-08-29 2017-08-29 控件触发方法及终端设备

Publications (1)

Publication Number Publication Date
WO2019041120A1 true WO2019041120A1 (zh) 2019-03-07

Family

ID=65524788

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099412 WO2019041120A1 (zh) 2017-08-29 2017-08-29 控件触发方法及终端设备

Country Status (2)

Country Link
CN (1) CN111279303B (zh)
WO (1) WO2019041120A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150094120A1 (en) * 2013-09-30 2015-04-02 Lg Electronics Inc. Mobile terminal
CN104808919A (zh) * 2015-04-29 2015-07-29 努比亚技术有限公司 界面显示控制方法和装置
CN105094228A (zh) * 2010-08-13 2015-11-25 Lg电子株式会社 移动终端、显示装置及其控制方法
CN105224215A (zh) * 2015-08-28 2016-01-06 小米科技有限责任公司 终端控制方法及装置
CN105224166A (zh) * 2014-06-27 2016-01-06 三星电子株式会社 便携式终端及其显示方法

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289147A1 (en) * 2004-06-25 2005-12-29 Jessica Kahn News feed viewer
KR101889838B1 (ko) * 2011-02-10 2018-08-20 삼성전자주식회사 터치 스크린 디스플레이를 구비한 휴대 기기 및 그 제어 방법
CN103294349B (zh) * 2012-03-05 2016-09-21 汉王科技股份有限公司 电子文件预览方法和应用该方法的电子阅读设备
CN102760043B (zh) * 2012-06-19 2016-01-27 华为终端有限公司 一种用户界面的图标管理方法及触控设备
CN103559046A (zh) * 2013-09-10 2014-02-05 北京三星通信技术研究有限公司 一种启动终端功能的方法、装置及终端设备
CN105099857B (zh) * 2014-05-08 2020-02-18 腾讯科技(深圳)有限公司 信息展示方法和装置
CN104049895A (zh) * 2014-06-13 2014-09-17 广州金山网络科技有限公司 显示内容切换方法及系统
CN105404439B (zh) * 2014-09-11 2020-08-07 南京中兴新软件有限责任公司 文件夹创建方法及装置
CN105512909A (zh) * 2015-11-26 2016-04-20 小米科技有限责任公司 商品推荐方法及装置
CN105871684A (zh) * 2015-12-30 2016-08-17 乐视致新电子科技(天津)有限公司 用于通知消息展示的方法和装置
CN106020633A (zh) * 2016-05-27 2016-10-12 网易(杭州)网络有限公司 交互控制方法及装置
CN106528691A (zh) * 2016-10-25 2017-03-22 珠海市魅族科技有限公司 一种网页内容的处理方法及移动终端
CN106888317B (zh) * 2017-01-03 2019-08-09 努比亚技术有限公司 一种交互处理方法、装置及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094228A (zh) * 2010-08-13 2015-11-25 Lg电子株式会社 移动终端、显示装置及其控制方法
US20150094120A1 (en) * 2013-09-30 2015-04-02 Lg Electronics Inc. Mobile terminal
CN105224166A (zh) * 2014-06-27 2016-01-06 三星电子株式会社 便携式终端及其显示方法
CN104808919A (zh) * 2015-04-29 2015-07-29 努比亚技术有限公司 界面显示控制方法和装置
CN105224215A (zh) * 2015-08-28 2016-01-06 小米科技有限责任公司 终端控制方法及装置

Also Published As

Publication number Publication date
CN111279303B (zh) 2024-03-19
CN111279303A (zh) 2020-06-12

Similar Documents

Publication Publication Date Title
CN105426080B (zh) 一种图片切换方法及终端
WO2022068773A1 (zh) 桌面元素调整方法、装置和电子设备
CN104063128B (zh) 一种信息处理方法及电子设备
EP3002664A1 (en) Text processing method and touchscreen device
WO2020199723A1 (zh) 移动终端显示画面的控制方法、装置、设备和存储介质
US20140049498A1 (en) Method and mobile terminal device for image operation
WO2021203815A1 (zh) 页面操作方法、装置、终端及存储介质
WO2017059734A1 (zh) 一种图片缩放方法及电子设备
CN110032700B (zh) 信息发布控制方法、装置、存储介质及电子设备
CN106897321B (zh) 显示地图数据的方法及装置
WO2019192498A1 (zh) 一种窗口分屏显示方法、装置及设备
JP2014527673A (ja) ウィジェット処理方法及び装置並びに移動端末
JP2005062978A (ja) 情報処理装置、表示制御方法およびその方法をコンピュータに実行させるプログラム
CN105739879A (zh) 一种虚拟现实的应用方法及终端
CN111338548A (zh) 一种目录和文件分屏浏览展示方法、装置及存储介质
WO2014094598A1 (zh) 控制具有触控屏的终端的方法及终端
WO2017008646A1 (zh) 一种在触控终端上选择多个目标的方法和设备
CN114116098B (zh) 应用图标管理方法、装置、电子设备及存储介质
WO2022135476A1 (zh) 截图方法、装置及电子设备
WO2022126664A1 (zh) 视频编辑方法、终端设备及计算机可读存储介质
WO2020057241A1 (zh) 应用程序显示的方法、装置及终端设备
WO2018049603A1 (zh) 控制方法、控制装置及电子装置
WO2024046203A1 (zh) 内容显示方法及装置
CN112051957A (zh) 一种移动终端页面浏览的方法及相关装置
WO2017049765A1 (zh) 搜索结果的展现方法、装置、系统、设备及计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17923497

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17923497

Country of ref document: EP

Kind code of ref document: A1