+

CN117572991A - Input interface display method and device, electronic equipment and readable storage medium - Google Patents

Input interface display method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117572991A
CN117572991A CN202311602743.1A CN202311602743A CN117572991A CN 117572991 A CN117572991 A CN 117572991A CN 202311602743 A CN202311602743 A CN 202311602743A CN 117572991 A CN117572991 A CN 117572991A
Authority
CN
China
Prior art keywords
input
input area
area
page
group
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
Application number
CN202311602743.1A
Other languages
Chinese (zh)
Inventor
陈峥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202311602743.1A priority Critical patent/CN117572991A/en
Publication of CN117572991A publication Critical patent/CN117572991A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0487Interaction 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an input interface display method, an input interface display device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: displaying a first page, wherein the first page comprises N input areas, and N is a positive integer; receiving a first input of a user, the first input being used to wake up an input interface; determining a target input area from the N input areas based on the operation sequence of the first page and the function description information of each input box in response to the first input; the operation sequence is used for representing the operation behavior of the user on the first page; and displaying an input interface matched with the target input area.

Description

输入界面显示方法、装置、电子设备及可读存储介质Input interface display method, device, electronic equipment and readable storage medium

技术领域Technical field

本申请属于通信技术领域,具体涉及一种输入界面显示方法、装置、电子设备及可读存储介质。The application belongs to the field of communication technology, and specifically relates to an input interface display method, device, electronic equipment and readable storage medium.

背景技术Background technique

目前,随着电子设备的显示屏的不断发展,电子设备的屏幕越来越大,屏幕显示的内容也越来越多,向用户展示内容的效果也越好。然而,大屏幕在显示更多内容的同时,也会给用户的操作体验带来一定的困扰。At present, with the continuous development of display screens of electronic devices, the screens of electronic devices are getting larger and larger, and more and more content is displayed on the screen, and the effect of displaying content to users is getting better. However, while a large screen can display more content, it can also cause certain problems to the user's operating experience.

例如,当用户想要在某个输入区域内输入内容时,需要用户通过对屏幕上的输入区域进行点击选中输入后,才可以唤醒输入界面。然而,如果屏幕上显示多个输入区域时,用户需要从多个输入区域中选中想要输入内容的输入区域后,才可唤醒该输入区域对应的输入界面。For example, when the user wants to input content in an input area, the user needs to click on the input area on the screen to select the input before the input interface can be awakened. However, if multiple input areas are displayed on the screen, the user needs to select the input area where he wants to input content from the multiple input areas before the input interface corresponding to the input area can be awakened.

如此,在电子设备的屏幕中显示多个输入区域的情况下,由于每次都需要用户从多个输入区域中选中想要输入的输入区域,才可唤醒输入界面,因此,导致整个输入过程过于繁琐、输入效率较低。In this way, when multiple input areas are displayed on the screen of the electronic device, the user needs to select the input area he wants to input from the multiple input areas each time to wake up the input interface. Therefore, the entire input process is too complicated. It is cumbersome and the input efficiency is low.

发明内容Contents of the invention

本申请实施例的目的是提供一种输入界面显示方法、装置、电子设备及可读存储介质,能够简化输入过程,提高输入效率。The purpose of the embodiments of the present application is to provide an input interface display method, device, electronic device and readable storage medium, which can simplify the input process and improve input efficiency.

第一方面,本申请实施例提供了一种输入界面显示方法,该输入界面显示方法包括:显示第一页面,该第一页面包括N个输入区域,N为正整数;接收用户的第一输入,该第一输入用于唤醒输入界面;响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;显示与上述目标输入区域匹配的输入界面。In a first aspect, embodiments of the present application provide an input interface display method. The input interface display method includes: displaying a first page, where the first page includes N input areas, and N is a positive integer; receiving the user's first input , the first input is used to wake up the input interface; in response to the first input, based on the operation sequence of the first page and the functional description information of each input area, the target input area is determined from N input areas; the operation sequence is used to characterize The user's operation behavior on the first page; display the input interface that matches the above target input area.

第二方面,本申请实施例提供了一种输入界面显示装置,该输入界面显示装置包括:显示模块、接收模块以及处理模块;该显示模块,用于显示第一页面,该第一页面包括N个输入区域,N为正整数;该接收模块,用于接收用户的第一输入,该第一输入用于唤醒输入界面;该处理模块,用于响应于上述接收模块接收的第一输入,基于上述显示模块显示的第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;显示模块,还用于显示与上述处理模块确定的目标输入区域匹配的输入界面。In the second aspect, embodiments of the present application provide an input interface display device. The input interface display device includes: a display module, a receiving module, and a processing module; the display module is used to display a first page, and the first page includes N input area, N is a positive integer; the receiving module is used to receive the user's first input, the first input is used to wake up the input interface; the processing module is used to respond to the first input received by the receiving module, based on The operation sequence of the first page and the functional description information of each input area displayed by the above display module determine the target input area from the N input areas; the operation sequence is used to characterize the user's operation behavior on the first page; the display module also Used to display an input interface matching the target input area determined by the above processing module.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The programs or instructions are processed by the processor. When the processor is executed, the steps of the method described in the first aspect are implemented.

第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented. .

第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. the method described.

第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, embodiments of the present application provide a computer program product, the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the method as described in the first aspect.

在本申请实施例中,电子设备显示第一页面,该第一页面包括N个输入区域,N为正整数;接收用户的第一输入,该第一输入用于唤醒输入界面;响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;显示与上述目标输入区域匹配的输入界面。在本方案中,在页面显示N个输入区域的情况下,无需用户手动选择,便可借助用户在页面中的操作行为以及N个输入区域的功能描述信息,来直接预测出用户想要输入的输入区域,从而使得电子设备可以根据用户的输入,唤醒该输入区域对应的输入界面,进而简化了输入过程,提高了输入效率。In this embodiment of the present application, the electronic device displays a first page, which includes N input areas, and N is a positive integer; receives the user's first input, which is used to wake up the input interface; and responds to the first Input, based on the operation sequence of the first page and the functional description information of each input area, determine the target input area from N input areas; the operation sequence is used to characterize the user's operation behavior on the first page; the display is consistent with the above target input area Matching input interface. In this solution, when the page displays N input areas, without the need for the user to manually select, the user's operating behavior on the page and the functional description information of the N input areas can be used to directly predict what the user wants to input. The input area enables the electronic device to wake up the input interface corresponding to the input area according to the user's input, thus simplifying the input process and improving input efficiency.

附图说明Description of the drawings

图1是本申请实施例提供的一种输入界面显示方法的流程示意图之一;Figure 1 is one of the flow diagrams of an input interface display method provided by an embodiment of the present application;

图2是本申请实施例提供的一种输入界面显示方法的流程示意图之二;Figure 2 is a second schematic flowchart of an input interface display method provided by an embodiment of the present application;

图3是本申请实施例提供的一种浏览器应用的页面显示示意图;Figure 3 is a schematic diagram of a page display of a browser application provided by an embodiment of the present application;

图4是本申请实施例提供的一种输入界面显示方法的流程示意图之三;Figure 4 is a third schematic flowchart of an input interface display method provided by an embodiment of the present application;

图5是本申请实施例提供的一种输入界面显示方法的流程示意图之四;Figure 5 is the fourth schematic flowchart of an input interface display method provided by an embodiment of the present application;

图6是本申请实施例提供的一种基础功能依赖图;Figure 6 is a basic function dependency diagram provided by an embodiment of the present application;

图7是本申请实施例提供的一种输入界面显示方法的流程示意图之五;Figure 7 is a schematic flow chart of an input interface display method provided in the fifth embodiment of the present application;

图8是本申请实施例提供的一种第一功能依赖图;Figure 8 is a first function dependency diagram provided by an embodiment of the present application;

图9是本申请实施例提供的一种第二功能依赖图;Figure 9 is a second function dependency diagram provided by an embodiment of the present application;

图10是本申请实施例提供的一种输入界面显示方法的流程示意图之六;Figure 10 is a schematic flowchart No. 6 of an input interface display method provided by an embodiment of the present application;

图11是本申请实施例提供的一种输入界面显示方法的流程示意图之七;Figure 11 is a schematic flowchart 7 of an input interface display method provided by an embodiment of the present application;

图12是本申请实施例提供的一种输入界面显示装置的结构示意图之一;Figure 12 is one of the structural schematic diagrams of an input interface display device provided by an embodiment of the present application;

图13是本申请实施例提供的一种输入界面显示装置的结构示意图之二;Figure 13 is a second structural schematic diagram of an input interface display device provided by an embodiment of the present application;

图14是本申请实施例提供的一种电子设备的硬件结构示意图之一;Figure 14 is one of the hardware structure schematic diagrams of an electronic device provided by an embodiment of the present application;

图15是本申请实施例提供的一种电子设备的硬件结构示意图之二。FIG. 15 is a second schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的输入界面显示方法、装置、电子设备及可读存储介质进行详细地说明。The input interface display method, device, electronic device and readable storage medium provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.

在相关技术中,以网页页面为例,当用户想要在网页页面中的在输入区域内输入账号时,需要用户选择需要输入账号的输入区域,进行点击选中的操作后,唤醒与该输入区域相匹配的输入界面,然后再该输入界面上进行输入操作。然而,如果当该网页页面中同时显示多个输入区域时,用户则也需要从这多个输入区域中选中需要输入账号的输入区域后,才可唤醒与该输入区域相匹配的输入界面。In related technologies, taking a web page as an example, when a user wants to enter an account number in an input area on the web page, the user needs to select the input area where the account number needs to be entered, and after clicking and selecting, the input area is awakened. Match the input interface, and then perform input operations on the input interface. However, if multiple input areas are displayed on the web page at the same time, the user also needs to select the input area where the account number needs to be entered from the multiple input areas before the input interface matching the input area can be awakened.

如此,在电子设备的屏幕中显示多个输入区域的情况下,由于每次都需要用户从多个输入区域中选中想要输入的输入区域,才可唤醒输入界面,因此,导致整个输入过程过于繁琐、输入效率较低。In this way, when multiple input areas are displayed on the screen of the electronic device, the user needs to select the input area he wants to input from the multiple input areas each time to wake up the input interface. Therefore, the entire input process is too complicated. It is cumbersome and the input efficiency is low.

而在本申请实施例中,电子设备在显示的第一页面包括N个输入区域的情况下,N为正整数;接收用户唤醒输入界面的第一输入;电子设备响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;并显示与上述目标输入区域匹配的输入界面;其中,操作序列用于表征用户在第一页面的操作行为。在本方案中,在页面显示N个输入区域的情况下,无需用户手动选择,便可借助用户在页面中的操作行为以及N个输入区域的功能描述信息,来直接预测出用户想要输入的输入区域,从而使得电子设备可以根据用户的输入,唤醒该输入区域对应的输入界面,进而简化了输入过程,提高了输入效率。In the embodiment of the present application, when the first page displayed by the electronic device includes N input areas, N is a positive integer; it receives the first input from the user to wake up the input interface; the electronic device responds to the first input based on the The operation sequence of a page and the functional description information of each input area are used to determine the target input area from N input areas; and an input interface matching the above target input area is displayed; where the operation sequence is used to characterize the user's experience on the first page operating behavior. In this solution, when the page displays N input areas, without the need for the user to manually select, the user's operating behavior on the page and the functional description information of the N input areas can be used to directly predict what the user wants to input. The input area enables the electronic device to wake up the input interface corresponding to the input area according to the user's input, thereby simplifying the input process and improving input efficiency.

本实施例提供的输入界面显示方法的执行主体可以为输入界面显示装置,该输入界面显示装置可以为电子设备,也可以为该电子设备中的控制模块或处理模块等。以下以电子设备为例来对本申请实施例提供的技术方案进行说明。The execution subject of the input interface display method provided in this embodiment may be an input interface display device. The input interface display device may be an electronic device, or may be a control module or processing module in the electronic device. The technical solutions provided by the embodiments of the present application will be described below by taking electronic equipment as an example.

