CN113497835B - Multi-screen interaction method, electronic equipment and computer readable storage medium - Google Patents

Multi-screen interaction method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113497835B
CN113497835B CN202010250263.3A CN202010250263A CN113497835B CN 113497835 B CN113497835 B CN 113497835B CN 202010250263 A CN202010250263 A CN 202010250263A CN 113497835 B CN113497835 B CN 113497835B
Authority
CN
China
Prior art keywords
screen
application
keyword
areas
area
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.)
Active
Application number
CN202010250263.3A
Other languages
Chinese (zh)
Other versions
CN113497835A (en
Inventor
陈文军
王雷
刘霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010250263.3A priority Critical patent/CN113497835B/en
Priority to PCT/CN2021/079475 priority patent/WO2021196980A1/en
Publication of CN113497835A publication Critical patent/CN113497835A/en
Application granted granted Critical
Publication of CN113497835B publication Critical patent/CN113497835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0266Details of the structure or mounting of specific components for a display module assembly
    • H04M1/0268Details of the structure or mounting of specific components for a display module assembly including a flexible display panel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Abstract

The application is applicable to the technical field of multi-screen terminals, and provides a multi-screen interaction method, electronic equipment and a computer readable storage medium, wherein when the electronic equipment receives touch operation of a currently displayed application interface of a first screen area, a view element corresponding to the touch operation is determined, the first screen area is any screen area in the multi-screen, and the view element is an element in the currently displayed application interface of the first screen area; the electronic device displays an application associated with the view element in at least one screen area other than the first screen area in the multi-screen in response to the touch operation, or: and the application currently displayed in the first screen area is transferred to background operation, the application associated with the view element is displayed in a plurality of screen areas in the multi-screen, and the user is checked by displaying application interfaces of a plurality of application programs in a plurality of screen areas of the electronic equipment, so that the user experience is improved.

Description

Multi-screen interaction method, electronic equipment and computer readable storage medium
Technical Field
The application belongs to the technical field of terminals, and particularly relates to a multi-screen interaction method, electronic equipment and a computer readable storage medium.
Background
With the rapid development of terminal technology and internet technology, terminal products represented by smart phones greatly change daily life modes and working modes of people, and become indispensable articles in people's life. As the application functions of smart phones are wider and wider, the requirements of people on the screen size of the smart phones are also changed along with the change of the use scene, and large-screen mobile phones, particularly foldable display screen mobile phones, are increasingly appearing in the lives of people. How to effectively utilize the screen to display a plurality of applications improves the experience of users in different use scenes, and has larger lifting space.
Disclosure of Invention
The application provides a multi-screen interaction method, electronic equipment and a computer readable storage medium, which can display application interfaces of a plurality of application programs on a screen of a terminal, and can be checked by a user.
In a first aspect, the present application provides a multi-screen interaction method applied to an electronic device configured with a foldable display screen, the method comprising:
in a possible implementation manner, when a foldable display screen of an electronic device is in a multi-screen display state, the foldable display screen comprises at least two screen areas, and when the electronic device receives a touch operation on a first screen area, a view element corresponding to the touch operation is determined, wherein the first screen area is any screen area in the multi-screen, and the view element is an element in an application interface currently displayed in the first screen area; the electronic device may display an application associated with the view element in at least one screen area other than the first screen area among the multiple screens in response to the touch operation, or: and the application currently displayed in the first screen area is transferred to background operation, and the application associated with the view element is displayed in a plurality of screen areas in the multi-screen. On the one hand, the application related to the view element is displayed in at least one screen area except the first screen area, so that shielding caused by the display of the application related to the view element on the first screen area can be reduced, the display area of the screen is fully utilized, and application interfaces of a plurality of application programs are displayed on the screen, so that the user can conveniently view the application interfaces. On the other hand, the application currently displayed in the first screen area is turned to background operation, and the applications associated with the view elements are displayed in a plurality of screen areas in the multi-screen, so that the applications associated with a plurality of view elements are displayed on the screen, and a user can conveniently and simultaneously look up the applications associated with the view elements.
Exemplary, the above-described touch operations include, but are not limited to, a press/long press touch operation, a drag touch operation, a slide touch operation, a double click touch operation, a tap touch operation. After determining the view element corresponding to the touch operation, the application associated with the view element can be acquired through an application index list. The application index list may be preset, and the association relationship between the preset keyword and the application is stored, so that the application corresponding to the keyword can be quickly indexed from the application index list through the keyword. Wherein the keywords may be keywords identified and extracted from the view elements.
The number of screen areas of the multi-screen is set as M, the number of applications associated with the view elements is set as N, wherein M is more than 1, N is more than 1, and M and N are integers; the application for displaying the view element association in at least one screen area other than the first screen area in the multi-screen includes: and if the number M-1 of the screen areas is smaller than or equal to the number N of the applications associated with the view elements, displaying the application with the index weight which is selected from the N applications associated with the view elements and ranked at the top L in M-1 screen areas, wherein L is equal to or smaller than 1 and equal to M-1, L is an integer, and the index weight is the weight which is indexed to a certain application according to the keywords. Or:
Selecting M-2 screen areas from M-1 screen areas, displaying the application with the index weight selected from N applications associated with the view elements ranked at the top M-2 in the selected M-2 screen areas, and displaying the application with the index selected from the rest N-M+2 applications associated with the view elements ranked at the top P in the rest last screen area, wherein P is more than or equal to 1 and less than or equal to N-M+2, and P is an integer. Or:
and if the number M-1 of the screen areas is smaller than the number N of the applications associated with the view elements, classifying the applications associated with the view elements, and distributing the applications of the same type to the same screen area for display. Or:
if the number M-1 of the screen areas is larger than the number N of the applications associated with the view elements, N screen areas are selected from the M-1 screen areas, and the applications associated with the view elements are displayed in the selected N screen areas.
In the embodiment of the application, on one hand, in order to reduce the screen area occupied by the application with lower index weight in the application associated with the view element, so that a user can conveniently and quickly browse a plurality of application programs interested in the application, and the electronic equipment can display the application with the index weight ranking in the front L selected from N applications associated with the view element in M-1 screen areas. On the other hand, to enhance the browsing experience of the user and facilitate the user to view all of the applications associated with the above-mentioned view elements, the electronic device may select M-2 screen regions from M-1 screen regions, display the application with the index weight selected from the N applications associated with the above-mentioned view elements ranked M-2 in the selected M-2 screen regions, and display the application with the index weight selected from the remaining N-m+2 applications associated with the above-mentioned view elements ranked P in the remaining last screen region. On the other hand, in order to reduce the inconvenience of browsing caused by displaying too many application programs in a certain screen area, the electronic device may classify the applications associated with the view elements and allocate the applications of the same type to the same screen area for display in the case of low use experience.
Illustratively, the application currently displayed in the first screen area is turned to a background operation, and the application associated with the view element is displayed in a plurality of screen areas in the multi-screen, including:
if the number M of the screen areas is smaller than or equal to the number N of the applications associated with the view elements, displaying the applications with the index weights which are selected from the N applications associated with the view elements and ranked at the top Q in the M screen areas, wherein Q is more than or equal to 1 and less than or equal to M, and Q is an integer; or:
selecting M-1 screen areas from the M screen areas, displaying the application with the index weight selected from the applications associated with N view elements ranked at the top M-1 in the selected M-1 screen areas, and displaying the application with the index selected from the applications associated with the rest N-M+1 view elements ranked at the top R in the rest last screen area, wherein R is more than or equal to 1 and less than or equal to N-M+1, and R is an integer. Or:
and if the number M of the screen areas is smaller than or equal to the number N of the applications associated with the view elements, classifying the applications associated with the view elements, and distributing the applications of the same type to the same screen area for display.
In the embodiment of the application, when the number N of applications associated with the view elements is greater than or equal to the number M of screen areas of the multi-screen, on one hand, in order to improve the display effect of the applications associated with the view elements and make full use of the display efficiency of the screen areas, a user can conveniently and quickly browse a plurality of interested application programs, and the electronic device can display the application with the index weight ranking of top Q selected from the N applications associated with the view elements in the M screen areas. On the other hand, to enhance the browsing experience of the user, displaying applications that may be of interest to the user, and facilitating the user to look at the applications associated with the view elements, the electronic device may select M-1 screen regions from the M screen regions, display the application with the top M-1 index weight selected from the N applications associated with the view elements in the selected M-1 screen regions, and display the application with the top R index selected from the remaining N-m+1 applications associated with the view elements in the last screen region. On the other hand, in order to reduce the problem that the user is inconvenient to browse due to too many applications displayed in a certain screen area, the electronic device may classify the applications associated with the view elements and allocate the applications of the same type to the same screen area for display.
For example, the index weights corresponding to the preset applications are stored in the application index list, that is, one application corresponds to one index weight, and the higher the index weight is, the greater the probability that the application corresponding to the index weight is indexed and displayed. In some embodiments, the index weight may be adjusted according to the frequency of use of the application by the user, with higher application frequency corresponding to higher index weight. The frequency of use referred to herein is the frequency with which the user clicks on an application displayed after the electronic device displays the application associated with the view element in the screen area. The electronic device may adjust the index weight corresponding to the application according to the frequency with which the user clicks the application within a period of time.
In another possible implementation manner, when the foldable display screen is in a full-screen display state, the electronic device determines a view element corresponding to a touch operation when receiving the touch operation on the screen, where the view element is an element in the currently displayed application interface, and the screen includes a plurality of screen areas; the electronic equipment responds to the touch operation, selects one screen area from the plurality of screen areas to display an interface currently displayed by the screen, and displays applications associated with the view elements in at least one screen area except the selected screen area; or: and displaying the application associated with the view element in the plurality of screen areas.
In the embodiment of the application, on one hand, the application related to the view element is displayed in at least one screen area except the selected screen area, so that the shielding caused by the application related to the view element is reduced on the selected screen area, the display area of the screen is fully utilized, and the application interfaces of a plurality of application programs are displayed on the screen, thereby facilitating the user to check. On the other hand, the application associated with the view element is displayed in a plurality of screen areas in the multi-screen, so that the application associated with a plurality of view elements is displayed on the screen, and people can conveniently look up the application associated with the view element at the same time.
It should be appreciated that upon detecting a touch operation to an application interface currently displayed by the screen, the electronic device switches the display state of the foldable display screen from a full-screen display state to a multi-screen display state, i.e., the screen of the foldable display screen includes at least two screen regions.
For example, the number of the plurality of screen areas is set as M, the number of applications associated with the view element is set as N, where M > 1, N > 1, and M and N are integers; the application for displaying the view element association in at least one screen area other than the selected screen area among the plurality of screen areas includes:
And if the number M-1 of the screen areas is smaller than or equal to the number N of the applications associated with the view elements, correspondingly displaying the application with the index weight being ranked at the top L in M-1 screen areas, wherein L is more than or equal to 1 and less than or equal to M-1, and L is an integer. Or:
selecting M-2 screen areas from M-1 screen areas, displaying the application with the index weight selected from N applications associated with the view elements ranked at the top M-2 in the selected M-2 screen areas, and displaying the application with the index selected from the rest N-M+2 applications associated with the view elements ranked at the top P in the rest last screen area, wherein P is more than or equal to 1 and less than or equal to N-M+2, and P is an integer. Or:
and if the number M-1 of the screen areas is smaller than the number N of the applications associated with the view elements, classifying the applications associated with the view elements, and distributing the applications of the same type to the same screen area for display. Or:
if the number M-1 of the screen areas is larger than the number N of the applications associated with the view elements, N screen areas are selected from the M-1 screen areas, and the applications associated with the view elements are displayed in the selected N screen areas.
In the embodiment of the application, on one hand, in order to reduce the screen area occupied by the application with lower index weight in the application associated with the view element, so that a user can conveniently and quickly browse a plurality of application programs interested in the application, and the electronic equipment can display the application with the index weight ranking in the front L selected from N applications associated with the view element in M-1 screen areas. On the other hand, to enhance the browsing experience of the user and facilitate the user to view all of the applications associated with the above-mentioned view elements, the electronic device may select M-2 screen regions from M-1 screen regions, display the application with the index weight selected from the N applications associated with the above-mentioned view elements ranked M-2 in the selected M-2 screen regions, and display the application with the index weight selected from the remaining N-m+2 applications associated with the above-mentioned view elements ranked P in the remaining last screen region. On the other hand, in order to reduce the inconvenience of browsing caused by displaying too many application programs in a certain screen area, the electronic device may classify the applications associated with the view elements and allocate the applications of the same type to the same screen area for display in the case of low use experience.
Illustratively, displaying the application associated with the view element in the plurality of screen regions includes:
if the number M of the screen areas is smaller than or equal to the number N of the applications associated with the view elements, displaying the applications with the index weights which are selected from the N applications associated with the view elements and ranked at the top Q in the M screen areas, wherein Q is more than or equal to 1 and less than or equal to M, and Q is an integer; or:
selecting M-1 screen areas from the M screen areas, displaying the application with the index weight selected from the applications associated with N view elements ranked at the top M-1 in the selected M-1 screen areas, and displaying the application with the index selected from the applications associated with the rest N-M+1 view elements ranked at the top R in the rest last screen area, wherein R is more than or equal to 1 and less than or equal to N-M+1, and R is an integer. Or:
and if the number M of the screen areas is smaller than or equal to the number N of the applications associated with the view elements, classifying the applications associated with the view elements, and distributing the applications of the same type to the same screen area for display.
In the embodiment of the application, when the number N of applications associated with the view elements is greater than or equal to the number M of screen areas of the multi-screen, on one hand, in order to improve the display effect of the applications associated with the view elements and make full use of the display efficiency of the screen areas, a user can conveniently and quickly browse a plurality of interested application programs, and the electronic device can display the application with the index weight ranking of top Q selected from the N applications associated with the view elements in the M screen areas. On the other hand, to enhance the browsing experience of the user, displaying applications that may be of interest to the user, and facilitating the user to look at the applications associated with the view elements, the electronic device may select M-1 screen regions from the M screen regions, display the application with the top M-1 index weight selected from the N applications associated with the view elements in the selected M-1 screen regions, and display the application with the top R index selected from the remaining N-m+1 applications associated with the view elements in the last screen region. On the other hand, in order to reduce the problem that the user is inconvenient to browse due to too many applications displayed in a certain screen area, the electronic device may classify the applications associated with the view elements and allocate the applications of the same type to the same screen area for display.
When the electronic device responds to the touch operation, the keywords are identified and extracted from the view elements acted by the touch operation, the first keywords corresponding to the view elements are obtained, after the first keywords corresponding to the view elements are obtained, the electronic device displays the first keywords corresponding to the view elements in the first screen area or the selected screen area, and determines corresponding applications according to the first keywords, wherein the determined applications are applications associated with the view elements.
In some embodiments, in order to improve the searching efficiency and the comprehensiveness of the application associated with the view element, after obtaining the first keyword corresponding to the view element, the electronic device may further classify the obtained first keyword, and determine the second keyword according to the classification result; and acquiring the application associated with the view element from the application index list according to the second keyword.
In some embodiments, the displayed screen area may be randomly allocated to the application associated with the view element, or after the application associated with the view element is acquired, the index weight corresponding to the application associated with the view element may be acquired, and the screen area for displaying the application associated with the view element may be determined according to the index weights corresponding to the applications. Each screen region is correspondingly provided with a corresponding screen display priority. The higher the index weight is, the higher the screen display priority corresponding to the determined screen region is.
The method includes the steps that after the second keywords are determined according to the classification result, the electronic device establishes association relations between the first keywords and the second keywords, so that the first keywords can be searched quickly through the second keywords, when the electronic device displays applications associated with view elements in a screen area, the corresponding first keywords can be displayed on an interface of the displayed applications, and display efficiency of the first keywords is improved.
In another possible implementation manner, after detecting a touch operation of a user on a view element, acquiring a display state of the foldable display screen, wherein the display state comprises a full-screen display state and a multi-screen display state, and when the full-screen display state is that the foldable display screen is in an unfolding state, the display area of the foldable display screen is displayed in a full-screen manner, namely the number of the display areas of the foldable display screen is one; the multi-screen display state is that the foldable display screen displays the display areas of the foldable display screen in two or more screen areas, namely the number of the display areas of the foldable display screen is two or more. If the foldable display screen is in a full-screen display state, dividing the display area of the foldable display screen according to a preset dividing rule to obtain M screen areas. If the display state of the foldable display screen is a multi-screen display state, determining whether the foldable display screen is in an unfolding state currently, if the foldable display screen is in the unfolding state currently, acquiring the number N of applications associated with the view elements, and if the number N of applications associated with the view elements is larger than the number M of screen areas of the foldable display screen, dividing the display areas of the foldable display screen according to a preset dividing rule by the electronic equipment, and updating the number M of the screen areas to be the number of the screen areas obtained after division.
The electronic device compares the number of divisions corresponding to the preset division rule with the number N of applications associated with the view element when dividing the display area of the foldable display screen according to the preset division rule, determines the preset division rule with the division number closest to the number N of applications associated with the view element, and divides the display area of the foldable display screen according to the determined preset division rule.
By way of example, the preset partitioning rule may include the following three types: 1. the display area of the electronic device 100 is divided according to the number of divisions set by the user. 2. Determining the dividing number of the display areas according to the preset area threshold and the display area of the electronic equipment, and dividing the display areas of the electronic equipment according to the determined dividing number. 3. The dividing number of the display areas is determined according to the preset area threshold, the display area of the electronic device 100 and the number of applications to be displayed, and the display areas of the electronic device are divided according to the determined dividing number.
It will be appreciated that the purpose of dividing the display area of the foldable display screen is to facilitate the display of applications associated with view elements in other screen areas than the screen area to which the current application interface belongs, enabling a user to quickly browse applications associated with view elements and improving the user's visual experience.
In one possible implementation manner, after the electronic device divides the screen area, the method further includes: setting the name of each screen area and the corresponding display priority, wherein the display priority is the priority of the screen area display application, and the higher the display priority of the screen area is, the higher the priority of the screen area display application is. And when the display area is allocated for the application associated with the view element, allocating a corresponding screen area for the application according to a preset allocation rule.
For example, the electronic device determines a corresponding screen region according to an index weight corresponding to an application associated with the view element, and the higher the index weight corresponding to the application, the higher the screen display priority corresponding to the determined screen region.
For example, the preset allocation rule allocates a corresponding screen area for the application according to the corresponding relation between the screen display priority and the index weight of the application, and the higher the index weight of the application is, the higher the screen display priority of the corresponding screen area is.
In another possible implementation manner, index weights corresponding to the applications are stored in the application index list, where the index weights are specifically weights that index to a certain application according to the keywords. After the electronic device finds the application associated with the view element, the method further includes: and acquiring index weights corresponding to the applications associated with the view elements, and determining the applications displayed in each screen area according to the index weights corresponding to the applications.
In another possible implementation manner, after determining the application correspondingly displayed in each screen area, the electronic device displays the first keyword and the corresponding search result on the interface of the application starting display, so that the operation of inputting the first keyword by the user is reduced, and the user experience is improved.
In a second aspect, the present application provides an electronic device comprising one or more memories, a foldable display screen, and one or more memories. The one or more memories are coupled to the one or more processors, the foldable display screen is in communication with the one or more processors, the one or more memories are configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the multi-screen interaction method in any of the possible implementations of the above aspect.
In a third aspect, embodiments of the present application provide a computer-readable storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform a multi-screen interaction method in any of the possible implementations of the above aspects.
In a fourth aspect, embodiments of the present application provide a computer program product which, when run on a computer, causes the computer to perform the multi-screen interaction method in any of the possible implementations of the above aspect.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present application;
FIG. 2 is a schematic view of a group of foldable display screens according to an embodiment of the present application; wherein:
fig. 2 (a) is a schematic view of a foldable display screen with only one bending portion in an unfolded state according to an embodiment of the present application;
fig. 2 (B) is a schematic view of a foldable display screen with two bending parts in an unfolded state according to an embodiment of the present application;
FIGS. 2 (C) and (D) are schematic views showing a foldable display screen according to an embodiment of the present application, wherein the foldable display screen is switched from a folded state to an unfolded state or from the unfolded state to the folded state;
FIGS. 2 (E) and (F) are schematic views showing a foldable display screen as shown in FIG. 2 (B) being switched from a folded state to an unfolded state or from an unfolded state to a folded state according to an embodiment of the present application;
FIG. 3 is a block diagram of the software architecture of an electronic device 100 according to an embodiment of the application;
FIG. 4 is a schematic diagram of a set of screen display interfaces provided by an embodiment of the present application; wherein:
FIG. 4 (A) is a schematic diagram of a screen display interface of view elements displayed in a user touch screen display interface when a foldable display screen is in a folded state according to an embodiment of the present application;
FIG. 4 (B) is a schematic view of a screen display interface when the foldable display screen shown in FIG. 4 (A) is switched from a folded state to an unfolded state according to an embodiment of the present application;
FIG. 4 (C) is a schematic view of a screen display interface of the foldable display screen shown in FIG. 4 (A) in an unfolded state according to an embodiment of the present application;
FIG. 4 (D) is a schematic view of another screen display interface provided by an embodiment of the present application when the foldable display screen shown in FIG. 4 (A) is switched from a folded state to an unfolded state;
FIG. 4 (E) is a schematic view of another screen display interface provided by an embodiment of the present application, in which the foldable display screen shown in FIG. 4 (A) is in an unfolded state;
FIG. 4 (F) is a schematic view of another screen display interface provided by an embodiment of the present application when the foldable display screen shown in FIG. 4 (A) is in an unfolded state;
FIG. 4 (G) is a schematic view of another screen display interface provided by an embodiment of the present application, in which the foldable display screen shown in FIG. 4 (A) is in an unfolded state;
FIG. 4 (H) is a schematic view of another screen display interface provided by an embodiment of the present application when the foldable display screen shown in FIG. 4 (A) is in an unfolded state;
FIG. 4 (I) is a schematic view of another screen display interface provided by an embodiment of the present application, in which the foldable display screen shown in FIG. 4 (A) is in an unfolded state;
FIG. 5 is a flow chart of a method for determining an application based on view elements provided by an embodiment of the present application;
FIG. 6 is a flow chart of another method for determining applications based on view elements provided by an embodiment of the present application;
FIG. 7 is a flow chart of a method for determining an application displayed in a screen area provided by an embodiment of the present application;
FIG. 8 is a schematic flow chart of a multi-screen interaction method according to an embodiment of the present application;
FIG. 9 is a flowchart of another multi-screen interaction method according to an embodiment of the present application;
FIG. 10 is a schematic diagram of another set of screen display interfaces provided by an embodiment of the present application; wherein:
FIG. 10A is a schematic diagram of a screen display interface of a user touching view elements when a foldable display screen is in an unfolded state and in a multi-screen display state according to an embodiment of the present application;
FIG. 10 (B) is a schematic diagram of a screen display interface corresponding to the display after the touch operation shown in FIG. 10 (A) according to the embodiment of the present application;
FIG. 10 (C) is a schematic diagram of another screen display interface corresponding to the screen display interface after responding to the touch operation shown in FIG. 10 (A) according to the embodiment of the present application;
FIG. 10 (D) is a schematic diagram of a screen interface correspondingly displayed in response to a touch operation of a user on a view element according to an embodiment of the present application;
FIG. 11 is an illustration of another set of screen display interfaces provided by an embodiment of the present application; wherein:
FIG. 11A is a schematic diagram of a screen interface corresponding to a touch operation of a user dragging a view element in one screen area to another screen area when a foldable display screen is in an unfolded state and is multi-screen display according to an embodiment of the present application;
FIG. 11 (B) is a schematic diagram of a screen display interface corresponding to the screen display interface displayed after the touch operation shown in FIG. 11 (A);
FIG. 12 is an illustration of another set of screen display interfaces provided by an embodiment of the present application; wherein:
FIG. 12 (A) is a schematic diagram of a screen display interface of a user touching view elements when a foldable display screen is in an unfolded state and is displayed on a full screen;
FIG. 12 (B) is a schematic diagram of a screen display interface corresponding to the display after the touch operation shown in FIG. 12 (A) according to the embodiment of the present application;
fig. 12 (C) is a schematic diagram of another screen interface correspondingly displayed after responding to a touch operation of a user on a view element according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. The terminology used in the description of the embodiments of the application is for the purpose of describing particular embodiments of the application only and is not intended to be limiting of the application.
First, an electronic device according to an embodiment of the present application is described. Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device 100 according to an embodiment of the application.
It should be understood that the electronic device 100 shown in fig. 1 is only one example, and that the electronic device 100 may have more or fewer components than shown in fig. 1, may combine two or more components, or may have a different configuration of components. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processingunit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (displayserial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wirelesslocal area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (codedivision multiple access, CDMA), wideband code division multiple access (wideband code division multipleaccess, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidounavigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellitesystem, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrixorganic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot lightemitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some embodiments of the present application, the display screen 194 of fig. 1 may be folded when the display panel is made of OLED, AMOLED, FLED or the like. Here, the display 194 may be bent, which means that the display may be bent at any angle at any place and may be held at the angle. For example, the display screen 194 may be folded in half from the middle, from the left to the right, or from the middle up and down. In the embodiment of the application, the display screen which can be bent is called a foldable display screen. The foldable display screen may be one screen, or may be a display screen formed by splicing multiple screens together, which is not limited herein.
For example, referring to fig. 2, the foldable display screen may include at least two physical configurations: an expanded configuration and a collapsed configuration. As shown in fig. 2 (a), the foldable display screen is in an unfolded state, that is, the left and right ends of the middle bending portion of the foldable display screen (the upper and lower ends of the middle bending portion of the foldable display screen if the foldable display screen is folded up and down) can form an included angle between 180 degrees and a first angle, where the first angle is greater than 0 degrees and less than 180 degrees, for example, the first angle may be 90 degrees. As shown in fig. 2 (B), the foldable display screen is in an unfolded state, that is, the left and right ends of the folded portion of the foldable display screen 2 (if the foldable display screen is folded up and down, the upper and lower ends of the folded portion of the foldable display screen 1/3 and 2/3) may be folded from the left and right sides of the folded portion of the foldable display screen 2, and the included angle is between 180 degrees and a first angle, where the first angle is greater than 0 degrees and less than 180 degrees, for example, the first angle may be 90 degrees. As shown in fig. 2 (C) and (D), the foldable display screen may also be in a folded form, that is, an included angle formed by the left and right ends of the middle bending portion of the foldable display screen (if the foldable display screen is folded up and down, the upper and lower ends of the middle bending portion of the foldable display screen) is between 0 degrees and the first angle; as shown in fig. 2 (E) and (F), the foldable display may be in a folded form, that is, an included angle formed by the left and right ends of the 1/3 and 2/3 bending portions of the foldable display (if the foldable display is folded up and down, the upper and lower ends of the 1/3 and 2/3 bending portions of the foldable display) is between 0 degrees and the first angle.
As shown in (C) and (D) of fig. 2, the foldable display screen is a two-fold display screen, and the display area of the foldable display screen after entering the folded configuration may be divided into a first screen area and a second screen area. The foldable display screen can be folded towards the direction of the first screen area and the second screen area in the unfolded state, and can also be folded towards the direction of the first screen area and the second screen area opposite to each other; in some embodiments, the left and right ends of the middle bend portion of the foldable display (and the upper and lower ends of the middle bend portion of the foldable display if the foldable display is folded up and down) may form an included angle between 0 degrees and +180 degrees. For example, the foldable display screen may be folded so as to have an angle of 30 degrees in a direction facing the first screen region and the second screen region, or may be folded so as to have an angle of 30 degrees in a direction facing the first screen region and the second screen region.
As shown in (E) and (F) of fig. 2, the foldable display screen is a three-fold display screen, and a display area of the foldable display screen after entering a folded configuration may be divided into a first screen area, a second screen area, and a third screen area. The foldable display screen may be foldable in an expanded configuration in a direction in which the first screen region and the second screen region face each other, and the second screen region and the third screen region face each other, or in a direction in which the first screen region and the second screen region face each other, and the second screen region and the third screen region face each other.
In some embodiments, the electronic device 100 may determine whether the foldable display screen is in a folded configuration or an unfolded configuration, and may determine whether the foldable display screen is in a portrait configuration or a landscape configuration by one or more of a gravity sensor, an acceleration sensor, and a gyroscope. The electronic device 100 may further detect a bent angle of the foldable display screen through the gravity sensor, the acceleration sensor and the gyroscope, and then, the electronic device 100 may determine whether the foldable display screen is in a folded configuration or an unfolded configuration according to the bent angle. The electronic device 100 may further determine, by using one or more of the gravity sensor, the acceleration sensor, and the gyroscope, an orientation of the foldable display screen in the folded configuration, so as to determine a display area of the interface content output by the display system. For example, when the first screen area of the foldable display screen is facing upward with respect to the ground, the electronic device 100 may display interface content output by the display system on the first screen area. When the second screen area of the foldable display screen is facing upward with respect to the ground, the electronic device 100 may display interface contents output by the display system on the second screen area.
In some embodiments, the electronic device 100 may further include an angle sensor (not shown in fig. 1) that may be disposed at a bend location of the foldable display screen. The electronic device 100 may measure an included angle formed by two ends of a middle bending portion of the foldable display screen through an angle sensor (not shown in fig. 1) disposed at the bending portion of the foldable display screen, and when the included angle is greater than or equal to a first angle, the electronic device 100 may identify that the foldable display screen enters an unfolded state through the angle sensor. When the included angle is less than or equal to the first angle, the electronic device 100 may recognize that the foldable display screen enters the folded configuration through the angle sensor.
In other embodiments, the electronic device 100 may also identify whether the foldable display screen is in the folded configuration by a physical switch disposed at a bending portion of the foldable display screen. For example, when the electronic device receives a user's folding operation on the foldable display screen, the physical switch provided on the electronic device is triggered to open, and the electronic device 100 may determine that the foldable display screen is in a folded configuration. When the electronic device 100 receives the user unfolding operation on the foldable display screen, the physical switch arranged on the electronic device is triggered to be turned off, and the electronic device can determine that the foldable display screen is in an unfolded state. The above examples are only for the purpose of illustrating the application and should not be construed as limiting.
In the following, the foldable display is taken as two foldable display, and when the foldable display is in an unfolded state, the foldable display can display content in full screen, can display content in a partial area (for example, a first screen area or a second screen area), and can display content in two or more partial areas. In one possible implementation, when the foldable display screen displays the interface content in full screen, the interface content may occupy a part of the display area of the foldable display screen, for example, when the display screen 194 is a special-shaped cut screen (Notch screen), the middle part of the special-shaped cut screen displays the interface content, and when one or two side edge parts are black, the foldable display screen may also be regarded as displaying the interface content in full screen.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 3 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display images, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text messaging icon may include a view displaying text and a view displaying an image.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources to the application program, such as localization strings, icons, images, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes in detail a multi-screen interaction method provided by an embodiment of the present application based on the electronic device 100 shown in fig. 1, with reference to other drawings.
In some application scenarios of the present application, when the foldable display screen is in the folded state, the electronic device 100 may display a certain application interface (for example, an application interface of a mailbox, an application interface of a sms, an application interface of a calendar, etc.) on a display area (for example, a first screen area) of the foldable display screen. When a user acts on a certain view element (such as a message, an image, etc. displayed on the short message application interface) of the application interface through a touch operation, the electronic device 100 responds to the touch operation, determines an application associated with the view element according to the view element acted by the touch operation, and if related information of the application is displayed on a current area, the current display content of a part of the application interface is blocked, so that the visual experience of the user is reduced.
The touch operations mentioned in the embodiments of the present application include, but are not limited to, a press/long press touch operation, a drag touch operation, a slide touch operation, a double-click touch operation, a tap touch operation, and the like. In an actual application scenario, the touch operation is different from the touch operation currently used by the electronic device 100 to trigger other instructions, such as a touch operation for character recognition when the screen is pressed by two fingers, and a certain dialog box is pressed for a long time to select the text content displayed in the coordinate range of the dialog box.
In order to fully utilize the display area of the foldable display screen and bring better visual experience to users, the embodiment of the application provides a multi-screen interaction method.
When the foldable display screen is in the folded state, the electronic device 100 may display a certain application interface (e.g., an application interface of a mailbox, an application interface of a sms, an application interface of a calendar, etc.) on a display area (e.g., a first screen area) of the foldable display screen. When a user acts on a certain view element (e.g., a message, an image, etc. displayed by a sms application interface) of the application interface through a touch operation, the electronic device 100 determines an application (e.g., a browser that can search for information) associated with the view element according to the view element acted on by the touch operation in response to the touch operation, and displays the determined application associated with the view element on other screen areas (e.g., a second screen area, or a second screen and a third screen) than the first screen area.
For example, when the foldable display screen is in the unfolded state, the electronic device 100 may display a certain application interface on the foldable display screen in a full screen manner, or may display a certain application interface on a partial display area (for example, a first screen area) of the foldable display screen, when a user acts on a certain view element of the application interface through a touch operation, the electronic device 100 responds to the touch operation, determines an application associated with the view element according to the view element acted on by the touch operation, if the foldable display screen is the full screen display of the application interface, exits the full screen display, and displays the application interface when the electronic device 100 is displayed in the full screen manner on the first screen area, and displays the determined application associated with the view element on other display areas (for example, a second screen area) other than the first screen area. If a portion of the display area (e.g., the first screen area) of the collapsible display screen displays the application interface, the content of the first screen area is maintained unchanged and the determined application associated with the view element is displayed in a display area other than the first screen area (e.g., the second screen area).
The definition of view elements and display areas is given below:
view element: elements displayed in the view layer of the application interface include, but are not limited to, text, images, sound information, and the like. The case where the user acts on a certain view element in the application interface through a touch operation may include the following two types: 1. the touch operation acts on one view element, i.e. only one view element. 2. The touch operation acts on two or more view elements.
Display area: the area for displaying the content, which is obtained by dividing the display area of the electronic device 100, is referred to as a screen area in the embodiment of the present application.
For example, in some embodiments, after the electronic device 100 detects a touch operation of a user on a view element, a display area of the electronic device 100 is divided into two or more screen areas, and different applications are displayed in different screen areas. The case of displaying different applications in different screen areas may include two kinds of: 1. each screen area displays an application. 2. At least one screen region correspondingly displays one application or more than one application.
Illustratively, according to the number M of divided screen regions (M is an integer greater than 1), the names of the screen regions are set according to a preset naming rule (e.g., rule of from left to right, from top to bottom, from right to left, from bottom to top, etc.) to correspond to the first screen region, the second screen region, … …, the mth screen region.
It should be noted that, in order to give a better visual experience to the user, when dividing the display area, it is necessary to ensure that the area corresponding to each screen area is not smaller than the preset area threshold. Specifically, when dividing the display area, the display area of the electronic device 100 is divided according to a preset division rule, so as to obtain M screen areas.
By way of example, the preset partitioning rule may include the following three types: 1. the display area of the electronic device 100 is divided according to the number of divisions set by the user. 2. The number of divisions of the display area is determined according to the preset area threshold and the display area of the electronic device 100, and the display area of the electronic device 100 is divided according to the determined number of divisions. 3. The dividing number of the display areas is determined according to the preset area threshold, the display area of the electronic device 100 and the number of applications to be displayed, and the display areas of the electronic device 100 are divided according to the determined dividing number.
In the embodiment of the present application, for the determined application associated with the view element, the electronic device 100 may be displayed in the form of an application icon, may be displayed in the form of an application name, may display both the application icon and the application name, and may also be displayed in the form of an application interface corresponding to the application after the application is started.
Referring to fig. 4, fig. 4 is a schematic diagram of a set of screen display interfaces according to an embodiment of the application. As shown in fig. 4 (a), a screen interface 10 is displayed when the foldable display screen is in a folded state. The screen interface 10 includes an application interface 101, a status bar 102, and a navigation bar 103. Wherein:
the application interface 101 is a corresponding user interface when an application program runs, and may include a view element 1011 displayed in a text form, a view element 1012 displayed in an image form, and a view element 1013 displayed in an audio or video form.
Status bar 102 may include the name of the operator (e.g., china Mobile), signal strength, WI-FI icon, current remaining power, and time.
The navigation bar 103 may include: a back key 1031, a home screen key 1032, an outgoing task history key 1033, and the like. The main interface is an interface displayed by the electronic device 100 after any one of the user interfaces detects a user operation on the main interface key 1032. When detecting that the user clicks the back key 1031, the electronic device 100 can display a last user interface of the current user interface. When it is detected that the user clicks the main interface key 1032, the electronic device 100 may display a main screen interface. When detecting that the user clicks the outgoing task history key 1033, the electronic device 100 can display a task that the user has recently opened. The names of the navigation keys may be other, for example, 1031 may be called Back Button,1032 may be called Home Button,1033 may be called Menu Button, and the present application is not limited thereto. The navigation keys in the navigation bar 103 are not limited to virtual keys, but may be implemented as physical keys.
The user may select a view element displayed in the application interface through a touch operation, and when the electronic device 100 detects that the touch operation acts on the view element, a first keyword corresponding to the view element is displayed, an application associated with the view element is determined according to the first keyword, the application interface 101 is displayed in a first screen area, and the determined application associated with the view element is displayed in a display area other than the first screen area (for example, a second screen area, which is another screen area facing away from the first screen area).
For example, as shown in fig. 4 (a), when the foldable display screen is in a folded state (that is, an included angle formed by the left and right ends or the upper and lower ends of the middle bending portion of the foldable display screen is 0 degrees), a first keyword is displayed in the display area 104 to which the keyword of the screen interface 10 belongs, and the user is prompted to expand the foldable display screen or turn over the screen to view the application associated with the view element, specifically, the user may be prompted to expand the foldable display screen or turn over the screen to view the application associated with the view element by means of voice, text, or the like.
As shown in fig. 4 (B) and (C), when the included angle formed by the left and right ends of the middle bending portion of the foldable display screen changes from 0 degrees to +180 degrees (excluding 0 degrees), that is, when the foldable display screen is switched from the folded state to the unfolded state, the application interface 101 is displayed in the first screen area 203, the recommended application 202 is displayed in the second screen area 204, and the application 202 is an application associated with a view element.
As shown in fig. 4 (D) and (E), when the included angle formed by the upper and lower ends of the middle bending portion of the foldable display screen is changed from 0 degrees to +180 degrees (excluding 0 degrees), that is, when the foldable display screen is switched from the folded state to the unfolded state, the application interface 101 is displayed in the first screen area 303, the recommended application 302 is displayed in the second screen area 304, and the application 302 is an application associated with a view element.
It should be noted that, when the included angle formed by the left and right ends of the middle bending part of the foldable display screen is 0 degrees, the foldable display screen is in a folded state, at this time, the first screen area and the second screen area are two opposite display areas, and after determining the application associated with the view element, prompt information is displayed in the first screen area to prompt to expand the foldable display screen to display the application associated with the view element, or prompt the user to overturn the foldable display screen, so that the user can view the application associated with the view element in the second screen area.
It can be understood that when the included angle formed by the left and right ends of the middle bending part of the foldable display screen is greater than 0 degrees and less than or equal to +180 degrees, the foldable display screen is in an unfolded state.
It should be noted that the recommended application may be presented in the form of a name, an icon, or a combination of a name and an icon. In some embodiments, the recommended applications may be presented in the form of an application interface.
It should be further noted that, when the foldable display screen is in the folded state, the second screen area opposite to the first screen area may be in a screen-off state, or may display a screen main interface or other application interfaces, after determining the application associated with the view element, the application associated with the view element may be displayed in the second screen area, and the other application displayed in the second screen area may jump to the background operation, and after the application associated with the view element displayed in the second screen area exits, the other application that jumps to the background operation may be displayed in the second screen area.
In some embodiments, the electronic device 100 divides the display area of the foldable display screen according to the bending portion of the foldable display screen, so as to obtain two or three screen areas. In other embodiments, the electronic device 100 divides the display area of the foldable display screen according to a preset division rule to obtain two or more screen areas. The area of the screen area may be fixed, or may be adjusted according to an adjustment operation input by the user.
As shown in (F) of fig. 4, the display area of the foldable display screen is divided into 3 screen areas, the application interface 101 is displayed in the first screen area 403, one application 4021 associated with a view element is displayed in the second screen area 404, and another application 4022 associated with a view element is displayed in the third screen area. In some embodiments, as shown in (F) of fig. 4, when the foldable display screen is in a folded state, the electronic device 100 divides a display area facing away from the first screen area, and updates the second screen area 404 and the third screen area 405.
As shown in (G) and (H) of fig. 4, when the foldable display screen is in the unfolded state, the display area of the foldable display screen is divided into 3 screen areas. As shown in (G) of fig. 4, the application interface 101 is displayed in the first screen area 403, one application 4021 associated with the view element is displayed in the second screen area 404, and other applications other than the application 4021 associated with the view element are displayed in the third screen area 405. As shown in (H) of fig. 4, the application interface 101 is displayed in the first screen area 403, and an application associated with the view element and of the same type, such as a map type application, is displayed in the second screen area 404, wherein the application 4021 is a hundred degree map and the application 4024 is a high-german map; other applications of the same type, such as a travel reservation type application, which are associated with the view element, are displayed in the third screen area 405, wherein the application 4022 is a 12306 reservation application and the application 4023 is a travel application.
As shown in (I) of fig. 4, the display area of the foldable display screen is divided into 4 screen areas, and the application to which the application interface 101 belongs jumps to run in the background, and any one of the applications 501 associated with the view element is displayed in each of the first screen area 502, the second screen area 503, the third screen area 504, and the fourth screen area 505, for example, the application 5011 is displayed in the first screen area 502, the application 5012 is displayed in the second screen area 503, the application 5014 is displayed in the third screen area 504, and the application 5013 is displayed in the fourth screen area 505, wherein the applications 5011, 5012, 5013, and 5014 are displayed in the form of application interfaces.
When the application associated with the view element is displayed in the form of an application interface, a keyword corresponding to the view element and a search result corresponding to the keyword are displayed in the application interface.
In the embodiment of the application, the application associated with the view element is displayed in other screen areas except the screen area of the application interface to which the view element belongs, so that the area of the screen area of the application interface to which the view element belongs is reduced, the browsing efficiency of a user is improved, and the visual experience of the user is improved.
The process by which the electronic device 100 determines an application from a view element is described below.
Referring to fig. 5, fig. 5 is a flowchart illustrating a method for determining an application according to a view element according to an embodiment of the present application. As shown in FIG. 5, the method includes steps S101-S106.
S101, the electronic device 100 displays the screen interface 10.
In the embodiment of the present application, as shown in fig. 4 (a), the screen interface 10 displayed by the electronic device 100 may be in a folded state, and the application interface 101 is displayed in a screen area of the foldable display, such as a main screen, where the displayed application interface 101 is the screen interface 10. As shown in fig. 8 (a), the foldable display screen may be in an unfolded state and in a multi-screen display state, in which an application interface of a chat application (such as QQ, weChat, etc.) is displayed in one screen area, and in which a home screen interface is displayed in another screen area, where the displayed application interface and home screen interface form a screen interface displayed by the electronic device 100. As shown in fig. 10 (a), the application interface for displaying the calendar on the foldable display screen may also be configured as a screen interface displayed by the electronic device 100, in which the foldable display screen is in an unfolded state and in a full-screen display state.
S102, the electronic device 100 detects a touch operation of the user on the application interface 101 with respect to the view element.
In the embodiment of the present application, when the electronic device 100 detects the touch operation of the user on the application interface 101 to the view element, the display state of the foldable display screen is obtained at the same time, where the display state is a state that the electronic device displays the interface through the foldable display screen, and includes a full-screen display state and a multi-screen display state.
When the foldable display screen is in the folded state, the display state of the foldable display screen is default to the multi-screen display state.
For example, if the display state of the foldable display screen is a full-screen display state, that is, the electronic device 100 displays the application interface 101 in the full-screen area, the electronic device 100 will exit the full-screen display, and divide the display area of the electronic device 100 into two or more screen areas, where the divided screen areas are all used for displaying the application associated with the view element, so as to improve the display efficiency of the foldable display screen, so that the user can quickly browse the application associated with the view element; or any of the divided screen areas is used to display a scaled application interface 101, and the applications associated with the view elements are displayed in the remaining screen areas.
If the display state of the foldable display screen is multi-screen display, that is, the electronic device 100 displays the application interface 101 in any one of two or more screen areas, displays the main screen interface or other application interfaces in the remaining other screen interfaces, the electronic device 100 maintains the number of the screen areas unchanged after detecting that the user touches the view element by the application interface 101, displays the application associated with the view element in any screen area except for the display application interface 101, and other applications jump to the background operation except that the application corresponding to the application interface 101 and the application associated with the view element are kept in the foreground operation.
It should be appreciated that when the application associated with the view element is an application that is displayed on the collapsible display screen when the user does not touch the view element, the application remains displayed on the original screen area.
S103, responding to the touch operation of the user on the view element, and displaying a first keyword corresponding to the view element by the electronic device 100.
In the embodiment of the present application, in response to a touch operation of a user on a view element as shown in (a) of fig. 4, the electronic device 100 identifies and extracts a keyword from the view element acted on by the touch operation, that is, a first keyword corresponding to the view element.
Illustratively, after the electronic device 100 obtains the view element through the graphical user interface, the content of the view element may be identified through image recognition, text recognition, voice recognition, and the like, and the first keyword may be analyzed and extracted from the identified content.
It should be noted that the first keyword is at least one, including but not limited to a word, and a sentence. Meaning that semantic analysis is performed when the content of the view element is identified to extract the first keyword, so as to obtain at least one phrase.
Illustratively, the electronic device 100 extracts content of an area acted upon by the touch operation, and analyzes the extracted content to obtain a first keyword.
S104, the electronic device 100 stores the first keyword.
S105, the electronic device 100 classifies the first keywords, and determines the second keywords according to the classification result.
In the embodiment of the application, according to the attribute or the characteristic of the words, the electronic device 100 can classify the words with the same attribute or the same characteristic through semantic association or expansion, and then determine the second keywords according to the classification result, thereby reducing the number of the keywords and achieving the purpose of improving the efficiency of searching the application.
For example, when the character of the word is represented as an address, all words which can be classified as the address can be classified into the category of the address, such as keywords of Beijing, shanghai, nanjing and the like, and the keywords determined after classification are the "address".
Illustratively, the electronic device 100 classifies the first keyword through a classifier (e.g., a neural network model based on deep learning), such as classifying Beijing, shanghai, guangzhou, etc. to an address, classifying Beijing, shanghai Dishi, etc. to a scenic spot, classifying weekends, christmas, spring, etc. to a date, classifying "play where" to an activity, and classifying to obtain a classification (e.g., address, date, etc.) as the second keyword.
For example, after classifying the first keyword and determining the second keyword, the electronic device 100 establishes an association relationship between the second keyword and the first keyword, so that the electronic device 100 may determine the corresponding first keyword according to the second keyword, and thus, after determining an application corresponding to the second keyword, may display relevant content of the first keyword on an application interface corresponding to the application.
S106, the electronic device 100 determines the application corresponding to the first keyword according to the second keyword.
In the embodiment of the present application, the electronic device 100 stores an application index list as shown in table 1, where the application index list stores an association relationship between a keyword and an application, and based on the association relationship between the keyword and the application, the electronic device 100 may index, according to a second keyword, from the application index list to an application corresponding to the second keyword, that is, an application corresponding to the first keyword.
TABLE 1
As can be seen from table 1, each keyword is associated with at least one application, i.e. the number of applications associated with a view element is N, which is an integer greater than or equal to 1.
In some possible implementations, the electronic device 100 classifies keywords for which the corresponding category cannot be determined into "other" categories, which correspond to associated applications as browsers.
It will be appreciated that the keywords stored in the application index list are not limited to the keywords shown in table 1, and may be further subdivided or summarized according to practical application requirements, for example, the keywords "address" and "scenic spot" may be summarized as "place", the keywords "activity" may be subdivided into "travel", "food sharing", and so on.
In some possible implementations, the application index list stores preset index weights corresponding to each application, that is, one index weight corresponds to one application, where the index weight refers to a weight that indexes to a certain application according to a keyword, and is used to determine a probability of displaying the application according to the weight corresponding to the application. The higher the index weight corresponding to the application that is generally ranked first, the higher the index weight, and the greater the probability that the application corresponding to the index weight is indexed to and displayed. As shown in table 1, the index weight of application 1 is higher than the index weight of application 2, and the index weight of application 2 is higher than the index weight of application N. When there is a limit to the number of applications displayed in the screen area, for example, when only one application can be displayed in one screen area and the number M of screen areas is smaller than the number N of applications associated with the view element, that is, M is smaller than N, the electronic device 100 will display M applications ordered in front in the screen area of the electronic device 100 according to the index weight.
It should be noted that, in some possible implementations, the index weight may be adjusted according to the frequency of use of the application program by the user, and the higher the frequency of use of the application program, the higher the corresponding index weight. The frequency of use referred to herein is the frequency with which the user clicks on an application displayed after the electronic device 100 displays the application associated with the view element in the screen area. The electronic device 100 adjusts the index weight corresponding to the application according to the frequency of clicking the application by the user within a period of time.
It should be noted that, the application index list may be preset, that is, the association relationship between the keywords and the applications is preset, so that the corresponding applications can be quickly indexed through the keywords.
It should be further noted that, since different applications installed in different electronic devices 100 are different, and applications with the same keyword are generally more than one, in order to improve the indexing efficiency, the application index list of each electronic device 100 may be further optimized.
For example, the electronic device 100 compares and matches the name of the installed application with the application in the preset application index list, deletes the application without the matching item in the preset application index list, obtains an updated application index list, and uses the updated application index list as the index list of the electronic device 100.
In one possible implementation, the application found by the electronic device is an uninstalled application, and when the electronic device cannot directly start the application, the user is prompted to install the application. Or the electronic equipment sets the name of the application as a third keyword, and searches and displays corresponding search results in the preset application according to the third keyword so that a user can quickly install the application.
For example, at least two keywords corresponding to view elements, in some embodiments, in order to meet the personalized requirement of the user, only the application corresponding to the keyword focused by the user is searched, and the user may touch the deletion control corresponding to the keyword displayed in the application interface to delete the keyword not interested by the user.
Referring to fig. 6, fig. 6 is a flowchart of another method for determining a flow chart of an application according to a view element according to an embodiment of the present application. As shown in FIG. 6, the method includes steps S201 to S208.
S201 to S203 refer to the descriptions of steps S101 to S103 in the embodiment illustrated in FIG. 5, and are not repeated here.
S204, the electronic device 100 detects a touch operation of the deletion control 2011 by the user.
S205, in response to the user touching the delete control 1041, the electronic device 100 deletes the corresponding first keyword on the application interface 101.
S206, the electronic device 100 stores the updated first keyword.
In the embodiment of the present application, the updated first keyword is a keyword reserved after the user touches the deletion control 1041 to delete the corresponding first keyword.
Optionally, the embodiment of the present application is not limited to deleting the first keyword corresponding to the view element through the delete control 1041, but may also delete the dragged first keyword by other manners, for example, by detecting a touch operation, such as a drag operation, of the user on the first keyword, and deleting the dragged first keyword after the dragged first keyword moves out of the area to which the keyword belongs.
S207 to S208 may refer to the descriptions of steps S105 to S106 in the embodiment described in FIG. 5, and are not repeated here.
Referring to fig. 7, fig. 7 is a flowchart of a method for determining an application displayed in a screen area according to an embodiment of the present application. As shown in FIG. 7, the method includes steps S301-S306.
S301 to S303 can refer to the descriptions of steps S101 to S103 in the embodiment described in FIG. 5, and are not repeated here.
S304, in response to the touch operation of the user on the view element, the electronic device 100 divides the display area thereof to obtain M screen areas.
In the embodiment of the present application, after detecting a touch operation of a user on a view element at the application interface 101, the electronic device 100 obtains a display state of a foldable display screen, where the display state includes a full-screen display state and a multi-screen display state, and when the full-screen display state is that the foldable display screen is in an unfolded state, the display area of the foldable display screen is displayed in a full-screen manner, that is, the number of display areas of the foldable display screen is one; the multi-screen display state is that the foldable display screen displays the display areas of the foldable display screen in two or more screen areas, namely the number of the display areas of the foldable display screen is two or more. If the foldable display screen is in a full-screen display state, dividing the display area of the foldable display screen according to a preset dividing rule to obtain M screen areas.
In some embodiments, if the display state of the foldable display screen is a multi-screen display state, determining whether the foldable display screen is currently in an unfolded state, if the foldable display screen is currently in an unfolded state, acquiring the number N of applications associated with the view element, and if the number N of applications associated with the view element is greater than the number M of screen areas of the foldable display screen, dividing the display area of the foldable display screen according to a preset division rule by the electronic device 100, and updating the number M of screen areas to the number of screen areas obtained after division.
It should be noted that, when the electronic device 100 divides the display area of the foldable display screen according to the preset division rule, the division number corresponding to the preset division rule is compared with the application number N associated with the view element, the preset division rule that the division number is closest to the application number N associated with the view element is determined, and then the display area of the foldable display screen is divided according to the determined preset division rule.
S305, the electronic device 100 obtains an index weight corresponding to the application associated with the view element.
S306, the electronic equipment 100 determines the application displayed in each screen area according to the index weight.
In an embodiment of the present application, after acquiring the applications associated with the view elements, the electronic device 100 allocates screen areas for the applications associated with the view elements to display the corresponding applications. Specifically, the electronic device 100 determines the applications displayed in the screen area according to the determined number N of applications associated with the view element, the index weight corresponding to each application, and the number M of screen areas.
Referring to fig. 8, fig. 8 is a flow chart of a method of a flow chart of a multi-screen interaction method according to an embodiment of the application. As shown in FIG. 8, the method includes steps S401 to S404.
S401, the electronic device 100 displays the screen interface 10.
S402, the electronic equipment detects touch operation of a user on the first screen area.
S403, the electronic device 100 receives a touch operation of a user on the first screen area, and determines a view element corresponding to the touch operation.
The first screen area is any screen area in the multi-screen, and the view element is an element in an application interface currently displayed in the first screen area;
s404, in response to the touch operation, the electronic device 100 displays an application associated with the view element in at least one screen area other than the first screen area in the multi-screen, or: and the application currently displayed in the first screen area is transferred to background operation, and the application associated with the view element is displayed in a plurality of screen areas in the multi-screen.
In the embodiment of the application, on one hand, the application associated with the view element is displayed in at least one screen area except the first screen area, so that the shielding caused by the application associated with the view element is reduced on the first screen area, the display area of the screen is fully utilized, and the application interfaces of a plurality of application programs are displayed on the screen, thereby facilitating the user to check. On the other hand, the application currently displayed in the first screen area is transferred to background operation, and the application associated with the view element is displayed in a plurality of screen areas in the multi-screen, so that the application associated with a plurality of view elements is displayed on the screen, and people can conveniently and simultaneously view the application associated with the view element. In some embodiments, when the foldable display screen is in the multi-screen display state and the user touches any element in the application interface currently displayed in the first screen area (any one screen area in the multi-screen display state), the electronic device 100 will determine a view element corresponding to the touch operation and acquire an application associated with the view element, display the application associated with the view element in at least one screen area other than the first screen area, or transfer the application currently displayed in the first screen area and/or the application currently displayed in other screen areas to a background operation, and display the application associated with the view element in the multiple screen areas. Specifically, setting the number of screen areas of the multi-screen as M, setting the number of applications associated with the view element as N, wherein M is more than 1, N is more than 1, and M and N are integers; displaying the application associated with the view element in at least one screen area other than the first screen area, including the following four scenarios:
A1. If the number M-1 of screen areas is less than or equal to the number N of applications associated with the view element, displaying the application with the index weight ranked at the top L in M-1 screen areas, wherein L is equal to or less than 1 and is equal to or less than M-1, and L is an integer.
As shown in fig. 4 (B) - (E), M is 2, n is 4, when a user touches an element 1012 in the application interface currently displayed in the first screen area 203, the electronic device 100 determines a view element corresponding to the touch operation, and obtains applications associated with the view element as applications 2021, 2022, 2023 and 2024, where the electronic device 100 displays the application interface 101 in the first screen area 203, and displays four applications with index weights ranked in the top four in the second screen area 204. As further shown in fig. 4 (F), M is 3, n is 3, when the user touches an element in the application interface currently displayed in the first screen area 403, the electronic device 100 determines a view element corresponding to the touch operation, and obtains applications associated with the view element as applications 4021, 4022, 4023 and 4024, at this time, the electronic device 100 will display the application interface 101 in the first screen area 403, display the application 4021 with the index weight ranked in the first screen area 404, and display the application 4022 with the index weight ranked in the second screen area 405.
A2. If the number M-1 of screen regions is less than or equal to the number N of applications associated with the view element, selecting M-2 screen regions from the M-1 screen regions, displaying the application with the index weight selected from the N applications associated with the view element ranked at the top M-2 in the selected M-2 screen regions, and displaying the application with the index selected from the remaining N-M+2 applications associated with the view element ranked at the top P in the remaining last screen region, wherein P is equal to or less than 1 and less than N-M+2, and P is an integer.
As shown in fig. 4 (G), M is 3, n is 4, when the user touches an element in the application interface currently displayed in the first screen area 403, the electronic device 100 determines a view element corresponding to the touch operation, and obtains applications associated with the view element as applications 4021, 4022, 4023 and 4024, at this time, the electronic device 100 will display the application interface 101 in the first screen area 403, display the application 4021 with the index weight ranked in the first screen area 404, and display the applications 4022, 4023 and 4024 with the index weight ranked in the first three in the third screen area 405.
A3. If the number M-1 of the screen areas is smaller than the number N of the applications associated with the view element, classifying the applications associated with the view element, and distributing the applications of the same type to the same screen area for display.
As shown in (H) of fig. 4, M is 3, n is 4, when a user touches an element in the application interface currently displayed in the first screen area 403, the electronic device 100 determines a view element corresponding to the touch operation, obtains applications related to the view element as applications 4021, 4022, 4023 and 4024, after the electronic device 100 classifies the applications related to the view element, the applications 4021 and 4024 are the same type of application, the applications 4022 and 4023 are another same type of application, and at this time, the electronic device 100 displays the application interface 101 in the first screen area 403, displays the applications 4021 and 4024 in the second screen area 404, and displays the applications 4022 and 4023 in the third screen area 405.
A4. If the number M-1 of screen areas is greater than the number N of applications associated with the view element, N screen areas are selected from the M-1 screen areas, and the applications associated with the view element are displayed in the selected N screen areas.
Specifically, the application currently displayed in the first screen area is transferred to a background operation, and the applications associated with the view element are displayed in a plurality of screen areas in the multi-screen, including the following three situations:
B1. If the number M of screen areas is less than or equal to the number N of applications associated with the view element, displaying the application with the index weight ranked at the top Q in M screen areas, wherein Q is more than or equal to 1 and less than or equal to M, and Q is an integer.
As shown in (I) in fig. 4, M is 4, n is 5, when a user touches an element in the currently displayed application interface, the electronic device 100 determines a view element corresponding to the touch operation, obtains applications associated with the view element as applications 5021, 5022, 5023, 5024 and 5025, and displays an application 5011 with an index weight in a first screen area 502, an application 5012 with an index weight in a second screen area 503, an application 5014 with an index weight in a third screen area 504, and an application 5013 with an index weight in a fourth screen area 505.
B2. If the number M of screen regions is less than or equal to the number N of applications associated with the view element, M-1 screen regions are selected from the M screen regions, the application with the index weight selected from the N applications associated with the view element ranked at the top M-1 is displayed in the selected M-1 screen regions, the application with the index selected from the remaining N-M+1 applications associated with the view element ranked at the top R is displayed in the last screen region, wherein R is equal to or greater than 1 and less than N-M+1, and R is an integer.
B3. If the number M of the screen areas is smaller than or equal to the number N of the applications associated with the view element, classifying the applications associated with the view element, and distributing the applications of the same type to the same screen area for display.
Referring to fig. 9, fig. 9 is a flowchart of a method of a flowchart of a multi-screen interaction method according to an embodiment of the application. As shown in FIG. 9, the method includes steps S501-S504.
S501, the electronic device 100 displays the screen interface 10 in full screen.
S502, the electronic equipment detects touch operation of a user on a screen.
S503, the electronic device 100 receives the touch operation of the user on the screen, and determines the view element corresponding to the touch operation.
In the embodiment of the present application, the view element is an element in a screen, and the screen includes a plurality of screen areas.
S504, responding to the touch operation, the electronic equipment 100 selects one screen area from the plurality of screen areas to display an interface currently displayed by the screen, and displays applications associated with the view elements in at least one screen area except the selected screen area; or: and displaying the application associated with the view element in the plurality of screen areas.
In the embodiment of the application, on one hand, the application associated with the view element is displayed in at least one screen area except the selected screen area, so that the shielding caused by the application associated with the view element is reduced on the selected screen area, the display area of the screen is fully utilized, and the application interfaces of a plurality of application programs are displayed on the screen, thereby facilitating the user to check. On the other hand, the application associated with the view element is displayed in a plurality of screen areas in the multi-screen, so that the application associated with a plurality of view elements is displayed on the screen, and people can conveniently view the application associated with the view element at the same time. When the electronic device 100 receives a touch operation on the screen, the electronic device 100 switches the display state of the foldable display screen from the full-screen display state to the multi-screen display state, that is, the screen of the foldable display screen includes at least two screen areas. Before the display state of the foldable display screen is switched from the full-screen display state to the multi-screen display state, the electronic device 100 triggers a preset division rule to divide the display area of the foldable display screen.
Specifically, the number of the screen areas is set as M, the number of applications associated with the view element is set as N, wherein M is more than 1, N is more than 1, and M and N are integers; displaying the application associated with the view element in at least one screen region other than the selected screen region of the plurality of screen regions, including the following four scenarios:
C1. If the number M-1 of the screen areas is smaller than or equal to the number N of the applications associated with the view element, the application with the index weight ranked at the top L is correspondingly displayed in M-1 screen areas, wherein L is more than or equal to 1 and less than or equal to M-1, and L is an integer. The specific description of (B) - (F) in fig. 4 will be omitted herein.
C2. If the number M-1 of screen regions is less than or equal to the number N of applications associated with the view element, selecting M-2 screen regions from the M-1 screen regions, displaying the application with the index weight selected from the N applications associated with the view element ranked at the top M-2 in the selected M-2 screen regions, and displaying the application with the index selected from the remaining N-M+2 applications associated with the view element ranked at the top P in the remaining last screen region, wherein P is equal to or less than 1 and less than N-M+2, and P is an integer.
C3. If the number M-1 of the screen areas is smaller than the number N of the applications associated with the view element, classifying the applications associated with the view element, and distributing the applications of the same type to the same screen area for display.
C4. If the number M-1 of screen areas is greater than the number N of applications associated with the view element, N screen areas are selected from the M-1 screen areas, and the applications associated with the view element are displayed in the selected N screen areas.
Specifically, the application currently displayed in the first screen area is transferred to a background operation, and the applications associated with the view elements are displayed in the plurality of screen areas, including the following three situations:
D1. if the number M of screen areas is less than or equal to the number N of applications associated with the view element, displaying the application with the index weight ranked at the top Q in M screen areas, wherein Q is more than or equal to 1 and less than or equal to M, and Q is an integer.
D2. If the number M of screen regions is less than or equal to the number N of applications associated with the view element, M-1 screen regions are selected from the M screen regions, the application with the index weight selected from the N applications associated with the view element ranked at the top M-1 is displayed in the selected M-1 screen regions, the application with the index selected from the remaining N-M+1 applications associated with the view element ranked at the top R is displayed in the last screen region, wherein R is equal to or greater than 1 and less than N-M+1, and R is an integer.
D3. If the number M of the screen areas is smaller than or equal to the number N of the applications associated with the view element, classifying the applications associated with the view element, and distributing the applications of the same type to the same screen area for display.
According to the embodiment of the application, through the effect of displaying the association of the view elements in any screen area other than the screen area where the currently displayed application interface is located, a plurality of applications are displayed in a plurality of screen areas, so that a user can quickly browse or start the application associated with the view elements, and the browsing experience of the user is improved.
It should be noted that, when a screen area is allocated to the application interface 101, the position of the screen area to which the application interface 101 currently belongs is kept unchanged, or the application interface 101 is displayed according to the screen area corresponding to the position of the display area to which the application interface 101 currently belongs, or the application index weight corresponding to the application interface 101 is set to be the highest, and is displayed in the screen area with the highest screen display priority.
It should be noted that, when the screen area is allocated to the application, the screen area may be allocated to each application at random, or may be allocated to each application according to a preset allocation rule.
For example, after dividing the screen areas, the electronic device 100 will set the name of each screen area and the corresponding display priority. The display priority referred to herein is the priority of displaying an application in a screen area, and the higher the display priority of the screen area, the higher the priority of displaying the application in the screen area, for example, the higher the display priority of a first screen area is than that of a second screen area, and in the case that only one application needs to be displayed, the first screen area is preferentially used to display the application; under the condition that two or more applications need to be displayed, screen areas are allocated to the applications according to preset allocation rules, specifically, corresponding screen areas are determined according to index weights corresponding to the applications, and the higher the index weights corresponding to the applications, the higher the screen display priority corresponding to the determined screen areas.
Specifically, the preset allocation rule allocates a corresponding screen area for the application according to the corresponding relation between the screen display priority and the index weight of the application, and the higher the index weight of the application is, the higher the screen display priority of the corresponding screen area is.
Illustratively, after step S206, step S207 is further included:
s207, the electronic device 100 acquires the first keywords corresponding to the applications displayed in the screen areas, and after the applications are started, the first keywords corresponding to the applications and the search results are correspondingly displayed in the screen areas.
In the embodiment of the present application, when an application displayed in a screen area is an application name or an application icon, after detecting a touch operation of a user on the application name or the application icon, the electronic device 100 responds to the touch operation of the user on the application name or the application icon to obtain a keyword corresponding to the application name or the application icon, and after the application corresponding to the application name or the application icon is started, the keywords corresponding to each application and a result of searching by the application according to the keyword are displayed on the corresponding screen area, so that the operation of the user is reduced, the operation efficiency of the user is improved, and the user experience is better.
In an exemplary implementation manner, when determining the application displayed in each screen area, the electronic device 100 simultaneously starts the determined application, obtains the keyword corresponding to the determined application, displays the application interface corresponding to the started application in the corresponding screen area, and displays the keyword corresponding to the application and the search result on the position corresponding to the application interface, so that the operation of the user is further reduced, the efficiency of the operation of the user is improved, and the user experience is better.
Referring to fig. 10, fig. 10 is a schematic diagram of another set of screen display interfaces according to an embodiment of the application. As shown in fig. 10, the foldable display screen is in an unfolded state, comprising at least two screen areas. As shown in fig. 10 (a), the number of screen areas of the foldable display screen is 2, a dialog interface 601 of an application is displayed in a first screen area 603, a screen main interface is displayed in a second screen area 604, a user presses dialog messages 6011 and 6012 displayed in the touch dialog interface 601, and in response to a touch operation of the dialog messages 6011 and 6012 by the user, the electronic apparatus 100 displays first keywords corresponding to the dialog messages 6011 and 6012, such as "full focus" and "king" in the keywords 602 shown in fig. 10 (a), on the first screen area 603; meanwhile, the electronic device 100 classifies the first keywords, determines that the second keywords corresponding to the dialog messages 6011 and 6012 are "catering" and "address" according to the classification result, and searches for the corresponding application from the application index list according to the second keywords, where the found application is the application associated with the dialog messages 6011 and 6012, i.e. the view element. As shown in fig. 10 (B), the number of screen areas of the foldable display screen is 2, and the electronic device 100 displays the dialog interface 601 in the first screen area 603 and displays all the two applications found in association with dialog messages 6011 and 6012 in the second screen area 604. As shown in (C) of fig. 10, the number of screen areas of the foldable display screen is 3, that is, the electronic device 100 divides the second screen area 604 into a screen area 704 and a screen area 705, keeps the screen area 603 unchanged, and names the divided screen areas as a first screen area 703 (original screen area 603), a second screen area 704, and a third screen area 705 in this order, displays a dialog interface 701 in the first screen area 703 (dialog interface 701 is the same as dialog interface 601), displays an application interface corresponding to one application associated with dialog messages 6011 and 6012 in the second screen area 704, and displays a keyword "full foder Waals" corresponding to the application on the application interface, displays an application interface corresponding to the other application associated with dialog messages 6011 and 6012 in the third screen area 705, and displays a keyword "full foder Waals" corresponding to the application on the application interface.
It should be noted that, in some embodiments, the first keyword corresponding to the view element may not be displayed in the screen area, or the first keyword corresponding to the view element may be displayed and not be deleted in the screen area.
As shown in (D) in fig. 10, the foldable display screen is in an unfolded state, the number of screen areas of the foldable display screen is 3, the user touches dialog messages 8011 and 8012 displayed in the dialog interface 801, drags the dialog messages 8011 in the direction of the dialog messages 8012, the electronic device 100 identifies and extracts keywords of the dialog messages 8011 and 8012 in response to the touch drag operation of the user, obtains a set of keywords, performs semantic identification and analysis on the identified text content in the extraction process, and obtains at least one keyword, for example, obtains one keyword "weekend game paravane", or two keywords "weekend game", "paravane", after the electronic device 100 finds the corresponding application according to the keywords, displays the dialog interface 801 in the first screen area 803, displays the search results corresponding to the map application corresponding to the dialog messages 8011 and 8012 in the second screen area 804, and displays the search results corresponding to the browser application corresponding to the keywords 8011 and 8012 in the third screen area.
For example, in the process of identifying and extracting keywords from the view element acted by the touch operation, the electronic device 100 performs semantic identification and expansion on the extracted text content to obtain at least two keywords, where keywords of the dialog box message 8011 and the dialog box message 8012 shown in (D) in fig. 10 may be expanded as follows: weekend game, weekend scenic spot recommendation, surrounding paraglider locations, and the like.
Referring to fig. 11, fig. 11 is a schematic diagram of another set of screen display interfaces according to an embodiment of the application. As shown in fig. 11, the foldable display screen is in an unfolded state and includes at least two screen areas, as shown in (a) in fig. 11, the number of the screen areas of the foldable display screen is 2, one of the screen areas displays an interface of a shopping application, the other screen area is a screen main interface or displays another application interface, a user touches a view element in the application interface, the user touches an item image 9011 in a shopping interface 901 of an application displayed in a first screen area 902 and drags the item image 9011 in a direction of a second screen area 903, the electronic device 100 responds to a touch drag operation of the user, identifies and extracts a keyword "hua as a mobile phone model", finds a corresponding application as a "shopping application" according to the keyword "hua as a mobile phone model", the electronic device 100 displays the found application in another screen area of the screen area different from the application interface currently operated by the user, as shown in (B) in fig. 11, the found application is a different application of the same type as the application displayed in the shopping interface 901 in the first screen area, the electronic device 100 displays the same type of the item image 9011 in the second screen area 904, the item image is displayed in the same shopping interface as the shopping interface 903, and the price of the shopping data is reduced, and the price is reduced compared with the shopping data of the shopping data displayed in the same shopping interface, and the shopping data is approximately displayed in the shopping interface, and the same shopping data is compared with the shopping data is displayed in the shopping data.
The data displayed on the shopping interface 903, which is the same as or similar to the item image 9011, is a search result corresponding to the keyword "Hua is a mobile phone model".
Referring to fig. 12, fig. 12 is a schematic diagram of another set of screen display interfaces according to an embodiment of the application. As shown in (a) of fig. 12, the foldable display screen is in an unfolded state, the interface of the calendar application is displayed in full screen, when the user touches the date in the calendar application interface, the foldable display screen will exit full screen display, and the display area of the foldable display screen is divided to obtain 4 screen areas as shown in (B) and (C) of fig. 12, the calendar application interface in full screen display will be scaled to one of the screen areas for display, or the calendar application may jump to background operation, and the application associated with the view element (date) will be displayed in the other screen area.
As shown in (a) in fig. 12, the foldable display screen displays the interface 111 of the calendar application in full screen, the user touches any two dates displayed in the interface 111, the finger tip moves to a position in the middle of the two dates, at this time, the touch operation acts on the dates in the range where the user moves, that is, the keywords corresponding to the view elements are at least two dates in the range where the touch operation acts, the electronic device 120 exits the full screen display in response to this touch operation, the foldable display screen is divided into four screen areas, the interface 111 scaled by a certain proportion is displayed in the first screen area 1201, the alarm clock application associated with the dates is displayed in the second screen area 1202 so as to facilitate the user to set the alarm clock of the corresponding dates, the memo application associated with the dates is displayed in the third screen area 1203 so as to facilitate the user to record the memo items of the corresponding dates, the browser application associated with the dates is displayed in the third screen area so as to facilitate the user to browse the related items such as weather, constellation, etc. of the corresponding dates.
In an exemplary implementation manner, when the electronic device 120 identifies that the keyword corresponding to the view element acted by the touch is a date, it is determined whether the identified date is a preset holiday, where the preset holiday includes, but is not limited to, a holiday such as a child, a lover, a christmas, etc., if the identified date is the preset holiday, the current first keyword is updated to the corresponding holiday, a corresponding second keyword is determined according to the classification result corresponding to the updated first keyword, and the application associated with the view element is searched according to the second keyword.
As shown in fig. 12 (C), when the user touches the calendar interface for the date "2 months and 14 days", the electronic device 120 determines that the date is a plot, updates the plot to a keyword corresponding to the view element touched by the user, determines that the applications corresponding to the date "2 months and 14 days" are APP1, APP2, and APP3 according to the keyword "plot", displays the calendar interface in the first screen region 1301, displays the search results corresponding to APP1 and the updated keyword in the second screen region 1302, displays the search results corresponding to APP1 and the updated keyword in the third screen region 1303, and displays the search results corresponding to APP1 and the updated keyword in the second screen region 1304.
Embodiments of the present application also provide a computer-readable storage medium having instructions stored therein, which when run on a computer or processor, cause the computer or processor to perform one or more steps of any of the methods described above.
Embodiments of the present application also provide a computer program product comprising instructions. The computer program product, when run on a computer or processor, causes the computer or processor to perform one or more steps of any of the methods described above.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted across a computer-readable storage medium. The computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), or the like.
Those of ordinary skill in the art will appreciate that implementing all or part of the above-described method embodiments may be accomplished by a computer program to instruct related hardware, the program may be stored in a computer readable storage medium, and the program may include the above-described method embodiments when executed. And the aforementioned storage medium includes: ROM or random access memory RAM, magnetic or optical disk, etc.
The foregoing is merely a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited to this, and any changes or substitutions within the technical scope disclosed in the embodiment of the present application should be covered in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A multi-screen interaction method applied to an electronic device, comprising the following steps:
the electronic equipment receives touch operation on a first screen area, and determines a view element corresponding to the touch operation, wherein the first screen area is any screen area in the multi-screen, and the view element is an element in an application interface currently displayed in the first screen area;
Identifying a keyword from the view element, displaying at least one application associated with the keyword in at least one screen area other than the first screen area in the multi-screen, or:
the application currently displayed in the first screen area is transferred to background operation, and at least one application associated with the keyword is displayed in a plurality of screen areas in the multi-screen;
setting the number of screen areas of the multi-screen as M, and setting at least one application number associated with the keyword as N, wherein M is more than 1, N is more than 1, and both M and N are integers;
the displaying at least one application associated with the keyword in at least one screen region other than the first screen region in the multi-screen includes:
if the number M-1 of the screen areas is smaller than or equal to the number N of at least one application associated with the keyword, displaying the application with the index weight being ranked at the top L in M-1 screen areas, wherein L is more than or equal to 1 and less than or equal to M-1, and the index weight is the weight indexed to a certain application according to the keyword; or alternatively; selecting M-2 screen areas from M-1 screen areas, displaying the application with the index weight selected from at least one application associated with N keywords ranked at the top M-2 in the selected M-2 screen areas, and displaying the application with the index selected from at least one application associated with the rest N-M+2 keywords ranked at the top P in the rest last screen area, wherein P is more than or equal to 1 and less than or equal to N-M+2, and the P is an integer;
The application currently displayed in the first screen area is transferred to background operation, at least one application associated with the keyword is displayed in a plurality of screen areas in the multi-screen, and the method comprises the following steps:
if the number M of the screen areas is smaller than or equal to the number N of at least one application associated with the keywords, displaying the application with the index weight ranked at the front Q in M screen areas, wherein Q is more than or equal to 1 and less than or equal to M, and Q is an integer; or alternatively; selecting M-1 screen areas from M screen areas, displaying the application with the index weight selected from at least one application associated with N keywords ranked at the top M-1 in the selected M-1 screen areas, and displaying the application with the index selected from at least one application associated with the rest N-M+1 keywords ranked at the top R in the rest last screen area, wherein R is more than or equal to 1 and less than or equal to N-M+1, and R is an integer.
2. The multi-screen interaction method of claim 1, wherein the displaying at least one application associated with the keyword in at least one screen area other than the first screen area in the multi-screen comprises:
And classifying at least one application associated with the keyword, and distributing the application of the same type to the same screen area for display.
3. The multi-screen interaction method of claim 1, wherein the displaying at least one application associated with the keyword in at least one screen area other than the first screen area in the multi-screen comprises:
if the number M-1 of the screen areas is larger than the number N of at least one application associated with the keyword, selecting N screen areas from the M-1 screen areas, and displaying the at least one application associated with the keyword in the selected N screen areas.
4. The multi-screen interaction method of claim 1, wherein the displaying the at least one application associated with the keyword in a number of screen areas in the multi-screen comprises:
and if the number M of the screen areas is smaller than or equal to the number N of at least one application associated with the keyword, classifying the at least one application associated with the keyword, and distributing the application of the same type to the same screen area for display.
5. The multi-screen interaction method of claim 1, wherein when identifying keywords from the view elements, comprising:
The electronic equipment obtains a first keyword corresponding to the view element;
the electronic equipment classifies the first keywords and determines second keywords according to classification results
And the electronic equipment acquires at least one application associated with the keyword according to the second keyword.
6. The multi-screen interaction method of claim 1, wherein when identifying keywords from the view elements, comprising:
the electronic equipment acquires index weights corresponding to at least one application associated with the keywords;
and determining a screen area for displaying at least one application associated with the keyword according to the index weight corresponding to each application.
7. A multi-screen interaction method applied to an electronic device, comprising the following steps:
when the electronic equipment receives touch operation on a screen, determining view elements corresponding to the touch operation, wherein the view elements are elements in the screen, and the screen comprises a plurality of screen areas;
identifying a keyword from the view elements, selecting one screen region from the plurality of screen regions to display an interface currently displayed by the screen, and displaying at least one application associated with the keyword in at least one screen region other than the selected screen region from the plurality of screen regions; or:
Displaying at least one application associated with the keyword in the plurality of screen areas;
setting the number of the screen areas as M, and setting at least one application number associated with the keywords as N, wherein M is more than 1, N is more than 1, and both M and N are integers;
the displaying at least one application associated with the keyword in at least one screen region other than the selected screen region among the plurality of screen regions includes:
if the number M-1 of the screen areas is smaller than or equal to the number N of at least one application associated with the keyword, correspondingly displaying the application with the index weight being ranked at the top L in the M-1 screen areas, wherein L is more than or equal to 1 and less than or equal to M-1, and the index weight is the weight indexed to a certain application according to the keyword; or alternatively; selecting M-2 screen areas from M-1 screen areas, displaying the application with the index weight selected from at least one application associated with N keywords ranked at the top M-2 in the selected M-2 screen areas, and displaying the application with the index selected from at least one application associated with the rest N-M+2 keywords ranked at the top P in the rest last screen area, wherein P is more than or equal to 1 and less than or equal to N-M+2, and the P is an integer;
The displaying at least one application associated with the keyword in the plurality of screen areas includes:
if the number M of the screen areas is smaller than or equal to the number N of at least one application associated with the keywords, displaying the application with the index weight ranked at the front Q in M screen areas, wherein Q is more than or equal to 1 and less than or equal to M, and Q is an integer; or alternatively; selecting M-1 screen areas from M screen areas, displaying the application with the index weight selected from at least one application associated with N keywords ranked at the top M-1 in the selected M-1 screen areas, and displaying the application with the index selected from at least one application associated with the rest N-M+1 keywords ranked at the top R in the rest last screen area, wherein R is more than or equal to 1 and less than or equal to N-M+1, and R is an integer.
8. The multi-screen interaction method of claim 7, wherein the displaying at least one application associated with the keyword in at least one screen region other than the selected screen region among the plurality of screen regions comprises:
and classifying at least one application associated with the keyword, and distributing the application of the same type to the same screen area for display.
9. The multi-screen interaction method of claim 7, wherein the displaying at least one application associated with the keyword in at least one screen region other than the selected screen region among the plurality of screen regions comprises:
if the number M-1 of the screen areas is larger than the number N of at least one application associated with the keyword, selecting N screen areas from the M-1 screen areas, and displaying the at least one application associated with the keyword in the selected N screen areas.
10. The multi-screen interaction method of claim 7, wherein the displaying the at least one application associated with the keyword in the plurality of screen regions comprises:
and if the number M of the screen areas is smaller than or equal to the number N of at least one application associated with the keyword, classifying the at least one application associated with the keyword, and distributing the application of the same type to the same screen area for display.
11. The multi-screen interaction method of claim 7, wherein when identifying keywords from the view elements, comprising:
the electronic equipment obtains a first keyword corresponding to the view element;
The electronic equipment classifies the first keywords and determines second keywords according to classification results
And the electronic equipment acquires at least one application associated with the keyword according to the second keyword.
12. The multi-screen interaction method of claim 7, wherein when identifying keywords from the view elements, comprising:
the electronic equipment acquires index weights corresponding to at least one application associated with the keywords;
and determining a screen area for displaying at least one application associated with the keyword according to the index weight corresponding to each application.
13. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the multi-screen interaction method of any of claims 1 to 12 when the computer program is executed by the processor.
14. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the multi-screen interaction method of any of claims 1 to 12.
CN202010250263.3A 2020-04-01 2020-04-01 Multi-screen interaction method, electronic equipment and computer readable storage medium Active CN113497835B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010250263.3A CN113497835B (en) 2020-04-01 2020-04-01 Multi-screen interaction method, electronic equipment and computer readable storage medium
PCT/CN2021/079475 WO2021196980A1 (en) 2020-04-01 2021-03-08 Multi-screen interaction method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010250263.3A CN113497835B (en) 2020-04-01 2020-04-01 Multi-screen interaction method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113497835A CN113497835A (en) 2021-10-12
CN113497835B true CN113497835B (en) 2023-10-20

Family

ID=77926918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010250263.3A Active CN113497835B (en) 2020-04-01 2020-04-01 Multi-screen interaction method, electronic equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN113497835B (en)
WO (1) WO2021196980A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116204143A (en) * 2021-11-30 2023-06-02 华为技术有限公司 Interface display method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016154893A1 (en) * 2015-03-31 2016-10-06 华为技术有限公司 Method and device for processing new message associated with application
KR20170047059A (en) * 2015-10-22 2017-05-04 엘지전자 주식회사 Mobile terminal for displaying information and controlling method thereof
AU2018100810A4 (en) * 2016-10-26 2018-07-26 Apple Inc. User interfaces for browsing content from multiple content applications on an electronic device
CN108604154A (en) * 2017-01-22 2018-09-28 华为技术有限公司 The method and electronic equipment of graphic user interface are shown based on gesture
CN108717366A (en) * 2018-03-30 2018-10-30 斑马网络技术有限公司 The display page adaptation system and its adaptation method of vehicle-carrying display screen
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup method and terminal
WO2020000445A1 (en) * 2018-06-29 2020-01-02 华为技术有限公司 Method for browsing folder of application, and electronic device
CN110865744A (en) * 2019-09-30 2020-03-06 华为技术有限公司 Split-screen display method and electronic equipment
CN110928614A (en) * 2019-10-11 2020-03-27 广州视源电子科技股份有限公司 Interface display method, device, equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109976645B (en) * 2014-06-20 2023-04-07 华为技术有限公司 Application interface display method and device and electronic equipment
KR102270953B1 (en) * 2014-08-22 2021-07-01 삼성전자주식회사 Method for display screen in electronic device and the device thereof
CN104657081B (en) * 2015-03-19 2018-04-27 上海创功通讯技术有限公司 The processing method of mobile terminal and its picture
CN106227483B (en) * 2016-07-26 2020-09-04 珠海市魅族科技有限公司 Display control method and mobile terminal
CN107037949B (en) * 2017-03-29 2020-11-27 北京小米移动软件有限公司 Split screen display method and device
CN107783808A (en) * 2017-09-28 2018-03-09 努比亚技术有限公司 A kind of terminal processing method, terminal and computer-readable recording medium
CN110162238A (en) * 2019-05-23 2019-08-23 努比亚技术有限公司 It is a kind of fast to call associated application method and device, mobile terminal and storage medium
CN110457604A (en) * 2019-07-03 2019-11-15 平安科技(深圳)有限公司 Recommended method and relevant device based on artificial intelligence
CN115629730A (en) * 2019-07-23 2023-01-20 华为技术有限公司 Display method and related device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016154893A1 (en) * 2015-03-31 2016-10-06 华为技术有限公司 Method and device for processing new message associated with application
KR20170047059A (en) * 2015-10-22 2017-05-04 엘지전자 주식회사 Mobile terminal for displaying information and controlling method thereof
AU2018100810A4 (en) * 2016-10-26 2018-07-26 Apple Inc. User interfaces for browsing content from multiple content applications on an electronic device
CN108604154A (en) * 2017-01-22 2018-09-28 华为技术有限公司 The method and electronic equipment of graphic user interface are shown based on gesture
CN108717366A (en) * 2018-03-30 2018-10-30 斑马网络技术有限公司 The display page adaptation system and its adaptation method of vehicle-carrying display screen
WO2020000445A1 (en) * 2018-06-29 2020-01-02 华为技术有限公司 Method for browsing folder of application, and electronic device
CN110401766A (en) * 2019-05-22 2019-11-01 华为技术有限公司 A kind of image pickup method and terminal
CN110865744A (en) * 2019-09-30 2020-03-06 华为技术有限公司 Split-screen display method and electronic equipment
CN110928614A (en) * 2019-10-11 2020-03-27 广州视源电子科技股份有限公司 Interface display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113497835A (en) 2021-10-12
WO2021196980A1 (en) 2021-10-07

Similar Documents

Publication Publication Date Title
CN114467297B (en) Video call display method and related device applied to electronic equipment
CN115866121B (en) Application interface interaction method, electronic device and computer readable storage medium
CN111669459B (en) Keyboard display method, electronic device and computer readable storage medium
CN112714901B (en) Display control method of system navigation bar, graphical user interface and electronic equipment
CN110543287B (en) Screen display method and electronic equipment
CN110119296B (en) Method for switching parent page and child page and related device
CN110377204B (en) Method for generating user head portrait and electronic equipment
CN114327666B (en) Application starting method and device and electronic equipment
CN111970401B (en) Call content processing method, electronic equipment and storage medium
EP3964932A1 (en) Learning-based keyword search method, and electronic device
CN112269853B (en) Retrieval processing method, device and storage medium
CN111881315A (en) Image information input method, electronic device, and computer-readable storage medium
CN116069212A (en) Quick looking-up method for application card, electronic equipment and storage medium
CN112740148A (en) Method for inputting information into input box and electronic equipment
CN113497835B (en) Multi-screen interaction method, electronic equipment and computer readable storage medium
CN114244951B (en) Method for opening page by application program, medium and electronic equipment thereof
CN114666441B (en) Method for calling capabilities of other devices, electronic device, system and storage medium
WO2023246666A1 (en) Search method and electronic device
KR102584682B1 (en) Information display methods and devices
CN116033063A (en) Method for checking message and electronic equipment
CN117851460A (en) Application program recommendation method and electronic equipment
CN116527805A (en) Card display method, electronic device, and computer-readable storage medium
CN114518965A (en) Cut and pasted content processing method and device
CN116700568A (en) Method for deleting object and electronic equipment
CN117009099A (en) Message processing method 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