WO2023030304A1 - 提示信息显示方法、装置及电子设备 - Google Patents
提示信息显示方法、装置及电子设备 Download PDFInfo
- Publication number
- WO2023030304A1 WO2023030304A1 PCT/CN2022/115804 CN2022115804W WO2023030304A1 WO 2023030304 A1 WO2023030304 A1 WO 2023030304A1 CN 2022115804 W CN2022115804 W CN 2022115804W WO 2023030304 A1 WO2023030304 A1 WO 2023030304A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- target
- interface
- prompt information
- user
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 230000006399 behavior Effects 0.000 claims description 19
- 230000035945 sensitivity Effects 0.000 claims description 11
- 238000004891 communication Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims 1
- 230000000875 corresponding effect Effects 0.000 description 19
- 230000008569 process Effects 0.000 description 10
- 230000000903 blocking effect Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000012790 confirmation Methods 0.000 description 5
- 230000002596 correlated effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000007667 floating Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000005549 size reduction Methods 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000003999 initiator Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04886—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
Definitions
- the present application belongs to the technical field of terminals, and in particular relates to a prompt information display method, device and electronic equipment.
- the electronic device can pop up various prompt information on the screen during the user's use of the electronic device, such as the permission prompt information of the application program, or the battery power prompt information of the electronic device, etc. , to alert the user to the current usage of the electronic device.
- the prompt information is displayed on the current interface of the electronic device, it will block part of the content displayed on the current interface of the electronic device, and will interrupt the user's operation on the current interface of the electronic device to operate the prompt information (eg to cancel the display operation).
- the purpose of the embodiments of the present application is to provide a prompt information display method, device, and electronic device, which can solve the problem that the prompt information is covered on the current interface of the electronic device, which will block part of the content displayed on the current interface of the electronic device, and will interrupt the user's electronic device. A problem with the operation of the device's current interface.
- the embodiment of the present application provides a prompt information display method
- the prompt information display method includes: acquiring user operation information and target-related information, the user operation information is the information of the user operating the first interface, and the target-related information includes the second A degree of correlation between the interface and target prompt information; based on user operation information and target related information, output target prompt information.
- the embodiment of the present application provides a prompt information display device, and the prompt information display device includes: an acquisition module and an output module.
- the obtaining module is used to obtain user operation information and target related information
- the user operation information is the feature information of the user operating the first interface information
- the target related information includes the correlation between the first interface and the target prompt information.
- the output module is configured to output target prompt information based on the user operation information and target-related information acquired by the acquisition module.
- an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
- an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
- the 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 used to run programs or instructions, so as to implement the first aspect the method described.
- the electronic device may output the target prompt information according to the user operation information (information about the user's operation of the first interface) and target related information (that is, the degree of correlation between the first interface and the target prompt information).
- the electronic device can display the target prompt information in the corresponding area of the screen in combination with the information on the user's operation of the first interface and the correlation between the first interface and the target prompt information, that is, the display area of the target prompt information is determined by the user.
- the operation information on the first interface is determined by the correlation between the first interface and the target prompt information, instead of directly covering the prompt information on the first interface for display.
- the solution of the present application can avoid the problem that the prompt information is directly covered on the first interface, blocking the content in the first interface, so that the user must interrupt the user's operation on the first interface, thus improving the flexibility of the electronic device to display the prompt information sex.
- Fig. 1 is one of the schematic diagrams of a prompt information display method provided by the embodiment of the present application
- Fig. 2 is one of the example schematic diagrams of the interface of a mobile phone provided by the embodiment of the present application;
- Fig. 3 is the second schematic diagram of an example of the interface of a mobile phone provided by the embodiment of the present application.
- Fig. 4 is one of the structural schematic diagrams of a prompt information display device provided by the embodiment of the present application.
- FIG. 5 is one of the schematic diagrams of the hardware structure of an electronic device provided in the embodiment of the present application.
- FIG. 6 is a second schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
- the electronic device may obtain user operation information and target-related information, and determine the correlation information between the first interface and the target prompt information according to the information on the first interface and the target prompt information, and then electronically
- the device may display target prompt information in a corresponding area of the screen according to the target-related information and user operation information.
- the user needs to interrupt the operation in the current interface first, and then operate the prompt information, such as canceling the prompt information.
- the electronic device can directly operate the information according to the user operation information, the first interface
- the correlation with the target prompt information, and the target prompt information is displayed in the corresponding area on the screen. In this way, the solution of the present application saves the user's operation and time consumption, and also improves the flexibility of the electronic device to display the prompt information.
- FIG. 1 shows a flowchart of a method for displaying prompt information provided in an embodiment of the present application.
- the prompt information display method provided by the embodiment of the present application may include the following steps 201 and 202 .
- Step 201 the electronic device acquires user operation information and target related information.
- the above-mentioned user operation information is information on the user's operation of the first interface
- the above-mentioned target-related information includes a degree of correlation/correlation between the first interface and the target prompt information.
- the above target prompt information is prompt information to be displayed by the electronic device.
- the user operation information includes at least one of the following: the user's operation position on the first interface, the user's operation direction on the first interface, the user's operation track on the first interface, Information about the holding posture of the user using the electronic device (for example, information about holding with the left hand or holding with the right hand), etc.
- the electronic device can determine the The degree of correlation between the at least one piece of prompt information and the currently displayed interface determines a display manner (for example, a display area) of the at least one piece of prompt information.
- the above-mentioned prompt information is prompt information of an operating system of the electronic device, prompt information of an application program in the electronic device, and prompt information sent by the electronic device received by other devices.
- the above-mentioned first interface may be any page on the desktop of the electronic device, or may be a display interface of any application program.
- the electronic device acquires target-related information in the above step 201 may specifically be implemented through the following steps 201a and 201b.
- Step 201a the electronic device acquires feature information of the first interface and feature information of the target prompt information.
- the characteristic information of the above-mentioned first interface includes at least one of the following: the size of the first interface, the display content in the first interface, and attribute information of the application program to which the first interface belongs.
- Step 201b the electronic device determines target related information according to the characteristic information of the first interface and the characteristic information of the target prompt information.
- the feature information of the target prompt information includes at least one of the following: content of the target prompt information and attribute information of the application program to which the target prompt information belongs.
- the characteristic information of the above-mentioned first interface includes at least one of the following: the size of the first interface, the display content in the first interface, and attribute information of the application program to which the first interface belongs.
- the size of the above-mentioned first interface is the size of the screen of the electronic device.
- the above-mentioned display content in the first interface can be understood as: any form of content displayed in the first interface, for example, the display content in the first interface includes at least one of the following: text content displayed in the first interface , picture content displayed on the first interface, video content displayed/played on the first interface, and the like.
- the attribute information of the application to which the first interface belongs may include at least one of the following: application package information (such as application package name) of the application, name information of the application, category of the application Information, application setting information, application security information, application level information, application icon information, operation information received by the application, etc., are not limited in this embodiment of the present application.
- the feature information of the target prompt information includes at least one of the following: content of the target prompt information and attribute information of the application program to which the target prompt information belongs.
- the content of the above target prompt information can be understood as: the content involved in the target prompt information, for example, the content of the target prompt information includes at least one of the following: title information, detailed description information of the content, initiator information, execution Party information, operation control (such as cancel control), type information (such as blocking prompt information), etc.
- the detailed description information of the foregoing content may include at least one of the following: time information, event information, character information, keyword information, or category information.
- the above-mentioned target prompt information may be prompt information of low battery or system upgrade prompt information.
- the above-mentioned type information refers to the type of the prompt box or floating window of the target prompt information
- the electronic device can classify the type of the prompt box or floating window as blocking according to the specific content of the prompt information.
- the blocking type will interrupt the information receiving of the current interface and the input of the interface content, and depends on the result of the user's operation on the target prompt information. For example, when a user uses an application for the first time, the user privacy agreement prompt box pops up in the interface, and the application can only be used further if the user chooses to agree to privacy.
- the non-blocking type will not interrupt the reception of current interface information and the input of interface content. For example, when the user is watching a video, if the electronic device is low in power, a reminder of low power will be given on the video interface, but it will not be interrupted. Video playback.
- the attribute information of the application to which the target prompt information belongs includes at least one of the following: application package information (such as application package name) of the application, name information of the application, category information of the application , setting information of the application program, security information of the application program, level information of the application program, icon information of the application program, etc.
- application package information such as application package name
- the embodiment of the present application does not impose any limitation on this.
- target prompt information may be alarm clock prompt information, calendar prompt information, application program permission prompt information, application program upgrade prompt information, information received by the application program, application program task completion prompt information, and the like.
- the electronic device compares the feature information of the first interface with the feature information of the target prompt information to determine the degree of matching or similarity between the feature information of the first interface and the feature information of the target prompt information , so as to determine the degree of correlation between the characteristic information of the first interface and the characteristic information of the target prompt information according to the degree of matching or similarity.
- the electronic device may determine the degree of matching or similarity between the characteristic information of the first interface and the characteristic information of the target prompt information as the characteristic information of the first interface and the target prompt information.
- the degree of relevance of the information or, the electronic device can adopt a preset algorithm/preset model to convert the matching or similarity between the feature information of the first interface and the feature information of the target prompt information into the feature information of the first interface
- the degree of correlation with the characteristic information of the target prompt information may be determined the degree of matching or similarity between the characteristic information of the first interface and the characteristic information of the target prompt information as the characteristic information of the first interface and the target prompt information.
- the electronic device can compare the display content of the first interface with the content of the target prompt information to determine Determine the matching degree (for example, 20%) between the display content of the first interface and the content of the target prompt information, so as to determine the correlation degree (for example, 20%) between the characteristic information of the first interface and the characteristic information of the target prompt information.
- Determine the matching degree for example, 20%
- the correlation degree for example, 20%
- multiple correlation degree ranges are pre-stored in the electronic device, such as a strong correlation degree range (that is, a correlation degree range that is greater than or equal to a threshold value) and a weak correlation degree range (that is, a correlation degree that is less than or a correlation degree range equal to a threshold); after the electronic device determines the target-related information, it can compare the correlation degree indicated by the target-related information (that is, the correlation degree between the first interface and the target prompt information) with multiple correlation degree ranges, In order to determine the correlation degree range of the correlation degree between the first interface and the target prompt information.
- a strong correlation degree range that is, a correlation degree range that is greater than or equal to a threshold value
- a weak correlation degree range that is, a correlation degree that is less than or a correlation degree range equal to a threshold
- Step 202 the electronic device outputs target prompt information based on user operation information and target related information.
- the electronic device may display target prompt information in an area of the screen corresponding to the target-related information based on the user's operation information and target-related information.
- different users' operation information and different target-related information correspond to different display areas in the screen;
- the size of the correlation degree that is, it belongs to the strong correlation degree or the weak correlation degree, and the target prompt information is displayed in the area corresponding to the correlation degree on the screen.
- the electronic device may display/superimpose the target prompt information on the first interface; or, the electronic device may display a prompt box on the first interface, and display the target prompt in the prompt box information.
- step 202 may be specifically implemented through the following step 202a.
- Step 202a in the case that the correlation degree included in the target related information is less than or equal to the preset threshold, the electronic device displays the first interface in the first area, and displays the target prompt information in the second area.
- the first area and the second area are different areas on the screen.
- the electronic device may display the first interface and the target prompt in different areas. information, so as to ensure that the first interface is normally displayed and new data is normally received, and at the same time, the target prompt information is displayed to the user, and the interference of the target prompt information on the first interface is avoided.
- the electronic device may not lock the first interface, that is, the first interface can normally receive new data and respond to user operations normally.
- the weak correlation degree when the target prompt information is displayed, the size of the display area of the first interface changes, and the target prompt information will not cause other interference or influence on the first interface, for example, it will not interrupt the user on the first interface.
- the operation on the first interface does not require the user to trigger the electronic device to cancel the display of the target prompt information in order to use the first interface normally.
- the matching degree and/or similarity between the feature information of the first interface and the feature information of the target prompt information is low (that is, the matching degree/similarity is less than or equal to a threshold)
- the target correlation degree is less than or equal to the preset threshold, that is, the first interface and the target prompt information are weakly correlated.
- the application package name of the application program in the target prompt information is different from the application package name of the application program to which the first interface belongs, it is determined that the first interface is weakly related to the target prompt information.
- the application package name of the application program in the target prompt information is different from the application package name of the application program to which the first interface belongs, and has nothing to do with the user's current operation on the first interface, then it is determined that the first interface and the target prompt
- the information is the degree of weak correlation. For example, if the target prompt information is information prompting the user that AppB crashes, and the first interface is the video playback interface of AppA, then it is determined that there is no correlation between the two, that is, it is determined that the first interface and the target prompt information are weakly correlated.
- the target correlation degree is less than or equal to a preset threshold, that is, the first interface and the target prompt information are weakly correlated.
- the electronic device may divide the screen into a first area and a second area, and then perform a size reduction operation on the first interface, so that the size of the first interface is smaller than or equal to the size of the first area , so that the first interface is displayed in the first area, and the target prompt information is displayed in the second area.
- the electronic device may perform a size reduction operation on the first interface according to a preset size, so as to display the reduced size first interface on the screen, that is, the area where the reduced size first interface is located. is the first area, and the target prompt information is displayed in an area of the screen other than the first area (that is, the second area).
- the electronic device may be based on the current state of the screen (such as the horizontal screen state or the vertical screen state) and the user's habit of using the electronic device (such as left-handed electronic device or right-handed electronic device),
- the screen is divided into a first area and a second area.
- the electronic equipment when the electronic device is in a landscape orientation, may divide the screen into a left area and a right area based on the central axis of the screen in the landscape orientation, so as to obtain the first area and the right area. second area.
- the electronic device when the electronic device is in the vertical screen state, the electronic device may divide the screen into an upper area and a lower area based on the central axis of the screen in the vertical screen state, so as to obtain a first area and a second area.
- the electronic device is a mobile phone as an example for description.
- the screen of the mobile phone is in a horizontal screen state.
- the mobile phone determines that the correlation degree between the first interface (such as the playback interface of video A) and the target prompt information is a weak correlation degree, the mobile phone can display the information on the screen.
- the first interface is displayed in the first area (for example, the left area 10 ) in
- the target prompt information is displayed in the second area (for example, the right area 11 ).
- the screen of the mobile phone is in a vertical screen state
- the mobile phone may display the first interface in the first area (eg, the upper area 12) of the screen, and display the target prompt information in the second area (eg, the lower area 13).
- the sizes of the first region and the second region may be the same or different; and/or, the shapes of the first region and the second region may be the same or different.
- the prompt information display method provided in the embodiment of the present application further includes the following step 301.
- Step 301 the electronic device adjusts the display area of the first interface and the display area of the target prompt information according to the screen status and target behavior information.
- the above-mentioned screen state is a horizontal screen state or a vertical screen state
- the above-mentioned target behavior information is used to indicate the historical use behavior of the user on the screen of the electronic device.
- the user's historical use behavior on the screen of the electronic device can be understood as: the user's holding behavior of the electronic device during the historical use of the electronic device, that is, the user's finger on the screen when the user holds the electronic device or, the location/area where the user operates the screen of the electronic device, for example, the position/area of the screen that the user operated on the screen of the electronic device for the last time.
- the electronic device may adjust the first interface and the target prompt information to be displayed on the screen according to the historical usage behavior of the user on the screen of the electronic device.
- the unobstructed area of the user's finger may be adjusted.
- the area of the screen that is not covered by the user's finger is determined by the gesture information of the user holding the electronic device in the landscape state, or determined by the gesture information of the user holding the electronic device in the portrait state.
- the electronic device can adaptively adjust the display area of the first interface and the display area of the target prompt information according to the screen state and target behavior information, and when the displayed first interface and target prompt information adapt to the screen size, This prevents the user's finger from covering the first interface and the target prompt information, and improves the flexibility of the electronic device to display the first interface and prompt information.
- step 202 may be specifically implemented through the following step 202b or step 202c.
- Step 202b When the user's operation on the screen is detected and the correlation degree included in the target-related information is greater than a preset threshold, the electronic device displays the target in the third area of the screen corresponding to the user's operation information according to the user's operation information. Prompt information.
- the user operation information includes at least one of the following: the user's pressure sensitivity to the screen, and the location where the user's touch event occurs.
- the user operation information can be understood as the user's operation on the screen, that is, any operation of the user on the screen when the first interface is displayed, such as click operation, slide operation, holding operation, etc.
- the above-mentioned third area is an area corresponding to the user's operation position on the screen.
- the display area of the target prompt information on the screen changes as the user's operation position on the screen changes.
- the above-mentioned third area may be the area where the user's finger is located on the screen; or, the above-mentioned third area may be an area other than the area where the user's finger is located on the screen .
- the mobile phone may display target prompt information in the area where the user's finger is located, and when the position of the user's finger moves, the target The display area of the prompt information changes as the position of the user's finger changes.
- the user's pressure sensitivity to the screen can be determined by at least one of the following: the user's pressure sensitivity to the screen area of the electronic device, the user's pressure sensitivity to the rear shell area of the electronic device, The pressure sensitivity value of the user to the side area of the electronic device, the pressure sensitivity value of the user to the button area of the electronic device, and the like.
- the user's touch event can be understood as the user's touch operation on the screen.
- the above user operation information further includes at least one of the following: the way of the user's touch operation (such as click input, slide input or long press input, etc.), the direction of the touch operation, the touch operation trajectory, etc.
- the electronic device can determine the user's holding posture of the electronic device according to the user's touch operation and pressure sensitivity value. For example, the electronic device can determine whether the user's current holding posture is left-handed or right-handed. Hold posture.
- the electronic device may display the target in the left area of the operating position Prompt information.
- the electronic device may display target prompt information in the right area of the operating position.
- the electronic device may lock the first interface, that is, the application program to which the first interface belongs no longer receives new data and does not respond to the user. Operations, etc., until the user operates on the target prompt information (such as canceling the operation), before continuing to receive new data, respond to the user's operations, etc.
- the electronic device when it is detected that the user is operating on the screen, the electronic device can display target prompt information according to the user's operation position, so that the user can directly operate on the target prompt information at the operation position (for example, cancel operation or position adjustment operation), which improves the flexibility of the electronic device for displaying prompt information.
- Step 202c in the case that no user operation on the screen is detected and the correlation degree included in the target-related information is greater than a preset threshold, the electronic device displays the first interface in the first area, and displays the target in the second area Prompt information.
- the first area and the second area are different areas on the screen.
- the electronic device may also determine the display position of the target prompt information according to historical operation information.
- the electronic device when no user operation on the screen is detected, can display the root first interface and target prompt information in different areas, so as to ensure the normal display of the first interface and the normal reception of new At the same time as the data, the target prompt information is displayed to the user, which avoids the interference of the target prompt information on the first interface, and improves the flexibility of the electronic device for displaying the prompt information.
- the electronic device may determine the target prompt information according to whether the user operates on the screen.
- the display area that is, when the user operates on the screen, the electronic device displays the target prompt information in the third area, and when the user does not operate on the screen, the electronic device displays the target prompt information in the second area, so as to flexibly provide The user displays a prompt message.
- the prompt information display method provided in the embodiment of the present application further includes the following step 401 .
- Step 401 In a case where no user operation on the screen is detected and the degree of relevance indicated by the target related information is greater than a preset threshold, the electronic device controls the first interface to be in a frozen state.
- the electronic device in the frozen state, does not update or acquire relevant data of the first interface, or the electronic device does not respond to user input on the first interface.
- the electronic device may stop acquiring relevant data of the first interface, and the relevant data of the first interface includes at least one of the following items: the data used to update the content in the first interface (the first interface corresponds to new data), data operated by the user on the first interface, etc.
- the target prompt information may be displayed in a color flashing manner.
- the embodiment of the present application does not limit the execution order of the foregoing step 401 and step 202c.
- the above step 401 may be performed first, and then the above step 202c is performed; or, the above step 202c may be performed first, and then the above step 401 is performed; or, the above step 401 and step 202c may be performed simultaneously.
- the electronic device can control the first interface to be in a frozen state, so that the user can operate on the target prompt information in a timely manner while avoiding user errors when the first interface changes.
- the operation and the omission of important information improve the safety and flexibility of the user's use of electronic equipment.
- the matching degree/similarity between the characteristic information of the first interface and the characteristic information of the target prompt information is high (that is, the matching degree/similarity is greater than or equal to a threshold)
- determine The target correlation degree is greater than a preset threshold, that is, the first interface and the target prompt information are strongly correlated.
- the first interface is related to the target
- the prompt information is the degree of strong correlation. For example, when the user starts an application program on the first interface, and the electronic device detects that the electronic device is not connected to the Internet, the electronic device can pop up a prompt message to prompt the user to connect to the network, that is, the prompt message is the same as that of the user on the first page. Operations on one interface are strongly related.
- the target correlation degree is greater than a preset threshold, that is, the first interface and the target prompt information are strongly correlated.
- the electronic device when the target-related information indicates a high degree of relevance, can dynamically determine the display area of the target prompt information according to whether the user operates on the screen, reducing the impact of the target prompt information on the first interface. Interference, improve the flexibility of electronic equipment to display prompt information.
- the embodiment of the present application provides a method for displaying prompt information.
- the electronic device can output the target information according to the user operation information (the information of the user operating the first interface) and the target related information (that is, the degree of correlation between the first interface and the target prompt information). Prompt information.
- the electronic device can display the target prompt information in the corresponding area of the screen in combination with the information on the user's operation of the first interface and the correlation between the first interface and the target prompt information, that is, the display area of the target prompt information is determined by the user.
- the operation information on the first interface is determined by the correlation between the first interface and the target prompt information, instead of directly covering the prompt information on the first interface for display.
- the solution of the present application can avoid the problem that the prompt information is directly covered on the first interface, blocking the content in the first interface, so that the user must interrupt the user's operation on the first interface, thus improving the flexibility of the electronic device to display the prompt information sex.
- the prompt information display method provided in the embodiment of the present application further includes the following steps 501 and 502.
- Step 501 The electronic device receives a first input from a user.
- the above-mentioned first input is the user's input on the target prompt information and an edge area of the screen.
- the above-mentioned first input may be an input where the user drags the target prompt information to an edge area of the screen;
- a selection input for an area (such as a double-click input).
- different edge areas of the screen of the electronic device correspond to different operations of the target prompt information; the user can perform the first input (that is, drag input) on the target prompt information to trigger the electronic device to perform the same operation on the target prompt information.
- the edge area of the screen may include at least one of the following: an upper edge area, a lower edge area, a left edge area, and a right edge area of the screen.
- step 502 the electronic device performs an operation corresponding to an edge area on the target prompt information in response to the first input.
- the electronic device may perform a cancel display operation or a selection operation on the target prompt information; or, the electronic device may perform the event or operation indicated by the content of the target prompt information, for example, the content of the target prompt information is Whether to perform system upgrade, the electronic device may execute the event indicated by the content of the target prompt information according to the user's first input, that is, execute system upgrade.
- the target prompt information is displayed on the left area of the screen, and the content of the target prompt information includes a confirmation operation control and a cancel operation control, and the cancel operation control is located at Confirm the left position of the control.
- the electronic device can gradually move the target prompt information from the current display position to the right edge area of the screen until the target prompt information disappears, so as to realize the target prompt Information cancel display operation; Conversely, when the user drags the target prompt information to move to the right edge area of the screen, the electronic device can gradually move the target prompt information from the current display position to the right edge area of the screen until the target prompt information The information disappears to realize the confirmation operation of the target prompt information.
- the target prompt information is displayed in the upper area of the screen, and the content of the target prompt information includes a confirmation operation control and a cancel operation control, and the cancel operation control is located at the confirmation The top position of the control.
- the electronic device can gradually move the target prompt information from the current display position to the lower edge area of the screen until the target prompt information disappears, so as to realize the target prompt information Cancel the display operation; on the contrary, when the user drags the target prompt information to move to the lower edge area of the screen, the electronic device can gradually move the target prompt information from the current display position to the lower edge area of the screen until the target prompt information disappears, so as to Realize the confirmation operation of the target prompt information.
- the electronic device can perform corresponding operations on the target prompt information according to the user's input method and habits, which improves the flexibility of the electronic device in processing the target prompt information and improves the human-computer interaction performance.
- the prompt information display method provided by the embodiment of the present application may be executed by an electronic device, or a prompt information display device, or a control module in the prompt information display device for executing the prompt information display method.
- the method for displaying prompt information executed by an electronic device is taken as an example to describe the device for displaying prompt information provided in the embodiment of the present application.
- Fig. 4 shows a possible structural schematic diagram of the prompt information display device involved in the embodiment of the present application.
- the prompt information display device 70 may include: an acquisition module 71 and an output module 72 .
- the obtaining module 71 is configured to obtain user operation information and target related information
- the user operation information is the information of the user operating the first interface
- the target related information includes the correlation between the first interface and the target prompt information.
- the output module 72 is configured to output target prompt information based on the user operation information and target related information acquired by the acquisition module 71 .
- the embodiment of the present application provides a prompt information display device
- the prompt information display device can combine the information of the user's operation of the first interface and the correlation between the first interface and the target prompt information, and display the target prompt in the corresponding area of the screen Information, that is, the display area of the target prompt information is determined by the user's operation information on the first interface and the correlation between the first interface and the target prompt information, instead of directly covering the prompt information on the first interface for display. Therefore, the solution of the present application can avoid the problem that the prompt information is directly covered on the first interface, blocking the content in the first interface, so that the user must interrupt the user's operation on the first interface, thus improving the flexibility of the electronic device to display the prompt information sex.
- the user operation information includes at least one of the following: the user's operation position on the first interface, the user's operation direction on the first interface, and the user's operation track on the first interface.
- the prompt information display device 70 further includes: a determination module; and the acquisition module 71 is specifically configured to acquire the feature information of the first interface and the feature information of the target prompt information.
- the determining module is configured to determine target related information according to the feature information of the first interface and the feature information of the target prompt information acquired by the acquiring module 71 .
- the characteristic information of the above-mentioned first interface includes at least one of the following: the size of the first interface, the display content in the first interface, and the attribute information of the application program to which the first interface belongs; target prompt information
- the feature information includes at least one of the following: content of the target prompt information and attribute information of the application program to which the target prompt information belongs.
- the above-mentioned output module 72 is specifically configured to display the first interface in the first area and display the For the target prompt information, the first area and the second area are different areas in the screen.
- the above prompt information display device 70 further includes: an adjustment module; an adjustment module, used for the output module 72 to display the first interface in the first area, and after the target prompt information is displayed in the second area, according to Screen state and target behavior information, adjust the display area of the first interface and the display area of target prompt information, the screen state is a horizontal screen state or a vertical screen state, and the target behavior information is used to indicate the history of the user on the screen of the electronic device usage behavior.
- the output module 72 is specifically configured to display the user's operation on the screen according to the user's operation information under the condition that the correlation degree indicated by the target-related information is greater than a preset threshold.
- the third area corresponding to the user operation information displays target prompt information, and the user operation information includes at least one of the following: the user's pressure sensitivity to the screen, and the location where the user's touch event occurs.
- the first interface is displayed in the first area
- the target prompt information is displayed in the second area
- the first The area and the second area are different areas in the screen.
- the prompt information display device 70 may further include: a control module.
- a control module configured to control the first interface to be in a frozen state and mark the target prompt information in a target marking manner when no user operation on the screen is detected and the correlation degree indicated by the target related information is greater than a preset threshold; Wherein, in the frozen state, the electronic device no longer updates or stops acquiring relevant data of the first interface, or the electronic device does not respond to user input on the first interface.
- the prompt information display device 70 may further include: a receiving module and an executing module.
- the receiving module is configured to receive the user's first input after the output module 72 outputs the target prompt information based on the user operation information and target related information, and the first input is the user's input on the target prompt information and an edge area of the screen.
- the executing module is configured to, in response to the first input received by the receiving module, execute an operation corresponding to an edge area on the target prompt information; wherein, different edge areas of the screen correspond to different operations.
- the device for displaying prompt information in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
- the device may be a mobile electronic device or a non-mobile electronic device.
- the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
- non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
- Network Attached Storage NAS
- personal computer personal computer, PC
- television television
- teller machine or self-service machine etc.
- the device for displaying prompt information in this 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 this embodiment of the present application.
- the prompt information display device provided by the embodiment of the present application can realize the various processes realized by the above method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
- the embodiment of the present application also provides an electronic device 90, including a processor 91, a memory 92, and programs or instructions stored in the memory 92 and operable on the processor 91,
- the program or instruction is executed by the processor 91, the various processes of the above-mentioned method embodiments can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
- the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
- FIG. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
- the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110, etc. part.
- the electronic device 100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
- a power supply such as a battery
- the structure of the electronic device shown in FIG. 6 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
- the processor 110 is configured to acquire user operation information and target related information, the user operation information is information about the user operating the first interface, and the target related information includes a degree of correlation between the first interface and target prompt information.
- the display unit 106 is configured to output target prompt information based on user operation information and target related information.
- An embodiment of the present application provides an electronic device.
- the electronic device can first determine the degree of correlation between the first interface and the target prompt information, that is, whether the first interface and the target prompt information belong to a strong correlation degree or a weak correlation degree, and then The degree of correlation determines the corresponding area to display the target prompt information, rather than directly displaying the target prompt information in the default area (such as the central area) of the screen, so the solution of the present application can effectively avoid the interference of the prompt information on the current interface of the electronic device, That is, there is no need for the user to interrupt the operation on the current interface of the electronic device before operating the prompt information. In this way, the flexibility of the electronic device for displaying prompt information is improved, and the performance of human-computer interaction is improved.
- the processor 110 is specifically configured to acquire feature information of the first interface and feature information of the target prompt information.
- the processor 110 is further configured to determine target related information according to the characteristic information of the first interface and the characteristic information of the target prompt information.
- the display unit 106 is specifically configured to display the first interface in the first area and display the For the target prompt information, the first area and the second area are different areas in the screen.
- the processor 110 is further configured to display the first interface in the first area, and adjust the setting of the first interface according to the screen state and target behavior information after the target prompt information is displayed in the second area.
- the display area and the display area of the target prompt information, the screen state is a horizontal screen state or a vertical screen state, and the target behavior information is used to indicate the user's historical use behavior on the screen of the electronic device.
- the user display unit 106 is specifically configured to, when the user's operation on the screen is detected and the degree of relevance indicated by the target-related information is greater than a preset threshold, display the The third area corresponding to the user operation information displays target prompt information, and the user operation information includes at least one of the following: the pressure sensitivity value of the user to the screen, the position where the user's touch event occurs; or, the display unit 106 is specifically used for When the user’s operation on the screen is detected and the correlation degree included in the target related information is greater than the preset threshold, the first interface is displayed in the first area, and the target prompt information is displayed in the second area.
- the first area and the second area The second area is a different area in the screen.
- the processor 110 is further configured to control the first interface to be in a frozen state when no user operation on the screen is detected and the degree of relevance indicated by the target-related information is greater than a preset threshold. , and mark the target prompt information in a target marking manner; wherein, in the frozen state, the electronic device does not update or obtain relevant data of the first interface or the electronic device does not respond to user input on the first interface.
- the user input unit 107 is configured to receive the user's first input after outputting the target prompt information based on user operation information and target related information.
- the first input is the user's response to the target prompt information and Input for an edge area of the screen.
- the processor 110 is further configured to, in response to the first input, perform an operation corresponding to an edge area on the target prompt information; where different edge areas of the screen correspond to different operations.
- the electronic device provided by the embodiment of the present application can realize each process realized by the above method embodiment, and can achieve the same technical effect, and to avoid repetition, details are not repeated here.
- the input unit 104 may include a graphics processing unit (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used by the image capturing device (such as the image data of the still picture or video obtained by the camera) for processing.
- the display unit 106 may include a display panel 1061, and the display panel 1061 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 other input devices 1072 .
- the 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 repeated here.
- Memory 109 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
- the processor 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
- the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
- the processor is the processor in the electronic device described in the above embodiments.
- the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
- the 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, and the processor is used to run programs or instructions to implement the various processes of the above method embodiments , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
- chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
- the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
- 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, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, 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 certain examples may be combined in other examples.
- the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to enable a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in various embodiments of the present application.
- a terminal which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
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
本申请公开了一种提示信息显示方法、装置及电子设备。包括:获取用户操作信息和目标相关信息(201),用户操作信息为用户操作第一界面的信息,目标相关信息包括第一界面与目标提示信息之间的相关度;基于用户操作信息和目标相关信息,输出目标提示信息(202)。
Description
相关申请的交叉引用
本申请主张在2021年8月31日在中国提交的中国专利申请号202111017106.9的优先权,其全部内容通过引用包含于此。
本申请属于终端技术领域,具体涉及一种提示信息显示方法、装置及电子设备。
通常,为了有效提高电子设备系统的安全性,在用户使用电子设备的过程中,电子设备可以在屏幕中弹出各种提示信息,例如应用程序的权限提示信息,或是电子设备的电量提示信息等,以向用户提示电子设备当前的使用情况。
然而,由于提示信息是覆盖在电子设备当前界面上显示的,因此会遮挡电子设备当前界面中显示的部分内容,并且会中断用户在电子设备当前界面的操作,以对该提示信息进行操作(例如取消显示操作)。
发明内容
本申请实施例的目的是提供一种提示信息显示方法、装置及电子设备,能够解决提示信息覆盖在电子设备当前界面上,会遮挡电子设备当前界面中显示的部分内容,并且会中断用户在电子设备当前界面的操作的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供了一种提示信息显示方法,该提示信息显示方法包括:获取用户操作信息和目标相关信息,用户操作信息为用户操作第一界面的信息,目标相关信息包括第一界面与目标提示信息之间的相关度;基于用户操作信息和目标相关信息,输出目标提示信息。
第二方面,本申请实施例提供了一种提示信息显示装置,该提示信息显示装置包括:获取模块和输出模块。获取模块,用于获取用户操作信息和目标相关信息,该用户操作信息为用户操作第一界面的信息的特征信息,该目标相关信息包括第一界面与 目标提示信息之间的相关度。输出模块,用于基于获取模块获取的用户操作信息和目标相关信息,输出目标提示信息。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,电子设备可以根据用户操作信息(用户操作第一界面的信息)和目标相关信息(即第一界面与目标提示信息之间的相关度),输出目标提示信息。本方案中,电子设备可以结合用户操作第一界面的信息,以及第一界面与目标提示信息之间的相关度,在屏幕中对应的区域显示目标提示信息,即目标提示信息的显示区域由用户对第一界面的操作信息和第一界面与目标提示信息之间的相关度决定,而并非直接将提示信息覆盖在第一界面上显示。因此本申请的方案,可以避免提示信息直接覆盖在第一界面上,遮挡第一界面中的内容,使得用户必须中断用户在第一界面的操作的问题,如此提高了电子设备显示提示信息的灵活性。
图1是本申请实施例提供的一种提示信息显示方法的示意图之一;
图2是本申请实施例提供的一种手机的界面的实例示意图之一;
图3是本申请实施例提供的一种手机的界面的实例示意图之二;
图4是本申请实施例提供的一种提示信息显示装置的结构示意图之一;
图5是本申请实施例提供的一种电子设备的硬件结构示意图之一;
图6是本申请实施例提供的一种电子设备的硬件结构示意图之二。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地 描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的提示信息显示方法进行详细地说明。
本申请实施例中,电子设备可以获取用户操作信息和目标相关信息,并根据第一界面的信息和目标提示信息,确定该第一界面与该目标提示信息之间的相关度信息,然后,电子设备可以根据该目标相关信息和用户操作信息,在屏幕中对应的区域显示目标提示信息。相较于传统技术,用户需要先中断在当前界面中进行的操作,然后再对该提示信息进行操作,例如取消该提示信息,本申请的方案,电子设备可以直接根据用户操作信息、第一界面和目标提示信息的相关度,在屏幕中对应的区域显示目标提示信息。如此,本申请的方案节省了用户的操作和耗时,也提升了电子设备显示提示信息的灵活性。
本申请实施例提供一种提示信息显示方法,图1示出了本申请实施例提供的一种提示信息显示方法的流程图。如图1所示,本申请实施例提供的提示信息显示方法可以包括下述的步骤201和步骤202。
步骤201、电子设备获取用户操作信息和目标相关信息。
本申请实施例中,上述用户操作信息为用户操作第一界面的信息,上述目标相关信息包括第一界面与目标提示信息之间的相关度/相关程度。
本申请实施例中,上述目标提示信息为电子设备待显示的提示信息。
可选地,本申请实施例中,上述用户操作信息包括以下至少一项:用户在第一界面上的操作位置、用户在第一界面上的操作方向、用户在第一界面上的操作轨迹、用户使用电子设备的握持姿势信息(例如左手握持或右手握持信息)等。
本申请实施例中,在电子设备获取到至少一条提示信息后,若电子设备需求在屏幕中 显示该至少一条提示信息,则电子设备可以根据当前显示的界面的信息和该至少一条提示信息,确定至少一条提示信息与当前显示的界面之间的相关程度,从而确定该至少一条提示信息的显示方式(例如显示区域)。
可选地,本申请实施例中,上述提示信息为电子设备的操作系统的提示信息、电子设备中的应用程序的提示信息、电子设备接收到其他设备发送的提示信息。
可选地,本申请实施例中,上述第一界面可以为电子设备桌面的任意一个页面,或者,可以为任意一个应用程序的显示界面。
可选地,本申请实施例中,上述步骤201中的“电子设备获取目标相关信息”具体可以通过下述的步骤201a和步骤201b实现。
步骤201a、电子设备获取第一界面的特征信息和目标提示信息的特征信息。
可选地,本申请实施例中,上述第一界面的特征信息包括以下至少一项:第一界面的尺寸大小、第一界面中的显示内容和第一界面所属应用程序的属性信息。
步骤201b、电子设备根据第一界面的特征信息和目标提示信息的特征信息,确定目标相关信息。
可选地,本申请实施例中,上述目标提示信息的特征信息包括以下至少一项:目标提示信息的内容和目标提示信息所属应用程序的属性信息。
可选地,本申请实施例中,上述第一界面的特征信息包括以下至少一项:第一界面的尺寸大小、第一界面中的显示内容和第一界面所属应用程序的属性信息。
需要说明的是,上述第一界面的尺寸大小为电子设备的屏幕的尺寸大小。
需要说明的是,上述第一界面中的显示内容可以理解为:第一界面中显示的任何形式的内容,例如第一界面中的显示内容包括以下至少一项:第一界面中显示的文字内容、第一界面中显示的图片内容、第一界面中显示/播放的视频内容等。
可选地,本申请实施例中,上述第一界面所属应用程序的属性信息可以包括以下至少一项:应用程序的应用包信息(例如应用包名称)、应用程序的名称信息、应用程序的类别信息、应用程序的设置信息、应用程序的安全信息、应用程序的级别信息、应用程序的图标信息、应用程序接收到的操作信息等,本申请实施例对此不做任何限制。
可选地,本申请实施例中,上述目标提示信息的特征信息包括以下至少一项:目标提示信息的内容和目标提示信息所属应用程序的属性信息。
需要说明的是,上述目标提示信息的内容可以理解为:目标提示信息中所涉及的内容, 例如目标提示信息的内容包括以下至少一项:标题信息、内容的详细描述信息、发起方信息、执行方信息、操作控件(例如取消控件)、类型信息(例如阻塞式提示信息)等。
可选地,本申请实施例中,上述内容的详细描述信息可以包括以下至少一项:时间信息、事件信息、人物信息、关键字信息或类别信息等。
示例性地,上述目标提示信息可以为电量不足提示信息或系统升级提示信息等。
可选地,本申请实施例中,上述类型信息是指该目标提示信息的提示框或是悬浮窗口的类型,电子设备可以根据提示信息的具体内容将其提示框或悬浮窗口的类型分为阻塞式类型和非阻塞式类型,阻塞式类型会中断当前界面的信息接收和界面内容的输入,并依赖于用户对目标提示信息操作的结果。例如,当用户初次使用某个应用程序时,在界面中弹出的用户隐私协议提示框,只有在用户选择了同意隐私的情况下,才能继续对该应用程序进行使用。非阻塞式类型则不会中断当前界面信息的接收和界面内容的输入,例如,当用户在观看视频时,若电子设备电量不足,会在视频的界面上进行电量不足的提醒,但不会中断视频的播放。
可选地,本申请实施例中,上述目标提示信息所属应用程序的属性信息包括以下至少一项:应用程序的应用包信息(例如应用包名称)、应用程序的名称信息、应用程序的类别信息、应用程序的设置信息、应用程序的安全信息、应用程序的级别信息、应用程序的图标信息等,本申请实施例对此不做任何限制。
示例性地,上述目标提示信息可以为闹钟提示信息、日历提示信息、应用程序权限提示信息、应用程序升级提示信息、应用程序接收到的信息、应用程序任务完成提示信息等。
本申请实施例中,电子设备对第一界面的特征信息与目标提示信息的特征信息进行信息比对,以确定第一界面的特征信息与目标提示信息的特征信息之间的匹配度或相似度,从而根据匹配度或相似度确定第一界面的特征信息与目标提示信息的特征信息的相关程度。
可选地,本申请实施例中,电子设备可以将第一界面的特征信息与目标提示信息的特征信息之间的匹配度或相似度,确定为第一界面的特征信息与目标提示信息的特征信息的相关程度;或者,电子设备可以采用预设算法/预设模型,将第一界面的特征信息与目标提示信息的特征信息之间的匹配度或相似度,转换为第一界面的特征信息与目标提示信息的特征信息的相关程度。
示例性地,假设第一界面的显示内容为视频A的播放画面,目标提示信息的内容为电 子设备电量过低;电子设备可以对第一界面的显示内容与目标提示信息的内容进行比较,以确定第一界面的显示内容与目标提示信息的内容之间的匹配度(例如20%),从而确定第一界面的特征信息与目标提示信息的特征信息之间的相关程度(例如20%)。
可选地,本申请实施例中,电子设备中预存有多个相关程度范围,例如强相关程度范围(即相关程度大于或等于一个阈值的相关程度范围)和弱相关程度范围(即相关程度小于或等于一个阈值的相关程度范围);电子设备在确定目标相关信息之后,可以对比目标相关信息指示的相关程度(即第一界面与目标提示信息之间的相关程度)与多个相关程度范围,以确定第一界面与目标提示信息之间的相关程度所在的相关程度范围。
步骤202、电子设备基于用户操作信息和目标相关信息,输出目标提示信息。
本申请实施例中,电子设备可以基于用户的操作信息和目标相关信息,在屏幕中与目标相关信息对应的区域显示目标提示信息。
本申请实施例中,不同用户的操作信息和不同的目标相关信息对应屏幕中的不同显示区域;电子设备可以根据用户的操作信息以及第一界面的特征信息与目标提示信息的特征信息之间的相关度的大小,即属于强相关程度或弱相关程度,在屏幕中与该相关程度对应的区域显示目标提示信息。
可选地,本申请实施例中,电子设备可以在第一界面上悬浮显示/叠加显示目标提示信息;或者,电子设备可以在第一界面上显示提示框,并在该提示框中显示目标提示信息。
可选地,本申请实施例中,上述步骤202具体可以通过下述的步骤202a实现。
步骤202a、在目标相关信息包括的相关度小于或等于预设阈值的情况下,电子设备在第一区域显示第一界面,并在第二区域显示目标提示信息。
本申请实施例中,上述第一区域和第二区域为屏幕中的不同区域。
本申请实施例中,在目标相关信息包括的相关程度小于或等于预设阈值,即目标相关信息包括的相关程度为弱相关程度的情况下,电子设备可以在不同区域显示第一界面和目标提示信息,以在保证第一界面正常显示、且正常接收新的数据的同时,向用户展示目标提示信息,避免了目标提示信息对第一界面的干扰。
可选地,本申请实施例中,针对弱相关程度,在显示目标提示信息时,电子设备可以不锁定第一界面,即第一界面能够正常接收新的数据、正常响应用户的操作等。可以理解,在弱相关程度下,在显示目标提示信息时,第一界面是显示区域的尺寸发生改变,目标提示信息并不会对第一界面造成其他干扰或影响,例如不会中断用户在第一界面上的操作, 也无需用户触发电子设备取消显示目标提示信息才能正常使用第一界面。
可选地,本申请实施例中,若第一界面的特征信息与目标提示信息的特征信息之间的匹配度和/或相似度较低(即匹配度/相似度小于或等于一个阈值),则确定目标相关程度小于或等于预设阈值,即第一界面与目标提示信息为弱相关程度。
示例性地,若目标提示信息中的应用程序的应用包名称和第一界面所属应用程序的应用包名称不同,则确定第一界面与目标提示信息为弱相关程度。
示例性地,若目标提示信息中的应用程序的应用包名称和第一界面所属应用程序的应用包名称不同、且与用户当前在第一界面中的操作无关,则确定第一界面与目标提示信息为弱相关程度。例如目标提示信息为提示用户AppB崩溃的信息,第一界面为AppA的视频播放界面,则确定两者之间并无相关性,即确定第一界面与目标提示信息为弱相关程度。
可选地,本申请实施例中,若目标提示信息的类型为非阻塞式类型,则确定目标相关程度小于或等于预设阈值,即第一界面与目标提示信息为弱相关程度。
可选地,本申请实施例中,电子设备可以将屏幕划分为第一区域和第二区域,然后对第一界面进行尺寸缩小操作,以使得第一界面的尺寸小于或等于第一区域的尺寸,从而将第一界面显示在第一区域中,并在第二区域中显示目标提示信息。
可选地,本申请实施例中,电子设备可以按照预设尺寸对第一界面进行尺寸缩小操作,以在屏幕中显示尺寸缩小后的第一界面,即尺寸缩小后的第一界面所在的区域为第一区域,并在屏幕中除该第一区域之外的区域(即第二区域)中显示目标提示信息。
可选地,本申请实施例中,电子设备可以根据屏幕的当前状态(例如横屏状态或竖屏状态)以及用户对电子设备的使用习惯信息(例如左手操作电子设备或右手操作电子设备),将屏幕划分为第一区域和第二区域。
可选地,本申请实施例中,当电子设备处于横屏状态时,电子设备可以基于横屏状态下屏幕的中轴线,将屏幕划分为左侧区域和右侧区域,以得到第一区域和第二区域。当电子设备处于竖屏状态时,电子设备可以基于竖屏状态下屏幕的中轴线,将屏幕划分为上方区域和下方区域,以得到第一区域和第二区域。
示例性地,以电子设备为手机为例进行说明。如图2中的(A)所示,手机的屏幕处于横屏状态,在手机确定第一界面(例如视频A的播放界面)与目标提示信息的相关程度为弱相关程度时,手机可以在屏幕中的第一区域(例如左侧区域10)中显示第一界面,并在第二区域(例如右侧区域11)中显示目标提示信息。
又示例性地,如图2中的(B)所示,手机的屏幕处于竖屏状态,在手机确定第一界面(例如视频A的播放界面)与目标提示信息的相关程度为弱相关程度时,手机可以在屏幕中的第一区域(例如上方区域12)中显示第一界面,并在第二区域(例如下方区域13)中显示目标提示信息。
可选地,本申请实施例中,上述第一区域和第二区域的尺寸可以相同或不同;和/或,上述第一区域和第二区域的形状可以相同或不同。
可选地,本申请实施例中,在上述步骤202a之后,本申请实施例提供的提示信息显示方法还包括下述的步骤301。
步骤301、电子设备根据屏幕状态和目标行为信息,调整第一界面的显示区域和目标提示信息的显示区域。
本申请实施例中,上述屏幕状态为横屏状态或竖屏状态,上述目标行为信息用于指示用户在电子设备的屏幕上的历史使用行为。
需要说明的是,用户在电子设备的屏幕上的历史使用行为可以理解为:用户对电子设备的历史使用过程中,对电子设备的握持行为,即用户握持电子设备时用户的手指在屏幕上的位置;或者,用户对电子设备的屏幕进行操作的位置/区域,例如用户最后一次对电子设备的屏幕操作时,所操作的屏幕的位置/区域。
可选地,本申请实施例中,当屏幕状态为横屏状态或竖屏状态时,电子设备可以根据用户在电子设备的屏幕上的历史使用行为,调整第一界面和目标提示信息显示在屏幕中用户手指未遮挡的区域。
可选地,本申请实施例中,屏幕中用户手指未遮挡的区域由横屏状态下用户握持电子设备的姿态信息确定,或者由竖屏状态下用户握持电子设备的姿态信息确定。
本申请实施例中,电子设备可以根据屏幕状态和目标行为信息,适应性调整第一界面的显示区域和目标提示信息的显示区域,在显示的第一界面和目标提示信息适应屏幕尺寸的同时,以避免用户手指对第一界面和目标提示信息的遮挡,提升了电子设备显示第一界面和提示信息的灵活性。
可选地,本申请实施例中,上述步骤202具体可以通过下述的步骤202b或者步骤202c实现。
步骤202b、在检测到用户在屏幕上的操作、且目标相关信息包括的相关度大于预设阈值的情况下,电子设备根据用户操作信息,在屏幕中与用户操作信息对应的第三区域显示 目标提示信息。
本申请实施例中,上述用户操作信息包括以下至少一项:用户对屏幕的压感值、用户的点触事件发生的位置。
本申请实施例中,用户操作信息可以理解为用户在屏幕上的操作,即在显示第一界面的情况下,用户在屏幕上的任何操作,例如点击操作、滑动操作、握持操作等。
本申请实施例中,上述第三区域为用户在屏幕上的操作位置对应的区域。
本申请实施例中,在检测到用户在屏幕上的操作的情况下,目标提示信息在屏幕中的显示区域随着用户在屏幕上的操作位置的变化而变化。
可选地,本申请实施例中,上述第三区域可以为与用户的手指在屏幕上所处的区域;或者,上述第三区域可以为用户的手指在屏幕上所处区域之外的其他区域。
示例性地,如图3所示,在检测到用户在屏幕上的操作的情况下,手机可以在用户的手指所在的区域显示目标提示信息,并在用户的手指位置发生移动的情况下,目标提示信息的显示区域随着用户的手指位置的变化而变化。
可选地,本申请实施例中,用户对屏幕的压感值可以通过以下至少一项确定:用户对电子设备的屏幕区域的压感值、用户对电子设备的后壳区域的压感值、用户对电子设备的侧边区域的压感值、用户对电子设备的按键区域的压感值等。
需要说明的是,用户的点触事件可以理解为用户在屏幕上的点触操作。可选地,本申请实施例中,上述用户操作信息还包括以下至少一项:用户的点触操作的方式(例如点击输入、滑动输入或长按输入等)、点触操作的方向、点触操作的轨迹等。
可选地,本申请实施例中,电子设备可以根据用户的点触操作和压感值判断用户握持电子设备的姿势,例如电子设备可以判断用户当前的握持姿势为左手握持姿势或右手握持姿势。
可选地,本申请实施例中,若检测到用户正在通过左手握持姿势使用电子设备,并且用户的操作位置位于屏幕的右侧区域,则电子设备可以在该操作位置的左侧区域显示目标提示信息。或者,若检测到用户正在通过右手握持姿势使用电子设备,并且用户的操作位置位于屏幕的左侧区域,则电子设备可以在该操作位置的右侧区域显示目标提示信息。
可选的,本申请实施例中,针对强弱相关程度,在显示目标提示信息时,电子设备可以锁定第一界面,即第一界面所属的应用程序当前不再接收新的数据、不响应用户的操作等,直至用户对目标提示信息进行操作(例如取消操作)之后,才继续接收新的数据、响 应用户的操作等。
本申请实施例中,在检测到用户在屏幕上存在操作的情况下,电子设备可以根据用户的操作位置,显示目标提示信息,以便于用户在该操作位置直接对目标提示信息进行操作(例如取消操作或位置调整操作),提升了电子设备对提示信息显示的灵活性。
步骤202c、在未检测到用户在屏幕上的操作、且所述目标相关信息包括的相关度大于预设阈值的情况下,电子设备在第一区域显示第一界面,并在第二区域显示目标提示信息。
本申请实施例中,上述第一区域和第二区域为屏幕中的不同区域。
需要说明的是,针对电子设备在第一区域和第二区域,分别显示第一界面和目标提示信息的方法,可以参见上述实施例步骤202a中的描述,此处不再赘述。
可选地,本申请实施例中,若未检测到电子设备的使用信息或操作信息,电子设备也可以根据历史操作信息,确定目标提示信息的显示位置。
本申请实施例中,在未检测到用户在屏幕上的操作的情况下,电子设备可以在不同区域显示根第一界面和目标提示信息,以在保证第一界面正常显示、且正常接收新的数据的同时,向用户展示目标提示信息,避免了目标提示信息对第一界面的干扰,提升了电子设备对提示信息显示的灵活性。
本申请实施例中,当目标相关信息指示的相关程度大于预设阈值,即目标相关信息指示的相关程度为强相关程度时,电子设备可以根据用户是否在屏幕上存在操作,以确定目标提示信息的显示区域,即当用户在屏幕上存在操作时,电子设备在第三区域显示目标提示信息,当用户在屏幕上不存在操作时,电子设备在第二区域显示目标提示信息,从而灵活地向用户展示提示信息。
可选地,本申请实施例提供的提示信息显示方法还包括下述的步骤401。
步骤401、在未检测到用户在屏幕上的操作、且目标相关信息指示的相关程度大于预设阈值的情况下,电子设备控制第一界面处于冻结状态。
本申请实施例中,在冻结状态下,电子设备不再更新或获取第一界面的相关数据,或者电子设备不响应用户对第一界面的输入。
可以理解,在冻结状态下,电子设备可以停止获取第一界面的相关数据,该第一界面的相关数据包括以下至少一项:更新第一界面中的内容所使用的数据(第一界面对应的新数据)、用户在第一界面上操作的数据等。
可选地,本申请实施例中,电子设备在冻结第一界面之后,可以采用颜色闪烁方式显 示目标提示信息。
需要说明的是,针对上述步骤401和步骤202c的执行顺序,本申请实施例不做限制。可以先执行上述步骤401,再执行上述步骤202c;或者,可以先执行上述步骤202c,再执行上述步骤401;或者,可以同时执行上述步骤401和步骤202c。
可以理解,在目标相关信息指示的相关程度较高时,电子设备可以控制第一界面处于冻结状态,以使得用户在及时对目标提示信息进行操作的同时,避免第一界面发生变化时用户的误操作和对重要信息的遗漏,提高了用户对电子设备的使用安全性和灵活性。
可选地,本申请实施例中,若第一界面的特征信息与目标提示信息的特征信息之间的匹配度/相似度较高(即匹配度/相似度大于或等于一个阈值),则确定目标相关程度大于预设阈值,即第一界面与目标提示信息为强相关程度。
示例性地,若目标提示信息中的所有内容不包含应用程序的名称或应用包名称,且第一界面中执行的事件与目标提示信息中的内容或操作事件相关,则确定第一界面与目标提示信息为强相关程度。例如用户在第一界面中进行某个应用程序的启动操作,电子设备检测到电子设备处于未联网状态,则电子设备可以弹出提示信息,以向用户提示进行网络连接,即提示信息与用户在第一界面的操作是强相关的。
可选地,本申请实施例中,若目标提示信息的类型为阻塞式类型,则确定目标相关程度大于预设阈值,即第一界面与目标提示信息为强相关程度。
本申请实施例中,在目标相关信息指示的相关程度较高时,电子设备可以根据用户在屏幕上是否进行了操作,以动态确定目标提示信息的显示区域,降低目标提示信息对第一界面的干扰,提升电子设备对提示信息显示的灵活性。
本申请实施例提供一种提示信息显示方法,电子设备可以根据用户操作信息(用户操作第一界面的信息)和目标相关信息(即第一界面与目标提示信息之间的相关度),输出目标提示信息。本方案中,电子设备可以结合用户操作第一界面的信息,以及第一界面与目标提示信息之间的相关度,在屏幕中对应的区域显示目标提示信息,即目标提示信息的显示区域由用户对第一界面的操作信息和第一界面与目标提示信息之间的相关度决定,而并非直接将提示信息覆盖在第一界面上显示。因此本申请的方案,可以避免提示信息直接覆盖在第一界面上,遮挡第一界面中的内容,使得用户必须中断用户在第一界面的操作的问题,如此提高了电子设备显示提示信息的灵活性。
可选地,本申请实施例中,在上述步骤202之后,本申请实施例提供的提示信息显示 方法还包括下述的步骤501和步骤502。
步骤501、电子设备接收用户的第一输入。
本申请实施例中,上述第一输入为用户对目标提示信息和屏幕的一个边缘区域的输入。
可选地,本申请实施例中,上述第一输入可以为用户将目标提示信息拖动至屏幕的一个边缘区域的输入;或者,上述第一输入可以为用户对目标提示信息和屏幕的一个边缘区域的选择输入(例如双击输入)。
本申请实施例中,电子设备屏幕的不同边缘区域对应目标提示信息不同的操作;用户可以通过对目标提示信息进行第一输入(即拖动输入),以触发电子设备对目标提示信息,执行与第一输入对应的边缘区域所对应的操作。
可选地,本申请实施例中,屏幕的边缘区域可以包括以下至少一项:屏幕的上边缘区域、下边缘区域、左边缘区域、右边缘区域。
步骤502、电子设备响应于第一输入,对目标提示信息执行与一个边缘区域对应的操作。
其中,屏幕的不同边缘区域对应不同的操作。
可选地,本申请实施例中,电子设备可以对目标提示信息执行取消显示操作或选中操作;或者,电子设备可以执行目标提示信息的内容所指示的事件或操作,例如目标提示信息的内容为是否进行系统升级,电子设备可以根据用户的第一输入,执行该目标提示信息的内容所指示的事件,即执行系统升级。
可选地,在本申请实施例的第一种实现方式中,假设目标提示信息显示在屏幕的左侧区域,且该目标提示信息的内容包括确认操作控件和取消操作控件,该取消操作控件位于确认控件的左侧位置。当用户拖动目标提示信息移动至屏幕的左侧边缘区域时,电子设备可以将目标提示信息从当前显示位置逐渐朝向屏幕的右侧边缘区域移动,直至该目标提示信息消失,以实现对目标提示信息的取消显示操作;反之,当用户拖动目标提示信息移动至屏幕的右侧边缘区域时,电子设备可以将目标提示信息从当前显示位置逐渐朝向屏幕的右侧边缘区域移动,直至该目标提示信息消失,以实现对目标提示信息的确认操作。
可选地,在本申请实施例的第二种实现方式中,假设目标提示信息显示在屏幕的上方区域,且该目标提示信息的内容包括确认操作控件和取消操作控件,该取消操作控件位于确认控件的上方位置。当用户拖动目标提示信息移动至屏幕的上方边缘区域时,电子设备 可以将目标提示信息从当前显示位置逐渐朝向屏幕的下方边缘区域移动,直至该目标提示信息消失,以实现对目标提示信息的取消显示操作;反之,当用户拖动目标提示信息移动至屏幕的下方边缘区域时,电子设备可以将目标提示信息从当前显示位置逐渐朝向屏幕的下方边缘区域移动,直至该目标提示信息消失,以实现对目标提示信息的确认操作。
本申请实施例中,电子设备可以根据用户的输入方式和习惯,对目标提示信息进行对应的操作,提升了电子设备处理目标提示信息的灵活性,并提升了人机交互性能。
需要说明的是,本申请实施例提供的提示信息显示方法,执行主体可以为电子设备,或者提示信息显示装置,或者该提示信息显示装置中的用于执行提示信息显示方法的控制模块。本申请实施例中以电子设备执行提示信息显示方法为例,说明本申请实施例提供的提示信息显示装置。
图4示出了本申请实施例中涉及的提示信息显示装置的一种可能的结构示意图。如图4所示,该提示信息显示装置70可以包括:获取模块71和输出模块72。
其中,获取模块71,用于获取用户操作信息和目标相关信息,该用户操作信息为用户操作第一界面的信息,该目标相关信息包括第一界面与目标提示信息之间的相关度。输出模块72,用于基于获取模块71获取的用户操作信息和目标相关信息,输出目标提示信息。
本申请实施例提供一种提示信息显示装置,该提示信息显示装置可以结合用户操作第一界面的信息,以及第一界面与目标提示信息之间的相关度,在屏幕中对应的区域显示目标提示信息,即目标提示信息的显示区域由用户对第一界面的操作信息和第一界面与目标提示信息之间的相关度决定,而并非直接将提示信息覆盖在第一界面上显示。因此本申请的方案,可以避免提示信息直接覆盖在第一界面上,遮挡第一界面中的内容,使得用户必须中断用户在第一界面的操作的问题,如此提高了电子设备显示提示信息的灵活性。
在一种可能的实现方式中,上述用户操作信息包括以下至少一项:用户在第一界面上的操作位置、用户在第一界面上的操作方向、用户在第一界面上的操作轨迹。
在一种可能的实现方式中,上述提示信息显示装置70还包括:确定模块;上述获取模块71,具体用于获取第一界面的特征信息和目标提示信息的特征信息。确定模块,用于根据获取模块71获取的第一界面的特征信息和目标提示信息的特征信息,确定目标相关信息。
在一种可能的实现方式中,上述第一界面的特征信息包括以下至少一项:第一界面的尺寸大小、第一界面中的显示内容和第一界面所属应用程序的属性信息;目标提示信息的 特征信息包括以下至少一项:目标提示信息的内容和目标提示信息所属应用程序的属性信息。
在一种可能的实现方式中,上述输出模块72,具体用于在目标相关信息包括的相关度小于或等于预设阈值的情况下,在第一区域显示第一界面,并在第二区域显示目标提示信息,第一区域和第二区域为屏幕中的不同区域。
在一种可能的实现方式中,上述提示信息显示装置70还包括:调整模块;调整模块,用于输出模块72在第一区域显示第一界面,并在第二区域显示目标提示信息之后,根据屏幕状态和目标行为信息,调整第一界面的显示区域和目标提示信息的显示区域,该屏幕状态为横屏状态或竖屏状态,该目标行为信息用于指示用户在电子设备的屏幕上的历史使用行为。
在一种可能的实现方式中,输出模块72,具体用于在检测到用户在屏幕上的操作、且目标相关信息指示的相关度大于预设阈值的情况下,根据用户操作信息,在屏幕中与用户操作信息对应的第三区域显示目标提示信息,用户操作信息包括以下至少一项:用户对屏幕的压感值、用户的点触事件发生的位置。或者,在未检测到用户在屏幕上的操作、且目标相关信息包括的相关度大于预设阈值的情况下,在第一区域显示第一界面,并在第二区域显示目标提示信息,第一区域和第二区域为屏幕中的不同区域。
在一种可能的实现方式中,上述提示信息显示装置70还可以包括:控制模块。控制模块,用于在未检测到用户在屏幕上的操作、且目标相关信息指示的相关度大于预设阈值的情况下,控制第一界面处于冻结状态,并采用目标标记方式标记目标提示信息;其中,在冻结状态下,电子设备不再更新或停止获取第一界面的相关数据,或者电子设备不响应用户对第一界面的输入。
在一种可能的实现方式中,上述提示信息显示装置70还可以包括:接收模块和执行模块。接收模块,用于在输出模块72基于用户操作信息和目标相关信息,输出目标提示信息之后,接收用户的第一输入,该第一输入为用户对目标提示信息和屏幕的一个边缘区域的输入。执行模块,用于响应于接收模块接收的第一输入,对目标提示信息执行与一个边缘区域对应的操作;其中,屏幕的不同边缘区域对应不同的操作。
本申请实施例中的提示信息显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移 动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的提示信息显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的提示信息显示装置能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
可选地,如图5所示,本申请实施例还提供一种电子设备90,包括处理器91,存储器92,存储在存储器92上并可在所述处理器91上运行的程序或指令,该程序或指令被处理器91执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。
图6为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,处理器110,用于获取用户操作信息和目标相关信息,该用户操作信息为用户操作第一界面的信息,该目标相关信息包括第一界面与目标提示信息之间的相关度。显示单元106,用于基于用户操作信息和目标相关信息,输出目标提示信息。
本申请实施例提供一种电子设备,该电子设备可以先确定第一界面与目标提示信息的相关程度,即第一界面与目标提示信息之间属于强相关程度还是弱相关程度,然后根据所 属的相关程度确定对应的区域以显示目标提示信息,而并非是直接在屏幕的默认区域(例如中心区域)显示目标提示信息,因此本申请的方案能够有效地避免提示信息对电子设备当前界面的干扰,即无需用户必须先中断在电子设备当前界面中的操作,然后再对提示信息进行操作。如此提升了电子设备对提示信息显示的灵活性,并提升了人机交互性能。
可选地,本申请实施例中,处理器110,具体用于获取第一界面的特征信息和目标提示信息的特征信息。处理器110,还用于根据第一界面的特征信息和目标提示信息的特征信息,确定目标相关信息。
可选地,本申请实施例中,显示单元106,具体用于在目标相关信息包括的相关度小于或等于预设阈值的情况下,在第一区域显示第一界面,并在第二区域显示目标提示信息,第一区域和第二区域为屏幕中的不同区域。
可选地,本申请实施例中,处理器110,还用于在第一区域显示第一界面,并在第二区域显示目标提示信息之后,根据屏幕状态和目标行为信息,调整第一界面的显示区域和目标提示信息的显示区域,该屏幕状态为横屏状态或竖屏状态,该目标行为信息用于指示用户在电子设备的屏幕上的历史使用行为。
可选地,本申请实施例中,用户显示单元106具体用于在检测到用户在屏幕上的操作、且目标相关信息指示的相关程度大于预设阈值的情况下,根据用户操作信息,在屏幕中与用户操作信息对应的第三区域显示目标提示信息,用户操作信息包括以下至少一项:用户对屏幕的压感值、用户的点触事件发生的位置;或者,显示单元106,具体用于在检测到用户在屏幕上的操作、且目标相关信息包括的相关度大于预设阈值的情况下,在第一区域显示第一界面,并在第二区域显示目标提示信息,第一区域和第二区域为屏幕中的不同区域。
可选地,本申请实施例中,处理器110还用于在未检测到用户在屏幕上的操作、且目标相关信息指示的相关程度大于预设阈值的情况下,控制第一界面处于冻结状态,并采用目标标记方式标记目标提示信息;其中,在冻结状态下,电子设备不再更新或获取第一界面的相关数据或者电子设备不响应用户对第一界面的输入。
可选地,本申请实施例中,用户输入单元107,用于基于用户操作信息和目标相关信息,输出目标提示信息之后,接收用户的第一输入,该第一输入为用户对目标提示信息和屏幕的一个边缘区域的输入。处理器110,还用于响应于第一输入,对目标提示信息执行与一个边缘区域对应的操作;其中,屏幕的不同边缘区域对应不同的操作。
本申请实施例提供的电子设备能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固 有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
Claims (23)
- 一种提示信息显示方法,所述方法包括:获取用户操作信息和目标相关信息,所述用户操作信息为用户操作第一界面的信息,所述目标相关信息包括所述第一界面与目标提示信息之间的相关度;基于所述用户操作信息和所述目标相关信息,输出所述目标提示信息。
- 根据权利要求1所述的方法,其中,所述用户操作信息包括以下至少一项:用户在所述第一界面上的操作位置、用户在所述第一界面上的操作方向、用户在所述第一界面上的操作轨迹。
- 根据权利要求1或2所述的方法,其中,所述获取目标相关信息,包括:获取所述第一界面的特征信息和所述目标提示信息的特征信息;根据所述第一界面的特征信息和所述目标提示信息的特征信息,确定所述目标相关信息。
- 根据权利要求3所述的方法,其中,所述第一界面的特征信息包括以下至少一项:所述第一界面的尺寸大小、所述第一界面中的显示内容和所述第一界面所属应用程序的属性信息;所述目标提示信息的特征信息包括以下至少一项:所述目标提示信息的内容和所述目标提示信息所属应用程序的属性信息。
- 根据权利要求1所述的方法,其中,所述基于所述用户操作信息和所述目标相关信息,输出所述目标提示信息,包括:在所述目标相关信息包括的相关度小于或等于预设阈值的情况下,在第一区域显示所述第一界面,并在第二区域显示所述目标提示信息,所述第一区域和所述第二区域为屏幕中的不同区域。
- 根据权利要求5所述的方法,其中,所述在第一区域显示所述第一界面,并在第二区域显示所述目标提示信息之后,所述方法还包括:根据屏幕状态和目标行为信息,调整所述第一界面的显示区域和所述目标提示信息的显示区域,所述屏幕状态为横屏状态或竖屏状态,所述目标行为信息用于指示用户在所述电子设备的屏幕上的历史使用行为。
- 根据权利要求1所述的方法,其中,所述基于所述用户操作信息和所述目标相关信息,输出所述目标提示信息,包括:在检测到用户在屏幕上的操作、且所述目标相关信息包括的相关度大于预设阈值的情况下,根据所述用户操作信息,在所述屏幕中与所述用户操作信息对应的第三区域显示所述目标提示信息,所述用户操作信息包括以下至少一项:用户对所述屏幕的压感值、用户的点触事件发生的位置;在未检测到用户在屏幕上的操作、且所述目标相关信息包括的相关度大于预设阈值的情况下,在第一区域显示所述第一界面,并在第二区域显示所述目标提示信息,所述第一区域和所述第二区域为所述屏幕中的不同区域。
- 根据权利要求7所述的方法,其中,所述方法还包括:在未检测到用户在屏幕上的操作、且所述目标相关信息指示的相关度大于预设阈值的情况下,控制所述第一界面处于冻结状态,并采用目标标记方式标记所述目标提示信息;其中,在所述冻结状态下,电子设备不再更新或获取所述第一界面的数据,或者电子设备不响应用户对所述第一界面的输入。
- 根据权利要求1所述的方法,其中,所述基于所述用户操作信息和所述目标相关信息,输出所述目标提示信息之后,所述方法还包括:接收用户的第一输入,所述第一输入为用户对所述目标提示信息和屏幕的一个边缘区域的输入;响应于所述第一输入,对所述目标提示信息执行与所述边缘区域对应的操作;其中,所述屏幕的不同边缘区域对应不同的操作。
- 一种提示信息显示装置,所述提示信息显示装置包括:获取模块和输出模块;所述获取模块,用于获取用户操作信息和目标相关信息,所述用户操作信息为用户操作第一界面的信息,所述目标相关信息包括所述第一界面与目标提示信息之间的相关度;所述输出模块,用于基于所述获取模块获取的所述用户操作信息和所述目标相关信息,输出所述目标提示信息。
- 根据权利要求10所述的装置,其中,所述用户操作信息包括以下至少一项:用户在所述第一界面上的操作位置、用户在所述第一界面上的操作方向、用户在所述第一界面上的操作轨迹。
- 根据权利要求10或11所述的装置,其中,所述提示信息显示装置还包括: 确定模块;所述获取模块,具体用于获取所述第一界面的特征信息和所述目标提示信息的特征信息;所述确定模块,用于根据所述获取模块获取的所述第一界面的特征信息和所述目标提示信息的特征信息,确定所述目标相关信息。
- 根据权利要求12所述的装置,其中,所述第一界面的特征信息包括以下至少一项:所述第一界面的尺寸大小、所述第一界面中的显示内容和所述第一界面所属应用程序的属性信息;所述目标提示信息的特征信息包括以下至少一项:所述目标提示信息的内容和所述目标提示信息所属应用程序的属性信息。
- 根据权利要求10所述的装置,其中,所述输出模块,具体用于在所述目标相关信息包括的相关度小于或等于预设阈值的情况下,在第一区域显示所述第一界面,并在第二区域显示所述目标提示信息,所述第一区域和所述第二区域为所述屏幕中的不同区域。
- 根据权利要求14所述的装置,其中,所述提示信息显示装置还包括:调整模块;所述调整模块,用于所述输出模块在所述在第一区域显示所述第一界面,并在第二区域显示所述目标提示信息之后,根据屏幕状态和目标行为信息,调整所述第一界面的显示区域和所述目标提示信息的显示区域,所述屏幕状态为横屏状态或竖屏状态,所述目标行为信息用于指示用户在所述电子设备的屏幕上的历史使用行为。
- 根据权利要求10所述的装置,其中,所述输出模块,具体用于在检测到用户在屏幕上的操作、且所述目标相关信息包括的相关度大于预设阈值的情况下,根据所述用户操作信息,在所述屏幕中与所述用户操作信息对应的第三区域显示所述目标提示信息,所述用户操作信息包括以下至少一项:用户对所述屏幕的压感值、用户的点触事件发生的位置;或者,在未检测到用户在屏幕上的操作、且所述目标相关信息包括的相关度大于预设阈值的情况下,在第一区域显示所述第一界面,并在第二区域显示所述目标提示信息,所述第一区域和所述第二区域为所述屏幕中的不同区域。
- 根据权利要求16所述的装置,其中,所述装置还包括:控制模块;所述控制模块,用于在未检测到用户在屏幕上的操作、且所述目标相关信息指示的相关度大于预设阈值的情况下,控制所述第一界面处于冻结状态,并采用目标标记方式标记所述目标提示信息;其中,在所述冻结状态下,电子设备不再更新或获取所述第一界面的数据,或者电子设备不响应用户对所述第一界面的输入。
- 根据权利要求10所述的装置,其中,所述装置还包括:接收模块和执行模块;所述接收模块,用于在所述输出模块基于所述用户操作信息和所述目标相关信息,输出所述目标提示信息之后,接收用户的第一输入,所述第一输入为用户对所述目标提示信息至所述屏幕的一个边缘区域的输入;所述执行模块,用于响应于所述接收模块接收的所述第一输入,对所述目标提示信息执行与所述一个边缘区域对应的操作;其中,所述屏幕的不同边缘区域对应不同的操作。
- 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至9中任一项所述的提示信息显示方法的步骤。
- 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至9中任一项所述的提示信息显示方法的步骤。
- 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至9中任一项所述的提示信息显示方法的步骤。
- 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至9中任一项所述的提示信息显示方法的步骤。
- 一种电子设备,其特征在于,包括所述电子设备被配置成用于执行如权利要求1至9中任一项所述的提示信息显示方法的步骤。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111017106.9 | 2021-08-31 | ||
CN202111017106.9A CN113778598A (zh) | 2021-08-31 | 2021-08-31 | 提示信息显示方法、装置及电子设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023030304A1 true WO2023030304A1 (zh) | 2023-03-09 |
Family
ID=78840380
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/115804 WO2023030304A1 (zh) | 2021-08-31 | 2022-08-30 | 提示信息显示方法、装置及电子设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113778598A (zh) |
WO (1) | WO2023030304A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113778598A (zh) * | 2021-08-31 | 2021-12-10 | 维沃移动通信有限公司 | 提示信息显示方法、装置及电子设备 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110314376A1 (en) * | 2010-06-18 | 2011-12-22 | Michael Dearman | Method and system that displays a tooltip |
CN105930043A (zh) * | 2016-04-15 | 2016-09-07 | 苏州佳世达电通有限公司 | 一种消息显示方法及电子设备 |
CN106951139A (zh) * | 2017-03-13 | 2017-07-14 | 海信集团有限公司 | 消息提示框显示方法及装置 |
CN107341706A (zh) * | 2017-05-25 | 2017-11-10 | 段元文 | 分屏显示对比的方法、终端及计算机可读存储介质 |
CN109246464A (zh) * | 2018-08-22 | 2019-01-18 | Oppo广东移动通信有限公司 | 用户界面显示方法、装置、终端及存储介质 |
CN111580917A (zh) * | 2020-05-12 | 2020-08-25 | 北京字节跳动网络技术有限公司 | 一种信息显示方法、装置、电子设备及存储介质 |
CN112214142A (zh) * | 2020-09-30 | 2021-01-12 | 维沃移动通信有限公司 | 应用程序信息显示方法、装置、电子设备及存储介质 |
CN113778598A (zh) * | 2021-08-31 | 2021-12-10 | 维沃移动通信有限公司 | 提示信息显示方法、装置及电子设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108400925B (zh) * | 2017-02-08 | 2021-04-09 | 阿里巴巴集团控股有限公司 | 即时通讯消息的提醒方法及即时通讯客户端 |
CN107357803B (zh) * | 2017-05-22 | 2021-02-26 | 捷开通讯(深圳)有限公司 | 应用页面的搜索方法、移动设备及具有存储功能的装置 |
CN108287644B (zh) * | 2018-01-12 | 2020-04-28 | 维沃移动通信有限公司 | 一种应用程序的信息显示方法及移动终端 |
CN111381924B (zh) * | 2020-03-16 | 2023-08-25 | 维沃移动通信有限公司 | 界面显示的方法、电子设备及介质 |
CN112148941B (zh) * | 2020-09-24 | 2023-07-25 | 网易(杭州)网络有限公司 | 信息提示方法、装置和终端设备 |
-
2021
- 2021-08-31 CN CN202111017106.9A patent/CN113778598A/zh active Pending
-
2022
- 2022-08-30 WO PCT/CN2022/115804 patent/WO2023030304A1/zh active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110314376A1 (en) * | 2010-06-18 | 2011-12-22 | Michael Dearman | Method and system that displays a tooltip |
CN105930043A (zh) * | 2016-04-15 | 2016-09-07 | 苏州佳世达电通有限公司 | 一种消息显示方法及电子设备 |
CN106951139A (zh) * | 2017-03-13 | 2017-07-14 | 海信集团有限公司 | 消息提示框显示方法及装置 |
CN107341706A (zh) * | 2017-05-25 | 2017-11-10 | 段元文 | 分屏显示对比的方法、终端及计算机可读存储介质 |
CN109246464A (zh) * | 2018-08-22 | 2019-01-18 | Oppo广东移动通信有限公司 | 用户界面显示方法、装置、终端及存储介质 |
CN111580917A (zh) * | 2020-05-12 | 2020-08-25 | 北京字节跳动网络技术有限公司 | 一种信息显示方法、装置、电子设备及存储介质 |
CN112214142A (zh) * | 2020-09-30 | 2021-01-12 | 维沃移动通信有限公司 | 应用程序信息显示方法、装置、电子设备及存储介质 |
CN113778598A (zh) * | 2021-08-31 | 2021-12-10 | 维沃移动通信有限公司 | 提示信息显示方法、装置及电子设备 |
Also Published As
Publication number | Publication date |
---|---|
CN113778598A (zh) | 2021-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140078091A1 (en) | Terminal Device and Method for Quickly Starting Program | |
US20120032891A1 (en) | Device, Method, and Graphical User Interface with Enhanced Touch Targeting | |
US20110175826A1 (en) | Automatically Displaying and Hiding an On-screen Keyboard | |
US20120030624A1 (en) | Device, Method, and Graphical User Interface for Displaying Menus | |
US20110163973A1 (en) | Device, Method, and Graphical User Interface for Accessing Alternative Keys | |
CN110069178B (zh) | 界面控制方法及终端设备 | |
CN110737374A (zh) | 操作方法及电子设备 | |
WO2023025060A1 (zh) | 界面显示的适配处理方法、装置和电子设备 | |
CN111897476B (zh) | 防误触设置方法及装置 | |
CN110209369B (zh) | 一种界面显示方法及终端设备 | |
CN109407948B (zh) | 一种界面显示方法及移动终端 | |
WO2020078234A1 (zh) | 显示控制方法及终端 | |
WO2021047062A1 (zh) | 按键模式设置方法、装置及存储介质 | |
WO2023005828A1 (zh) | 消息显示方法、装置和电子设备 | |
WO2024046204A1 (zh) | 消息处理方法、装置、电子设备及存储介质 | |
WO2022262722A1 (zh) | 电子设备的响应方法、装置和电子设备 | |
CN114779977A (zh) | 界面显示方法、装置、电子设备及存储介质 | |
WO2023030304A1 (zh) | 提示信息显示方法、装置及电子设备 | |
CN110221741B (zh) | 图标管理方法及终端设备 | |
CN113709306B (zh) | 会话处理方法、装置及电子设备 | |
WO2023241563A1 (zh) | 数据处理方法和电子设备 | |
WO2023125238A1 (zh) | 一种解锁控制方法、装置、电子设备和可读存储介质 | |
WO2023143380A1 (zh) | 输入方法、装置、电子设备及可读存储介质 | |
WO2023160443A1 (zh) | 应用程序处理方法及装置 | |
WO2022247745A1 (zh) | 触控方法、触控装置和电子设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22863439 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22863439 Country of ref document: EP Kind code of ref document: A1 |