本申请实施例提供一种输入界面显示方法,图1示出了本申请实施例提供的一种输入界面显示方法的流程图,该方法可以应用于电子设备。如图1所示,本申请实施例提供的输入界面显示方法可以包括下述的步骤201至步骤204。An embodiment of the present application provides an input interface display method. Figure 1 shows a flow chart of an input interface display method provided by an embodiment of the present application. This method can be applied to electronic devices. As shown in Figure 1, the input interface display method provided by the embodiment of the present application may include the following steps 201 to 204.

步骤201、电子设备显示第一页面。Step 201: The electronic device displays the first page.

本申请一些实施例中,上述第一页面包括N个输入区域,N为正整数。In some embodiments of the present application, the above-mentioned first page includes N input areas, and N is a positive integer.

本申请一些实施例中,上述第一页面可以是电子设备中任一应用中显示的页面。例如,浏览器应用中某个网址页面,或者应用的账号登录页面。In some embodiments of the present application, the above-mentioned first page may be a page displayed in any application in the electronic device. For example, a URL page in a browser application, or the account login page of an application.

本申请一些实施例中,上述输入区域为用户可以使用输入界面输入内容的地方。In some embodiments of the present application, the above-mentioned input area is a place where the user can input content using the input interface.

示例性地,输入区域通常是一条矩形控件,附带各种元素。常见于表单、聊天软件、注册登录、搜索区域等页面。For example, the input area is usually a rectangular control with various elements attached. Commonly found in forms, chat software, registration login, search area and other pages.

步骤202、电子设备接收用户的第一输入。Step 202: The electronic device receives the user's first input.

在本申请一些实施例中,上述第一输入用于唤醒输入界面。In some embodiments of the present application, the above-mentioned first input is used to wake up the input interface.

在本申请一些实施例中,上述第一输入可以包括用户对第一页面的触控输入,或者,用户输入的语音指令,或者,用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例不作限定。In some embodiments of the present application, the above-mentioned first input may include the user's touch input on the first page, or a voice command input by the user, or a specific gesture input by the user. The details may be determined according to actual usage requirements. The application examples are not limiting.

示例性地,上述触控输入包括用户对第一页面的滑动输入、或者点击输入等。本申请实施例中的特定手势可以为单击手势、滑动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,上述的点击输入还可以为长按输入或短按输入。For example, the above-mentioned touch input includes the user's sliding input on the first page, or click input, etc. The specific gesture in the embodiment of the present application may be any one of a click gesture, a sliding gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture; the click input in the embodiment of the present application may be It is single-click input, double-click input or any number of click inputs, etc. The above-mentioned click input can also be long-press input or short-press input.

在一种可能的示例中,上述第一输入为一种预设的唤醒快捷手势,电子设备可以监听,并在接收到用户输入预设的唤醒快捷手势后,唤醒输入界面。In a possible example, the first input is a preset wake-up shortcut gesture, and the electronic device can monitor and wake up the input interface after receiving the user's input of the preset wake-up shortcut gesture.

步骤203、电子设备响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域。Step 203: In response to the first input, the electronic device determines the target input area from the N input areas based on the operation sequence of the first page and the function description information of each input area.

在本申请一些实施例中,上述第一页面的操作序列用于表征用户在第一页面的操作行为。In some embodiments of the present application, the above-mentioned operation sequence of the first page is used to characterize the user's operation behavior on the first page.

在本申请一些实施例中,上述第一页面的操作序列是按照用户在第一页面的操作行为的时间排列得到的。In some embodiments of the present application, the above-mentioned operation sequence of the first page is arranged according to the time of the user's operation behavior on the first page.

在本申请一些实施例中,上述操作序列中包含M个操作数据,每个操作数据对应一个操作行为。In some embodiments of the present application, the above operation sequence includes M pieces of operation data, and each operation data corresponds to an operation behavior.

在本申请一些实施例中,上述操作数据包括以下至少之一:用户在页面上的操作行为、用户在页面上的操作行为对应的操作时间、用户在页面上的操作行为对应的操作坐标。In some embodiments of the present application, the above operation data includes at least one of the following: the user's operation behavior on the page, the operation time corresponding to the user's operation behavior on the page, and the operation coordinates corresponding to the user's operation behavior on the page.

示例性地,上述用户在页面上的操作行为可以为按下、抬起或者滑动。For example, the user's operation behavior on the page may be pressing, lifting, or sliding.

在本申请一些实施例中,电子设备可以按照M个操作数据中的每个操作数据对应的操作行为的操作时间,对M个操作数据进行排序,以得到上述操作序列。In some embodiments of the present application, the electronic device can sort the M pieces of operation data according to the operation time of the operation behavior corresponding to each of the M pieces of operation data to obtain the above-mentioned operation sequence.

在本申请一些实施例中,上述每个输入区域的功能描述信息用于表征该输入区域的中的输入内容类型。In some embodiments of the present application, the function description information of each input area is used to characterize the input content type in the input area.

示例1:若输入区域的功能描述信息为用户名,则表示该输入区域中的输入内容类型可以为社交账号、电话号码、或者身份证号码等等。Example 1: If the function description information of the input area is a user name, it means that the input content type in the input area can be a social account, phone number, or ID number, etc.

示例2:若输入区域的功能描述信息为密码,则表示该输入区域中的输入内容类型为用户密码。Example 2: If the function description information of the input area is password, it means that the input content type in the input area is user password.

示例3:若输入区域的功能描述信息为网址,则表示该输入区域中的输入内容类型为网址。Example 3: If the function description information of the input area is a URL, it means that the input content type in the input area is a URL.

示例4:若输入区域的功能描述信息为聊天,则表示该输入区域中的输入内容类型为发表评论或者发表弹幕等等。Example 4: If the function description information of the input area is chat, it means that the input content type in the input area is to post comments or post comments, etc.

在本申请一些实施例中,电子设备通过分析上述操作序列,判断用户下一步有可能的操作行为,结合每个输入区域的功能描述信息,从N个输入区域中,找到符合用户下一步操作行为对应的输入区域,将该输入区域确定为目标输入区域。In some embodiments of the present application, the electronic device determines the user's possible next operation behavior by analyzing the above operation sequence, and combines the functional description information of each input area to find the user's next operation behavior from the N input areas. The corresponding input area is determined as the target input area.

步骤204、电子设备显示与目标输入区域匹配的输入界面。Step 204: The electronic device displays an input interface matching the target input area.

在本申请一些实施例中,上述输入界面可以包括软键盘。In some embodiments of the present application, the above-mentioned input interface may include a soft keyboard.

在本申请一些实施例中,上述软键盘,是指通过软件方式在用户电子设备上进行绘制展示的虚拟键盘,用户可通过软键盘进行内容输入。对于不带有实体键盘的设备,通常软键盘由输入法软件提供。In some embodiments of the present application, the above-mentioned soft keyboard refers to a virtual keyboard that is drawn and displayed on the user's electronic device through software, and the user can input content through the soft keyboard. For devices without a physical keyboard, a soft keyboard is usually provided by the input method software.

在本申请一些实施例中,电子设备在接收到用户的第一输入后,会响应该第一输入,唤醒与目标输入区域相匹配的输入界面。In some embodiments of the present application, after receiving the user's first input, the electronic device will respond to the first input and wake up an input interface that matches the target input area.

可以理解的是,电子设备在响应第一输入,唤醒输入界面后,上述输入界面与目标输入区域间会建立连接关系,用户在输入界面上输入的内容可以显示在目标输入区域中;而当用户结束输入操作后,输入界面断开与输入区域间的连接,并隐藏输入界面。It can be understood that after the electronic device responds to the first input and wakes up the input interface, a connection relationship will be established between the above-mentioned input interface and the target input area, and the content input by the user on the input interface can be displayed in the target input area; and when the user After the input operation is completed, the input interface disconnects from the input area and hides the input interface.

在一种可能的实施例中,电子设备会在接收用户的第一输入后,检测第一页面中输入区域的个数,以使得电子设备可以根据输入区域的个数判断如何唤醒输入界面。In a possible embodiment, after receiving the first input from the user, the electronic device detects the number of input areas on the first page, so that the electronic device can determine how to wake up the input interface based on the number of input areas.

示例性地,电子设备在接收到用户的第一输入后,检测第一页面中输入区域的个数,若输入区域个数等于1,则直接唤醒该输入区域对应的输入界面即可。若输入区域个数大于1,则先根据上述步骤201字步骤203确定出目标输入区域,然后电子设备唤醒该目标输入区域对应的输入界面,以使得用户不需要手动选择输入区域,即可唤醒目标输入区域的输入界面,供用户输入。For example, after receiving the user's first input, the electronic device detects the number of input areas on the first page. If the number of input areas is equal to 1, it can directly wake up the input interface corresponding to the input area. If the number of input areas is greater than 1, first determine the target input area according to the above steps 201 to 203, and then the electronic device wakes up the input interface corresponding to the target input area, so that the user does not need to manually select the input area to wake up the target. The input interface of the input area for user input.

在本申请实施例提供的输入界面显示方法中,电子设备显示第一页面,该第一页面包括N个输入区域,N为正整数;接收用户的第一输入,该第一输入用于唤醒输入界面;响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;显示与上述目标输入区域匹配的输入界面。在本方案中,在页面显示N个输入区域的情况下,无需用户手动选择,便可借助用户在页面中的操作行为以及N个输入区域的功能描述信息,来直接预测出用户想要输入的输入区域,从而使得电子设备可以根据用户的输入,唤醒该输入区域对应的输入界面,进而简化了输入过程,提高了输入效率。In the input interface display method provided by the embodiment of the present application, the electronic device displays a first page, the first page includes N input areas, N is a positive integer; the user's first input is received, and the first input is used for wake-up input Interface; in response to the first input, determine the target input area from the N input areas based on the operation sequence of the first page and the functional description information of each input area; the operation sequence is used to characterize the user's operation behavior on the first page; Display an input interface matching the above target input area. In this solution, when the page displays N input areas, without the need for the user to manually select, the user's operating behavior on the page and the functional description information of the N input areas can be used to directly predict what the user wants to input. The input area enables the electronic device to wake up the input interface corresponding to the input area according to the user's input, thereby simplifying the input process and improving input efficiency.

可选地,在本申请实施例中,结合图1,如图2所示,上述步骤203“电子设备响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域”之前,本申请实施例提供的输入界面显示方法还包括步骤301和步骤302:Optionally, in the embodiment of the present application, as shown in Figure 2 in conjunction with Figure 1, the above step 203 "The electronic device responds to the first input, based on the operation sequence of the first page and the function description information of each input area, Before "determining the target input area from N input areas", the input interface display method provided by the embodiment of the present application also includes step 301 and step 302:

步骤301、电子设备获取第一页面中的第一区域内的页面元素信息。Step 301: The electronic device obtains page element information in the first area of the first page.

在本申请一些实施例中,上述第一区域为上述N个输入区域预定范围内的区域。In some embodiments of the present application, the first area is an area within a predetermined range of the N input areas.

在本申请一些实施例中,上述预定范围可以是以输入区域的中心坐标点为中心,以第一距离为半径的范围。In some embodiments of the present application, the above-mentioned predetermined range may be a range with the central coordinate point of the input area as the center and the first distance as the radius.

在本申请一些实施例中,上述第一距离可以为电子设备默认设置的,也可以为用户自主设置的。例如,可以设置为0.5cm,0.6cm等,即输入区域周围。In some embodiments of the present application, the above-mentioned first distance may be set by default on the electronic device, or may be set independently by the user. For example, it can be set to 0.5cm, 0.6cm, etc., that is, around the input area.

