CN111813285A - Floating window management method, device, electronic device and readable storage medium - Google Patents
Floating window management method, device, electronic device and readable storage medium Download PDFInfo
- Publication number
- CN111813285A CN111813285A CN202010582023.3A CN202010582023A CN111813285A CN 111813285 A CN111813285 A CN 111813285A CN 202010582023 A CN202010582023 A CN 202010582023A CN 111813285 A CN111813285 A CN 111813285A
- Authority
- CN
- China
- Prior art keywords
- target
- electronic device
- floating window
- target area
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0485—Scrolling or panning
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请公开了一种悬浮窗管理方法、装置、电子设备和可读存储介质,属于通信技术领域。电子设备接收用户对电子设备的显示屏的第一输入,响应于第一输入,确定显示屏中的目标区域,获取在目标区域中显示的对象的对象信息,根据对象信息,显示与目标区域对应的悬浮窗。悬浮窗中的菜单项与用户所关注区域中的对象关联,并且悬浮窗中的菜单项可以根据用户所关注区域中对象的变化而变化,方便用户执行与用户所关注区域中的对象有关的操作,可以提高用户操作的灵活性。
The present application discloses a floating window management method, device, electronic device and readable storage medium, which belong to the technical field of communication. The electronic device receives a first input from the user on the display screen of the electronic device, determines a target area in the display screen in response to the first input, acquires object information of an object displayed in the target area, and displays a display corresponding to the target area according to the object information floating window. The menu items in the floating window are associated with the objects in the area that the user pays attention to, and the menu items in the floating window can change according to the changes of the objects in the area that the user pays attention to, which is convenient for the user to perform operations related to the objects in the area that the user pays attention to. , which can improve the flexibility of user operation.
Description
技术领域technical field
本申请属于通信技术领域,具体涉及一种悬浮窗管理方法、装置、电子设备和可读存储介质。The present application belongs to the field of communication technologies, and in particular relates to a floating window management method, device, electronic device and readable storage medium.
背景技术Background technique
目前,大多数电子设备中都集成有悬浮窗,可以通过悬浮窗在电子设备的显示屏中显示一定数量的菜单项,方便用户对电子设备进行操作。用户在使用电子设备的过程中,可以操作悬浮窗中的菜单项,通过悬浮窗中的菜单项灵活的操作电子设备。At present, most electronic devices are integrated with a floating window, and a certain number of menu items can be displayed on the display screen of the electronic device through the floating window, so as to facilitate the user to operate the electronic device. In the process of using the electronic device, the user can operate the menu items in the floating window, and flexibly operate the electronic device through the menu items in the floating window.
在实现本申请的过程中,发明人发现现有技术中至少存在如下问题:显示屏中的不同区域显示有不同的信息,用户关注的区域不同时,所需进行的操作也不同,而目前用户在使用电子设备时,停留在电子设备显示屏中的某个位置时,该悬浮窗中显示的菜单项都是固定菜单项,该固定菜单项仅能为用户提供固定菜单项对应的功能操作,不方便用户执行除固定菜单项之外的其他功能操作。In the process of realizing the present application, the inventor found that there are at least the following problems in the prior art: different areas of the display screen display different information, and when the area that the user pays attention to is different, the required operations are also different. When using an electronic device, when staying at a certain position on the display screen of the electronic device, the menu items displayed in the floating window are all fixed menu items, and the fixed menu items can only provide the user with the function operations corresponding to the fixed menu items. It is inconvenient for users to perform other functional operations other than fixed menu items.
申请内容Application content
本申请实施例的目的是提供一种悬浮窗管理方法、装置、电子设备和可读存储介质,能够解决悬浮窗中显示的菜单项都固定,不方便用户执行除固定菜单项之外的其他功能操作的问题。The purpose of the embodiments of the present application is to provide a floating window management method, device, electronic device, and readable storage medium, which can solve the problem that the menu items displayed in the floating window are all fixed, and it is inconvenient for users to perform functions other than fixed menu items. operational problems.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种悬浮窗管理方法,该方法包括:In a first aspect, an embodiment of the present application provides a method for managing a floating window, the method comprising:
接收用户对电子设备的显示屏的第一输入;receiving a first input from the user on the display screen of the electronic device;
响应于所述第一输入,确定显示屏中的目标区域;in response to the first input, determining a target area in the display screen;
获取在所述目标区域中显示的对象的对象信息;obtaining object information of the object displayed in the target area;
根据所述对象信息,显示与所述目标区域对应的悬浮窗;其中,所述悬浮窗包括与所述对象对应的菜单项。According to the object information, a floating window corresponding to the target area is displayed; wherein, the floating window includes a menu item corresponding to the object.
第二方面,本申请实施例提供了一种悬浮窗管理装置,该装置包括:In a second aspect, an embodiment of the present application provides a floating window management device, the device comprising:
接收模块,用于接收用户对电子设备的显示屏的第一输入;a receiving module, configured to receive a user's first input on the display screen of the electronic device;
响应模块,用于响应于所述第一输入,确定显示屏中的目标区域;a response module for determining a target area in the display screen in response to the first input;
获取模块,用于获取在所述目标区域中显示的对象的对象信息;an acquisition module for acquiring the object information of the object displayed in the target area;
显示模块,用于根据所述对象信息,显示与所述目标区域对应的悬浮窗;其中,所述悬浮窗包括与所述对象对应的菜单项。A display module, configured to display a floating window corresponding to the target area according to the object information; wherein the floating window includes a menu item corresponding to the object.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,电子设备接收用户对电子设备的显示屏的第一输入,响应于第一输入,确定显示屏中的目标区域,获取在目标区域中显示的对象的对象信息,根据对象信息,显示与目标区域对应的悬浮窗,悬浮窗包括与对象对应的菜单项。悬浮窗中的菜单项与用户所关注区域中的对象关联,并且悬浮窗中的菜单项可以根据用户所关注区域中对象的变化而变化,方便用户执行与用户所关注区域中的对象有关的操作,提高用户操作的灵活性。In the embodiment of the present application, the electronic device receives a first input from the user on the display screen of the electronic device, determines a target area in the display screen in response to the first input, acquires object information of the object displayed in the target area, and determines the target area according to the object information, display a floating window corresponding to the target area, and the floating window includes menu items corresponding to the object. The menu items in the floating window are associated with the objects in the area that the user pays attention to, and the menu items in the floating window can change according to the changes of the objects in the area that the user pays attention to, which is convenient for the user to perform operations related to the objects in the area that the user pays attention to. , to improve the flexibility of user operation.
附图说明Description of drawings
图1是本申请实施例提供的一种悬浮窗管理方法的步骤流程图;1 is a flowchart of steps of a method for managing a floating window provided by an embodiment of the present application;
图2是本申请实施例提供的一种显示屏的桌面示意图;Fig. 2 is a desktop schematic diagram of a display screen provided by an embodiment of the present application;
图3是本申请实施例提供的另一种悬浮窗管理方法的步骤流程图;3 is a flowchart of steps of another floating window management method provided by an embodiment of the present application;
图4是本申请实施例提供的一种应用程序界面的示意图;4 is a schematic diagram of an application program interface provided by an embodiment of the present application;
图5是本申请实施例提供的另一种应用程序界面的示意图;5 is a schematic diagram of another application program interface provided by an embodiment of the present application;
图6是本申请实施例提供的又一种应用程序界面的示意图;6 is a schematic diagram of another application program interface provided by an embodiment of the present application;
图7是本申请实施例提供的又一种应用程序界面的示意图;7 is a schematic diagram of another application program interface provided by an embodiment of the present application;
图8是本申请实施例提供的一种悬浮窗管理装置的结构框图;8 is a structural block diagram of a floating window management device provided by an embodiment of the present application;
图9是本申请实施例提供的另一种悬浮窗管理装置的结构框图;9 is a structural block diagram of another floating window management device provided by an embodiment of the present application;
图10是本申请实施例提供的一种电子设备的结构框图;10 is a structural block diagram of an electronic device provided by an embodiment of the present application;
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely 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, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的悬浮窗管理方法进行详细地说明。The floating window management method 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 thereof.
参照图1,图1是本申请实施例提供的一种悬浮窗管理方法的步骤流程图,该方法应用于电子设备,可以包括:Referring to FIG. 1, FIG. 1 is a flowchart of steps of a floating window management method provided by an embodiment of the present application. The method is applied to an electronic device and may include:
步骤101、接收用户对电子设备的显示屏的第一输入。Step 101: Receive a first input from the user on the display screen of the electronic device.
其中,电子设备例如可以是手机、平板电脑和可穿戴设备等具有显示屏的电子设备。The electronic device may be, for example, an electronic device with a display screen such as a mobile phone, a tablet computer, and a wearable device.
本实施例中,电子设备可以接收用户在显示屏上执行的第一输入。示例的,第一输入可以是沿顺时针或逆时针方向在显示屏中的滑动操作,如图2所示,图2是本申请实施例提供的一种显示屏的桌面示意图,用户可以从显示屏中的A位置开始沿顺时针方向滑动至B位置,电子设备可以接收用户的滑动操作,确滑动操作对应的操作轨迹。第一输入的具体形式可以根据需求设置。In this embodiment, the electronic device may receive the first input performed by the user on the display screen. Exemplarily, the first input may be a sliding operation on the display screen in a clockwise or counterclockwise direction, as shown in FIG. 2 , which is a schematic desktop diagram of a display screen provided by an embodiment of the present application. Position A on the screen starts to slide clockwise to position B, and the electronic device can receive the user's sliding operation and determine the corresponding operation trajectory of the sliding operation. The specific form of the first input can be set according to requirements.
步骤102、响应于第一输入,确定显示屏中的目标区域。
本实施例中,电子设备可以响应于第一输入,确定显示屏中的目标区域。In this embodiment, the electronic device may determine the target area in the display screen in response to the first input.
结合步骤101,电子设备可以响应于用户从显示屏中的A位置开始沿顺时针方向滑动至B位置的滑动操作,根据滑动操作的轨迹,确定滑动操作对应的目标区域201,即圆形区域。其中,滑动操作的轨迹可以是规则或者不规则圆形或椭圆形,也可以三角形、四边形和五边形等多边形,本实施例对此不做限制。In combination with
本实施例中,电子设备可以在滑动操作的轨迹闭合时,确定滑动操作对应的目标区域,如电子设备可以在A位置与B位置重合时,确定滑动操作对应的目标区域。或者,电子设备可以在A位置与B位置之间的距离小于等于预设值(例如2毫米)时确定滑动操作对应的目标区域。又或者,电子设备可以在滑动操作的轨迹为预设形状(例如矩形)时,确定滑动操作对应的目标区域。电子设备在滑动操作的轨迹闭合,或者滑动操作的轨迹为预设形状时确定显示屏中的目标区域,可以防止用户误操作后确定目标区域,降低电子设备的功耗。In this embodiment, the electronic device may determine the target area corresponding to the sliding operation when the trajectory of the sliding operation is closed. For example, the electronic device may determine the target area corresponding to the sliding operation when the position A and the position B overlap. Alternatively, the electronic device may determine the target area corresponding to the sliding operation when the distance between the A position and the B position is less than or equal to a preset value (for example, 2 mm). Alternatively, the electronic device may determine the target area corresponding to the sliding operation when the trajectory of the sliding operation is a preset shape (eg, a rectangle). The electronic device determines the target area in the display screen when the trajectory of the sliding operation is closed or the trajectory of the sliding operation is a preset shape, which can prevent the user from determining the target area after misoperation and reduce the power consumption of the electronic device.
步骤103、获取在目标区域中显示的对象的对象信息。Step 103: Acquire object information of the object displayed in the target area.
本实施例中,对象为目标区域中显示的图像、应用程序(APP,Application)图标、控件和文字等对象。电子设备在确定显示屏中的目标区域之后,可以对目标区域中的对象进行识别,以确定目标区域中对象的对象信息。In this embodiment, the objects are objects such as images, application program (APP, Application) icons, controls, and text displayed in the target area. After determining the target area in the display screen, the electronic device may identify the objects in the target area to determine object information of the objects in the target area.
示例的,电子设备在确定显示屏中的目标区域之后,可以执行截屏操作,以获取目标区域对应的图像,然后将图像输入预先训练得到的图像识别模型,得到图像识别模型输出的对象信息。如图1所示,目标区域201内包括拨号APP的第一图标202和交友APP的第二图标203(目标区域中的对象),在获取到目标区域201对应的图像之后,电子设备可以通过图像识别模型对目标区域201对应的图像进行识别,得到图像识别模型输出的对象信息,如“拨号APP图标”和“交友APP图标”。其中,电子设备获取目标区域对应的图像的过程,以及图像识别模型的训练和使用方法可参考现有技术,本实施例对此不做赘述。For example, after determining the target area on the display screen, the electronic device may perform a screenshot operation to obtain an image corresponding to the target area, and then input the image into a pre-trained image recognition model to obtain object information output by the image recognition model. As shown in FIG. 1 , the
需要说明的是,以上仅为示例性举例,电子设备获取对象信息的过程可以包括但不限于使用图像识别模型的方法。It should be noted that the above is only an exemplary example, and the process of acquiring object information by the electronic device may include, but is not limited to, a method using an image recognition model.
步骤104、根据对象信息,显示与目标区域对应的悬浮窗。Step 104: Display a floating window corresponding to the target area according to the object information.
其中,悬浮窗包括与对象对应的菜单项。The floating window includes menu items corresponding to the objects.
本实施例中,电子设备在获取到目标区域中对象的对象信息之后,可以根据对象信息显示悬浮窗,悬浮窗中包括与目标区域中的对象对应的菜单项。In this embodiment, after acquiring the object information of the objects in the target area, the electronic device may display a floating window according to the object information, and the floating window includes menu items corresponding to the objects in the target area.
示例的,如图2所示,电子设备在通过图像识别模型确定拨号APP的第一图标202的对象信息为“拨号APP图标”之后,根据对象信息“拨号APP图标”可以确定用户可能需要打开拨号APP。若拨号APP中包括的应用程序界面有拨号界面和通讯录界面,电子设备可以根据对象信息“拨号APP图标”,在电子设备中已经安装的所有应用程序中确定拨号APP,并确定拨号APP中的拨号界面,生成与拨号APP对应的菜单项301(菜单项例如为按钮),并建立菜单项301与拨号界面的调用关系。当用户点击菜单项301时,电子设备可以响应于用户的点击操作,打开拨号界面。同理,可以建立与交友APP对应的菜单项302,菜单项302用于打开交友APP中的聊天界面。For example, as shown in FIG. 2 , after the electronic device determines that the object information of the
电子设备在生成菜单项之后,可以显示包括菜单项的悬浮窗。如图2所示,电子设备在生成菜单项301和菜单项302之后,可以在靠近目标区域201的位置处显示包括菜单项301和菜单项302的悬浮窗300。用户可以操作悬浮窗300中的菜单项301,快速进入拨号界面,操作悬浮窗300中的菜单项302,快速进入聊天界面。其中,悬浮窗可以显示在靠近目标区域的位置,也可以直接显示在目标区域之上,悬浮窗的显示位置可以根据需求设置,本实施例对此不做限制。After generating the menu items, the electronic device may display a floating window including the menu items. As shown in FIG. 2 , after generating the
需要说明的是,目标区域中可能存在一个或多个对象,电子设备可以针对每个对象分别生成一个或多个菜单项,也可以只针对其中的部分对象生成一个或多个菜单项。It should be noted that there may be one or more objects in the target area, and the electronic device may generate one or more menu items for each object, or only generate one or more menu items for some of the objects.
综上所述,本实施例中,电子设备接收用户对电子设备的显示屏的第一输入,响应于第一输入,确定显示屏中的目标区域,获取在目标区域中显示的对象的对象信息,根据对象信息,显示与目标区域对应的悬浮窗。悬浮窗中的菜单项与用户所关注区域中的对象关联,并且悬浮窗中的菜单项可以根据用户所关注区域中对象的变化而变化,方便用户执行与用户所关注区域中的对象有关的操作,提高用户操作的灵活性。To sum up, in this embodiment, the electronic device receives the user's first input on the display screen of the electronic device, determines the target area in the display screen in response to the first input, and obtains object information of the object displayed in the target area , and display the floating window corresponding to the target area according to the object information. The menu items in the floating window are associated with the objects in the area that the user pays attention to, and the menu items in the floating window can change according to the changes of the objects in the area that the user pays attention to, which is convenient for the user to perform operations related to the objects in the area that the user pays attention to. , to improve the flexibility of user operation.
参照图3,图3是本申请实施例提供的另一种悬浮窗管理方法的步骤流程图,该方法应用于电子设备,可以包括:Referring to FIG. 3, FIG. 3 is a flowchart of steps of another floating window management method provided by an embodiment of the present application. The method is applied to an electronic device and may include:
步骤301、接收用户对显示屏上显示的应用程序界面的第一输入。Step 301: Receive a first input from the user on the application program interface displayed on the display screen.
步骤302、响应于第一输入,确定显示屏中的目标区域。
其中,应用程序界面例如拨号APP的拨号界面,或者交友APP的聊天界面。The application program interface is, for example, a dialing interface of a dialing APP, or a chatting interface of a dating APP.
本实施例中,第一输入可以作用于应用程序界面,电子设备可以接收用户对应用程序界面的第一输入,响应于第一输入,确定显示屏中的目标区域,也即应用程序界面中的目标区域。应用程序界面内的不同区域存在的对象不同。当电子设备在应用程序界面中的不同区域接收到第一输入之后,可以响应于第一输入,获取得到不同的对象信息,进而生成对应的菜单项。In this embodiment, the first input may act on the application program interface, and the electronic device may receive the user's first input on the application program interface, and in response to the first input, determine the target area in the display screen, that is, the target area in the application program interface. target area. Objects exist in different areas within the application interface. After the electronic device receives the first input in different areas of the application program interface, it can obtain different object information in response to the first input, and then generate corresponding menu items.
可选的,目标区域可以为多个。也即电子设备可以响应于用户的第一输入,确定多个目标区域。Optionally, there can be multiple target areas. That is, the electronic device may determine a plurality of target areas in response to the user's first input.
示例的,如图4所示,图4是本申请实施例提供的一种应用程序界面的示意图,结合步骤101,第一输入可以是连续多次的滑动操作,用户可以在应用程序界面中连续执行多次滑动操作。电子设备可以响应用户连续执行的多次滑动操作,确定每次滑动操作分别对应的目标区域。即如图4所示的第一目标区域401、第二目标区域402和第三目标区域403。实际应用中,电子设备可以在用户执行多次滑动操作之后,一次性确定每次滑动操作分别对应的目标区域,也可以在用户每次执行滑动操作时,确定本次滑动操作对应的目标区域。4 is a schematic diagram of an application program interface provided by an embodiment of the present application, in conjunction with
可选的,电子设备在确定显示屏中的目标区域之后,可以显示与目标区域对应的轮廓线,以方便用户识别目标区域。如图2所示,电子设备可以响应于用户的滑动操作,确定滑动操作的轨迹,并显示与滑动操作轨迹对应的轮廓线2011,以方便用户根据轮廓线2011识别目标区域201。其中,轮廓线例如可以是粗实线或细实线,本实施例对轮廓线的具体形式不做限定。Optionally, after determining the target area in the display screen, the electronic device may display a contour line corresponding to the target area, so as to facilitate the user to identify the target area. As shown in FIG. 2 , the electronic device may determine the trajectory of the sliding operation in response to the user's sliding operation, and display a
步骤303、获取在目标区域中显示的对象的对象信息。Step 303: Acquire object information of the object displayed in the target area.
本实施例中,当目标区域为多个时,电子设备可以分别获取每个目标区域中对象的对象信息。In this embodiment, when there are multiple target areas, the electronic device may separately acquire object information of objects in each target area.
示例的,如图4所示,电子设备响应于第一输入,确定第一目标区域401、第二目标区域402和第三目标区域403之后,电子设备可以分别对第一目标区域401、第二目标区域402和第三目标区域403执行截屏操作,得到第一目标区域401、第二目标区域402和第三目标区域403分别对应的图像,将第一目标区域401、第二目标区域402和第三目标区域403分别对应的图像依次输入图像识别模型,得到图像识别模型分别输出的第一目标区域401中对象的对象信息、第二目标区域402中对象的对象信息和第三目标区域403中对象的对象信息。For example, as shown in FIG. 4 , after the electronic device determines the
步骤304、根据对象信息,确定用户的目标操作,并从电子设备中确定与目标操作有关的目标应用程序。Step 304: Determine the target operation of the user according to the object information, and determine the target application program related to the target operation from the electronic device.
其中,目标操作为用户可能要进行的用户操作。用户操作例如点击应用程序界面中的某个控件,以打开应用程序中的某个界面的操作;或者用户点击电子设备的桌面中的某个应用程序图标,打开某个应用程序的操作;或者用户在某个应用程序的应用程序界面中输入关键词,进行检索的操作。电子设备可以根据对象信息,对用户操作进行预测,得到与目标区域中的对象对应的目标操作。The target operation is a user operation that the user may want to perform. User operation such as clicking a control in the application interface to open an interface in the application; or the user clicking an application icon on the desktop of the electronic device to open an application; or the user Enter keywords in the application program interface of an application to perform retrieval operations. The electronic device can predict the user operation according to the object information, and obtain the target operation corresponding to the object in the target area.
需要说明的是,当目标区域为多个时,电子设备可以分别根据每个目标区域中对象的对象信息,确定每个目标区域分别对应的目标操作。如图4所示,电子设备可以根据第一目标区域401中对象的对象信息,确定第一目标区域401对应的目标操作,同理可以根据第二目标区域402中对象的对象信息,确定第二目标区域402对应的目标操作,以及根据第三目标区域403中对象的对象信息,确定第三目标区域403对应的目标操作。电子设备可以同步确定每个目标区域分别对应的目标操作,也可以分步确定每个目标区域对应的目标操作,本实施例对此不做限制。It should be noted that, when there are multiple target areas, the electronic device may determine the target operation corresponding to each target area according to the object information of the objects in each target area. As shown in FIG. 4 , the electronic device can determine the target operation corresponding to the
本实施例中,电子设备可以直接根据对象信息确定目标操作,以及与目标操作有关的目标应用程序,也可以在确定目标操作之后,根据目标操作从电子设备中确定与目标操作有关的目标应用程序。In this embodiment, the electronic device can directly determine the target operation and the target application related to the target operation according to the object information, or can determine the target application related to the target operation from the electronic device according to the target operation after the target operation is determined. .
示例的,如图4所示,电子设备的显示屏中当前显示的应用程序界面为购物APP中的一个应用程序界面。第一目标区域401中包括的对象为应用程序界面中的搜索框控件4011和关键词4012。电子设备在确定第一目标区域401之后,通过图像识别模型可以确定第一目标区域401中对象(搜索框)的对象信息为“搜索框”。电子设备在得到对象信息“搜索框”之后,根据“搜索框”,通过预设的推荐算法或推荐模型可以确定用户可能要进行的目标操作是执行与搜索相关的操作,如打开当前应用程序中的搜索历史,或者使用粘贴板,将粘贴板中的内容复制到搜索框内。For example, as shown in FIG. 4 , the application program interface currently displayed on the display screen of the electronic device is an application program interface in a shopping APP. The objects included in the
再例如,第二目标区域402中包括的对象为外卖APP图标4021。电子设备在确定第二目标区域402之后,通过图像识别模型可以确定第二目标区域402中的外卖APP图标4021的对象信息为“外卖APP图标”。电子设备在得到对象信息“外卖APP图标”之后,根据“外卖APP图标”,通过预设的推荐算法或推荐模型可以确定用户可能要进行的目标操作是打开外卖APP,下单购买外卖。同时,根据第二目标区域402中的外卖APP图标,可以确定目标操作对应的目标应用程序为电子设备中安装的外卖APP。For another example, the object included in the
需要说明的是,为便于理解,本实施例中对象信息与对象的表述相同,实际应用中,对象信息也可以为其他类型的表征对象特征的信息,本实施例对此不做限制。It should be noted that, for ease of understanding, the object information in this embodiment is the same as the description of the object. In practical applications, the object information may also be other types of information representing the characteristics of the object, which is not limited in this embodiment.
可选的,步骤304可以通过如下方式实现:Optionally,
根据应用程序界面对应的应用程序的类型和用户的用户画像中的至少一种、以及对象信息,确定目标操作,并从电子设备中确定与目标操作有关的目标应用程序。The target operation is determined according to at least one of the type of the application program corresponding to the application program interface, the user's user portrait, and the object information, and the target application program related to the target operation is determined from the electronic device.
其中,应用程序的类型例如可以为根据应用程序的功能,预先对电子设备中安装的应用程序进行分类后,确定的应用程序的类型。例如,APP1的类型为“交友类APP”,APP2的类型为“购物类APP”,APP3的类型为“图像处理类APP”。电子设备可以预先确定并存储电子设备中安装的每个应用程序的类型信息。实际应用中,也可以通过应用程序的其他特征对应用程序进行分类,本实施例对此不做限制。The type of the application program may be, for example, the type of the application program determined after classifying the application programs installed in the electronic device in advance according to the function of the application program. For example, the type of APP1 is "friend-making APP", the type of APP2 is "shopping APP", and the type of APP3 is "image processing APP". The electronic device may predetermine and store type information of each application program installed in the electronic device. In practical applications, the application programs may also be classified according to other features of the application programs, which are not limited in this embodiment.
用户画像为能够描述用户的各种特征、喜好、习惯的数据。例如,用户的用户画像可以包括用户的年龄、性别、收入状况、爱好、工作类别、健身习惯等用于描述用户特征的数据信息。其中,电子设备可以预先从服务器获取并存储用户的用户画像,当然本领域中已知的以及将来可能出现的任何获取用户画像的方法都可以应用于本申请,本申请对获取用户画像的具体方式不限定。User portraits are data that can describe various characteristics, preferences, and habits of users. For example, the user's user profile may include the user's age, gender, income status, hobbies, work category, fitness habits, and other data information used to describe the user's characteristics. Among them, the electronic device can obtain and store the user's user portrait from the server in advance. Of course, any method known in the art and any method for obtaining the user's portrait that may appear in the future can be applied to this application. Not limited.
示例的,电子设备可以根据对象信息和应用程序类型,确定目标操作。如图4所示,第三目标区域403中包括的对象为杯子4031的图片和价格。电子设备在确定第三目标区域403之后,通过图像识别模型可以确定第三目标区域403中的对象(杯子)的对象信息为“杯子”和“价格”。同时,电子设备可以确定预先存储的购物APP的类型信息为“购物类APP”。电子设备在得到对象信息“杯子”和“价格”,并确定应用程序的类型“购物类APP”之后,根据“杯子”、“价格”和“购物类APP”,通过预设的推荐算法或推荐模型可以确定用户可能要进行的目标操作是在去购物APP中搜索杯子的用户操作。此时,根据目标操作“去购物APP中搜索杯子”,可以确定电子设备中是否安装有另一个购物APPX(目标应用程序),将电子设备中安装的购物APPX作为目标应用程序。For example, the electronic device may determine the target operation according to the object information and the application type. As shown in FIG. 4 , the objects included in the
示例的,电子设备可以根据对象信息和用户的用户画像,确定目标操作。如图5所示,图5是本申请实施例提供的另一种应用程序界面的示意图,电子设备的显示屏中当前显示的应用程序界面为图像处理APP(例如相册)中的一个应用程序界面。电子设备响应于用户的第一输入,确定目标区域501,目标区域501中包括的对象为用户脸部的口红5012。电子设备在确定目标区域501之后,通过图像识别模型可以确定目标区域501中的对象(口红5012)的对象信息为“口红”。同时,电子设备可以确定预先获取的用户画像为“女性”。电子设备在确定对象信息“口红”和用户画像“女性”之后,根据“口红”和“女性”,通过预设的推荐算法或推荐模型可以确定用户可能要进行的目标操作是去购物APP中搜索口红的用户操作,以及在交友类APP中打开分享界面,分享图片的用户操作。此时,根据目标操作,可以从电子设备安装的应用程序中确定与搜索口红对应的目标应用程序(购物类APP),以及从电子设备安装的应用程序中确定与分享图片对应的目标应用程序(交友类APP)。For example, the electronic device may determine the target operation according to the object information and the user's profile. As shown in FIG. 5 , FIG. 5 is a schematic diagram of another application program interface provided by an embodiment of the present application. The application program interface currently displayed on the display screen of the electronic device is an application program interface in an image processing APP (such as a photo album). . The electronic device determines a
示例的,电子设备可以根据对象信息、应用程序的类型和用户的用户画像,确定目标操作。如图6所示,图6是本申请实施例提供的又一种应用程序界面的示意图,电子设备的显示屏中当前显示的应用程序界面为交友APP中的一个应用程序界面。电子设备响应于用户的第一输入,确定目标区域601,目标区域601中包括的对象为表情包6012。电子设备在确定目标区域601之后,通过图像识别模型可以确定目标区域601中的对象(表情包6012)的对象信息为“表情包”。同时,电子设备可以确定预先获取的用户画像为“乐观”和“表情达人”,并确定应用程序的类型信息为“交友类APP”。电子设备在确定对象信息“表情包”和用户画像为“乐观”和“表情达人”,以及应用程序的类型信息“交友类APP”之后,根据“表情包”、“乐观”、“表情达人”和“交友类APP”,通过预设的推荐算法或推荐模型可以确定用户可能要进行的目标操作是点击表情包以收藏表情包,或者在交友APP的聊天界面中的发送窗口选择并发送表情包的用户操作。在确定目标操作为发送表情包之后,可以从电子设备安装的应用程序中确定交友APP,将交友APP作为与发送表情包有关的目标应用程序。For example, the electronic device may determine the target operation according to the object information, the type of the application and the user profile of the user. As shown in FIG. 6 , FIG. 6 is a schematic diagram of another application program interface provided by an embodiment of the present application. The application program interface currently displayed on the display screen of the electronic device is an application program interface in a dating APP. The electronic device determines the
需要说明的是,以上仅为示例性举例,根据对象信息确定目标操作的方法不限于推荐模型和推荐算法,本领域中已知的以及将来可能出现的任何根据对象信息确定目标操作的方法都可以应用于本申请,本申请对确定目标操作的具体方式方面不限定。其中,推荐算法例如基于内容的推荐(Content-based Recommendation)算法、基于协同过滤的推荐算法(Collaborative Filtering Recommendation)和基于关联规则的推荐算法(Association Rule-based Recommendation)中的任意一种。推荐模型的训练和使用方法,可参考现有技术中,本实施对此不做赘述。It should be noted that the above are only exemplary examples, and the method of determining the target operation according to the object information is not limited to the recommendation model and the recommendation algorithm. Applicable to the present application, the present application does not limit the specific manner of determining the target operation. The recommendation algorithm is, for example, any one of a content-based recommendation algorithm, a collaborative filtering-based recommendation algorithm (Collaborative Filtering Recommendation), and an association rule-based recommendation algorithm (Association Rule-based Recommendation). For the training and use methods of the recommendation model, reference may be made to the prior art, which will not be repeated in this implementation.
实际应用中,根据应用程序的类型和用户的用户画像中的至少一种、以及对象信息,预测得到目标操作,可以得到更加符合用户的目标操作,进而显示更加准确的菜单项,提高电子设备的准确性。In practical applications, the target operation can be predicted according to at least one of the type of the application program, the user's user portrait, and the object information, and the target operation that is more in line with the user can be obtained. accuracy.
步骤305、根据目标操作和目标应用程序,显示与目标区域对应的悬浮窗。Step 305: Display a floating window corresponding to the target area according to the target operation and the target application.
本实施例中,在确定目标操作,以及与目标操作有关的目标应用程序之后,可以根据目标操作和目标应用程序,生与目标操作对应的菜单项,从而显示与目标区域对应的悬浮窗。In this embodiment, after the target operation and the target application related to the target operation are determined, menu items corresponding to the target operation can be generated according to the target operation and the target application, thereby displaying a floating window corresponding to the target area.
示例的,若确定目标操作为打开当前运行的应用程序(目标应用程序)中的搜索历史和使用粘贴板,电子设备可以从当前运行的应用程序中确定与搜索历史对应的组件,以及与粘贴板对应的组件,可以根据目标操作(打开搜索历史)中的关键词(搜索历史)生成如图4所示的菜单项4013,并建立菜单项4013与搜索历史对应的组件之间的调用关系,以及根据目标操作(打开粘贴板)中的关键词信息(粘贴板)可以生成如图4所示的菜单项4014,并建立菜单项4014与粘贴板对应的组件之间的调用关系。电子设备可以响应用户点击菜单项4013的操作,打开搜索历史,以及响应用户点击菜单项4014的操作,打开粘贴板。For example, if it is determined that the target operation is to open the search history in the currently running application (target application) and use the pasteboard, the electronic device can determine the components corresponding to the search history and the pasteboard from the currently running application. The corresponding component can generate the
结合步骤303,若确定目标操作为打开外卖APP,下单购买外卖,若电子设备确定已经安装有外卖APPW(目标应用程序),则可以根据目标操作中的关键词信息“打开外卖APP”和目标应用程序的名称“APPW”生成如图4所示的菜单项4022,并建立菜单项4022与外卖APPW的调用关系。电子设备可以响应用户点击菜单项4022的操作,打开外卖APPW。相反的,若电子设备中未安装外卖类APPZ,此时电子设备可以确定与目标操作有关的目标应用程序为提供APP下载功能的下载APP,电子设备可以根据目标操作对应的关键词“下载”和外卖APPZ,建立如图5所示的菜单项4023,并建立菜单项4023与下载APP的调用关系,电子设备可以响应用户点击菜单项4023的操作,打开下载APP,下载外卖APPZ。Combined with
结合步骤303,若目标操作为去购物APP中搜索杯子的用户操作,并且确定电子设备安装有另一个购物APPX(即目标应用程序),则可以根据目标操作的关键词信息“搜索”和另一个购物APPX的名称“APPX”生成如图4所示的菜单项与4032,并建立菜单项与4032与另一个购物APPX的调用关系,电子设备可以响应用户点击菜单项4032的操作,打开另一个购物APPX。Combined with
结合步骤303,若目标操作为去购物APP中搜索口红的用户操作,以及在交友类APP中打开分享界面,分享图片的操作,并确定与搜索口红对应的目标应用程序(购物类APP),以及确定与分享图片对应的目标应用程序(交友类APP),则根据目标操作的关键词信息“搜索”和“口红”,以及目标应用程序的名称,生成如图5所示的菜单项与5013和菜单项5014Combined with
实际应用中,若目标操作为打开某个应用程序中的应用程序界面,电子设备在生成菜单项的过程中,可以直接建立菜单项与应用程序界面的调用关系。如图6所示,若目标操作为在交友类APP的聊天界面的发送窗口选择并发送表情包的用户操作,则电子设备可以生成如图6所示的菜单项6013,电子设备可以响应用户点击菜单项6013的操作,打开聊天界面的发送窗口,发送表情包。以及在目标操作为点击收藏表情包的用户操作时,电子设备可以生成如图6所示的菜单项6014,电子设备可以响应用户点击菜单项6014的操作,打开收藏界面,收藏表情包。In practical applications, if the target operation is to open an application program interface in an application program, the electronic device can directly establish a calling relationship between the menu item and the application program interface in the process of generating the menu item. As shown in FIG. 6 , if the target operation is a user operation of selecting and sending an emoticon package in the sending window of the chat interface of the friend-making APP, the electronic device can generate a
需要说明的是,以上仅为示例性举例,实际应用中,电子设备可以根据不同的目标操作,确定对应的目标应用程序,根据不同的目标操作和目标应用程序生成不同的菜单项,从而显示包括不同菜单项的悬浮窗。It should be noted that the above is only an exemplary example. In practical applications, the electronic device can determine the corresponding target application according to different target operations, and generate different menu items according to different target operations and target applications, so as to display the contents including: Floating windows for different menu items.
本实施例中,在生成与目标区域对应的一个或多个菜单项之后,电子设备可以根据菜单项显示悬浮窗。如图4、图5和图6所示,电子设备可以分别显示每个目标区域分别对应的悬浮窗300。并且,当目标区域对应的菜单项为多个时,电子设备可以显示包括多个菜单项的悬浮窗,以在悬浮窗中依次显示多个菜单项。In this embodiment, after generating one or more menu items corresponding to the target area, the electronic device may display a floating window according to the menu items. As shown in FIG. 4 , FIG. 5 and FIG. 6 , the electronic device may display the floating
可选的,当目标区域中包括多个对象时,步骤305可以通过如下方式实现:Optionally, when the target area includes multiple objects,
确定多个对象中每个对象的优先级;determine the priority of each of the multiple objects;
根据目标操作、目标应用程序、以及每个对象的优先级的高低,显示与目标区域对应的悬浮窗;其中,每个对象对应的菜单项按每个对象的优先级高低,顺序显示在悬浮窗中;悬浮窗中的第一个菜单项对应的对象的优先级为所有优先级中的最高优先级。According to the target operation, the target application, and the priority of each object, the floating window corresponding to the target area is displayed; wherein, the menu items corresponding to each object are displayed in the floating window in order according to the priority of each object. ; the priority of the object corresponding to the first menu item in the floating window is the highest priority among all priorities.
本实施例中,当悬浮窗中包括多个对象时,电子设备首先可以确定每个对象的优先级,根据每个对象的优先级确定每个对象对应的菜单项在悬浮窗中的显示位置,在悬浮窗的显示过程中,菜单项按优先级高低从上至下依次排列,对象的优先级越高,对应的菜单项在悬浮窗中的位置越高。In this embodiment, when the floating window includes multiple objects, the electronic device can first determine the priority of each object, and determine the display position of the menu item corresponding to each object in the floating window according to the priority of each object, During the display process of the floating window, the menu items are arranged in order from top to bottom according to the priority level. The higher the priority of the object, the higher the position of the corresponding menu item in the floating window.
可选的,确定多个对象中的每个对象的优先级,可以包括:Optionally, determining the priority of each of the plurality of objects may include:
根据多个对象中的每个对象对应的面积占目标区域的面积的比例、多个对象中的每个对象的颜色信息、多个对象中的每个对象对应的权重、以及多个对象中的每个对象的热度信息中的至少一种,确定多个对象中的每个对象的优先级。According to the ratio of the area corresponding to each of the multiple objects to the area of the target area, the color information of each of the multiple objects, the weight corresponding to each of the multiple objects, and the At least one of the popularity information of each object determines the priority of each object in the plurality of objects.
示例的,如图4所示,第一目标区域中的对象包括搜索框控件4011和关键词4012,电子设备在采用图像识别模型确定对象时,同时可以确定搜索框控件4011和关键词4012分别占第一目标区域401的面积的比例,搜索框控件4011占第一目标区域401的面积的比例比关键词4012占第一目标区域401的面积的比例大,则确定搜索框控件4011的优先级高于关键词4012的优先级。在显示悬浮窗的过程中,搜索框控件4011对应的菜单项可以设置在关键词4012对应的菜单项的上方。For example, as shown in FIG. 4 , the objects in the first target area include a
再例如,在确定搜索框控件4011和关键词4012之后,电子设备可分别获取搜索框控件4011和关键词4012的颜色信息(颜色信息例如色相、亮度和饱和度),确定亮度高的搜索框控件4011比亮度低的关键词4012的优先级高。For another example, after determining the
再例如,电子设备在通过图像识别模型确定搜索框控件4011和关键词4012之时,可以同时确定搜索框控件4011的权重和关键词4012的权重,确定权重高的搜索框控件4011比权重低的关键词4012的优先级高。其中,权重表示图像识别模型确定的对象信息的概率。对权重的理解可参考现有技术,本实施例对此不做限制。For another example, when the electronic device determines the
再例如,如图4所示,第一目标区域中还可以包括其他关键词4015,电子设备可以根据关键词4012和关键词4015的热度信息,确定热度信息高的关键词4015的优先级高于热度信息低的关键词4012的优先级。其中,热度信息表示关键词的出现频率,对热度信息的理解可参考现有技术,本实施例对此不做限制。For another example, as shown in FIG. 4 , the first target area may also include
本实施例中,在显示悬浮窗的过程中,首先确定目标区域中每个对象的优先级,根据优先级确定每个对象对应的菜单项在悬浮窗中的位置,可以将用户关注度高的菜单项设置在悬浮窗中重要位置,可以提高悬浮窗的实用性,为用户提供更方便的菜单项选择。同时,根据目标区域中每个对象的面积大小、颜色信息、权重和热度信息中的至少一种,确定每个对象的优先级,可以更加准确的确定每个对象的优先级。In this embodiment, in the process of displaying the floating window, the priority of each object in the target area is firstly determined, and the position of the menu item corresponding to each object in the floating window is determined according to the priority, so that the objects with high user attention can be placed. The menu items are set at important positions in the floating window, which can improve the practicability of the floating window and provide users with more convenient menu item selection. At the same time, the priority of each object is determined according to at least one of the area size, color information, weight and heat information of each object in the target area, and the priority of each object can be determined more accurately.
需要说明的是,以上仅为示例性举例,确定每个对象优先级的方法可以包括但不限于通过每个对象对应的面积占目标区域的面积的比例、每个对象的颜色信息、每个对象对应的权重、以及每个对象的热度信息中的一种或多种确定对象的优先级。It should be noted that the above is only an exemplary example, and the method for determining the priority of each object may include, but is not limited to, the ratio of the area corresponding to each object to the area of the target area, the color information of each object, the One or more of the corresponding weight and the popularity information of each object determine the priority of the object.
综上所述,本实施例中,电子设备可以响应于用户对应用程序界面的第一输入,在应用程序界面中确定目标区域,根据目标区域中对象的对象信息,显示包括菜单项的悬浮窗。悬浮窗中的菜单项与用户所关注区域中的对象有关,可以根据用户所关注的区域内的对象,预测用户操作,生成对应的菜单项。由于应用程序界面中对象的种类较多,当用户所关注的区域位于应用程序界面时,根据应用程序界面中的对象可以生成数量较多的菜单项,通过悬浮窗可以为用户提供更多的操作,可以进一步提高用户操作的灵活性。同时,在生成菜单项的过程中,首先根据对象信息对用户操作进行预测,然后根据预测得到的目标操作生成菜单项,可以使电子设备能够提供符合用户当前需求的菜单项,在提高电子设备灵活性的同时,可以提高电子设备的实时性,满足用户的实时性需求。To sum up, in this embodiment, the electronic device may determine the target area in the application program interface in response to the user's first input to the application program interface, and display a floating window including menu items according to the object information of the objects in the target area . The menu items in the floating window are related to the objects in the area that the user pays attention to. According to the objects in the area that the user pays attention to, the user operation can be predicted to generate the corresponding menu items. Since there are many types of objects in the application program interface, when the area that the user pays attention to is located in the application program interface, a large number of menu items can be generated according to the objects in the application program interface, and more operations can be provided for the user through the floating window , which can further improve the flexibility of user operation. At the same time, in the process of generating menu items, the user operation is first predicted according to the object information, and then the menu items are generated according to the predicted target operation, which can enable the electronic device to provide menu items that meet the current needs of the user, and improve the flexibility of the electronic device. At the same time, it can improve the real-time performance of electronic equipment and meet the real-time requirements of users.
可选的,目标区域的数量为N个,N为大于1的整数;Optionally, the number of target areas is N, where N is an integer greater than 1;
相应的,根据对象信息,显示与目标区域对应的悬浮窗,可以包括:根据N个目标区域中对象的对象信息,显示与N个目标区域均对应的一个悬浮窗;Correspondingly, displaying a floating window corresponding to the target area according to the object information may include: displaying a floating window corresponding to each of the N target areas according to the object information of the objects in the N target areas;
或者,根据N个目标区域中每个目标区域中对象的对象信息,显示N个悬浮窗;其中,N个目标区域中的一个目标区域对应N个悬浮窗中的一个悬浮窗,N个目标区域中的每个目标区域对应的悬浮窗不同。Or, display N floating windows according to the object information of objects in each target area in the N target areas; wherein, one target area in the N target areas corresponds to one floating window in the N floating windows, and the N target areas The floating window corresponding to each target area in is different.
本实施例中,当目标区域的数量为多个时,电子设备可以获取所有目标区域中的对象的对象信息,根据所有对象的对象信息,显示包括每个对象分别对应的菜单项的一个悬浮窗。In this embodiment, when the number of target areas is multiple, the electronic device may acquire object information of objects in all target areas, and display a floating window including menu items corresponding to each object according to the object information of all objects .
示例的,如图7所示,图7是本申请实施例提供的又一种应用程序界面的示意图,电子设备在确定第一目标区域401、第二目标区域402和第三目标区域403之后,可以显示悬浮窗300。结合上述举例,悬浮窗300中包括第一目标区域401中的对象对应的菜单项,第二目标区域402中的对象对应的菜单项,以及第三目标区域303中的对象对应的菜单项。实际应用中,电子设备可以根据所有目标区域中的对象信息,显示一个总的悬浮窗,通过一个悬浮窗可以关联多个目标区域,可以方便用户确定更大的范围,从而可以通过一个悬浮窗可以为用户提供更多的操作选项。7 is a schematic diagram of another application program interface provided by an embodiment of the present application, after the electronic device determines the
本实施例中,当目标区域的数量为多个时,电子设备可以根据每个目标区域中对象的对象信息,显示每个目标区域分别对应的一个悬浮窗。具体显示每个目标区域分别对应的悬浮窗的过程可参考步骤301至步骤305,本实施例在此不做赘述。In this embodiment, when the number of target areas is multiple, the electronic device may display a floating window corresponding to each target area according to the object information of the objects in each target area. For the specific process of displaying the floating window corresponding to each target area, reference may be made to step 301 to step 305 , which will not be repeated in this embodiment.
可选的,电子设备可以在第一输入为第一预设输入的情况下,根据多个目标区域中对象的对象信息,显示与多个目标区域均对应的一个悬浮窗。以及在第一输入为第二预设输入的情况下,根据每个目标区域中的对象信息,显示每个目标区域分别对应的悬浮窗。Optionally, when the first input is the first preset input, the electronic device may display a floating window corresponding to each of the multiple target areas according to the object information of the objects in the multiple target areas. And when the first input is the second preset input, according to the object information in each target area, a floating window corresponding to each target area is displayed.
例如,电子设备可以在第一输入为沿顺时针方向滑动的情况下,根据多个目标区域中对象的对象信息,显示与多个目标区域均对应的一个悬浮窗。在第一输入为沿逆时针方向滑动的情况下,根据每个目标区域中的对象信息,显示每个目标区域分别对应的悬浮窗。第一预设输入和第二预设输入的具体形式可以根据需求设置,本实施例对此不做限制。For example, when the first input is sliding in a clockwise direction, the electronic device may display a floating window corresponding to each of the multiple target areas according to the object information of the objects in the multiple target areas. In the case where the first input is to slide in the counterclockwise direction, according to the object information in each target area, a floating window corresponding to each target area is displayed. The specific forms of the first preset input and the second preset input can be set according to requirements, which are not limited in this embodiment.
需要说明的是,本申请实施例提供的悬浮窗管理方法,执行主体可以为悬浮窗管理装置,或者该悬浮窗管理装置中的用于执行加载悬浮窗管理方法的控制模块。本申请实施例中以悬浮窗管理装置执行加载悬浮窗管理方法为例,说明本申请实施例提供的悬浮窗管理方法。It should be noted that, in the floating window management method provided by the embodiment of the present application, the execution body may be a floating window management device, or a control module in the floating window management device for executing the loading floating window management method. In the embodiment of the present application, the floating window management method provided by the embodiment of the present application is described by taking the floating window management device executing the loading suspended window management method as an example.
参照图8,图8是本申请实施例提供的一种悬浮窗管理装置的结构框图,该装置设置于电子设备,装置800可以包括:接收模块801、响应模块802、获取模块803和显示模块804。Referring to FIG. 8 , FIG. 8 is a structural block diagram of a floating window management apparatus provided by an embodiment of the present application. The apparatus is set in an electronic device. The
接收模块801用于接收用户对电子设备的显示屏的第一输入。The receiving
响应模块802用于响应于第一输入,确定显示屏中的目标区域。The
获取模块803用于获取在目标区域中显示的对象的对象信息。The obtaining
显示模块804用于根据对象信息,显示与目标区域对应的悬浮窗;其中,悬浮窗包括与对象对应的菜单项。The
可选的,接收模块801具体用于接收用户对显示屏上显示的应用程序界面的第一输入。Optionally, the receiving
可选的,参照图9,图9是本申请实施例提供的另一种悬浮窗管理装置的结构框图,显示模块804可以包括:确定单元8041和显示单元8042。Optionally, referring to FIG. 9 , FIG. 9 is a structural block diagram of another floating window management apparatus provided by an embodiment of the present application. The
确定单元8041用于根据对象信息,确定用户的目标操作,并从电子设备中确定与目标操作有关的目标应用程序。The determining
显示单元8042用于根据目标操作和目标应用程序,显示与目标区域对应的悬浮窗。The
可选的,确定单元8041具体用于根据应用程序界面对应的应用程序的类型和用户的用户画像中的至少一种、以及对象信息,确定目标操作,并从电子设备中确定与目标操作有关的目标应用程序。Optionally, the determining
可选的,目标区域包括多个对象;显示单元8042包括:确定子单元80421和显示子单元80422。Optionally, the target area includes multiple objects; the
确定子单元80421用于确定多个对象中每个对象的优先级。The
显示子单元80422用于根据目标操作、目标应用程序、以及每个对象的优先级的高低,显示与目标区域对应的悬浮窗;其中,每个对象对应的菜单项按每个对象的优先级高低,顺序显示在悬浮窗中;悬浮窗中的第一个菜单项对应的对象的优先级为所有优先级中的最高优先级。The
可选的,确定子单元80421具体用于根据多个对象中每个对象对应的面积占目标区域的面积的比例、多个对象中每个对象的颜色信息、多个对象中每个对象对应的权重、以及多个对象中每个对象的热度信息中的至少一种,确定多个对象中每个对象的优先级。Optionally, the
可选的,目标区域的数量为N个,N为大于1的整数。Optionally, the number of target regions is N, where N is an integer greater than 1.
显示模块804具体用于根据N个目标区域中对象的对象信息,显示与N个目标区域均对应的一个悬浮窗;或者,根据N个目标区域中每个目标区域中对象的对象信息,显示N个悬浮窗;其中,N个目标区域中的一个目标区域对应N个悬浮窗中的一个悬浮窗,N个目标区域中的每个目标区域对应的悬浮窗不同。The
本申请实施例中的悬浮窗管理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The floating window management device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.
本申请实施例中的悬浮窗管理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The floating window management device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的悬浮窗管理装置能够实现图1和图3的方法实施例中悬浮窗管理装置实现的各个过程,为避免重复,这里不再赘述。The floating window management device provided in the embodiment of the present application can implement various processes implemented by the floating window management device in the method embodiments of FIG. 1 and FIG. 3 , and to avoid repetition, details are not repeated here.
本实施例中,电子设备接收用户对电子设备的显示屏的第一输入,响应于第一输入,确定显示屏中的目标区域,获取在目标区域中显示的对象的对象信息,根据对象信息,显示与目标区域对应的悬浮窗。悬浮窗中的菜单项与用户所关注区域中的对象关联,并且悬浮窗中的菜单项可以根据用户所关注区域中对象的变化而变化,方便用户执行与用户所关注区域中的对象有关的操作,提高用户操作的灵活性。In this embodiment, the electronic device receives the user's first input on the display screen of the electronic device, determines the target area in the display screen in response to the first input, acquires object information of the object displayed in the target area, and according to the object information, Displays a floating window corresponding to the target area. The menu items in the floating window are associated with the objects in the area that the user pays attention to, and the menu items in the floating window can change according to the changes of the objects in the area that the user pays attention to, which is convenient for the user to perform operations related to the objects in the area that the user pays attention to. , to improve the flexibility of user operation.
可选的,本申请实施例还提供一种电子设备,如图10所示,图10是本申请实施例提供的一种电子设备的结构框图,电子设备1000包括处理器1001,存储器1002,存储在存储器1002上并可在所述处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述悬浮窗管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device. As shown in FIG. 10 , FIG. 10 is a structural block diagram of an electronic device provided by an embodiment of the present application. The
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图11为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。The
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
处理器1110,用于控制用户输入单元1107接收用户对电子设备的显示屏的第一输入;The
响应于第一输入,确定显示屏中的目标区域;in response to the first input, determining a target area in the display screen;
获取在目标区域中显示的对象的对象信息;Get the object information of the object displayed in the target area;
根据对象信息,控制显示单元1106显示与目标区域对应的悬浮窗;其中,悬浮窗包括与对象对应的菜单项。According to the object information, the
本实施例中,电子设备接收用户对电子设备的显示屏的第一输入,响应于第一输入,确定显示屏中的目标区域,获取在目标区域中显示的对象的对象信息,根据对象信息,显示与目标区域对应的悬浮窗。悬浮窗中的菜单项与用户所关注区域中的对象关联,并且悬浮窗中的菜单项可以根据用户所关注区域中对象的变化而变化,方便用户执行与用户所关注区域中的对象有关的操作,提高用户操作的灵活性。In this embodiment, the electronic device receives the user's first input on the display screen of the electronic device, determines the target area in the display screen in response to the first input, acquires object information of the object displayed in the target area, and according to the object information, Displays a floating window corresponding to the target area. The menu items in the floating window are associated with the objects in the area that the user pays attention to, and the menu items in the floating window can change according to the changes of the objects in the area that the user pays attention to, which is convenient for the user to perform operations related to the objects in the area that the user pays attention to. , to improve the flexibility of user operation.
处理器1110,具体用于控制用户输入单元1107接收用户对显示屏上显示的应用程序界面的第一输入。The
本实施例中,电子设备可以响应于用户对应用程序界面的第一输入,在应用程序界面中确定显示屏中的目标区域,根据目标区域中对象的对象信息,显示包括菜单项的悬浮窗。悬浮窗中的菜单项与用户所关注区域中的对象有关,可以根据用户所关注的区域内的对象,预测用户操作,生成对应的菜单项。由于应用程序界面中对象的种类较多,当用户所关注的区域位于应用程序界面时,根据应用程序界面中的对象可以生成数量较多的菜单项,通过悬浮窗可以为用户提供更多的操作,可以进一步提高用户操作的灵活性。In this embodiment, the electronic device may determine a target area in the display screen in the application program interface in response to the user's first input to the application program interface, and display a floating window including menu items according to object information of objects in the target area. The menu items in the floating window are related to the objects in the area that the user pays attention to. According to the objects in the area that the user pays attention to, the user operation can be predicted to generate the corresponding menu items. Since there are many types of objects in the application program interface, when the area that the user pays attention to is located in the application program interface, a large number of menu items can be generated according to the objects in the application program interface, and more operations can be provided for the user through the floating window , which can further improve the flexibility of user operation.
处理器1110,还用于根据对象信息,确定用户的目标操作,并从电子设备中确定与目标操作有关的目标应用程序;The
根据目标操作和目标应用程序,控制显示单元1106显示与目标区域对应悬浮窗。According to the target operation and the target application, the
本实施例中,在生成菜单项的过程中,首先根据对象信息对用户操作进行预测,然后根据预测得到的目标操作生成菜单项,可以使电子设备能够提供符合用户当前需求的菜单项,在提高电子设备灵活性的同时,可以提高电子设备的实时性,满足用户的实时性需求。In this embodiment, in the process of generating the menu items, the user operation is first predicted according to the object information, and then the menu items are generated according to the predicted target operation, so that the electronic device can provide the menu items that meet the current needs of the user. While the electronic equipment is flexible, the real-time performance of the electronic equipment can be improved to meet the real-time performance requirements of users.
处理器1110,具体用于根据应用程序界面对应的应用程序的类型和用户的用户画像中的至少一种、以及对象信息,确定目标操作,并从电子设备中确定与目标操作有关的目标应用程序。The
本实施例中,根据应用程序的类型和用户的用户画像中的至少一种、以及对象信息,预测得到目标操作,可以得到更加符合用户的目标操作,从而可以显示更加准确的菜单项,提高电子设备的准确性。In this embodiment, the target operation can be predicted according to at least one of the type of the application program, the user portrait of the user, and the object information, and the target operation that is more in line with the user can be obtained, so that more accurate menu items can be displayed, and the electronic equipment accuracy.
处理器1110,还用于确定多个对象中每个对象的优先级;The
根据目标操作、目标应用程序、以及每个对象的优先级的高低,控制显示单元1106显示与目标区域对应的悬浮窗;其中,每个对象对应的菜单项按每个对象的优先级高低,顺序显示在悬浮窗中;悬浮窗中的第一个菜单项对应的对象的优先级为所有优先级中的最高优先级;According to the target operation, the target application, and the priority of each object, the
本实施例中,在显示悬浮窗的过程中,首先确定目标区域中每个对象的优先级,根据优先级确定每个对象对应的菜单项在悬浮窗中的位置,可以将用户关注度高的菜单项设置在悬浮窗中重要位置,可以提高悬浮窗的实用性,为用户提供更方便的菜单项选择。In this embodiment, in the process of displaying the floating window, the priority of each object in the target area is firstly determined, and the position of the menu item corresponding to each object in the floating window is determined according to the priority, so that the objects with high user attention can be placed. The menu items are set at important positions in the floating window, which can improve the practicability of the floating window and provide users with more convenient menu item selection.
处理器1110,还用于根据多个对象中每个对象对应的面积占目标区域的面积的比例、多个对象中每个对象的颜色信息、多个对象中每个对象对应的权重、以及多个对象中每个对象的热度信息中的至少一种,确定多个对象中每个对象的优先级。The
本实施例中,根据目标区域中每个对象的面积大小、颜色信息、权重和热度信息中的至少一种,确定每个对象的优先级,可以更加准确的确定每个对象的优先级。In this embodiment, the priority of each object is determined according to at least one of the area size, color information, weight, and heat information of each object in the target area, and the priority of each object can be determined more accurately.
目标区域的数量为N个,N为大于1的整数。The number of target regions is N, where N is an integer greater than 1.
处理器1110,还用于获取N个目标区域中的对象的对象信息;The
用于根据N个目标区域中对象的对象信息,控制显示单元1106显示与N个目标区域均对应的一个悬浮窗;或者,根据N个目标区域中每个目标区域中对象的对象信息,显示N个悬浮窗;其中,N个目标区域中的一个目标区域对应N个悬浮窗中的一个悬浮窗,N个目标区域中的每个目标区域对应的悬浮窗不同。For controlling the
本实施例中,当目标区域的数量为多个时,电子设备可以获取所有目标区域中的对象的对象信息,根据所有对象的对象信息,显示包括每个对象分别对应的菜单项的一个悬浮窗。可以通过一个悬浮窗可以关联多个目标区域,可以方便用户确定更大的范围,从而可以通过一个悬浮窗可以为用户提供更多的操作选项。In this embodiment, when the number of target areas is multiple, the electronic device may acquire object information of objects in all target areas, and display a floating window including menu items corresponding to each object according to the object information of all objects . Multiple target areas can be associated with one floating window, which can facilitate the user to determine a larger range, so that the user can be provided with more operation options through one floating window.
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(GraphicsProcessing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。It should be understood that, in this embodiment of the present application, the
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述悬浮窗管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the floating window management method is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述悬浮窗管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement the above embodiment of the floating window management method and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, 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 software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010582023.3A CN111813285B (en) | 2020-06-23 | 2020-06-23 | Floating window management method and device, electronic equipment and readable storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010582023.3A CN111813285B (en) | 2020-06-23 | 2020-06-23 | Floating window management method and device, electronic equipment and readable storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111813285A true CN111813285A (en) | 2020-10-23 |
| CN111813285B CN111813285B (en) | 2022-02-22 |
Family
ID=72845951
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010582023.3A Active CN111813285B (en) | 2020-06-23 | 2020-06-23 | Floating window management method and device, electronic equipment and readable storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111813285B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114329677A (en) * | 2021-12-31 | 2022-04-12 | 北京有竹居网络技术有限公司 | Floating window, display method and device thereof, electronic equipment and readable storage medium |
| CN121070507A (en) * | 2025-11-06 | 2025-12-05 | 北京蜂巢世纪科技有限公司 | Floating window display methods and systems, electronic devices, and storage media |
| US12524140B2 (en) | 2022-01-10 | 2026-01-13 | Honor Device Co., Ltd. | Window interaction method and electronic device |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104090762A (en) * | 2014-07-10 | 2014-10-08 | 福州瑞芯微电子有限公司 | Screenshot processing device and method |
| WO2017177592A1 (en) * | 2016-04-13 | 2017-10-19 | 北京小米移动软件有限公司 | Operation processing method and device |
| CN108829319A (en) * | 2018-06-15 | 2018-11-16 | 驭势科技(北京)有限公司 | A kind of exchange method of touch screen, device, electronic equipment and storage medium |
| CN111182205A (en) * | 2019-12-30 | 2020-05-19 | 维沃移动通信有限公司 | Photographing method, electronic device, and medium |
| CN111221599A (en) * | 2018-11-23 | 2020-06-02 | 奇酷互联网络科技(深圳)有限公司 | Method for displaying floating window, mobile terminal and storage medium |
-
2020
- 2020-06-23 CN CN202010582023.3A patent/CN111813285B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104090762A (en) * | 2014-07-10 | 2014-10-08 | 福州瑞芯微电子有限公司 | Screenshot processing device and method |
| WO2017177592A1 (en) * | 2016-04-13 | 2017-10-19 | 北京小米移动软件有限公司 | Operation processing method and device |
| CN108829319A (en) * | 2018-06-15 | 2018-11-16 | 驭势科技(北京)有限公司 | A kind of exchange method of touch screen, device, electronic equipment and storage medium |
| CN111221599A (en) * | 2018-11-23 | 2020-06-02 | 奇酷互联网络科技(深圳)有限公司 | Method for displaying floating window, mobile terminal and storage medium |
| CN111182205A (en) * | 2019-12-30 | 2020-05-19 | 维沃移动通信有限公司 | Photographing method, electronic device, and medium |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114329677A (en) * | 2021-12-31 | 2022-04-12 | 北京有竹居网络技术有限公司 | Floating window, display method and device thereof, electronic equipment and readable storage medium |
| US12524140B2 (en) | 2022-01-10 | 2026-01-13 | Honor Device Co., Ltd. | Window interaction method and electronic device |
| CN121070507A (en) * | 2025-11-06 | 2025-12-05 | 北京蜂巢世纪科技有限公司 | Floating window display methods and systems, electronic devices, and storage media |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111813285B (en) | 2022-02-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112988006B (en) | Display method, device, electronic device and storage medium | |
| KR20160021637A (en) | Method for processing contents and electronics device thereof | |
| US20230229279A1 (en) | User interfaces for managing visual content in media | |
| WO2022171062A1 (en) | Method and apparatus for sharing picture, and electronic device and storage medium | |
| WO2022063123A1 (en) | Interface displaying method, device, and electronic device | |
| CN111813299A (en) | Information sharing method, information sharing device and electronic device | |
| WO2023005828A1 (en) | Message display method and apparatus, and electronic device | |
| CN111813285A (en) | Floating window management method, device, electronic device and readable storage medium | |
| WO2022233276A1 (en) | Display method and apparatus, and electronic device | |
| WO2022022566A1 (en) | Graphic code identification method and apparatus and electronic device | |
| WO2022213945A1 (en) | Application reminding method and apparatus, and electronic device | |
| CN111897468A (en) | Message processing method and device, electronic equipment and readable storage medium | |
| CN113268182B (en) | Application icon management method and electronic device | |
| WO2022143661A1 (en) | Candidate information display method and apparatus, and electronic device | |
| CN110471589A (en) | Information display method and terminal device | |
| WO2022063045A1 (en) | Message display method and apparatus, and electronic device | |
| CN112084151A (en) | File processing method and device and electronic equipment | |
| CN112000766A (en) | Data processing method, device and medium | |
| CN111459350A (en) | Icon sorting method, device and electronic device | |
| CN111638828A (en) | Interface display method and device | |
| WO2023024970A1 (en) | Information processing method, related device, and readable storage medium | |
| WO2023284810A1 (en) | Method and apparatus for processing event to be handled | |
| WO2022237877A1 (en) | Information processing method and apparatus, and electronic device | |
| WO2022222785A1 (en) | Image display method and device | |
| CN116797322B (en) | Method for providing commodity object information and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20230712 Address after: 5 / F, building B, No. 25, Andemen street, Yuhuatai District, Nanjing City, Jiangsu Province, 210012 Patentee after: NANJING WEIWO SOFTWARE TECHNOLOGY CO.,LTD. Address before: 523860 No. 283 BBK Avenue, Changan Town, Changan, Guangdong. Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd. |