在本申请一些实施例中,上述页面元素信息可以为文本形式的信息,例如“用户名,登录”等,也可以为图标形式的信息,例如“+”,也可以为无障碍描述语信息。In some embodiments of the present application, the above-mentioned page element information may be information in the form of text, such as "user name, login", etc., information in the form of icons, such as "+", or accessibility descriptor information.

示例性地,上述无障碍描述语信息为用于帮助残障人士获取应用信息的控件信息。需要说明的是,无障碍描述语机制由设备操作系统决定,android上对应功能为talkback,ios上对应功能为voiceover。For example, the above accessibility descriptor information is control information used to help people with disabilities obtain application information. It should be noted that the accessibility descriptor mechanism is determined by the device operating system. The corresponding function on Android is talkback, and the corresponding function on ios is voiceover.

一种可能的示例中,上述第一区域还可以包括N个输入区域的输入区域。In a possible example, the above-mentioned first area may also include input areas of N input areas.

示例性地,上述页面元素信息还可以为输入区域的提示语信息。For example, the above page element information may also be prompt information of the input area.

步骤302、电子设备基于页面元素信息,确定N个输入区域的功能描述信息。Step 302: The electronic device determines the function description information of the N input areas based on the page element information.

在本申请一些实施例中,电子设备可以根据获取到输入区域的页面元素信息,分析得到该输入区域的功能描述信息。In some embodiments of the present application, the electronic device can analyze and obtain the function description information of the input area based on the acquired page element information of the input area.

一种可能的示例中,电子设备采用机器学习算法,根据输入区域的页面元素信息总结得到输入区域的功能描述信息。In one possible example, the electronic device uses a machine learning algorithm to obtain the functional description information of the input area based on the page element information summary of the input area.

另一种可能的示例中,电子设备也可以直接从预设好的页面元素信息和功能描述信息间的对应关系中选择输入区域的功能描述信息。In another possible example, the electronic device can also directly select the function description information of the input area from the preset correspondence relationship between the page element information and the function description information.

示例性地,上述机器学习算法可以使用常用的多分类模型,将输入区域的页面元素信息输入至多分类模型,输出得到预定义类型的该输入区域的功能描述信息,也可以使用大语言模型,将输入区域的页面元素信息输入至大语言模型,总结输出得到该输入区域的功能描述信息。For example, the above machine learning algorithm can use a commonly used multi-classification model to input the page element information of the input area into the multi-classification model, and output a predefined type of functional description information of the input area. It can also use a large language model to The page element information of the input area is input to the large language model, and the function description information of the input area is obtained by summarizing the output.

举例说明,如图3所示,以第一页面为浏览器的网址页面21为例,该网址页面中包括四个输入区域,分别为输入区域22、输入区域23、输入区域24以及输入区域25。电子设备根据输入区域22中的内容,得到输入区域22的功能描述信息为网址;根据输入区域23左侧“用户名”的文本形式的页面元素信息,得到输入区域23的功能描述信息为用户名;根据输入区域24左侧“密码”的文本形式的页面元素信息,得到输入区域24的功能描述信息为密码;以及根据输入区域25左侧“验证码”的文本形式的页面元素信息,得到输入区域25的功能描述信息为验证码。For example, as shown in Figure 3, taking the first page as a browser URL page 21, the URL page includes four input areas, namely input area 22, input area 23, input area 24 and input area 25. . The electronic device obtains the function description information of the input area 22 as a website address based on the content in the input area 22; and obtains the function description information of the input area 23 as the user name based on the page element information in the text form of "user name" on the left side of the input area 23. ; According to the page element information in the text form of "password" on the left side of the input area 24, the function description information of the input area 24 is obtained as a password; and according to the page element information in the text form of "verification code" on the left side of the input area 25, the input is obtained The function description information of area 25 is the verification code.

以下以一种可能的实施例,详细描述电子设备获取页面元素信息,以及根据页面元素信息确定输入区域的功能描述信息的过程,具体地,如图4所示,包括步骤A1至步骤A6:The following uses a possible embodiment to describe in detail the process of the electronic device obtaining the page element information and determining the function description information of the input area based on the page element information. Specifically, as shown in Figure 4, it includes steps A1 to A6:

步骤A1、电子设备判断输入区域周围,即上述预设范围是否提供了无障碍描述语,若存在无障碍描述语,则将其作为文本形式的页面元素信息,执行步骤A6,否则,执行步骤A3。Step A1: The electronic device determines whether accessibility descriptors are provided around the input area, that is, the above-mentioned preset range. If there is an accessibility descriptor, it is used as page element information in the form of text, and step A6 is executed. Otherwise, step A3 is executed. .

步骤A2、判断输入区域左侧0.5厘米距离内,即上述预设范围,是否存在文本类型的控件,若存在,则将其作为文本形式的页面元素信息,执行步骤A6,否则,执行步骤A3。Step A2: Determine whether there is a text type control within 0.5 cm to the left of the input area, that is, the above-mentioned preset range. If it exists, use it as page element information in the form of text, and execute step A6. Otherwise, execute step A3.

步骤A3、电子设备判断输入区域右侧0.5厘米距离内,即上述预设范围,是否存在文本类型的控件,若存在,则将其作为文本形式的页面元素信息,执行步骤A6,否则,执行步骤A4。Step A3: The electronic device determines whether there is a text type control within 0.5 cm to the right of the input area, that is, the above-mentioned preset range. If it exists, it will be used as page element information in the form of text, and step A6 will be executed. Otherwise, step A6 will be executed. A4.

步骤A4、电子设备判断输入区域内,即上述预设范围,是否存在提示类图标,若存在,则将其作为图标形式的页面元素信息,执行步骤A6,否则,执行步骤A5。Step A4: The electronic device determines whether there is a prompt icon in the input area, that is, the above-mentioned preset range. If it exists, it is used as page element information in the form of an icon, and step A6 is executed. Otherwise, step A5 is executed.

步骤A5、电子设备获取输入区域中显示的提示语信息,并将其作为文本形式的页面元素信息,执行步骤A6。Step A5: The electronic device obtains the prompt information displayed in the input area, uses it as page element information in the form of text, and executes step A6.

步骤A6、将得到的输入区域则文本形式或者图标形式的页面元素信息为输入,使用机器学习算法总结为该输入区域的功能描述,以得到该输入区域的功能描述。Step A6: Use the obtained page element information in the form of text or icons in the input area as input, and use a machine learning algorithm to summarize the functional description of the input area to obtain the functional description of the input area.

如此,电子设备可以根据不同输入区域的元素信息,来确定出不同输入区域的功能描述信息,从而使得电子设备可以根据输入区域的功能描述信息确定目标输入区域。In this way, the electronic device can determine the function description information of different input areas according to the element information of the different input areas, so that the electronic device can determine the target input area according to the function description information of the input area.

可选地,在本申请实施例中,结合图1,如图5所示,上述步骤203“电子设备响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域”具体包括步骤203a至步骤203c:Optionally, in the embodiment of the present application, as shown in Figure 5 in conjunction with Figure 1, the above step 203 "The electronic device responds to the first input, based on the operation sequence of the first page and the function description information of each input area, "Determine the target input area from N input areas" specifically includes steps 203a to 203c:

步骤203a、电子设备基于每个输入区域的功能描述信息,生成N个输入区域的基础功能依赖图。Step 203a: The electronic device generates basic function dependency graphs of N input areas based on the function description information of each input area.

在本申请一些实施例中,上述基础功能依赖图中包含至少一条依赖边。In some embodiments of the present application, the above-mentioned basic function dependency graph includes at least one dependency edge.

在本申请一些实施例中,上述基础功能依赖图包括上述N个输入区域。In some embodiments of the present application, the above-mentioned basic function dependency graph includes the above-mentioned N input areas.

在本申请一些实施例中,上述依赖边为有向边。In some embodiments of the present application, the above-mentioned dependent edges are directed edges.

在本申请一些实施例中,上述每条依赖边用于表征两个输入区域间的功能依赖关系。In some embodiments of the present application, each of the above dependency edges is used to characterize the functional dependency relationship between two input regions.

在本申请一些实施例中,上述两个输入区域间的功能依赖关系用于表示两个输入区域间的因果关系,一个输入区域中的内容改变,则另一个输入区域中的内容也会改变。In some embodiments of the present application, the functional dependency relationship between the two input areas is used to represent the causal relationship between the two input areas. If the content in one input area changes, the content in the other input area will also change.

例如,若输入区域A改变,则输入区域B需要相应改变,如此可以认为输入区域B依赖与输入区域A,换句话说,输入区域A和输入区域B间具有依赖关系。For example, if input area A changes, input area B needs to change accordingly. In this way, input area B can be considered to be dependent on input area A. In other words, input area A and input area B have a dependency relationship.

在本申请一些实施例中,电子设备以该N个输入区域为顶点,以每个输入区域间的功能依赖关系作依赖边,生成基础功能依赖图。In some embodiments of the present application, the electronic device uses the N input areas as vertices and the functional dependency relationships between each input area as dependency edges to generate a basic function dependency graph.

需要说明的是,存在功能依赖关系的两个输入区域间建立依赖边,不存在功能依赖关系的输入区域不需要建立依赖边。It should be noted that a dependency edge is established between two input areas where there is a functional dependency relationship, and there is no need to establish a dependency edge between input areas where there is no functional dependence relationship.

在本申请一些实施例中,电子设备获取第一页面中所有输入区域的功能描述信息后,根据所有输入区域的功能描述信息,通过依赖关系分析方法,得到每个输入区域与其他输入区域间功能依赖关系,并根据输入区域间的功能依赖关系,生成基础功能依赖图。In some embodiments of the present application, after the electronic device obtains the function description information of all input areas on the first page, it obtains the functions between each input area and other input areas through a dependency analysis method based on the function description information of all input areas. Dependencies, and generate a basic functional dependency graph based on the functional dependencies between input regions.

在本申请一些实施例中,上述依赖关系分析方法可以采用预设依赖映射表的方法,也可以采用大语言模型方法。In some embodiments of the present application, the above dependency analysis method may use a preset dependency mapping table method or a large language model method.

示例性地,上述预设依赖映射表可以为电子设备预设好的每个输入区域间的依赖关系。For example, the above-mentioned preset dependency mapping table can be a preset dependency relationship between each input area of the electronic device.

示例性地,电子设备将预设好的每个输入区域间的依赖关系生成依赖映射表,以使得电子设备在分析输入区域间的依赖关系时可以直接从依赖映射表中查找。For example, the electronic device generates a dependency mapping table based on the preset dependency relationship between each input area, so that the electronic device can directly search from the dependency mapping table when analyzing the dependency relationship between the input areas.

示例性地,上述大语言模型方法可以采用GhatGPT。ChatGPT给出任务描述指令:“对于两项数据内容“用户名、密码”,请确认它们之间是否存在依赖关系”或者“对于两项数据内容“用户名、密码”,请确认它们之间的依赖关系是否为前者依赖后者”,用户只需要回答是或否,接着ChatGPT根据用户的回答进行总结回复,例如,密码依赖于用户名,此时,电子设备可以根据ChatGPT回复生成依赖关系。For example, the above large language model method can adopt GhatGPT. ChatGPT gives task description instructions: "For the two data contents "username, password", please confirm whether there is a dependency between them" or "For the two data contents "username, password", please confirm the dependence between them" "Whether the dependency relationship is that the former depends on the latter", the user only needs to answer yes or no, and then ChatGPT will make a summary reply based on the user's answer. For example, the password depends on the user name. At this time, the electronic device can generate a dependency relationship based on the ChatGPT reply.

举例说明,结合图3,以第一页面为浏览器的网址页面为例,由于输入区域23和输入区域24间存在依赖关系,因此输入区域23和输入区域24存在一条依赖边L1,该依赖边L1表示输入区域24依赖于输入区域23;输入区域23和输入区域25间也存在依赖关系,因此输入区域23和输入区域25间存在一条依赖边L2,表示输入区域25依赖于输入区域23,而输入区域22不存在任何依赖关系,则不会存在依赖边。电子设备以每个输入区域为顶点,以及依赖边L1和依赖边L2生成基础功能依赖图,如图6所示。For example, with reference to Figure 3, taking the first page as the URL page of the browser, since there is a dependency relationship between the input area 23 and the input area 24, there is a dependency edge L1 between the input area 23 and the input area 24, and the dependence edge L1 L1 indicates that input area 24 depends on input area 23; there is also a dependency relationship between input area 23 and input area 25, so there is a dependency edge L2 between input area 23 and input area 25, indicating that input area 25 depends on input area 23, and If there is no dependency relationship in the input area 22, there will be no dependent edge. The electronic device uses each input area as a vertex, as well as the dependency edge L1 and the dependency edge L2 to generate a basic function dependency graph, as shown in Figure 6.

步骤203b、电子设备基于基础功能依赖图,确定至少一个输入区域组。Step 203b: The electronic device determines at least one input area group based on the basic function dependency graph.

在本申请一些实施例中,上述每个输入区域组对应基础功能依赖图中一个连通分量。In some embodiments of the present application, each of the above input region groups corresponds to a connected component in the basic functional dependency graph.

在本申请一些实施例中,上述每个输入区域组中的一个输入区域组包括一个连通分量中的所有顶点对应的输入区域。换句话说,电子设备将连通分量中的所有顶点对应的输入区域作为一个输入区域组。In some embodiments of the present application, one input area group in each of the above input area groups includes input areas corresponding to all vertices in a connected component. In other words, the electronic device treats the input areas corresponding to all vertices in the connected components as an input area group.

在本申请一些实施例中,上述连通关系为两个输入区域间存在依赖边。In some embodiments of the present application, the above-mentioned connectivity relationship is the existence of a dependent edge between two input regions.

示例性地,参照图6,由于输入区域23、输入区域24与输入区域25间均属于同一个连通分量,因此,电子设备将输入区域23、输入区域24与输入区域25作为一个连通分量对应的输入区域组,而由于输入区域22与任意一个输入区域均没有连通关系,则输入区域22为一个输入区域组。For example, referring to FIG. 6 , since the input area 23 , the input area 24 and the input area 25 all belong to the same connected component, the electronic device treats the input area 23 , the input area 24 and the input area 25 as one connected component. Input area group, and since the input area 22 has no connection relationship with any input area, the input area 22 is an input area group.

在本申请一些实施例中,电子设备将基础功能依赖图中一个连通分量中的所有顶点对应的输入区域作为一个输入区域组,若基础功能依赖图包括多个连通分量,则确定多个输入区域组。In some embodiments of the present application, the electronic device regards the input areas corresponding to all vertices in a connected component in the basic function dependency graph as an input area group. If the basic function dependency graph includes multiple connected components, multiple input areas are determined. Group.

在本申请一些实施例中,上述每个输入区域组对应一个功能描述信息。In some embodiments of the present application, each of the above input area groups corresponds to one function description information.

在本申请一些实施例中,电子设备根据一个输入区域组中的每个输入区域的功能描述信息,总结分析得到该输入区域组的功能描述信息。In some embodiments of the present application, the electronic device summarizes and analyzes to obtain the function description information of the input area group based on the function description information of each input area in the input area group.

示例性地,上述总结分析输入区域组的功能描述信息的方法可以采用预定分组功能描述的方法;电子设备也可以采用根据每个输入区域的功能描述信息进行多类别权重加权投票方法;或者采用其他NLP技术进行总结。For example, the above method of summarizing and analyzing the function description information of the input area group can adopt the method of predetermined grouping function description; the electronic device can also adopt a multi-category weighted voting method based on the function description information of each input area; or adopt other methods. NLP technology is summarized.

举例说明,参照图6,以第一页面为浏览器的网址页面为例,输入区域23、输入区域24与输入区域25为一个输入区域组,根据每个输入区域的功能信息描述,例如,用户名、密码以及验证码,总结分析得到该输入区域组的功能描述可以为登录。For example, referring to Figure 6, taking the first page as a browser URL page as an example, the input area 23, the input area 24 and the input area 25 are an input area group. According to the functional information description of each input area, for example, the user Name, password and verification code, the function description of the input area group can be obtained through summary analysis, which can be login.

在本申请一些实施例中,电子设备可以根据上述至少一个输入区域组和每个输入区域组的功能描述,生成输入区域组列表。In some embodiments of the present application, the electronic device can generate an input area group list based on the at least one input area group and the function description of each input area group.

在本申请一些实施例中,上述输入区域组列表由至少一个输入区域组组成,而每个输入区域组由输入区域元素部分,即上述N个输入区域中的输入区域,以及输入区域组的功能描述组成。In some embodiments of the present application, the above-mentioned input area group list consists of at least one input area group, and each input area group consists of an input area element part, that is, the input area among the above-mentioned N input areas, and the function of the input area group Describe the composition.

需要说明的是,第一页面中的每个输入区域都唯一的属于一个输入区域组的输入区域元素部分。It should be noted that each input area in the first page uniquely belongs to the input area element part of an input area group.

示例性地,上述输入区域组列表的具体内容可以采用下列公式组表示:For example, the specific content of the above input area group list can be represented by the following formula group:

LG={AG1,AG2,…,AGi}LG={AG 1 ,AG 2 ,…,AG i }

AGi=<Gi,DGi>AG i =<G i ,D Gi >

其中,LG为输入区域组列表,AG为输入区域组,G为输入区域,D为功能描述信息。Among them, LG is the input area group list, AG is the input area group, G is the input area, and D is the function description information.

步骤203c、电子设备基于操作序列,从至少一个输入区域组中,确定第一输入区域组。Step 203c: The electronic device determines a first input area group from at least one input area group based on the operation sequence.

在本申请一些实施例中,电子设备根据操作序列,预判得到用户接下来可能要进行的操作行为,换句话说,预判用户接下来可能要操作哪个功能,再结合每个输入区域组的功能描述,从至少一个输入区域组中选择出用户可能要使用的功能对应的输入区域组,将该输入区域组作为第一输入区域组。In some embodiments of the present application, the electronic device predicts the operation behavior that the user may perform next based on the operation sequence. In other words, it predicts which function the user may operate next, and then combines the operation behavior of each input area group. Function description: Select the input area group corresponding to the function that the user may want to use from at least one input area group, and use this input area group as the first input area group.

可选地,在本申请实施例中,电子设备在确定第一输入区域组之后,将第一输入区域组中输入状态为“未完成”状态的最浅依赖输入区域,作为目标输入区域。Optionally, in this embodiment of the present application, after determining the first input area group, the electronic device uses the least dependent input area in the first input area group whose input status is "unfinished" as the target input area.

在本申请一些实施例中,上述目标输入区域为第一输入区域组中的一个输入区域。In some embodiments of the present application, the above-mentioned target input area is an input area in the first input area group.

在本申请一些实施例中,上述最浅依赖输入区域为上述第二功能依赖图中,入度为0的顶点所对应的输入。若存在多个最浅依赖输入区域,则将页面最上方的输入区域作为目标输入区域。In some embodiments of the present application, the shallowest dependent input area is the input corresponding to the vertex with an in-degree of 0 in the second functional dependency graph. If there are multiple shallowest dependent input areas, the input area at the top of the page is used as the target input area.

如此,电子设备根据页面中输入区域的功能描述与位置分布进行输入区域分组,对多输入区域场景下的输入目标进行功能聚类,提升了用户输入意图命中的准确性。In this way, the electronic device groups the input areas according to the functional description and position distribution of the input areas on the page, and performs functional clustering of the input targets in the multi-input area scenario, thereby improving the accuracy of the user's input intention.

可选地,在本申请实施例中,结合图5,如图7所示,上述步骤203b“电子设备基于基础功能依赖图,确定至少一个输入区域组”具体包括步骤203b1至步骤203b3:Optionally, in this embodiment of the present application, in conjunction with Figure 5, as shown in Figure 7, the above step 203b "the electronic device determines at least one input area group based on the basic function dependency graph" specifically includes steps 203b1 to 203b3:

步骤203b1、电子设备在基础功能依赖图中存在第一依赖边的情况下,去除基础功能依赖图中的第一依赖边,得到第一功能依赖图。Step 203b1: When the first dependency edge exists in the basic function dependency graph, the electronic device removes the first dependency edge in the basic function dependency graph to obtain the first function dependency graph.

在本申请一些实施例中,上述第一依赖边连接的两个输入区域间大于第一预设距离。例如,第一预设距离通常取屏幕宽度的1/6。In some embodiments of the present application, the distance between the two input areas connected by the first dependent edge is greater than the first preset distance. For example, the first preset distance is usually 1/6 of the screen width.

在本申请一些实施例中,上述第一预设距离可以为电子设备默认设置的,也可以为用户自主设置的。In some embodiments of the present application, the above-mentioned first preset distance may be set by default by the electronic device, or may be set independently by the user.

举例说明,参照图3,以第一页面为浏览器的网址页面为例,由于输入区域25与输入区域23间的距离超过了第一预设距离,因此,电子设备需要将输入区域25与输入区域23间的依赖边L2去除,从而生成第一功能依赖图,如图8所示。For example, referring to Figure 3, taking the first page as a browser URL page as an example, since the distance between the input area 25 and the input area 23 exceeds the first preset distance, the electronic device needs to separate the input area 25 from the input area. The dependency edge L2 between regions 23 is removed, thereby generating a first functional dependency graph, as shown in Figure 8 .

步骤203b2、若第一输入区域与第二输入区域间的距离小于第二预设距离,则电子设备增加第一输入区域与第三输入区域间的第二依赖边,得到第二功能依赖图。Step 203b2: If the distance between the first input area and the second input area is less than the second preset distance, the electronic device adds a second dependency edge between the first input area and the third input area to obtain a second functional dependency graph.

在本申请一些实施例中,上述第二预设距离可以为电子设备默认设置的,也可以为用户自主设置的。In some embodiments of the present application, the above-mentioned second preset distance may be set by default by the electronic device, or may be set independently by the user.

在本申请一些实施例中,上述第一输入区域为N个输入区域中不存在依赖边的输入区域。In some embodiments of the present application, the above-mentioned first input area is an input area with no dependent edges among the N input areas.

在本申请一些实施例中,上述第二输入区域与上述第三输入区域属于同一连通分量。In some embodiments of the present application, the above-mentioned second input area and the above-mentioned third input area belong to the same connected component.

在本申请一些实施例中,上述第二输入区域为第一功能依赖图中的连通分量中距离第一输入区域最近的输入区域。In some embodiments of the present application, the above-mentioned second input area is the input area closest to the first input area among the connected components in the first functional dependency graph.

在本申请一些实施例中,上述第三输入区域为与第一输入区域具有功能依赖关系的输入区域。In some embodiments of the present application, the third input area is an input area that has a functional dependency relationship with the first input area.

在本申请一些实施例中,电子设备首先查找不存在依赖边的输入区域,并将该输入区域作为第一输入区域,然后再检测该第一输入区域周围是否存在连通分量,若存在,则将距离该第一输入区域最近的连通分量中的输入区域作为第二输入区域,电子设备判断第一输入区域与第二输入区域间的距离是否小于第二预设距离,若小于则增加第一输入区域与上述连通分量中具有功能依赖关系的第三输入区域间的依赖边,即上述第二依赖边。可以理解的是,该第三输入区域可以是上述第二输入区域,也可以是第二输入区域所属的连通分量中的其他输入区域。In some embodiments of the present application, the electronic device first searches for an input area that does not have dependent edges, and uses this input area as the first input area, and then detects whether there are connected components around the first input area. If it exists, then The input area in the connected component closest to the first input area is used as the second input area. The electronic device determines whether the distance between the first input area and the second input area is less than the second preset distance. If it is less than the second preset distance, the first input area is increased. The dependency edge between the region and the third input region that has a functional dependency relationship among the above-mentioned connected components is the above-mentioned second dependency edge. It can be understood that the third input area may be the above-mentioned second input area, or may be other input areas in the connected component to which the second input area belongs.

示例性地,参照图3和图8,以第一页面为浏览器的网址页面为例,输入区域22和输入区域25均为不存在依赖边的输入区域。由于上述第一功能依赖图中的连通分量包括输入区域23和输入区域24,其中,在网址页面中输入区域22距离输入区域23最近,输入区域25距离输入区域24,即上述第二输入区域最近,且网址页面中输入区域22与输入区域23间的距离大于第二预设距离,则电子设备不需要对输入区域22增加依赖边。而第一页面中输入区域25与输入区域23间的距离小于第二预设距离,此时,电子设备需要增加输入区域25,即上述第一输入区域与输入区域23,即上述第三输入区域间的依赖边L3,最终生成第二功能依赖图,如图9所示For example, referring to FIG. 3 and FIG. 8 , taking the first page as a browser URL page as an example, both the input area 22 and the input area 25 are input areas without dependent edges. Since the connected components in the first function dependency graph include input area 23 and input area 24, in the website page, input area 22 is closest to input area 23, and input area 25 is closest to input area 24, that is, the above-mentioned second input area. , and the distance between the input area 22 and the input area 23 in the website page is greater than the second preset distance, then the electronic device does not need to add a dependent edge to the input area 22. The distance between the input area 25 and the input area 23 on the first page is less than the second preset distance. At this time, the electronic device needs to add an input area 25, that is, the above-mentioned first input area and the input area 23, that is, the above-mentioned third input area. The dependency edge L3 between them finally generates the second functional dependency graph, as shown in Figure 9

步骤203b3、电子设备基于第二功能依赖图,确定至少一个输入区域组。Step 203b3: The electronic device determines at least one input area group based on the second function dependency graph.

在本申请一些实施例中,电子设备将第二功能依赖图中一个连通分量中的所有顶点对应的输入区域作为一个输入区域组,若第二功能依赖图包括多个连通分量,则确定多个输入区域组。In some embodiments of the present application, the electronic device uses the input areas corresponding to all vertices in a connected component in the second functional dependency graph as an input area group. If the second functional dependency graph includes multiple connected components, determine multiple Enter the zone group.

举例说明,参照图9,第二功能依赖图中具有两个连通分量,分别为连通分量1:输入区域23、输入区域24以及输入区域25;连通分量2:输入区域22。电子设备则将第一页面的四个输入区域分为两组,G1={输入区域23,输入区域24,输入区域25},G2={输入区域22},并基于每个输入区域的功能描述信息,进行功能总结分析,得到输入区域分组的功能描述部分DG1=“登录”;DG2=“网址”,最终得到输入区域分组列表LG={AG1,AG2}={<{输入区域23,输入区域24,输入区域25},“登录”>,<输入区域22>,“网址”}。For example, referring to Figure 9, the second functional dependency graph has two connected components, namely connected component 1: input area 23, input area 24 and input area 25; connected component 2: input area 22. The electronic device divides the four input areas on the first page into two groups, G 1 ={input area 23, input area 24, input area 25}, G 2 ={input area 22}, and based on each input area Function description information, perform function summary analysis, and obtain the function description part of the input area group D G1 = "Login"; D G2 = "Website", and finally obtain the input area grouping list LG = {AG 1 , AG 2 } = {<{ Input Area 23, Input Area 24, Input Area 25}, "Login">, <Input Area 22>, "Website"}.

如此,电子设备通过进一步根据输入区域间的距离,即输入区域在页面中的位置,去除或者添加依赖边,从而使得输入区域两两间的依赖关系更为准确,进而保证了电子设备在确定目标输入区域时的准确率。In this way, the electronic device further removes or adds dependent edges based on the distance between the input areas, that is, the position of the input areas on the page, thereby making the dependency relationship between the input areas more accurate, thereby ensuring that the electronic device determines the target. Accuracy when entering a region.

可选地,在本申请实施例中,结合图5,如图10所示,上述步骤203c“电子设备基于操作序列,从至少一个输入区域组中,确定第一输入区域组”具体包括步骤203c1和步骤203c2:Optionally, in the embodiment of the present application, as shown in Figure 10 in conjunction with Figure 5, the above-mentioned step 203c "the electronic device determines the first input area group from at least one input area group based on the operation sequence" specifically includes step 203c1 and step 203c2:

步骤203c1、电子设备基于操作序列和第一输入区域组的功能描述信息,确定第一输入区域组的置信度,得到M个置信度,M为正整数。Step 203c1: The electronic device determines the confidence level of the first input area group based on the operation sequence and the function description information of the first input area group, and obtains M confidence levels, where M is a positive integer.

在本申请一些实施例中,一个置信度对应一个输入区域组。In some embodiments of the present application, one confidence level corresponds to one input area group.

在本申请一些实施例中,上述置信度用于表征用户期望实现输入区域组的功能描述信息对应的功能的概率。In some embodiments of the present application, the above-mentioned confidence level is used to characterize the probability that the user expects to realize the function corresponding to the function description information of the input area group.

在本申请一些实施例中,电子设备可以机器学习算法评估每个输入区域组的置信度。In some embodiments of the present application, the electronic device can evaluate the confidence of each input area group using a machine learning algorithm.

示例性地,电子设备将操作序列和第一输入区域组的功能描述信息作为特征,使用机器学习算法评估出该第一输入区域组对应的置信度,一般地,可以使用LSTM算法进行该置信度评估。For example, the electronic device uses the operation sequence and the functional description information of the first input area group as features, and uses a machine learning algorithm to evaluate the confidence level corresponding to the first input area group. Generally, the LSTM algorithm can be used to perform the confidence level evaluation. Evaluate.

需要说明的是,电子设备针对每个输入区域组都会重复上述步骤评估得到一个置信度。It should be noted that the electronic device will repeat the above steps for each input area group to evaluate and obtain a confidence level.

步骤203c2、电子设备基于M个置信度,确定第一输入区域组。Step 203c2: The electronic device determines the first input area group based on M confidence levels.

在本申请一些实施例中,电子设备可以将置信度大于或等于预定阈值的输入区域组确定为第一输入区域组。或者电子设备在所有输入区域组对应的置信度均小于预定阈值的情况下,则会重新确定第一输入区域组。In some embodiments of the present application, the electronic device may determine the input area group whose confidence level is greater than or equal to the predetermined threshold as the first input area group. Or if the confidence levels corresponding to all input area groups are less than the predetermined threshold, the electronic device will re-determine the first input area group.

如此,电子设备通过结合操作序列和输入区域组的功能描述信息,更深入的了考虑用户操作行为与输入区域内容填写情况,使得电子设备在进行目标输入区域的自动选择时的准确度更高。In this way, by combining the operation sequence and the functional description information of the input area group, the electronic device takes a more in-depth consideration of the user's operation behavior and the filling of the input area content, making the electronic device more accurate when automatically selecting the target input area.

在一种可能的实施例中,电子设备会对所有输入区域组进行置信度的评估。In a possible embodiment, the electronic device evaluates the confidence of all input area groups.

在另一种可能的实施例中,电子设备仅对含有输入状态为“未完成”状态的输入区域所在的输入区域组进行置信度评估。In another possible embodiment, the electronic device only performs confidence evaluation on the input area group containing the input area whose input status is "incomplete".

在本申请一些实施例中,上述输入状态为“未完成”状态表示输入区域中不存在文本,或存在的文本不完整。In some embodiments of the present application, the above-mentioned input status being "unfinished" means that there is no text in the input area, or the existing text is incomplete.

在本申请一些实施例中,电子设备可以采用输入完成度检查方法,对输入区域中的内容进行检查,以判断该输入区域的输入状态。本申请实施例对输入完成度检查方法不作限制。In some embodiments of the present application, the electronic device can use the input completion check method to check the content in the input area to determine the input status of the input area. The embodiment of the present application does not limit the input completion check method.

示例性地,上述输入完成度检查方法可以采用预设的正则表达式进行检查,也可以采用NLP技术进行检查。For example, the above input completion checking method can use preset regular expressions for checking, or can use NLP technology for checking.

如此,电子设备可以仅对“未完成”状态下的输入区域组进行置信度的评估,由于筛掉了一部分输入区域,因此更加提高了电子设备确定目标输入区域的准确度,从而提高输入效率。In this way, the electronic device can only evaluate the confidence of the input area group in the "unfinished" state. Since a part of the input area is filtered out, the accuracy of the electronic device in determining the target input area is further improved, thereby improving input efficiency.

可选地,在本申请实施例中,结合图10,如图11所示,上述步骤203c2“电子设备基于M个置信度,确定第一输入区域组”具体包括步骤203C1或者步骤203C2:Optionally, in this embodiment of the present application, in conjunction with Figure 10, as shown in Figure 11, the above step 203c2 "the electronic device determines the first input area group based on M confidence levels" specifically includes step 203C1 or step 203C2:

步骤203C1、电子设备在M个置信度中的至少一个置信度大于或等于预定阈值的情况下,将置信度大于或等于预定阈值中的一个置信度对应的输入区域组,作为第一输入区域组。Step 203C1: When at least one of the M confidence levels is greater than or equal to a predetermined threshold, the electronic device uses the input area group corresponding to one of the M confidence levels with a confidence level greater than or equal to the predetermined threshold as the first input area group. .

在本申请一些实施例中,上述预定阈值可以为电子设备默认设置的,也可以为用户自定义设置的,一般地,可以将阈值设置为0.5。In some embodiments of the present application, the above-mentioned predetermined threshold can be set by default for the electronic device or can be customized by the user. Generally, the threshold can be set to 0.5.

在本申请一些实施例中,上述“M个置信度中的至少一个置信度大于或等于预定阈值”表示至少一个置信度对应的输入区域组的功能描述信息对应的功能为用户期望使用的功能,因此,将该至少一个置信度对应的输入区域组确定为第一输入区域组。In some embodiments of the present application, the above "at least one confidence level among the M confidence levels is greater than or equal to the predetermined threshold" means that the function corresponding to the function description information of the input area group corresponding to at least one confidence level is the function that the user expects to use, Therefore, the input area group corresponding to the at least one confidence level is determined as the first input area group.

步骤203C2、电子设备在M个置信度均小于预设阈值的情况下,将第六输入区域的输入区域组,作为第一输入区域组。Step 203C2: When the M confidence levels are all less than the preset threshold, the electronic device uses the input area group of the sixth input area as the first input area group.

在本申请一些实施例中,上述第六输入区域为距离最后一次操作行为最近的输入区域。In some embodiments of the present application, the sixth input area is the input area closest to the last operation behavior.

在本申请一些实施例中,电子设备根据操作序列最后一组操作数据对应的操作的坐标位置,选取距离该坐标位置最近的、且输入状态为“未完成”状态的输入区域所在的输入区域组,作为第一输入区域组。In some embodiments of the present application, based on the coordinate position of the operation corresponding to the last set of operation data in the operation sequence, the electronic device selects the input area group where the input area closest to the coordinate position and whose input status is "unfinished" is located. , as the first input area group.

在一种可能得实施例中,电子设备可能还未获取到第一页面的操作序列,换句话说,用户还未在第一页面进行操作,则电子设备可以获取包含输入状态为“未完成”状态的输入区域、且面积最大的输入区域组,作为第一输入区域组。In a possible embodiment, the electronic device may not have acquired the operation sequence of the first page. In other words, the user has not yet performed an operation on the first page, and the electronic device may acquire the input status of "Uncompleted". The input area group of the state and the largest area is used as the first input area group.

在本申请一些实施例中,电子设备对输入区域组的面积计算方法可以为将输入区域组中的每个输入区域的面积进行求和。In some embodiments of the present application, the electronic device may calculate the area of the input area group by summing the areas of each input area in the input area group.

如此,电子设备通过结合操作序列和输入区域组的功能描述信息,更深入的了考虑用户操作行为与输入区域内容填写情况,使得电子设备在进行目标输入区域的自动选择时的准确度更高。In this way, by combining the operation sequence and the functional description information of the input area group, the electronic device takes a more in-depth consideration of the user's operation behavior and the filling of the input area content, making the electronic device more accurate when automatically selecting the target input area.

示例性地,以视频APP页面为例,页面中存在输入区域“发表弹幕”与输入区域“发表评论”。若用户在进入该页面后进行过评论列表的滑动,则输入区域“发表评论”的置信度会高于输入区域“发表弹幕”的置信度,若该置信度高于阈值,将选取输入区域“发表评论”所在的输入区域组作为与用户行为匹配的输入区域组。由于该输入区域组中仅包含“未完成”状态的输入区域“发表评论”,因此,最浅依赖输入区域为输入区域组“发表评论”。电子设备会直接唤醒输入区域“发表评论”对应的输入界面,使得用户可以直接在输入界面上输入内容。如此,能够综合页面内输入区域功能情况与位置分布,结合用户操作行为,自动确定页面中用户希望进行交互的输入区域,进行输入法键盘的快捷唤醒,提升了用户输入的便捷性For example, taking the video APP page as an example, there is an input area "post a barrage" and an input area "post a comment" on the page. If the user has swiped through the comment list after entering the page, the confidence level of the input area "Post Comment" will be higher than the confidence level of the input area "Post Comment". If the confidence level is higher than the threshold, the input area will be selected. The input field group where "Post a comment" is located is used as the input field group that matches the user's behavior. Since the input area group only contains the input area "Post a Comment" in the "Unfinished" state, the least dependent input area is the input area group "Post a Comment". The electronic device will directly wake up the input interface corresponding to the "post comment" input area, allowing the user to directly input content on the input interface. In this way, the function and location distribution of the input area within the page can be comprehensively combined with the user's operation behavior to automatically determine the input area on the page that the user wants to interact with, and quickly wake up the input method keyboard, improving the convenience of user input.

需要说明的是,本申请实施例提供的输入界面显示方法,执行主体可以为输入界面显示装置,或者电子设备,还可以为电子设备中的功能模块或实体。本申请实施例中以输入界面显示装置执行输入界面显示方法为例,说明本申请实施例提供的输入界面显示装置。It should be noted that, for the input interface display method provided by the embodiments of the present application, the execution subject may be an input interface display device, an electronic device, or a functional module or entity in the electronic device. In the embodiment of the present application, an input interface display device performing an input interface display method is used as an example to illustrate the input interface display device provided by the embodiment of the present application.

图12示出了本申请实施例中涉及的输入界面显示装置的一种可能的结构示意图。如图12所示,该输入界面显示装置700可以包括:显示模块701、接收模块702以及处理模块703。Figure 12 shows a possible structural schematic diagram of the input interface display device involved in the embodiment of the present application. As shown in FIG. 12 , the input interface display device 700 may include: a display module 701 , a receiving module 702 and a processing module 703 .

其中,上述显示模块701,用于显示第一页面,第一页面包括N个输入区域,N为正整数;上述接收模块702,用于接收用户的第一输入,第一输入用于唤醒输入界面;上述处理模块703,用于响应于上述接收模块702接收的第一输入,基于上述显示模块701显示的第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;上述显示模块701,还用于显示与上述处理模块703确定的目标输入区域匹配的输入界面。Among them, the above-mentioned display module 701 is used to display the first page, the first page includes N input areas, N is a positive integer; the above-mentioned receiving module 702 is used to receive the user's first input, and the first input is used to wake up the input interface ; The above-mentioned processing module 703 is configured to respond to the first input received by the above-mentioned receiving module 702, based on the operation sequence of the first page displayed by the above-mentioned display module 701 and the function description information of each input area, from the N input areas, determine Target input area; the operation sequence is used to characterize the user's operation behavior on the first page; the above-mentioned display module 701 is also used to display an input interface that matches the target input area determined by the above-mentioned processing module 703.

可选地,在本申请实施例中,上述处理模块703,具体用于:基于每个输入区域的功能描述信息,生成N个输入区域的基础功能依赖图,基础功能依赖图中包含至少一条依赖边,每条依赖边用于表征两个输入区域间的功能依赖关系;基于基础功能依赖图,确定至少一个输入区域组,每个输入区域组对应基础功能依赖图中的一个连通分量,一个输入区域组包括一个连通分量中的所有顶点对应的输入区域;基于操作序列,从至少一个输入区域组中,确定第一输入区域组;其中,目标输入区域为第一输入区域组中的一个输入区域。Optionally, in this embodiment of the present application, the above-mentioned processing module 703 is specifically configured to: generate basic function dependency graphs of N input regions based on the functional description information of each input region, and the basic function dependency graph contains at least one dependency. Edges, each dependent edge is used to represent the functional dependency relationship between two input regions; based on the basic functional dependency graph, at least one input region group is determined, and each input region group corresponds to a connected component in the basic functional dependency graph, an input The area group includes input areas corresponding to all vertices in a connected component; based on the operation sequence, the first input area group is determined from at least one input area group; wherein the target input area is an input area in the first input area group .

可选地,在本申请实施例中,上述处理模块703,具体用于:在基础功能依赖图中存在第一依赖边的情况下,去除基础功能依赖图中的第一依赖边,得到第一功能依赖图,第一依赖边连接的两个输入区域的距离大于第一预设距离;若第一输入区域与第二输入区域间的距离小于第二预设距离,则在第一功能依赖图中,增加第一输入区域与第三输入区域间的第二依赖边,得到第二功能依赖图;基于第二功能依赖图,确定至少一个输入区域组;其中,第二输入区域与第三输入区域属于同一连通分量,第一输入区域为N个输入区域中不存在依赖边的输入区域,第二输入区域为第一功能依赖图中的每个连通分量中距离第一输入区域最近的输入区域,第三输入区域与第一输入区域具有功能依赖关系。Optionally, in this embodiment of the present application, the above-mentioned processing module 703 is specifically configured to: when there is a first dependency edge in the basic function dependency graph, remove the first dependency edge in the basic function dependency graph to obtain the first In the functional dependency graph, the distance between the two input regions connected by the first dependency edge is greater than the first preset distance; if the distance between the first input region and the second input region is less than the second preset distance, then in the first functional dependency graph In The regions belong to the same connected component. The first input region is an input region with no dependent edges among the N input regions. The second input region is the input region closest to the first input region in each connected component in the first functional dependency graph. , the third input area has a functional dependency relationship with the first input area.

可选地,在本申请实施例中,结合图12,如图13所示,上述装置700还包括:获取模块704和确定模块705;上述获取模块704,用于上述确定模块705基于上述显示模块701显示的第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域之前,获取第一页面中的第一区域内的页面元素信息,第一区域为N个输入区域预定范围内的区域;上述确定模块705,用于基于上述获取模块704获取的页面元素信息,确定N个输入区域的功能描述信息;其中,第四输入区域为N个输入区域中的其中一个。Optionally, in this embodiment of the present application, in conjunction with Figure 12, as shown in Figure 13, the above-mentioned device 700 also includes: an acquisition module 704 and a determination module 705; the above-mentioned acquisition module 704 is used for the above-mentioned determination module 705 based on the above-mentioned display module 701 displays the operation sequence of the first page and the functional description information of each input area. From the N input areas, before determining the target input area, obtain the page element information in the first area of the first page. The first area is Areas within the predetermined range of the N input areas; the above-mentioned determination module 705 is used to determine the function description information of the N input areas based on the page element information obtained by the above-mentioned acquisition module 704; wherein the fourth input area is one of the N input areas one of.

可选地,在本申请实施例中,上述处理模块703,具体用于:基于操作序列和第一输入区域组的功能描述信息,确定第一输入区域组的置信度,得到M个置信度,M为正整数,置信度用于表征用户期望实现输入区域组的功能描述信息对应的功能的概率;基于M个置信度,确定第一输入区域组。Optionally, in this embodiment of the present application, the above-mentioned processing module 703 is specifically configured to: determine the confidence level of the first input area group based on the operation sequence and the function description information of the first input area group, and obtain M confidence levels, M is a positive integer, and the confidence level is used to represent the probability that the user expects to realize the function corresponding to the function description information of the input area group; based on M confidence levels, the first input area group is determined.

可选地,在本申请实施例中,上述处理模块703,具体用于:在M个置信度中的至少一个置信度大于或等于预定阈值的情况下,将置信度大于或等于预定阈值中的一个置信度对应的输入区域组,作为第一输入区域组;或者,在M个置信度均小于预设阈值的情况下,将第六输入区域的输入区域组,作为第一输入区域组,第六输入区域为距离最后一次操作行为最近的输入区域。Optionally, in this embodiment of the present application, the above-mentioned processing module 703 is specifically configured to: when at least one of the M confidence levels is greater than or equal to a predetermined threshold, set the confidence level to be greater than or equal to the predetermined threshold. The input area group corresponding to one confidence level is used as the first input area group; or, when the M confidence levels are all less than the preset threshold, the input area group of the sixth input area is used as the first input area group, and the input area group of the sixth input area is used as the first input area group. The six input areas are the input areas closest to the last operation behavior.

在本申请实施例提供的输入界面显示装置中,输入界面显示装置显示第一页面,该第一页面包括N个输入区域,N为正整数;接收用户的第一输入,该第一输入用于唤醒输入界面;响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;显示与上述目标输入区域匹配的输入界面。在本方案中,在页面显示N个输入区域的情况下,无需用户手动选择,便可借助用户在页面中的操作行为以及N个输入区域的功能描述信息,来直接预测出用户想要输入的输入区域,从而使得电子设备可以根据用户的输入,唤醒该输入区域对应的输入界面,进而简化了输入过程,提高了输入效率。In the input interface display device provided by the embodiment of the present application, the input interface display device displays a first page, the first page includes N input areas, N is a positive integer; receives the user's first input, and the first input is used to Wake up the input interface; in response to the first input, determine the target input area from N input areas based on the operation sequence of the first page and the functional description information of each input area; the operation sequence is used to characterize the user's operation on the first page Behavior; displays an input interface matching the target input area above. In this solution, when the page displays N input areas, without the need for the user to manually select, the user's operating behavior on the page and the functional description information of the N input areas can be used to directly predict what the user wants to input. The input area enables the electronic device to wake up the input interface corresponding to the input area according to the user's input, thereby simplifying the input process and improving input efficiency.

本申请实施例中的输入界面显示装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobilepersonal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The input interface display device in the embodiment of the present application may be an electronic device, or may be a component of the electronic device, such as an integrated circuit or chip. The electronic device may be a terminal or other devices other than the terminal. For example, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile Internet device (MID), or augmented reality (AR)/virtual reality (VR). ) equipment, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (PDA), etc., and can also be servers, network attached storage (Network Attached Storage, NAS), etc. ), personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.

本申请实施例中的输入界面显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The input interface display device in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.

本申请实施例提供的输入界面显示装置能够实现图1至图12的方法实施例实现的各个过程,为避免重复,这里不再赘述。The input interface display device provided by the embodiment of the present application can implement various processes implemented by the method embodiments of Figures 1 to 12. To avoid duplication, they will not be described again here.

可选地,如图14所示,本申请实施例还提供一种电子设备800,包括处理器801和存储器802,存储器802上存储有可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述输入界面显示方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 14, this embodiment of the present application also provides an electronic device 800, including a processor 801 and a memory 802. The memory 802 stores programs or instructions that can be run on the processor 801. When the program or instruction is executed by the processor 801, each step of the above-mentioned input interface display method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, the details will not be described here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

图15为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 15 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application.

该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, etc. part.

本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图15中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 100 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 15 does not constitute a limitation of the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .

其中,上述显示单元106,用于显示第一页面,第一页面包括N个输入区域,N为正整数;上述用户输入单元107,用于接收用户的第一输入,第一输入用于唤醒输入界面;上述处理器110,用于响应于上述用户输入单元107接收的第一输入,基于上述显示单元106显示的第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;上述显示单元106,还用于显示与上述处理器110确定的目标输入区域匹配的输入界面。Among them, the above-mentioned display unit 106 is used to display the first page, the first page includes N input areas, N is a positive integer; the above-mentioned user input unit 107 is used to receive the user's first input, and the first input is used for wake-up input. Interface; the above-mentioned processor 110 is configured to respond to the first input received by the above-mentioned user input unit 107, based on the operation sequence of the first page displayed by the above-mentioned display unit 106 and the function description information of each input area, from the N input areas , determine the target input area; the operation sequence is used to characterize the user's operation behavior on the first page; the above-mentioned display unit 106 is also used to display an input interface that matches the target input area determined by the above-mentioned processor 110.

可选地,在本申请实施例中,上述处理器110,具体用于:基于每个输入区域的功能描述信息,生成N个输入区域的基础功能依赖图,基础功能依赖图中包含至少一条依赖边,每条依赖边用于表征两个输入区域间的功能依赖关系;基于基础功能依赖图,确定至少一个输入区域组,每个输入区域组对应基础功能依赖图中的一个连通分量,一个输入区域组包括一个连通分量中的所有顶点对应的输入区域,从至少一个输入区域组中,确定第一输入区域组;其中,目标输入区域为第一输入区域组中的一个输入区域。Optionally, in this embodiment of the present application, the above-mentioned processor 110 is specifically configured to: generate basic function dependency graphs of N input regions based on the functional description information of each input region, and the basic function dependency graph contains at least one dependency. Edges, each dependent edge is used to represent the functional dependency relationship between two input regions; based on the basic functional dependency graph, at least one input region group is determined, and each input region group corresponds to a connected component in the basic functional dependency graph, an input The area group includes input areas corresponding to all vertices in a connected component, and a first input area group is determined from at least one input area group; wherein the target input area is an input area in the first input area group.

可选地,在本申请实施例中,上述处理器110,具体用于:在基础功能依赖图中存在第一依赖边的情况下,去除基础功能依赖图中的第一依赖边,得到第一功能依赖图,第一依赖边连接的两个输入区域的距离大于第一预设距离;若第一输入区域与第二输入区域间的距离小于第二预设距离,则在第一功能依赖图中,增加第一输入区域与第三输入区域间的第二依赖边,得到第二功能依赖图;基于第二功能依赖图,确定至少一个输入区域组;其中,第二输入区域与第三输入区域属于同一连通分量,第一输入区域为N个输入区域中不存在依赖边的输入区域,第二输入区域为第一功能依赖图中的每个连通分量中距离第一输入区域最近的输入区域,第三输入区域与第一输入区域具有功能依赖关系。Optionally, in this embodiment of the present application, the above-mentioned processor 110 is specifically configured to: when there is a first dependency edge in the basic function dependency graph, remove the first dependency edge in the basic function dependency graph to obtain the first In the functional dependency graph, the distance between the two input regions connected by the first dependency edge is greater than the first preset distance; if the distance between the first input region and the second input region is less than the second preset distance, then in the first functional dependency graph In The regions belong to the same connected component. The first input region is an input region with no dependent edges among the N input regions. The second input region is the input region closest to the first input region in each connected component in the first functional dependency graph. , the third input area has a functional dependency relationship with the first input area.

可选地,在本申请实施例中,上述处理器110,还用于上述处理器110基于上述显示单元106显示的第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域之前,获取第一页面中的第一区域内的页面元素信息,第一区域为N个输入区域预定范围内的区域;上述处理器110,还用于基于页面元素信息,确定N个输入区域的功能描述信息;其中,第四输入区域为N个输入区域中的其中一个。Optionally, in this embodiment of the present application, the above-mentioned processor 110 is also configured for the above-mentioned processor 110 to select N inputs based on the operation sequence of the first page displayed by the display unit 106 and the function description information of each input area. area, before determining the target input area, obtain the page element information in the first area in the first page, and the first area is an area within the predetermined range of the N input areas; the above-mentioned processor 110 is also used to, based on the page element information, Determine the function description information of the N input areas; wherein the fourth input area is one of the N input areas.

可选地,在本申请实施例中,上述处理器110,具体用于:基于操作序列和第一输入区域组的功能描述信息,确定第一输入区域组的置信度,得到M个置信度,M为正整数,置信度用于表征用户期望实现输入区域组的功能描述信息对应的功能的概率;基于M个置信度,确定第一输入区域组。Optionally, in this embodiment of the present application, the above-mentioned processor 110 is specifically configured to: determine the confidence level of the first input area group based on the operation sequence and the function description information of the first input area group, and obtain M confidence levels, M is a positive integer, and the confidence level is used to represent the probability that the user expects to realize the function corresponding to the function description information of the input area group; based on M confidence levels, the first input area group is determined.

可选地,在本申请实施例中,上述处理器110,具体用于:在M个置信度中的至少一个置信度大于或等于预定阈值的情况下,将置信度大于或等于预定阈值中的一个置信度对应的输入区域组,作为第一输入区域组;或者,在M个置信度均小于预设阈值的情况下,将第六输入区域的输入区域组,作为第一输入区域组,第六输入区域为距离最后一次操作行为最近的输入区域。Optionally, in this embodiment of the present application, the above-mentioned processor 110 is specifically configured to: when at least one of the M confidence levels is greater than or equal to a predetermined threshold, set the confidence level to one of the confidence levels greater than or equal to the predetermined threshold. The input area group corresponding to one confidence level is used as the first input area group; or, when the M confidence levels are all less than the preset threshold, the input area group of the sixth input area is used as the first input area group, and the input area group of the sixth input area is used as the first input area group. The six input areas are the input areas closest to the last operation behavior.

在本申请实施例提供的电子设备中,电子设备显示第一页面,该第一页面包括N个输入区域,N为正整数;接收用户的第一输入,该第一输入用于唤醒输入界面;响应于第一输入,基于第一页面的操作序列和每个输入区域的功能描述信息,从N个输入区域,确定目标输入区域;操作序列用于表征用户在第一页面的操作行为;显示与上述目标输入区域匹配的输入界面。在本方案中,在页面显示N个输入区域的情况下,无需用户手动选择,便可借助用户在页面中的操作行为以及N个输入区域的功能描述信息,来直接预测出用户想要输入的输入区域,从而使得电子设备可以根据用户的输入,唤醒该输入区域对应的输入界面,进而简化了输入过程,提高了输入效率。In the electronic device provided by the embodiment of the present application, the electronic device displays a first page, the first page includes N input areas, N is a positive integer; receives the user's first input, and the first input is used to wake up the input interface; In response to the first input, based on the operation sequence of the first page and the functional description information of each input area, the target input area is determined from the N input areas; the operation sequence is used to characterize the user's operation behavior on the first page; display and The input interface matching the above target input area. In this solution, when the page displays N input areas, without the need for the user to manually select, the user's operating behavior on the page and the functional description information of the N input areas can be used to directly predict what the user wants to input. The input area enables the electronic device to wake up the input interface corresponding to the input area according to the user's input, thus simplifying the input process and improving input efficiency.

应理解的是,本申请实施例中,输入单元104可以包括图形处理器(GraphicsProcessing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042. The graphics processor 1041 is responsible for the image capture device (such as Process the image data of still pictures or videos obtained by the camera). The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072 . Touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.

存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 109 may include volatile memory or nonvolatile memory, or memory 109 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 109 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.

处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 110 .

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述输入界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above-mentioned input interface display method embodiment is implemented, and can achieve The same technical effects are not repeated here to avoid repetition.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述输入界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above embodiment of the input interface display method. Each process can achieve the same technical effect. To avoid repetition, we will not go into details here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.

本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述输入界面显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application provide a computer program product. The program product is stored in a storage medium. The program product is executed by at least one processor to implement each process of the above input interface display method embodiment, and can achieve the same technology. The effect will not be described here to avoid repetition.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (14)

1.一种输入界面显示方法,其特征在于,所述方法包括:1. An input interface display method, characterized in that the method includes: 显示第一页面,所述第一页面包括N个输入区域,N为正整数;Display the first page, the first page includes N input areas, N is a positive integer; 接收用户的第一输入,所述第一输入用于唤醒输入界面;Receive the user's first input, the first input being used to wake up the input interface; 响应于所述第一输入,基于所述第一页面的操作序列和每个输入区域的功能描述信息,从所述N个输入区域,确定目标输入区域;所述操作序列用于表征用户在所述第一页面的操作行为;In response to the first input, based on the operation sequence of the first page and the function description information of each input area, a target input area is determined from the N input areas; the operation sequence is used to characterize where the user is. Describe the operation behavior of the first page; 显示与所述目标输入区域匹配的输入界面。Display an input interface matching the target input area. 2.根据权利要求1所述的方法,其特征在于,所述基于所述第一页面的操作序列和每个输入区域的功能描述信息,从所述N个输入区域,确定目标输入区域,包括:2. The method according to claim 1, wherein the target input area is determined from the N input areas based on the operation sequence of the first page and the function description information of each input area, including : 基于每个输入区域的功能描述信息,生成所述N个输入区域的基础功能依赖图,所述基础功能依赖图中包含至少一条依赖边,每条依赖边用于表征两个输入区域间的功能依赖关系;Based on the functional description information of each input region, a basic functional dependency graph of the N input regions is generated. The basic functional dependency graph contains at least one dependency edge, and each dependency edge is used to characterize the function between the two input regions. Dependencies; 基于所述基础功能依赖图,确定至少一个输入区域组,每个输入区域组对应所述基础功能依赖图中的一个连通分量,一个输入区域组包括一个连通分量中的所有顶点对应的输入区域;Based on the basic function dependency graph, determine at least one input region group, each input region group corresponds to a connected component in the basic function dependency graph, and one input region group includes input regions corresponding to all vertices in a connected component; 基于所述操作序列,从所述至少一个输入区域组中,确定第一输入区域组;Based on the sequence of operations, determining a first input area group from the at least one input area group; 其中,所述目标输入区域为所述第一输入区域组中的一个输入区域。Wherein, the target input area is an input area in the first input area group. 3.根据权利要求2所述的方法,其特征在于,所述基于所述基础功能依赖图,确定至少一个输入区域组,包括:3. The method of claim 2, wherein determining at least one input region group based on the basic function dependency graph includes: 在所述基础功能依赖图中存在第一依赖边的情况下,去除所述基础功能依赖图中的所述第一依赖边,得到第一功能依赖图,所述第一依赖边连接的两个输入区域的距离大于第一预设距离;In the case where a first dependency edge exists in the basic function dependency graph, the first dependency edge in the basic function dependency graph is removed to obtain a first function dependency graph, in which the two first dependency edges connect The distance of the input area is greater than the first preset distance; 若第一输入区域与第二输入区域间的距离小于第二预设距离,则在所述第一功能依赖图中增加第一输入区域与第三输入区域间的第二依赖边,得到第二功能依赖图;If the distance between the first input area and the second input area is less than the second preset distance, then add a second dependency edge between the first input area and the third input area in the first function dependency graph to obtain a second Functional dependency graph; 基于所述第二功能依赖图,确定所述至少一个输入区域组;determining the at least one input region group based on the second functional dependency graph; 其中,所述第二输入区域与所述第三输入区域属于同一连通分量,所述第一输入区域为所述N个输入区域中不存在依赖边的输入区域,所述第二输入区域为所述第一功能依赖图中的每个连通分量中距离所述第一输入区域最近的输入区域,所述第三输入区域与所述第一输入区域具有功能依赖关系。Wherein, the second input area and the third input area belong to the same connected component, the first input area is an input area with no dependent edges among the N input areas, and the second input area is an input area with no dependent edges among the N input areas. The input area closest to the first input area in each connected component in the first functional dependency graph, and the third input area has a functional dependency relationship with the first input area. 4.根据权利要求2所述的方法,其特征在于,所述基于所述第一页面的操作序列和每个输入区域的功能描述信息,从所述N个输入区域,确定目标输入区域之前,所述方法还包括:4. The method according to claim 2, characterized in that, before determining a target input area from the N input areas based on the operation sequence of the first page and the function description information of each input area, The method also includes: 获取所述第一页面中的第一区域内的页面元素信息,所述第一区域为距离所述N个输入区域预定范围内的区域;Obtain page element information in a first area in the first page, where the first area is an area within a predetermined range from the N input areas; 基于所述页面元素信息,确定所述N个输入区域的功能描述信息。Based on the page element information, function description information of the N input areas is determined. 5.根据权利要求2或4所述的方法,其特征在于,所述基于所述操作序列,从所述至少一个输入区域组中,确定第一输入区域组,包括:5. The method according to claim 2 or 4, characterized in that, based on the operation sequence, determining a first input area group from the at least one input area group includes: 基于所述操作序列和第一输入区域组的功能描述信息,确定第一输入区域组的置信度,得到M个置信度,M为正整数,所述置信度用于表征用户期望实现输入区域组的功能描述信息对应的功能的概率;Based on the operation sequence and the functional description information of the first input area group, the confidence level of the first input area group is determined, and M confidence levels are obtained, where M is a positive integer. The confidence level is used to characterize the user's desire to realize the input area group. The probability of the function corresponding to the function description information; 基于所述M个置信度,确定所述第一输入区域组。Based on the M confidence levels, the first input region group is determined. 6.根据权利要求5所述的方法,其特征在于,所述基于所述M个置信度,确定所述第一输入区域组,包括:6. The method of claim 5, wherein determining the first input region group based on the M confidence levels includes: 在所述M个置信度中的至少一个置信度大于或等于预定阈值的情况下,将所述置信度大于或等于预定阈值中的一个置信度对应的输入区域组,作为所述第一输入区域组;或者,In the case where at least one of the M confidence levels is greater than or equal to a predetermined threshold, the input area group corresponding to one of the confidence levels that is greater than or equal to the predetermined threshold is used as the first input area group; or, 在所述M个置信度均小于所述预设阈值的情况下,将第六输入区域的输入区域组,作为所述第一输入区域组,所述第六输入区域为距离最后一次操作行为最近的输入区域。When the M confidence levels are all less than the preset threshold, the input area group of the sixth input area is used as the first input area group, and the sixth input area is the closest to the last operation behavior. input area. 7.一种输入界面显示装置,其特征在于,所述输入界面显示装置包括:显示模块、接收模块以及处理模块;7. An input interface display device, characterized in that the input interface display device includes: a display module, a receiving module and a processing module; 所述显示模块,用于显示第一页面,所述第一页面包括N个输入区域,N为正整数;The display module is used to display a first page, the first page includes N input areas, N is a positive integer; 所述接收模块,用于接收用户的第一输入,所述第一输入用于唤醒输入界面;The receiving module is used to receive the user's first input, and the first input is used to wake up the input interface; 所述处理模块,用于响应于所述接收模块接收的所述第一输入,基于所述显示模块显示的所述第一页面的操作序列和每个输入区域的功能描述信息,从所述N个输入区域,确定目标输入区域;所述操作序列用于表征用户在所述第一页面的操作行为;The processing module is configured to respond to the first input received by the receiving module, based on the operation sequence of the first page displayed by the display module and the function description information of each input area, from the N An input area is determined to determine the target input area; the operation sequence is used to characterize the user's operation behavior on the first page; 所述显示模块,还用于显示与所述处理模块确定的所述目标输入区域匹配的输入界面。The display module is also configured to display an input interface that matches the target input area determined by the processing module. 8.根据权利要求7所述的装置,其特征在于,所述处理模块,具体用于:8. The device according to claim 7, characterized in that the processing module is specifically used for: 基于每个输入区域的功能描述信息,生成所述N个输入区域的基础功能依赖图,所述基础功能依赖图中包含至少一条依赖边,每条依赖边用于表征两个输入区域间的功能依赖关系;Based on the functional description information of each input region, a basic functional dependency graph of the N input regions is generated. The basic functional dependency graph contains at least one dependency edge, and each dependency edge is used to characterize the function between the two input regions. Dependencies; 基于所述基础功能依赖图,确定至少一个输入区域组,每个输入区域组对应所述基础功能依赖图中的一个连通分量,一个输入区域组包括一个连通分量中的所有顶点对应的输入区域;Based on the basic function dependency graph, determine at least one input region group, each input region group corresponds to a connected component in the basic function dependency graph, and one input region group includes input regions corresponding to all vertices in a connected component; 基于所述操作序列,从所述至少一个输入区域组中,确定第一输入区域组;Based on the sequence of operations, determining a first input area group from the at least one input area group; 其中,所述目标输入区域为所述第一输入区域组中的一个输入区域。Wherein, the target input area is an input area in the first input area group. 9.根据权利要求8所述的装置,其特征在于,所述处理模块,具体用于:9. The device according to claim 8, characterized in that the processing module is specifically used for: 在所述基础功能依赖图中存在第一依赖边的情况下,去除所述基础功能依赖图中的所述第一依赖边,得到第一功能依赖图,所述第一依赖边连接的两个输入区域的距离大于第一预设距离;In the case where a first dependency edge exists in the basic function dependency graph, the first dependency edge in the basic function dependency graph is removed to obtain a first function dependency graph, in which the two first dependency edges connect The distance of the input area is greater than the first preset distance; 若第一输入区域与第二输入区域间的距离小于第二预设距离,则在所述第一功能依赖图中,增加第一输入区域与第三输入区域的第二依赖边,得到第二功能依赖图;If the distance between the first input area and the second input area is less than the second preset distance, then add a second dependency edge between the first input area and the third input area in the first function dependency graph to obtain a second Functional dependency graph; 基于所述第二功能依赖图,确定所述至少一个输入区域组;determining the at least one input region group based on the second functional dependency graph; 其中,所述第二输入区域与所述第三输入区域属于同一连通分量,所述第一输入区域为所述N个输入区域中不存在依赖边的输入区域,所述第二输入区域为所述第一功能依赖图中的每个连通分量中距离所述第一输入区域最近的输入区域,所述第三输入区域与所述第一输入区域具有功能依赖关系。Wherein, the second input area and the third input area belong to the same connected component, the first input area is an input area with no dependent edges among the N input areas, and the second input area is an input area with no dependent edges among the N input areas. The input region closest to the first input region in each connected component in the first functional dependency graph, and the third input region has a functional dependency relationship with the first input region. 10.根据权利要求8所述的装置,其特征在于,所述装置还包括:获取模块和确定模块;10. The device according to claim 8, characterized in that the device further comprises: an acquisition module and a determination module; 所述获取模块,用于所述确定模块基于所述显示模块显示的所述第一页面的操作序列和每个输入区域的功能描述信息,从所述N个输入区域,确定目标输入区域之前,获取所述第一页面中的第一区域内的页面元素信息,所述第一区域为距离所述N个输入区域预定范围内的区域;The acquisition module is used for the determination module to determine the target input area from the N input areas based on the operation sequence of the first page displayed by the display module and the function description information of each input area, Obtain page element information in a first area in the first page, where the first area is an area within a predetermined range from the N input areas; 所述确定模块,用于基于所述获取模块获取的所述页面元素信息,确定所述N个输入区域的功能描述信息。The determining module is configured to determine the function description information of the N input areas based on the page element information obtained by the obtaining module. 11.根据权利要求8或10所述的装置,其特征在于,所述处理模块,具体用于:11. The device according to claim 8 or 10, characterized in that the processing module is specifically used for: 基于所述操作序列和第一输入区域组的功能描述信息,确定第一输入区域组的置信度,得到M个置信度,M为正整数,所述置信度用于表征用户期望实现输入区域组的功能描述信息对应的功能的概率;Based on the operation sequence and the functional description information of the first input area group, the confidence level of the first input area group is determined, and M confidence levels are obtained, where M is a positive integer. The confidence level is used to characterize the user's desire to realize the input area group. The probability of the function corresponding to the function description information; 基于所述M个置信度,确定所述第一输入区域组。Based on the M confidence levels, the first input region group is determined. 12.根据权利要求11所述的装置,其特征在于,所述处理模块,具体用于:12. The device according to claim 11, characterized in that the processing module is specifically used for: 在所述M个置信度中的至少一个置信度大于或等于预定阈值的情况下,将所述置信度大于或等于预定阈值中的一个置信度对应的输入区域组,作为所述第一输入区域组;或者,In the case where at least one of the M confidence levels is greater than or equal to a predetermined threshold, the input area group corresponding to one of the confidence levels that is greater than or equal to the predetermined threshold is used as the first input area group; or, 在所述M个置信度均小于所述预设阈值的情况下,将第六输入区域的输入区域组,作为所述第一输入区域组,所述第六输入区域为距离最后一次操作行为最近的输入区域。When the M confidence levels are all less than the preset threshold, the input area group of the sixth input area is used as the first input area group, and the sixth input area is the closest to the last operation behavior. input area. 13.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6中任一项所述的输入界面显示方法的步骤。13. An electronic device, characterized in that it includes a processor, a memory and a program or instructions stored on the memory and executable on the processor. The program or instructions are implemented when executed by the processor. The steps of the input interface display method according to any one of claims 1 to 6. 14.一种可读存储介质,其特征在于,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任一项所述的输入界面显示方法的步骤。14. A readable storage medium, characterized in that a program or instructions are stored on the readable storage medium, and when the program or instructions are executed by a processor, the input according to any one of claims 1 to 6 is realized. The interface displays the steps of the method.
CN202311602743.1A 2023-11-27 2023-11-27 Input interface display method and device, electronic equipment and readable storage medium Pending CN117572991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311602743.1A CN117572991A (en) 2023-11-27 2023-11-27 Input interface display method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311602743.1A CN117572991A (en) 2023-11-27 2023-11-27 Input interface display method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117572991A true CN117572991A (en) 2024-02-20

Family

ID=89895251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311602743.1A Pending CN117572991A (en) 2023-11-27 2023-11-27 Input interface display method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117572991A (en)

Similar Documents

Publication Publication Date Title
CN106484266B (en) A text processing method and device
US9189152B2 (en) Touch device and method for dynamically setting touch inactive area, and non-transitory recording medium
WO2021254251A1 (en) Input display method and apparatus, and electronic device
CN107368205B (en) Handwriting input method and mobile terminal
CN107179838B (en) Method for displaying candidate words and mobile terminal
WO2023061276A1 (en) Data recommendation method and apparatus, electronic device, and storage medium
CN116893770A (en) Screenshot method, device, electronic device and readable storage medium
CN117270719A (en) Interface display method, device, electronic equipment and readable storage medium
CN117111811A (en) Screenshot method and device, electronic equipment and readable storage medium
CN117572991A (en) Input interface display method and device, electronic equipment and readable storage medium
CN115982017A (en) Page detection method, device, electronic device and storage medium
CN116187341A (en) Semantic recognition method and device thereof
CN111694477B (en) Label processing method and device and electronic equipment
CN112286613A (en) Interface display method and interface display device
CN113359998B (en) Information query method and device
CN112732464B (en) Pasting method, device and electronic equipment
CN115291791B (en) Text recognition method, device, electronic device and storage medium
CN117555639A (en) Desktop assembly processing method, device and electronic equipment
CN117193901A (en) Information processing method and device and electronic equipment
CN119025006A (en) Search method, device, electronic device and readable storage medium
CN116384423A (en) Two-dimensional code recognition method and device
CN114115636A (en) Icon switching method, device, equipment and medium
CN116107449A (en) Control method and electronic equipment
CN120653175A (en) Popup view control method, device, equipment and storage medium
CN115718550A (en) Unread message identifier elimination method and device

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载