WO2020221063A1 - 切换父页面和子页面的方法、相关装置 - Google Patents
切换父页面和子页面的方法、相关装置 Download PDFInfo
- Publication number
- WO2020221063A1 WO2020221063A1 PCT/CN2020/085903 CN2020085903W WO2020221063A1 WO 2020221063 A1 WO2020221063 A1 WO 2020221063A1 CN 2020085903 W CN2020085903 W CN 2020085903W WO 2020221063 A1 WO2020221063 A1 WO 2020221063A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- display screen
- electronic device
- child
- parent
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04804—Transparency, e.g. transparent or translucent windows
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04808—Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen
Definitions
- This application relates to the field of terminals and computer graphics processing technology, and in particular to methods and related devices for switching between parent pages and child pages.
- Existing method 1 The method of moving the subpages from the bottom of the screen to the top.
- the user's visual movement path is from the bottom to the top of the screen, and the visual movement path is long and the experience is not good.
- Existing method 2 The sub-page moves from the right to the left of the screen and changes the display method of transparency. Since switching between parent and child pages is a common operation, it usually takes a short time. In this switching method, the user can see the afterimage of the parent page, and the switching effect is abrupt and the experience is not good.
- This application provides a method and related devices for switching between a parent page and a child page.
- the user When switching from a parent page to a child page, the user’s visual movement lines are shortened, providing better visual effects and improving user experience.
- this application provides a method for switching between a parent page and a child page, and the method is applied to an electronic device.
- the method may include: the electronic device displays the parent page provided by the application program in full screen on the display screen; wherein, the application program also provides a child page, the parent page is the parent page of the child page, and the size of the parent page and the child page are the same;
- the device detects the operation for switching from the parent page to the child page, and in response to the operation for switching from the parent page to the child page, the electronic device automatically performs the following steps:
- the height of the middle part of the child page is the same as the height of the child page, and the width of the middle part of the child page is smaller than the width of the child page;
- the control subpage gradually moves to the second side of the display screen, and at the same time, gradually increases the part of the subpage displayed on the display screen until the subpage is displayed on the display screen in full screen, wherein the second side is opposite to the first side.
- the user can see that the child page moves to the second side and the part of the child page displayed on the display gradually increases, and the part of the parent page displayed on the display gradually decreases, until the child page is displayed in full screen on the display On the screen.
- the way of switching from the parent page to the child page provided by the electronic device is in line with the user's expectations, the visual effect is natural, and the user's visual movement lines are short, which can give the user an optimal user experience.
- the parent page may include one or more entries.
- the one or more items can receive an operation (such as a touch operation) to open the corresponding interface.
- the operation of switching from the parent page to the child page may include an operation (such as a touch operation) acting on the item.
- the operation is not limited to the operation on the item, and the operation for switching from the parent page to the child page may also include a voice command input by the user, etc., which is not limited in this application.
- this application does not limit the area of the middle part of the subpage.
- the middle part of the sub-page does not include the edges on both sides of the sub-page.
- the first side of the display screen is the right side of the display screen
- the second side of the display screen is the left side of the display screen. That is to say, in the method of switching from the parent page to the child page provided in the first aspect, the child page moves to the left of the display screen and the content of the child page displayed on the display screen gradually increases until the child page is displayed in full screen on the display On the screen.
- the electronic device may gradually increase the portion of the sub-page displayed on the display screen to the first side and the second side.
- the electronic device has the following strategies when increasing the part of the subpage displayed on the display screen:
- the electronic device first adds the part of the subpage displayed on the display screen to the first side, and then adds the part of the subpage displayed on the display screen to the second side, until the subpage is displayed on the display screen in full screen.
- the electronic device first adds the part of the subpage displayed on the display screen to the second side, and then adds the part of the subpage displayed on the display screen to the first side, until the subpage is displayed on the display screen in full screen.
- the electronic device adds the part of the subpage displayed on the display screen to the first side and the second side at the same time, until the subpage is displayed on the display screen in full screen.
- the electronic device uses any of the above strategies to increase the portion of the child page displayed on the display screen, so that when switching from the parent page to the child page, the fun of switching between the parent and child pages can be increased.
- the electronic device may also prompt the user that the user is currently switching from the parent page to the child page during the process of switching from the parent page to the child page.
- the prompt method can include:
- the display form of the parent page and the child page on the display screen are different.
- the display form includes one or more of background color, transparency, or border.
- the electronic device controls the child page to gradually move to the second side of the display screen, the background color of the parent page displayed on the display screen gradually becomes darker, or the transparency of the parent page displayed on the display screen gradually becomes higher.
- the child page displayed on the display screen is realized by a mask.
- the mask is composed of a mask layer and a masked layer. Only the overlapping areas of the mask layer and the masked layer can be displayed on the display screen, that is, the user can only see the overlapped area of the mask layer and the masked layer, and the rest of the area is invisible to the user.
- the mask does not affect the display of other layers in the display.
- the electronic device in response to the operation for switching from the parent page to the child page, can also automatically perform the following steps: generate a mask, which is composed of a mask layer and a child page; control the transfer of the mask layer and the child page to the display screen The second side moves; the part where the sub-page and the mask layer overlap and is located in the display screen is the part of the sub-page displayed on the display screen.
- the process of moving the mask layer and the sub-page to the second side of the display screen is a process of decelerating motion. The deceleration movement process can make the process of switching from the parent page to the child page more in line with user expectations.
- the electronic device may also switch from the child page back to the parent page.
- the first method After the child page is displayed in full screen on the display screen, the electronic device detects the operation for switching from the child page to the parent page, and in response to the operation for switching from the child page to the parent page, the electronic device Automatically execute the following steps: switch from displaying the child page in full screen to displaying the parent page on the display, and superimpose a part of the child page on the first side of the display; the height of the part of the child page is the same as the height of the child page, The width of a part of the child page is smaller than the width of the child page; the child page is controlled to gradually move to the first side of the display screen, and at the same time, the part of the child page displayed on the display screen is gradually reduced until the parent page is displayed in full screen on the display screen.
- a part of the subpage may be the middle part of the subpage.
- a part of the subpage may be the middle part of the subpage mentioned in the first aspect, and reference may be made to related descriptions.
- a part of the subpage may also be the left part or the right part of the subpage.
- the child page may include a return key
- the operation for switching from the child page to the parent page may include an operation (such as a touch operation) acting on the return key. It is not limited to the operation on the back key, and the operation for switching from the child page to the parent page may also include a voice command input by the user, etc., which is not limited in this application.
- the electronic device may gradually reduce the portion of the subpage displayed on the display screen toward the first side and/or the second side. Specifically, the electronic device has the following strategies when reducing the part of the sub-page displayed on the display screen:
- the electronic device gradually reduces the part of the subpage displayed on the display screen to the first side, or the electronic device gradually reduces the part of the subpage displayed on the display screen to the second side, until the subpage is no longer displayed on the display screen And the parent page is displayed on the display in full screen.
- the electronic device first reduces the part of the child page displayed on the display to the first side, and then reduces the part of the child page displayed on the display to the second side, until the child page is no longer displayed on the display and the parent page The full screen is displayed on the display.
- the electronic device first reduces the part of the child page displayed on the display to the second side, and then reduces the part of the child page displayed on the display to the first side, until the child page is no longer displayed on the display and the parent page The full screen is displayed on the display.
- the electronic device reduces the part of the child page displayed on the display screen to the first side and the second side at the same time, until the child page is no longer displayed on the display screen and the parent page is displayed on the display screen in full screen.
- the electronic device reduces the portion of the child page displayed on the display screen through any of the above strategies, so that when switching from the child page to the parent page, the fun of switching between the parent and child pages can be increased.
- the second method After the child page is displayed on the display in full screen, the electronic device detects the operation for switching from the child page to the parent page, and in response to the operation for switching from the child page to the parent page, the electronic device The following steps are automatically performed: switch from displaying the child page in full screen to displaying the parent page on the display, and superimpose the left part of the child page on the first side of the display; the height of the left part of the child page is the same as the height of the child page With the same height, the width of the left part of the child page is smaller than the width of the child page; control the child page to gradually move to the first side of the display, and at the same time, gradually reduce the part of the child page displayed on the display until the parent page is displayed in full screen On the display.
- the left part of the subpage includes the left edge of the subpage.
- the user operation for switching from the child page to the parent page may include: 1. A drag gesture to the first side on the display screen; the duration of the drag gesture is greater than the preset duration. In some embodiments, when the electronic device controls the sub-page to gradually move to the first side of the display screen, the moving speed of the sub-page is determined by the moving speed of the drag gesture. 2. Act on the quick swipe gesture to the first side on the display screen, and the duration of the quick swipe gesture is less than the preset duration.
- the electronic device may also prompt the user that the user is currently switching from the child page to the parent page.
- the prompt method can include:
- the electronic device displays the child page and the parent page in different display forms.
- the display form of the page may include: the background color of the page, the transparency of the page, or the border of the page.
- the electronic device controls the child page to gradually move to the first side of the display screen, the background color of the parent page displayed on the display screen gradually becomes lighter, or the transparency of the parent page becomes lower and lower.
- the child page displayed on the display screen is realized by a mask.
- the electronic device in response to the operation for switching from the child page to the parent page, can also automatically perform the following steps: control the mask layer and the child page to move to the first side of the display screen; the mask layer and the child page form a mask, The mask is generated by the electronic device in response to the operation for switching from the parent page to the child page; the part where the child page and the mask layer overlap and is located in the display screen is the child page displayed on the display screen part.
- the process of moving the mask layer and the sub-page to the first side of the display screen is a process of decelerating motion. The decelerating motion process can make the process of switching from the child page to the parent page more in line with user expectations.
- the parent page and the child page are both provided by the contacts application.
- the parent page is a user interface provided by the contacts application for displaying one or more contact information stored in the electronic device
- the child page is a user interface provided by the contacts application for displaying the address book details of the first contact .
- this application provides an electronic device, which may include: one or more processors, memories, and display screens;
- the memory and the display screen are coupled with one or more processors, and the memory is used to store computer program code, the computer program code includes computer instructions, and one or more processors call the computer instructions to make the electronic device execute:
- the parent page provided by the application in full screen on the display screen; among them, the application also provides child pages, the parent page is the parent page of the child page, and the size of the parent page and the child page are the same;
- the height of the middle part of the child page is the same as the height of the child page, and the width of the middle part of the child page is smaller than the width of the child page;
- the control subpage gradually moves to the second side of the display screen, and at the same time, gradually increases the part of the subpage displayed on the display screen until the subpage is displayed on the display screen in full screen, wherein the second side is opposite to the first side.
- the electronic device of the second aspect switches from the parent page to the child page
- the user can see that the child page moves to the second side and the part of the child page displayed on the display screen gradually increases, and the part of the parent page displayed on the display screen Decrease gradually until the sub-page is displayed on the display in full screen.
- This switching method meets the user's expectations, the visual effect is natural, and the user's visual movement line is short, which can give the user an optimal user experience.
- the parent page may include one or more items.
- the one or more items can receive an operation (such as a touch operation) to open the corresponding interface.
- the operation of switching from the parent page to the child page may include an operation (such as a touch operation) acting on the item.
- the operation is not limited to the operation on the item.
- the operation used to switch from the parent page to the child page may also include a voice command input by the user, etc., which is not limited in this application.
- this application does not limit the area of the middle part of the subpage.
- the middle part of the sub-page does not include the edges on both sides of the sub-page.
- the first side of the display screen is the right side of the display screen
- the second side of the display screen is the left side of the display screen
- the electronic device may gradually increase the portion of the sub-page displayed on the display screen to the first side and the second side.
- the electronic device has the following strategies when increasing the part of the subpage displayed on the display screen:
- the electronic device first adds the part of the subpage displayed on the display screen to the first side, and then adds the part of the subpage displayed on the display screen to the second side, until the subpage is displayed on the display screen in full screen.
- the electronic device first adds the part of the subpage displayed on the display screen to the second side, and then adds the part of the subpage displayed on the display screen to the first side, until the subpage is displayed on the display screen in full screen.
- the electronic device adds the part of the subpage displayed on the display screen to the first side and the second side at the same time, until the subpage is displayed on the display screen in full screen.
- the electronic device uses any of the above strategies to increase the portion of the child page displayed on the display screen, so that when switching from the parent page to the child page, the fun of switching between the parent and child pages can be increased.
- the one or more processors are also used to invoke computer instructions to make the electronic device prompt the user that the user is currently switching from the parent page to the child page.
- the prompt method can include:
- the display form of the parent page and the child page on the display screen are different.
- the display form includes one or more of background color, transparency, or border.
- the electronic device controls the child page to gradually move to the second side of the display screen, the background color of the parent page displayed on the display screen gradually becomes darker, or the transparency of the parent page displayed on the display screen gradually becomes higher.
- the electronic device implements the child page displayed on the display screen during the process of switching from the parent page to the child page through a mask.
- the one or more processors are also used for invoking computer instructions to make the electronic device execute: in response to the operation for switching from the parent page to the child page, the following steps are automatically executed: a mask is generated, and the mask is changed from the mask.
- Layer and sub-page composition control the movement of the mask layer and sub-page to the second side of the display screen; among them, the part where the sub-page and the mask layer overlap and are located in the display screen is the part of the sub-page displayed on the display screen.
- the process of moving the mask layer and the sub-page to the second side of the display screen is a process of decelerating motion.
- the decelerating motion process can make the process of switching from the parent page to the child page more in line with user expectations.
- the one or more processors are further used to invoke computer instructions to make the electronic device execute the process of switching from the child page back to the parent page.
- the process of switching the electronic device from the child page back to the parent page in this application may include the following two types:
- the first process of switching from the child page back to the parent page After the child page is displayed in full screen on the display, the operation for switching from the child page to the parent page is detected, in response to the switch from the child page to the parent page.
- the operation of the page automatically performs the following steps: switch from displaying the child page in full screen to displaying the parent page on the display, and superimpose a part of the child page on the first side of the display; the height of the part of the child page is the same as that of the child page The height of the child page is the same, and the width of a part of the child page is smaller than the width of the child page; control the child page to gradually move to the first side of the display screen, and at the same time, gradually reduce the part of the child page displayed on the display screen until the parent page is displayed in full screen On the display.
- a part of the subpage may be the middle part of the subpage.
- a part of the subpage may be the middle part of the subpage mentioned in the first aspect, and reference may be made to related descriptions.
- a part of the subpage may also be the left part or the right part of the subpage.
- the child page may include a return key
- the operation for switching from the child page to the parent page may include an operation (such as a touch operation) acting on the return key. It is not limited to the operation on the back key, and the operation for switching from the child page to the parent page may also include a voice command input by the user, etc., which is not limited in this application.
- the electronic device may gradually reduce the portion of the subpage displayed on the display screen toward the first side and/or the second side. Specifically, the electronic device has the following strategies when reducing the part of the sub-page displayed on the display screen:
- the electronic device gradually reduces the part of the subpage displayed on the display screen to the first side, or the electronic device gradually reduces the part of the subpage displayed on the display screen to the second side, until the subpage is no longer displayed on the display screen And the parent page is displayed on the display in full screen.
- the electronic device first reduces the part of the child page displayed on the display to the first side, and then reduces the part of the child page displayed on the display to the second side, until the child page is no longer displayed on the display and the parent page The full screen is displayed on the display.
- the electronic device first reduces the part of the child page displayed on the display to the second side, and then reduces the part of the child page displayed on the display to the first side, until the child page is no longer displayed on the display and the parent page The full screen is displayed on the display.
- the electronic device reduces the part of the child page displayed on the display screen to the first side and the second side at the same time, until the child page is no longer displayed on the display screen and the parent page is displayed on the display screen in full screen.
- the electronic device reduces the portion of the child page displayed on the display screen through any of the above strategies, so that when switching from the child page to the parent page, the fun of switching between the parent and child pages can be increased.
- the second process of switching from the child page back to the parent page After the child page is displayed in full screen on the display, the electronic device detects the operation for switching from the child page to the parent page, and responds to the operation for switching from the child page To the parent page operation, the electronic device automatically executes the following steps: switch from displaying the child page in full screen to displaying the parent page on the display, and superimpose the left part of the child page on the first side of the display; the left part of the child page The height of the side part is the same as the height of the sub-page, and the width of the left part of the sub-page is smaller than the width of the sub-page; control the sub-page to gradually move to the first side of the display, and at the same time, gradually reduce the display of the sub-page on the display Part until the parent page is displayed on the display in full screen.
- the left part of the subpage includes the left edge of the subpage.
- the user operation for switching from the child page to the parent page may include: 1. A drag gesture that acts on the display screen to the first side; the drag gesture The duration of is greater than the preset duration. In some embodiments, when the electronic device controls the subpage to gradually move to the first side of the display screen, the moving speed of the subpage is determined by the moving speed during the drag gesture. 2. Act on the quick swipe gesture to the first side on the display screen, and the duration of the quick swipe gesture is less than the preset duration.
- the one or more processors are also used to invoke computer instructions to cause the electronic device to prompt the user that the user is currently switching from the child page to the parent page.
- the prompt method can include:
- the electronic device displays the child page and the parent page in different display forms.
- the display form of the page may include: the background color of the page, the transparency of the page, or the border of the page.
- the electronic device controls the child page to gradually move to the first side of the display screen, the background color of the parent page displayed on the display screen gradually becomes lighter, or the transparency of the parent page becomes lower and lower.
- the electronic device implements the child page displayed on the display screen in the process of switching from the child page to the parent page through a mask.
- the one or more processors are also used to invoke computer instructions to make the electronic device execute: in response to the operation for switching from the child page to the parent page, automatically execute the following steps: control the mask layer and the child page to the display screen The first side of the mobile; the mask layer and the child page form a mask, the mask is generated by the electronic device in response to the operation for switching from the parent page to the child page; wherein the child page and the mask layer overlap and are located
- the part in the display is the part of the subpage displayed on the display.
- the process of moving the mask layer and the sub-page to the first side of the display screen is a process of decelerating motion.
- the decelerating motion process can make the process of switching from the child page to the parent page more in line with user expectations.
- the parent page and the child page are both provided by the contacts application.
- the parent page is a user interface provided by the contacts application for displaying one or more contact information stored in the electronic device
- the child page is a user interface provided by the contacts application for displaying the address book details of the first contact .
- the present application provides a computer storage medium including computer instructions, which when the computer instructions are executed on an electronic device, cause the electronic device to execute the method provided in the first aspect.
- this application provides a computer program product, which when the computer program product runs on a computer, causes the computer to execute the method as in the first aspect.
- the present application provides an electronic device including a functional unit for executing the method of the first aspect.
- the electronic device when the electronic device displays the parent page in full screen on the display screen, it detects an operation for switching from the parent page to the child page, and in response to this operation, the electronic device can switch from displaying the parent page in full screen to the first page on the display screen.
- the side overlay displays the middle part of the sub-page, and controls the sub-page to gradually move to the second side of the display screen.
- Fig. 1A is an exemplary schematic diagram of the parent page provided by the present application.
- FIG. 1B is an exemplary schematic diagram of a subpage provided by this application.
- Figure 2 is a schematic diagram of the mask provided by the present application.
- 3A is a schematic diagram of the structure of the electronic device provided by the present application.
- 3B is a block diagram of the software structure of the electronic device provided by this application.
- Figure 4 is a schematic diagram of the main interface on the electronic device provided by the present application.
- 5A-5D are schematic diagrams of human-computer interaction involved in the process of switching from a parent page to a child page provided by this application;
- 6A-6D are schematic diagrams of layer movement involved in the process of switching from a parent page to a child page provided by this application;
- Figure 7 is a schematic diagram of a Bezier curve provided by the present application.
- 8A-8D are schematic diagrams of human-computer interaction involved in the process of switching from a child page to a parent page provided by this application;
- 9A-9D are another schematic diagrams of human-computer interaction involved in the process of switching from a child page to a parent page provided by this application;
- 10A-10D are another schematic diagrams of human-computer interaction involved in the process of switching from a child page to a parent page provided by this application;
- Figure 11 is a schematic diagram of gestures involved in this application.
- 12A-12D are schematic diagrams of layer movement involved in the process of switching from a child page to a parent page provided by this application;
- Fig. 13 is another schematic diagram of Bezier curve provided by this application.
- FIG. 14 is a schematic diagram of the interaction flow between various software modules and hardware modules when the electronic device provided by the present application switches between parent and child pages.
- first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present application, unless otherwise specified, “plurality” means two or more.
- page in the description, claims and drawings of this application can also be called “user interface (UI)", which is the medium for interaction and information exchange between applications or operating systems and users Interface, which realizes the conversion between the internal form of information and the form acceptable to users.
- UI user interface
- the user interface of the application is the source code written in a specific computer language such as java, extensible markup language (XML), etc.
- the interface source code is parsed and rendered on the terminal device, and finally presented as content that can be recognized by the user.
- Control also called widget, is the basic element of user interface. Typical controls include toolbar, menu bar, text box, button, scroll bar (scrollbar), pictures and text.
- the attributes and content of the controls in the interface are defined by tags or nodes.
- XML specifies the controls contained in the interface through nodes such as ⁇ Textview>, ⁇ ImgView>, and ⁇ VideoView>.
- a node corresponds to a control or attribute in the interface, and the node is parsed and rendered as user-visible content.
- many applications such as hybrid applications, usually include web pages in their interfaces.
- a web page can be understood as a special control embedded in the application program interface.
- a web page is source code written in a specific computer language, such as hypertext markup language (HTML), cascading style sheets, CSS), java script (JavaScript, JS), etc.
- the source code of a web page can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions of the browser.
- the specific content contained in a web page is also defined by tags or nodes in the source code of the web page.
- HTML defines the elements and attributes of the web page through ⁇ p>, ⁇ img>, ⁇ video>, and
- GUI graphical user interface
- the commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It can be an icon, window, control and other interface elements displayed on the display screen of an electronic device.
- the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, Widgets, etc. Visual interface elements.
- the following embodiments of the present application provide a method and related device for switching between a parent page and a child page.
- the method for switching between a parent page and a child page may include: a method of switching from a parent page to a child page, and switching from a child page to a parent page Methods.
- a method of switching from a parent page to a child page may include: a method of switching from a parent page to a child page, and switching from a child page to a parent page Methods.
- the electronic device displays the child page on the display screen, which is from the right side of the display screen
- Such a switching method can shorten the user's visual movement lines, provide better visual effects, and enhance user experience.
- the parent page and the child page are relative concepts involved when the application program in the electronic device is running.
- Parent and child pages are usually provided by the same application.
- the size of the parent page and the child page are the same, that is, the height of the parent page and the child page are the same, and the width of the parent page and the child page are the same.
- the logical parent page of a page is fixed and has been determined during application design. When a page is used as a parent page, it can correspond to multiple child pages; when a page is used as a child page, there is only one parent page.
- a page provided by an application program can be switched to display another page through the return key (the APP-level return key provided by the application or the return key provided by the system navigation bar), the page And another page can form a parent-child page, this page is a child page, and the other page is a parent page.
- the return key the APP-level return key provided by the application or the return key provided by the system navigation bar
- both the parent page and the child page are provided by applications installed in the electronic device, and do not include system-level interface elements provided by the operating system of the electronic device.
- System-level interface elements may include but are not limited to: status bar, navigation bar, floating navigation ball, etc.
- the main page used to display one or more stored contact information can be the parent page, used to display the address book of any specific contact
- the detailed page can be a subpage.
- 1A which shows a user interface 11 provided by an electronic device.
- the user interface 11 includes a status bar and a user interface (ie, parent page) for displaying one or more contact information stored by the electronic device.
- 1B which shows a user interface 12 provided by an electronic device.
- the user interface 12 includes a status bar and a user interface (ie, a subpage) for displaying the address book details of any specific contact.
- the main page (that is, the parent page) used to display one or more contact information stored in the electronic device, and the page (that is, the subpage) used to display the address book details of any specific contact are all composed of "contacts (contacts)" application, the status bar is provided by the operating system of the electronic device.
- the page used to display recent contacts can be the parent page, which is used to display the chat details of the user and a specific contact among recent contacts. Can be a subpage.
- the page used to display the chat details of a specific contact of the user and recent contacts can also be the parent page, which is used to set the chat background of the user and the specific contact, the way of prompting chat messages, etc. Can be a subpage.
- parent page and child page are only words used in the embodiments of this application, and their meanings have been recorded in the embodiments of this application, and their names do not constitute any limitation on this application.
- the "parent page” may also be referred to as other terms such as “upper level page”, “N level interface (for example, level 1 interface)".
- “subpage” may also be referred to as other terms such as “lower level page”, “N+1 level interface (for example, second level interface)”.
- N is a positive integer greater than or equal to 1.
- the electronic device first displays the parent page, and when the electronic device detects the user's operation of switching from the parent page to the child page, the electronic device generates a mask,
- the mask is composed of a mask layer and a masked layer (that is, a child page).
- the mask allows a part of the child page to be covered and displayed opaquely on the right side of the parent page; the mask layer and the masked layer Move to the left of the screen at the same or different speeds until the sub-page is displayed on the full screen.
- the user can see the sub-page moving from the right edge to the left edge of the screen, until the sub-page is displayed on the display in full screen.
- the electronic device first displays the child page, and when the electronic device detects the user's operation of switching from the child page to the parent page, the electronic device generates the parent page And a mask, which is composed of a mask layer and a masked layer (that is, a child page); the mask allows a part of the child page to be covered and displayed opaquely on the right side of the parent page; mask The mask layer and the masked layer move to the right side of the screen at the same or different speeds until the full screen displays the parent page. During this process, the user can see that the child page moves from the left edge to the right edge of the screen, until the child page is no longer displayed on the display screen and the parent page is displayed in full screen on the display screen.
- the method of switching between parent and child pages provided in the embodiments of the present application can shorten the user's visual movement lines, provide better visual effects, and improve user experience.
- a mask is a combination of at least two layers.
- the uppermost layer is called the mask layer
- the lower layer is called the masked layer.
- FIG. 2 shows a schematic diagram of a mask. As shown in Figure 2, only the overlapping areas of the masking layer and the masked layer can be displayed on the screen, that is, the user can only see the overlapped area of the masking layer and the masked layer, and the rest The area is not visible to the user.
- a layer refers to a film containing elements such as text or graphics.
- One or more layers can be superimposed and combined to form a user interface displayed on the display screen.
- the full-screen display of the parent page or the child page by the electronic device may include any of the following situations: 1.
- the parent page or the child page may occupy all the display area of the display screen.
- the parent page or child page only occupies part of the display area of the display screen.
- the display screen of the electronic device is a notch screen
- the middle part of the notch screen displays the parent or child page, and when one or both edges are black, it can also be regarded as a full screen display The parent page or child page.
- an electronic device when an electronic device displays a parent page or a child page while also displaying system-level interface elements (such as status bar, navigation bar, floating navigation ball, etc.), it can also be regarded as a full screen display of the parent page. Page or subpage.
- system-level interface elements such as status bar, navigation bar, floating navigation ball, etc.
- the electronic devices can be mobile phones, tablets, personal digital assistants (personal digital assistants, PDAs), wearable devices, laptops and other portable electronic devices.
- portable electronic devices include, but are not limited to, portable electronic devices equipped with iOS, android, microsoft or other operating systems.
- the aforementioned portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (such as a touch panel).
- the electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface (such as a touch panel), or a smart TV.
- FIG. 3A shows a schematic structural diagram of an exemplary electronic device 100 provided by an embodiment of the present application.
- the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, and a battery 142 , Antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193 , The display screen 194, and the subscriber identification module (SIM) card interface 195, etc.
- SIM subscriber identification module
- the sensor module 180 may include pressure sensor 180A, gyroscope sensor 180B, air pressure sensor 180C, magnetic sensor 180D, acceleration sensor 180E, distance sensor 180F, proximity light sensor 180G, fingerprint sensor 180H, temperature sensor 180J, touch sensor 180K, ambient light Sensor 180L, bone conduction sensor 180M, etc.
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
- the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU), etc.
- AP application processor
- modem processor modem processor
- GPU graphics processing unit
- image signal processor image signal processor
- ISP image signal processor
- controller video codec
- digital signal processor digital signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- the different processing units may be independent devices or integrated in one or more processors.
- the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 to store instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
- the processor 110 may include one or more interfaces.
- the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- PCM pulse code modulation
- UART universal asynchronous transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB Universal Serial Bus
- the I2C interface is a two-way synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
- the processor 110 may include multiple sets of I2C buses.
- the processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces.
- the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement the touch function of the electronic device 100.
- the I2S interface can be used for audio communication.
- the processor 110 may include multiple sets of I2S buses.
- the processor 110 may be coupled with the audio module 170 through an I2S bus to realize communication between the processor 110 and the audio module 170.
- the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
- the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
- the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
- the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
- the UART interface is a universal serial data bus used for asynchronous communication.
- the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
- the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
- the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
- the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
- the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
- the MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI), etc.
- the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
- the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
- the GPIO interface can be configured through software.
- the GPIO interface can be configured as a control signal or as a data signal.
- the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
- GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
- the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
- the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices.
- the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
- the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
- the charging management module 140 is used to receive charging input from the charger.
- the charger can be a wireless charger or a wired charger.
- the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
- the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the power management module 141 may also be provided in the processor 110.
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
- the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
- Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
- the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
- the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
- the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
- at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
- at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- the modem processor may include a modulator and a demodulator.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator 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 passed to the application processor.
- the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
- the modem processor may be an independent device.
- the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
- the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites.
- WLAN wireless local area networks
- BT wireless fidelity
- GNSS global navigation satellite system
- FM frequency modulation
- NFC near field communication technology
- infrared technology infrared, IR
- the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
- the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
- the wireless communication module 160 can also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna 2.
- the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
- the wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
- the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
- GPS global positioning system
- GLONASS global navigation satellite system
- BDS Beidou navigation satellite system
- QZSS quasi-zenith satellite system
- SBAS satellite-based augmentation systems
- the electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor.
- the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos, etc.
- the display screen 194 includes a display panel.
- the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
- LCD liquid crystal display
- OLED organic light-emitting diode
- active-matrix organic light-emitting diode active-matrix organic light-emitting diode
- AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
- the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
- the electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
- the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transfers the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
- ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be provided in the camera 193.
- the camera 193 is used to capture still images or videos.
- the object generates an optical image through the lens and projects it to the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
- ISP outputs digital image signals to DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats.
- the electronic device 100 may include 1 or N cameras 193, and N is a positive integer greater than 1.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
- 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 can play or record videos in a variety of encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
- MPEG moving picture experts group
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- the NPU can realize applications such as intelligent cognition of the electronic device 100, such as image recognition, face recognition, voice recognition, text understanding, and so on.
- the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
- the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
- the internal memory 121 may include a storage program area and a storage data area.
- the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
- the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
- the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc.
- the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
- the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
- the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
- the audio module 170 can also be used to encode and decode audio signals.
- the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
- the speaker 170A also called a “speaker” is used to convert audio electrical signals into sound signals.
- the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
- the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
- the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
- the user can approach the microphone 170C through the mouth to make a sound, and input the 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, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
- the earphone interface 170D is used to connect wired earphones.
- the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association
- the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
- the pressure sensor 180A may be provided on the display screen 194.
- the capacitive pressure sensor may include at least two parallel plates with conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
- the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
- the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
- the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
- touch operations that act on the same touch location but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
- the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
- the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
- the gyro sensor 180B can be used for image stabilization.
- the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
- the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
- the air pressure sensor 180C is used to measure air pressure.
- the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
- the magnetic sensor 180D includes a Hall sensor.
- the electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
- the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
- features such as automatic unlocking of the flip cover are set.
- the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and used in applications such as horizontal and vertical screen switching, pedometers and so on.
- the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
- 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 to the outside through the light emitting diode.
- the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
- the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
- the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
- the ambient light sensor 180L is used to sense the brightness of the ambient light.
- the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
- the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
- the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
- the fingerprint sensor 180H is used to collect fingerprints.
- the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, etc.
- the temperature sensor 180J is used to detect temperature.
- the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 executes to reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
- the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
- the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
- Touch sensor 180K also called “touch panel”.
- the touch sensor 180K may be disposed on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
- the touch sensor 180K is used to detect touch operations acting on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- the visual output related to the touch operation can be provided through the display screen 194.
- the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
- the bone conduction sensor 180M can acquire vibration signals.
- the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
- the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
- the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
- the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
- the application processor may analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
- the button 190 includes a power button, a volume button, and so on.
- the button 190 may be a mechanical button. It can also be a touch button.
- the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
- the motor 191 can generate vibration prompts.
- the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
- touch operations applied to different applications can correspond to different vibration feedback effects.
- Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
- the touch vibration feedback effect can also support customization.
- the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
- the SIM card interface 195 is used to connect to the SIM card.
- the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
- the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
- the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
- the SIM card interface 195 can 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 implement functions such as call and data communication.
- the electronic device 100 adopts an eSIM, that is, 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 adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
- the embodiment of the present application takes a layered Android system as an example to illustrate the software structure of the electronic device 100.
- FIG. 3B is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.
- the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
- the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
- the application layer can include a series of application packages.
- the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
- the application framework layer provides application programming interfaces (application programming interface, API) and programming frameworks for applications in the application layer.
- the application framework layer includes some predefined functions.
- the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and so on.
- the window manager is used to manage window programs.
- the window manager can obtain the size of the display, determine whether there is a status bar, lock the screen, take a screenshot, etc.
- the content provider is used to store and retrieve data and make these data accessible to applications.
- the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
- the view system includes visual controls, such as controls that display text and controls that display pictures.
- the view system can be used to build applications.
- the display interface can be composed of one or more views.
- a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
- the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
- the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc.
- the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can disappear automatically after a short stay without user interaction.
- the notification manager is used to notify the download completion, message reminder, etc.
- the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
- Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
- the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
- the application layer and the application framework layer run in a virtual machine.
- the virtual machine executes the java files of the application layer and the application framework layer as binary files.
- the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
- the system library can include multiple functional modules. For example: surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
- the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
- the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
- the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
- the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
- the 2D graphics engine is a drawing engine for 2D drawing.
- the kernel layer is the layer between hardware and software.
- the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
- the corresponding hardware interrupt is sent to the kernel layer.
- the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, etc.).
- the original input events are stored in the kernel layer.
- the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and the control corresponding to the click operation is the control of the camera application icon as an example, the camera application calls the interface of the application framework layer to start the camera application, and then starts the camera driver by calling the kernel layer.
- the camera 193 captures still images or videos.
- FIG. 4 exemplarily shows an exemplary user interface 41 on the electronic device 100 for displaying application programs installed by the electronic device 100.
- the user interface 41 may include: a status bar 401, a calendar indicator 402, a weather indicator 403, a tray 404 with commonly used application icons, a navigation bar 405, and other application icons. among them:
- the status bar 401 may include: one or more signal strength indicators 401A of mobile communication signals (also called cellular signals), the name of the operator (for example, "China Mobile") 401B, and wireless fidelity (Wi-Fi) )
- One or more signal strength indicators 401C, battery status indicator 401D, and time indicator 401E of the signal are included in the signal.
- the calendar indicator 402 can be used to indicate the current time, such as date, day of the week, hour and minute information, and so on.
- the weather indicator 403 can be used to indicate the type of weather, such as cloudy to clear, light rain, etc., and can also be used to indicate information such as temperature.
- the tray 404 with icons of commonly used application programs can display: a phone icon 404A, a contact icon 404B, a short message icon 404C, and a camera icon 404D.
- the navigation bar 405 may include system navigation keys such as a return key 405A, a home screen key 405B, and a multi-task key 405C.
- system navigation keys such as a return key 405A, a home screen key 405B, and a multi-task key 405C.
- the electronic device 100 may display the previous page of the current page.
- the electronic device 100 may display the home interface.
- the electronic device 100 may display the task recently opened by the user.
- the naming of each navigation key can also be other, which is not limited in this application. It is not limited to virtual keys, and each navigation key in the navigation bar 405 can also be implemented as a physical key.
- Other application icons can be for example: Wechat icon 406, QQ icon 407, Twitter icon 408, Facebook icon 409, mailbox icon 210, cloud sharing icon 211, memo The icon 212 of, the icon 213 of Alipay, the icon 214 of gallery, and the icon 215 of settings.
- the user interface 41 may also include a page indicator 216.
- Other application program icons may be distributed on multiple pages, and the page indicator 216 may be used to indicate which application program in which page the user is currently browsing. The user can slide the area of other application icons left and right to browse application icons in other pages.
- the user interface 41 exemplarily shown in FIG. 4 may be a home screen. It can be understood that FIG. 4 only exemplarily shows the user interface on the electronic device 100, and should not constitute a limitation to the embodiment of the present application.
- the following uses the user interface provided by the "contacts" application installed on the electronic device as an example to respectively introduce the method of switching from the parent page to the child page provided in this application and the method of switching from the child page to the parent page.
- the electronic device first displays the parent page in full screen on the display screen, and then superimposes the child page on the first side of the display screen and moves to the second side of the display screen.
- the part of the subpage displayed on the display screen gradually increases during the movement until the subpage is displayed on the display screen in full screen.
- the first side and the second side are opposite.
- 5A-5D take the "contacts" application installed on the electronic device as an example, showing a schematic diagram of the process of switching from a parent page to a child page provided by an embodiment of the present application.
- Contacts is an application program installed on electronic devices such as smart phones and tablet computers for displaying contact information. The embodiment of the present application does not limit the name of the application program.
- the user interface used to display one or more contact entries (also referred to as the "contact home page"), and used to display the address book details of a specific contact
- the user interface forms a pair of parent-child pages.
- the user interface for displaying one or more contact entries is the parent page, and the user interface for displaying the address book details of a specific contact is a child page.
- the user interface 51 provided by the UI embodiment exemplarily shown in FIG. 5A is described below.
- the user interface 51 may be a user interface opened by the user clicking the contact icon 404B in FIG. 4.
- the electronic device may display the user interface 51 in full screen on the display screen.
- the user interface 51 may include: a status bar 501, and a user interface (that is, a parent page) for displaying one or more contact entries.
- the status bar 501 can refer to the status bar 401 in the user interface 41 shown in FIG. 4, which will not be repeated here.
- the user interface (ie parent page) for displaying one or more contact entries may include: application title bar 502, controls 503, search box 504, letter display bar 505, "group” entry 506, and "business card holder” Entry 507, "My Business Card” entry 508, one or more contact entries such as 509A-509E, menu 510, and control 511.
- the application title bar 502 can be used to indicate that the current page is used to display one or more contact information stored in the electronic device.
- the presentation form of the application title bar 502 may be text information "contacts", icons or other forms.
- the control 503 may receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may display other controls, such as a control for setting a contact homepage.
- a user operation for example, a touch operation
- the electronic device may display other controls, such as a control for setting a contact homepage.
- the "group" entry 506 may receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may display information of one or more groups created by the user.
- a group consists of one or more contacts.
- the "business card holder" item 507 may receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may display the information carried by one or more paper business cards that have been scanned (for example, scanned by a camera).
- a user operation for example, a touch operation
- the electronic device may display the information carried by one or more paper business cards that have been scanned (for example, scanned by a camera).
- the "my business card” entry 508 may receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may display the information of the own business card created by the user.
- a user operation for example, a touch operation
- the contact entry is used to display the information of one or more contacts stored in the electronic device.
- the information of the contact may include an avatar, name, nickname, phone number, etc.
- the contact entry may also receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may display a page for displaying the contact details of the contact corresponding to the entry.
- a user operation for example, a touch operation
- the menu 510 includes a control 510A, a control 510B, and a control 510C.
- the content displayed in the user interface for displaying one or more contact entries is related to the currently selected control in the menu 510.
- the control 510B in the current menu 510 is selected, and the user interface 51 is used to display one or more contact entries stored in the electronic device.
- the electronic device may display a dialing interface.
- the control 510C is selected, that is, when the control 510C receives a user operation (such as a touch operation), in response to the detected user operation, the electronic device can display the information of the favorite contact.
- the control 511 may receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may display an interface for adding a new contact.
- a user operation for example, a touch operation
- the contact entry 509B can receive a user operation (such as a touch operation), and in response to the user operation, the electronic device can display a full screen on the display screen for displaying the contact "Andy" corresponding to the contact entry 509B. "'S address book details page (ie sub-page).
- the user operation (for example, touch operation) received by the electronic device on the contact entry 509B of the user interface 51 is a user operation for switching from a parent page to a child page.
- the user interface 54 shown in FIG. 5D shows an implementation manner of the address book detail page (ie, sub-page) of the contact "Andy" corresponding to the contact entry 509B.
- the user interface 54 may include: a status bar 512, and a user interface (ie, a sub-page) for displaying the address book details of a specific contact.
- the status bar 512 can refer to the status bar 401 in the user interface 41 shown in FIG. 4, which will not be repeated here.
- the user interface used to display the address book details of a specific contact may include: return key 513, contact avatar 514, contact name 515, mobile phone number or landline number display area 516, control 517, control 518.
- the return key 513 may receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may return to display the user interface 51.
- a user operation for example, a touch operation
- the contact avatar 514 may be an avatar of a contact (for example, the contact "Andy") stored in the electronic device.
- the contact name 515 may be the name of a contact (for example, the contact "Andy") stored in the electronic device, such as the text information "Andy”.
- the mobile phone number or landline number display area 516 is used to display the mobile phone number or landline number of a contact (for example, the contact "Andy") stored in the electronic device.
- the control 517 can receive a user operation (such as a touch operation), and in response to the detected user operation, the electronic device can initiate a video call with the contact.
- the control 518 can receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device can display a short message chat interface with the contact.
- the incoming call ringtone information display area 519 can display information about the ringtone that the electronic device responds to when it receives an incoming call initiated by the contact.
- the recent call record display area 520 may display a detailed record of the most recent call between the electronic device and the contact, and the record may include call time, incoming/outgoing calls, call duration, caller number, and so on.
- the record may be, for example, the text message "Yesterday 11:30, incoming call, 34 seconds" in the user interface 54 shown in FIG. 5D.
- the control 521A may receive a user operation (for example, a touch operation), and in response to the detected user operation, the electronic device may save the contact (for example, the contact "Andy").
- a user operation for example, a touch operation
- the electronic device may save the contact (for example, the contact "Andy").
- the control 521B can receive a user operation (such as a touch operation), and in response to the detected user operation, the electronic device displays an interface for editing the information of the contact (such as the contact "Andy").
- the information of the contact may include an avatar, Name, phone number, landline number, etc.
- the control 521C can receive a user operation (such as a touch operation), and in response to the detected user operation, the electronic device can display more controls, such as a control for deleting the contact, a control for adding the contact to a blacklist, etc. .
- the process of switching the display screen of the electronic device from displaying the user interface 51 to displaying the user interface 54 that is, the process of switching from the parent page to the child page, conforms to the user's expectations, the visual effect is natural, and the user's visual movement is dynamic.
- the line is shorter, which can give users the best experience.
- Figures 5A-5D show the process of switching from the user interface for displaying one or more contact entries to the user interface for displaying the address book details of a specific contact, that is, switching from the parent page to the child page the process of.
- the electronic device in response to a user operation detected on the contact entry 509B in the user interface 51, the electronic device generates or opens the corresponding subpage (ie, the address book details page of the contact "Andy"), and Move the sub-page from the right to the left of the display until the sub-page is displayed on the display in full screen.
- the corresponding subpage ie, the address book details page of the contact "Andy”
- Figures 5B-5D show the user interface provided by the electronic device on the display screen at three different time points in the process of moving from the right side to the left side of the display screen to display the sub-pages.
- the electronic device can continuously display the first part of the parent page in the first area of the display screen, and display the first part of the child page in the second area of the display screen.
- the user interface 52 shown in FIG. 5B can be regarded as the electronic device superimposing and displaying the first part of the sub-page in the second area of the display screen.
- the first area of the display screen is the left area of the display screen
- the second area of the display screen is the right area of the display screen.
- the first area and the second area do not overlap each other and combine to form a display area of the display screen.
- the first area is the left half of the display screen
- the second area is the right half of the display screen.
- the first area or the second area may not be a rectangular area, but may also be implemented in other shapes, such as fan-shaped, semi-circular, semi-elliptical, or other irregular shapes.
- the first area may also be It is the fan-shaped area on the upper left of the display screen, etc.
- the positions of the first area and the second area in the display screen can be determined in the following ways: 1.
- the positions of the first area and the second area in the display screen can be preset by the electronic device.
- the electronic device may set the left half of the display screen as the first area, and set the right half of the display screen as the second area.
- the position of the first area and the second area in the display screen can be independently set by the user according to his own preferences. For example, the user can set the left half of the display screen as the first area, and set the right half of the display screen as the second area.
- the first part of the parent page is the part of the parent page displayed in the first area of the display screen.
- the first part of the parent page may be the left half of the parent page.
- the first part of the subpage is any part of the subpage.
- the first part of the subpage may be the middle part of the subpage.
- the height of the middle part of the subpage is the same as the height of the subpage, and the width of the middle part of the subpage is smaller than the width of the subpage.
- the embodiment of the present application does not limit the area of the middle part of the subpage.
- the middle part of the sub-page does not include the edges on both sides of the sub-page. It is not limited to the middle part of the subpage, and the first part of the subpage may also be the left half, right half or any other part of the subpage.
- the first part of the sub-page may not be a rectangular area, but may also be implemented in other shapes, such as a fan shape, a semicircle, an ellipse, or other irregular shapes, such as the first part of the sub-page.
- a part can also be a fan-shaped part at the upper right of the subpage.
- the first part of the subpage can be determined in the following ways: 1.
- the first part of the subpage can be preset by the electronic device. For example, the electronic device may set the middle part of the subpage as the first part of the subpage.
- the first part of the subpage can be set by the user according to his or her own preferences. For example, the user can set the left half of the subpage as the first part of the subpage.
- the electronic device may display the user interface 53 shown in FIG. 5C on the display screen.
- the electronic device may continuously display the second part of the parent page in the third area of the display screen, and display the second part of the child page in the fourth area of the display screen.
- the user interface 53 shown in FIG. 5C can be regarded as the electronic device superimposing and displaying the second part of the sub-page in the fourth area of the display screen.
- the third area of the display screen is the left area of the display screen, and the third area belongs to the first area.
- the fourth area of the display screen is the right area of the display screen, and the fourth area includes the second area.
- the third area and the fourth area do not overlap each other and combine to form a display area of the display screen.
- the third area may be the left third of the display screen, and the fourth area may be the right two thirds of the display screen.
- the third area or the fourth area may not be a rectangular area, but may also be implemented in other shapes, such as fan-shaped, semi-circular, semi-elliptical, or other irregular shapes.
- the fourth area is also It can be a fan-shaped area on the upper right of the display screen.
- the second part of the parent page is the part of the parent page displayed in the third area of the display screen.
- the second part of the parent page belongs to the first part of the parent page.
- the second part of the parent page may be the left third part of the parent page.
- the second part of the subpage includes the first part of the subpage.
- the second part of the subpage may be the left two-thirds part of the subpage.
- the second part of the sub-page may not be a rectangular area, but may also be implemented in other shapes, such as a fan shape, a semicircle, an ellipse, or other irregular shapes, such as the sub-page
- the second part can also be the fan-shaped part at the upper right of the subpage.
- the electronic device may display the user interface 54 shown in FIG. 5D on the display screen.
- the user interface 54 can refer to the related description of the foregoing embodiment, and details are not described herein again.
- the electronic device may also prompt the user that the user is currently switching from the parent page to the child page.
- the prompt method may include: 1.
- the parent page and the child page are displayed on the display screen at the same time, the parent page and the child page are displayed in different display forms.
- the display form of the page may include: the background color of the page, the transparency of the page, or the border of the page.
- the background color of the parent page is light black, and the background color of the child page is white.
- the background color of the parent page displayed on the display screen gradually becomes darker, or the transparency of the parent page becomes higher and higher. 3.
- the transparency of the child page displayed on the display screen becomes lower and lower.
- FIGS. 5B-5D only show the user interface provided by the electronic device on the display screen at three different time points in the process of moving from the right side to the left side of the display screen to display the sub-pages.
- the electronic device when the electronic device displays FIG. 5A-5B, or, FIG. 5B-FIG. 5C, or, at other time points between FIG. 5C-FIG. 5D, the electronic device may also be displayed on the display screen.
- Other similar user interfaces are provided, which are not shown one by one here.
- the electronic device can continuously display system-level interface elements provided by the operating system on the provided user interface, for example, FIG. 5A- Figure 5D shows the status bar in the user interface.
- the first side may be the direction in which the second area is located in the display screen, and the second side may be the direction in which the first area is located in the display screen.
- the first side of the display screen may be the right side of the display screen, and the second side of the display screen may be the left side of the display screen.
- the embodiment of the present application gradually increases the part of the child page displayed on the display screen from the middle part of the child page, and in the prior art, from the left edge part of the child page Compared with the display part of the display screen, the switching effect of adding sub-pages is different and more interesting.
- the electronic device may gradually increase the portion of the sub-page displayed on the display screen to the first side and the second side. Specifically, the electronic device has the following strategies when increasing the part of the subpage displayed on the display screen:
- the electronic device first adds the part of the subpage displayed on the display screen to the first side, and then adds the part of the subpage displayed on the display screen to the second side, until the subpage is displayed on the display screen in full screen.
- the electronic device first adds the part of the sub-page displayed on the display to the second side, and then adds the part of the sub-page displayed on the display to the first side, until the sub-page is displayed on the display in full screen.
- the electronic device adds the part of the subpage displayed on the display screen to the first side and the second side at the same time, until the subpage is displayed on the display screen in full screen.
- the electronic device increases the portion of the child page displayed on the display screen through any of the above-mentioned strategies, it can increase the fun of the parent-child page switching.
- the subpage displayed on the electronic device includes: the middle part of the subpage, and the part on the first side of the subpage.
- the part on the first side of the subpage borders the middle part of the subpage.
- the height of the portion on the first side of the subpage is the same as the height of the subpage, and the width of the portion on the first side of the subpage is smaller than the width of the subpage.
- the subpage displayed on the electronic device includes: the middle part of the subpage and the second side part of the subpage.
- the part on the second side of the subpage borders the middle part of the subpage.
- the height of the portion on the second side of the subpage is the same as the height of the subpage, and the width of the portion on the second side of the subpage is smaller than the width of the subpage.
- the user can see that the area occupied by the child page of the display gradually expands from the right to the left of the display, and the area occupied by the parent page gradually moves to the left of the display. Zoom out until the subpage is displayed on the display in full screen.
- the way of switching from the parent page to the child page provided by the electronic device meets the user's expectations, the visual effect is natural, and the user's visual movement line is short, which can give the user an optimal user experience.
- the part of the child page displayed on the display screen is realized by a mask.
- the sub-page and the mask layer form a mask, and the sub-page is the masked layer.
- the part where the subpage (masked layer) and the mask layer overlap and are located on the display screen is the part of the subpage displayed by the electronic device on the display screen.
- the mask formed by the child page and the mask layer is located on the parent page, and the non-overlapping part of the mask layer and the masked layer in the mask does not affect the display of the parent page . If part of the content in the mask covers part of the parent page, if the part of the content in the mask is not the overlapped part of the child page (the masked layer) and the mask layer (that is, it is Invisible part), the electronic device still displays the parent page in this area.
- FIG. 6A to 6D exemplarily show a manner in which the electronic device displays part or all of the sub-page through a mask during the process of switching from the parent page to the sub-page.
- both the parent page and the child page are provided by the "contacts" application, the parent page is the "contact home page”, and the child page is a specific contact (for example, the contact "Andy” )'S address book details page.
- FIG. 6A shows a user interface displayed in full screen on the display screen of the electronic device.
- the user interface includes a status bar and a "contact home page" (ie, a parent page).
- a status bar ie, a status bar
- a "contact home page” ie, a parent page.
- the electronic device may generate or open the corresponding sub-page (masked layer) and generate the mask layer at the same time.
- FIG. 6B exemplarily shows a sub-page (masked layer) and a mask layer generated by the electronic device.
- the left half of the subpage (masked layer) generated by the electronic device is located in the left area inside the display screen, and the right half of the subpage (masked layer) is located in the right area outside the display screen.
- the mask layer is located in the right area outside the display screen.
- the size of the subpage (masked layer) and the size of the mask layer are basically the same as those of the display screen. Part of the content of the subpage (masked layer) and the mask layer overlap, and the overlapped content is located in the right area outside the display screen.
- the electronic device After the electronic device generates the sub-page (masked layer) and the mask layer, it can control the sub-page (masked layer) and the mask layer to move from the right to the left of the display screen. While the child page (masked layer) and the mask layer move from the right side to the left side of the display screen, the parent page remains motionless.
- the moving speed of the sub-page (the masked layer) and the moving speed of the masking layer can be the same or different, which is not limited in this application.
- the moving speed of the subpage (masked layer) and the moving speed of the masked layer are both greater than or equal to zero.
- the child page (masked layer) and the mask layer can perform acceleration motion, or perform uniform motion or deceleration motion.
- the acceleration motion or deceleration motion can make the process of switching from the parent page to the child page more in line with user expectations.
- the sub-page (masked layer) and the mask layer can move at the same time or not at the same time, which is not limited in this application.
- the electronic device controls the movement of the sub-page (masked layer) and the mask layer
- the overlapping part of the sub-page (masked layer) and the mask layer is located in the display screen
- the left edge of the subpage stops moving after moving to the left edge of the display screen.
- the left edge of the mask layer stops moving after moving to the left edge of the display.
- FIG. 6C which exemplarily shows the position of the sub-page (masked layer) and the masked layer after moving for a period of time.
- the moving speed of the mask layer is greater than the moving speed of the sub-page (masked layer).
- part of the content in the subpage (masked layer) is located in the right area of the display screen, and some content is located in the right area outside the display screen; part of the content in the mask layer is located in the right area of the display screen Area, some content is located in the right area outside the display screen.
- Part of the content of the subpage (masked layer) and the mask layer overlaps and is located in the display screen.
- This part of the content can be displayed on the display screen.
- This part of the content is the visible part of the subpage shown in Figure 6C.
- the non-overlapping content in the parent page and the visible part can also be displayed on the display screen. That is, when the child page (masked layer) and the mask layer are moved to the position shown in FIG. 6C, the electronic device simultaneously displays the parent page and the child page on the display screen.
- the electronic device may display the user interface 52 shown in FIG. 5B, that is, the electronic device may The first part of the parent page is continuously displayed in the first area of the display screen, and the first part of the child page is displayed in the second area of the display screen.
- the first part of the parent page and the first part of the child page can refer to the relevant description of the previous embodiment.
- FIG. 6D which exemplarily shows that the left edge of the subpage (masked layer) moves to the left edge of the display screen, and after the left edge of the mask layer moves to the left edge of the display screen,
- the user interface shown on the display As shown in Figure 6D, the sub-page (masked layer) is moved to the left edge of the display screen, and the mask layer is also moved to the left edge of the display screen.
- the sub-page (masked layer) and the mask layer are located on the display screen. Inside.
- the entire content of the subpage (masked layer) and the mask layer overlap and are located in the display screen.
- the entire content of the subpage (masked layer) can be displayed on the display screen.
- the entire content is shown in Figure 6D. The visible part of the subpage shown.
- the parent page is completely covered by the overlapping part of the child page (masked layer) and the mask layer, so the parent page is not displayed on the display screen. That is to say, when the subpage (masked layer) and the mask layer are moved to the position shown in FIG. 6D, the electronic device displays the subpage in full screen on the display screen.
- the electronic device may display the user interface 54 shown in FIG. 5D, that is, the electronic device is in The sub-page is displayed in full screen on the display.
- the electronic device can maintain the generated mask (mask), that is, the electronic device continues to form the mask layer and the sub-page (masked layer) into a mask.
- the electronic device can also stop maintaining the mask, that is, the electronic device no longer composes the mask layer and the sub-page (masked layer) into a mask, for example, stop generating the mask layer.
- FIGS. 6A-6D only exemplarily show the sub-page (masked layer), the masked layer, and its moving direction, speed, etc. generated by the electronic device, which may be different in actual applications and should not be constituted. limited.
- the electronic device generates the sub-pages (masked layer) and the mask layer.
- the subpage (masked layer) and the mask layer can also be located in other positions.
- the subpages (masked layer) can also be all located inside the display screen, and the mask layer can also be partially located inside the display screen.
- the electronic device can also control the subpage (masked layer) and the masking layer.
- the mask layer moves in other directions, such as the direction from the lower right corner to the upper left corner of the display, and can also control the sub-pages (masked layer) and the mask layer to move according to other routes such as curves.
- the moving speed of the subpage (masked layer) and the mask layer can be preset according to user experience.
- FIG. 7 shows a possible Bezier curve, which can reflect that the electronic device generates the sub-page (masked layer) and the mask in the position shown in FIG. 6B. If the sub-page (masked layer) and the mask layer move at the same time, the moving speed or movement rhythm of the sub-page (masked layer) or the mask layer.
- Bézier is a commonly used mathematical model of curve path. Cubic Bézier curve is controlled by 4 points in sequence. When used as an interpolator in the animation domain, the start point (control point 1) and end point (control point 2) of the Bezier curve are fixed, and the path is controlled by the remaining two points.
- the Bezier curve is determined by four values 0.2, 0, 0.2, 1 related to the starting point (control point 1) and the end point (control point 2).
- the ordinate of the Bezier curve is the interpolation result
- the abscissa is the ratio of the current time point to the entire animation duration (that is, the duration of switching from the parent page to the child page). For example, when the abscissa is 0, it may refer to the moment when the electronic device receives the user operation for switching from the parent page to the child page (for example, the electronic device receives the contact entry 509B on the user interface 51 as shown in FIG. 5A).
- the abscissa When the time of the click operation is reached, when the abscissa is 0.5, it may refer to an intermediate time point in the process of switching the electronic device from the parent page to the child page.
- the slope of the Bezier curve can be used to indicate the moving speed of the sub-page (masked layer) and/or the masked layer.
- a mask is used to realize the part of the child page displayed on the display screen during the process of switching from the parent page to the child page.
- the electronic device After the user triggers the electronic device to switch from the parent page to the child page, the electronic device generates a mask, which is composed of a mask layer and a masked layer (child page). If the mask layer and the masked layer (sub-page) overlap and the part on the display screen is the middle part of the sub-page, then the user can see the middle part of the sub-page on the display screen.
- the user can see on the display that the part of the child page displayed on the display gradually increases, and the parent page is displayed on the display. The part is gradually reduced until the sub-page is displayed on the display in full screen.
- Such a way of switching from the parent page to the child page can give the user a better visual effect, thereby enhancing the user experience.
- the process of switching from the child page to the parent page is compared with the process of switching from the parent page to the child page.
- the child page moves in the opposite direction, which will be described in detail later.
- the electronic device first displays the child page in full screen on the display screen, then displays the parent page on the display screen and superimposes the child page on the first side of the display screen , And then move the child page to the first side of the display screen.
- the part of the child page displayed on the display screen gradually decreases until the display screen no longer displays the child page and displays the parent page in full screen.
- the first side and the second side are opposite.
- the user interface (also called "contact homepage") used to display one or more contact entries, and used to display the address book details of a specific contact
- the user interface forms a pair of parent-child pages.
- the user interface for displaying one or more contact entries is the parent page, and the user interface for displaying the address book details of a specific contact is a child page.
- the user interface 81 provided by the UI embodiment exemplarily shown in FIG. 8A is described below.
- the electronic device may display the user interface 81 in full screen on the display screen.
- the user interface 81 includes a status bar, and a user interface (ie, sub-page) for displaying the contact details of a specific contact (for example, the contact "Andy").
- the user interface 81 can refer to the user interface 54 shown in FIG. 5D, which will not be repeated here.
- the return key 513 in the user interface 81 shown in FIG. 8A can receive a user operation (such as a touch operation), and in response to the user operation, the electronic device can display a full screen on the display screen for displaying one or more contact entries. Interface (ie parent page).
- the user operation (for example, touch operation) received by the electronic device on the return key 513 of the user interface 81 is a user operation for switching from a child page to a parent page.
- the user interface 84 shown in FIG. 8D may be an implementation manner of a user interface (that is, a parent page) for displaying one or more contact entries. As shown in FIG. 8D, the user interface 84 may include: a status bar 512, and a user interface (ie, sub-page) for displaying the address book details of a specific contact (for example, the contact "Andy"). The user interface 84 can refer to the user interface 51 shown in FIG. 5A, which will not be repeated here.
- the process of switching the display screen of the electronic device from the user interface for displaying the address book details of a specific contact to the user interface for displaying one or more contact entries that is, from the subpage
- the process of switching to the parent page In line with user expectations, the visual effect is natural, and the user’s visual movement is shorter, which can give users the best experience.
- Figures 8A-8D show the process of switching from a user interface for displaying the address book details of a specific contact to a user interface for displaying one or more contact entries, that is, switching from a child page to a parent page the process of.
- the electronic device in response to a user operation detected on the return key 513 in the user interface 81, the electronic device generates or opens the corresponding parent page (ie, "contact home page"), and moves from the left side of the display screen to Move to the right to display the child page until the display no longer displays the child page and the parent page is displayed in full screen.
- a parent page ie, "contact home page”
- 8B-8C show the user interface provided by the electronic device on the display screen at two different time points in the process of moving from the left side to the right side of the display screen to display the sub-pages.
- the electronic device may display the third part of the parent page in the fifth area of the display screen and the third part of the child page in the sixth area of the display screen.
- the user interface 82 shown in FIG. 8B can be regarded as the electronic device superimposing and displaying the third part of the sub-page in the sixth area of the display screen.
- the fifth area of the display screen is the left area of the display screen
- the sixth area of the display screen is the right area of the display screen.
- the fifth area and the sixth area do not overlap each other and combine to form a display area of the display screen.
- the fifth area is one third of the display screen
- the sixth area is the right two thirds of the display screen.
- the fifth area or the sixth area may not be a rectangular area, but may also be implemented in other shapes, such as fan-shaped, semi-circular, semi-elliptical, or other irregular shapes.
- the sixth area may also be It is the fan-shaped area at the top right of the display screen.
- the method for determining the positions of the fifth area and the sixth area in the display screen is the same as the method for determining the positions of the first area and the second area in the display screen in the embodiment of FIG. 5B. You can refer to related descriptions, and will not be repeated here. .
- the third part of the parent page is the part of the parent page displayed in the fifth area of the display screen.
- the third part of the parent page may be the left third part of the parent page.
- the third part of the subpage is any part of the subpage.
- the third part of the subpage may be referred to as a part of the subpage, the height of the part of the subpage is the same as the height of the subpage, and the width of the part of the subpage is smaller than the width of the subpage.
- This application does not limit the size of a part of the subpage.
- a part of the subpage may be the middle part of the subpage.
- a part of the sub-page may be the middle part of the sub-page mentioned in the embodiment of FIG. 5A to FIG. 5D, and reference may be made to related descriptions.
- a part of the subpage may also be the left part or the right part of the subpage.
- the third part of the subpage may be the middle two-thirds part of the subpage. It is not limited to the middle two-thirds part of the sub-page, and the third part of the sub-page can also be the left two-thirds or the right two-thirds of the sub-page or any other part.
- the third part of the sub-page may not be a rectangular area, but may also be implemented in other shapes, such as fan-shaped, semi-circular, oval or other irregular shapes, etc., such as the sub-page
- the third part can also be the fan-shaped part at the upper right of the subpage.
- the method for determining the third part of the sub-page is the same as the method for determining the first part of the sub-page in the embodiment of FIG. 5B described above, and reference may be made to related descriptions, which will not be repeated here.
- the electronic device may display the user interface 83 shown in FIG. 8C on the display screen.
- the electronic device may display the fourth part of the parent page in the seventh area of the display screen, and display the fourth part of the child page in the eighth area of the display screen.
- the electronic device in the user interface 83 shown in FIG. 8C, it can be seen that the electronic device superimposes and displays the fourth part of the sub-page in the eighth area of the display screen.
- the seventh area of the display screen is the left area of the display screen, and the seventh area includes the fifth area.
- the eighth area of the display screen is the right area of the display screen, and the eighth area belongs to the sixth area.
- the seventh area and the eighth area do not overlap each other and combine to form a display area of the display screen.
- the seventh area may be the left half of the display screen, and the eighth area may be the right half of the display screen.
- the seventh area or the eighth area may not be a rectangular area, but may also be implemented in other shapes, such as fan-shaped, semi-circular, semi-elliptical, or other irregular shapes.
- the eighth area is also It can be a fan-shaped area on the upper right of the display screen.
- the fourth part of the parent page is the part of the parent page displayed in the seventh area of the display screen.
- the fourth part of the parent page includes the third part of the parent page.
- the fourth part of the parent page may be the left half of the parent page.
- the fourth part of the subpage belongs to the third part of the subpage.
- the fourth part of the sub-page may not be a rectangular area, but may also be implemented in other shapes, such as fan-shaped, semi-circular, elliptical, or other irregular shapes, such as the sub-page
- the fourth part can also be the fan-shaped part at the upper right of the subpage.
- the electronic device may display the user interface 84 shown in FIG. 8D on the display screen.
- a period of time for example, 200 milliseconds
- the electronic device may display the user interface 84 shown in FIG. 8D on the display screen.
- the user interface 84 reference may be made to the related description of the foregoing embodiment, and details are not described herein again.
- the electronic device in the process of switching from the child page to the parent page, may also prompt the user that the user is currently switching from the child page to the parent page.
- the prompt method may include: 1.
- the display form of the page may include: the background color of the page, the transparency of the page, or the border of the page.
- the background color of the parent page is light black, and the background color of the child page is white.
- the background color of the parent page displayed on the display screen gradually becomes lighter, or the transparency of the parent page becomes lower and lower. 3.
- the transparency of the child page displayed on the display screen becomes higher and higher.
- FIGS. 8B-8C only show the user interface provided by the electronic device on the display screen at two different time points in the process of moving from the left side to the right side of the display screen to display the sub-pages.
- the electronic device when the electronic device displays FIG. 8A-8B, or, FIG. 8B-FIG. 8C, or, at other time points between FIG. 8C-FIG. 8D, the electronic device may also be displayed on the display screen.
- Other similar user interfaces are provided, which are not shown one by one here.
- the electronic device can continuously display system-level interface elements provided by the operating system on the user interface provided, such as FIG. 8A- Figure 8D shows the status bar in the user interface.
- the first side may be the direction in which the sixth area is located in the display screen, and the second side may be the direction in which the fifth area is located in the display screen.
- the first side of the display screen may be the right side of the display screen, and the second side of the display screen may be the left side of the display screen.
- the electronic device may gradually reduce the portion of the subpage displayed on the display screen toward the first side and/or the second side. Specifically, the electronic device has the following strategies when reducing the part of the sub-page displayed on the display screen:
- the electronic device reduces the portion of the first side of the child page on the display screen, or the electronic device reduces the portion of the second side of the child page on the display screen, until the child page is no longer displayed on the display screen, the parent page The full screen is displayed on the display.
- the electronic device first reduces the part of the first side of the child page on the display screen, and then reduces the part of the second side of the child page on the display screen, until the child page is no longer displayed on the display screen, and the parent page is displayed in full screen On the display.
- the electronic device first reduces the part of the second side of the child page on the display, and then reduces the part of the first side of the child page on the display, until the child page is no longer displayed on the display, and the parent page is displayed in full screen On the display.
- the electronic device simultaneously reduces the part on the first side of the child page and the part on the second side of the child page on the display screen until the child page is no longer displayed on the display screen and the parent page is displayed on the display screen in full screen.
- the height of the portion on the first side of the subpage is the same as the height of the subpage, and the width of the portion on the first side of the subpage is smaller than the width of the subpage.
- the height of the portion on the second side of the subpage is the same as the height of the subpage, and the width of the portion on the first side of the subpage is smaller than the width of the subpage.
- the user can see that the area occupied by the parent page on the display screen gradually expands from the left to the right of the display screen, and the area occupied by the child page gradually shrinks toward the right side of the display screen until The parent page is displayed in full screen on the display.
- the way of switching from the child page to the parent page provided by the electronic device meets the user's expectations, the visual effect is natural, and the user's visual movement lines are short, which can give the user an optimal user experience.
- the user operation for switching from the child page to the parent page is not limited to the operation received by the electronic device on the return key 513 in the user interface 81 in the embodiment of FIGS. 8A-8D, and may also be other User operation.
- the user operation for switching from the child page to the parent page may also be: the user's sliding gesture on the user interface 81 from left to right. The sliding gesture may start from the left edge area of the user interface 81, or any area in the middle of the user interface 81, which is not limited in the embodiment of the present application.
- a pan gesture refers to a gesture in which a user's hand (for example, a finger) slides slowly on the display screen.
- the pan gesture may also be referred to as a swipe gesture.
- the duration of the pan gesture is greater than the preset duration.
- the length of the sliding track of the pan gesture is greater than a preset length, and the preset length may be preset.
- the preset length may be the general width of the display screen.
- the sliding track of the pan gesture may start from the left edge of the display screen and end at the right edge of the display screen.
- the child page displayed on the display screen of the electronic device starts to pan to the right with the user's hand until the child page is no longer displayed on the display screen and the parent page is displayed in full screen.
- the speed of the sub-page panning to the right with the user's hand is the same as the speed of the user's hand sliding on the display screen.
- the sliding track of the pan gesture may start from the left edge of the display screen and end at the right half of the display screen.
- the sub-page displayed on the display screen of the electronic device starts to move to the right with the user's hand, and the movement speed of the sub-page is the same as the pan gesture .
- the subpage can pan to the right at a preset speed until the subpage is no longer displayed on the display screen and the parent page is displayed in full screen.
- the electronic device gradually stops displaying the right area of the subpage while the subpage is displayed as the user's hand moves to the right, and stops displaying the right area of the subpage Gradually become bigger.
- a swipe gesture refers to a gesture in which a user's hand (for example, a finger) slides quickly on the display screen.
- the movement track of the swipe gesture may be an arc or a straight line, or it may not be a standard arc or a straight line, just like an arc or a straight line.
- the duration of a swipe gesture is shorter than the duration of a pan gesture.
- the embodiment of the present application does not specifically limit the starting position and ending position of the sliding track of the swipe gesture.
- the child page displayed on the display screen of the electronic device is shifted from the left side to the right side of the display screen until the child page is no longer displayed on the display screen and the parent page is displayed in full screen.
- the translation speed of the subpage may be the same as the translation speed of the subpage in the embodiment of FIGS. 8A-8D, or it may be faster than the translation speed of the subpage in the embodiment of FIGS. 8A-8D, which is not limited in this embodiment of the application .
- FIG. 10A-10D embodiment it can be seen that when the electronic device displays the child page in full screen on the display screen, if it detects that the user switches from the parent page to the child page operation (such as drag (pan ) Gesture or swipe gesture). In response to this operation, the electronic device can switch from displaying the child page in full screen to displaying the parent page on the display screen, and superimpose the left side of the child page on the first side of the display screen.
- the electronic device displays the child page in full screen on the display screen, if it detects that the user switches from the parent page to the child page operation (such as drag (pan ) Gesture or swipe gesture).
- the electronic device can switch from displaying the child page in full screen to displaying the parent page on the display screen, and superimpose the left side of the child page on the first side of the display screen.
- the height of the left part of the subpage is the same as the height of the subpage, and the width of the left part of the subpage is smaller than the width of the subpage; control the subpage to gradually move to the first side of the display screen, while gradually decreasing The part of the child page displayed on the display screen until the parent page is displayed in full screen on the display screen.
- This application does not limit the area of the left part of the subpage.
- the left part of the subpage includes the left edge of the subpage.
- the electronic device may gradually reduce the portion of the subpage displayed on the display screen toward the first side and/or the second side.
- FIG. 11 shows several commonly used gestures.
- a rotate gesture refers to a gesture in which a user's hand (for example, a finger) draws a circle in a clockwise or counterclockwise direction on the display screen. It is understandable that the circle may not be a standard circle, but can be similar to a circle.
- a princh gesture refers to a gesture in which the user slides in or out with two fingers.
- the linear distance between the two fingers gradually decreases, it can be regarded as the user sliding inward with two fingers; when the linear distance between the two fingers gradually increases, it can be regarded as the user sliding outward with two fingers.
- a press gesture refers to a pressing operation in which the user's hand (for example, a finger) exerts more force on the display screen than a preset force.
- the press gesture may include a long press gesture. When the long press gesture is executed, the contact time between the user's hand and the screen exceeds a preset time.
- a tap gesture refers to a click, tap or touch operation of a user's hand (for example, a finger) on the display screen.
- the time between the beginning and the end of the tap gesture is within a preset duration, and the preset duration is milliseconds. That is to say, when the tap gesture is performed, the contact time between the user's hand and the screen is within the preset duration.
- the part of the child page displayed on the display screen is moved by a mask.
- the sub-page and the mask layer form a mask, and the sub-page is the masked layer.
- the part where the subpage (masked layer) and the mask layer overlap and are located on the display screen is the part of the subpage displayed by the electronic device on the display screen.
- the child page (masked layer) and the mask are compared with the process of switching from the parent page to the child page through the mask.
- the layers move in the opposite direction, which will be described in detail below.
- FIGS. 12A-12D exemplarily show a manner in which the electronic device displays part or all of the child page through a mask during the process of switching from the child page to the parent page.
- both the parent page and the child page are provided by the "contacts" application
- the parent page is a user interface for displaying one or more contact entries
- the child page is a specific contact
- the contact details page of a person such as the contact "Andy").
- FIG. 12A shows a user interface displayed in full screen on the display screen of the electronic device.
- the user interface includes a status bar and an address book detail page (ie, a subpage) of a specific contact (for example, the contact "Andy").
- a specific contact for example, the contact "Andy"
- FIG. 12A For the user interface shown in FIG. 12A, reference may be made to the related description of the user interface 54 shown in FIG. 5D, which will not be repeated here.
- the electronic device in response to a detected user operation for switching from the child page to the parent page, may generate or open the parent page corresponding to the child page, and simultaneously generate a mask layer, the mask layer and the child page The page forms a mask.
- the user operation for switching from the child page to the parent page may include: user operation (for example, touch operation) acting on the return key 513 on the child page, and dragging from left to right on the child page (pan) Gestures or swipe gestures.
- the child page shown in FIG. 12A is switched through the method shown in FIGS. 6A-6D, that is, when the electronic device displays the user interface shown in FIG. 12A, the parent page, The mask layer and the masked layer (child page), and the positions of the parent page, the mask layer, and the masked layer (child page) are the same as in FIG. 6D.
- the mask layer and the masked layer (child page) in the mask may be the electronic device detected in the embodiment of FIG. 6B for switching from the parent page Generated during user operations to subpages.
- FIG. 12B exemplarily shows the parent page and the mask layer generated by the electronic device.
- the parent page and the mask layer generated by the electronic device are both located in the display screen and occupy the entire display area of the display screen.
- the size of the parent page and the mask layer are basically the same as the display screen.
- the entire content of the subpage (masked layer) and the mask layer overlap and are located in the display screen, so the entire content of the subpage (masked layer) can be displayed on the display screen.
- the parent page is completely covered by the overlapping part of the child page (masked layer) and the mask layer, so the parent page is not displayed on the display screen. In other words, when the electronic device generates the parent page and the mask layer as shown in FIG. 12B, the electronic device still displays the child page in full screen on the display screen.
- the electronic device may Control the movement of the sub-page (masked layer) and the masked layer from the left to the right of the screen. While the child page (masked layer) and the mask layer move from the left to the right of the display screen, the parent page remains stationary.
- the moving speed of the sub-page (the masked layer) and the moving speed of the masking layer can be the same or different, which is not limited in this application.
- the child page (masked layer) and the mask layer can perform acceleration motion, or can perform uniform motion or deceleration motion.
- the acceleration motion or deceleration motion can make the process of switching from the child page to the parent page more in line with user expectations.
- the moving speed of the subpage (masked layer) and the moving speed of the masked layer are both greater than or equal to zero.
- the sub-page (masked layer) and the mask layer can move at the same time or not at the same time, which is not limited in this application.
- the electronic device controls the movement of the sub-page (masked layer) and the mask layer
- the overlapping part of the sub-page (masked layer) and the mask layer is located in the display screen. This allows the user to see the sub-pages moving from left to right on the display screen.
- FIG. 12C it exemplarily shows the position of the sub-page (masked layer) and the masked layer after moving for a period of time.
- the moving speed of the mask layer is greater than the moving speed of the sub-page (masked layer).
- part of the content in the subpage (masked layer) is located in the right area of the display screen, and some content is located in the right area outside the display screen; part of the content in the mask layer is located in the right area of the display screen Area, some content is located in the right area outside the display screen.
- the electronic device when the sub-page (masked layer) and the mask layer are moved to the position shown in FIG. 12C, the electronic device can display the user interface 83 shown in FIG. 8C, that is, the electronic device can The fourth part of the parent page is displayed in the seventh area of the display screen, and the fourth part of the child page is displayed in the eighth area of the display screen.
- the fourth part of the parent page and the fourth part of the child page can refer to the related description of the previous embodiment.
- FIG. 12D which exemplarily shows the user interface displayed on the display screen after the left edge of the mask layer is moved to the right edge of the display screen.
- the left edge of the mask layer moves to the right edge of the display screen
- the sub-page (the masked layer) and the mask layer overlap partially, and the overlapped content is located in the right area outside the display screen.
- the overlapping content of the child page (masked layer) and the mask layer is outside the display screen, the parent page is displayed in full screen on the display screen.
- the electronic device may display the user interface 84 shown in FIG. 8D, that is, the electronic device is in The parent page is displayed in full screen on the display.
- FIGS. 12A-12D only exemplarily show the sub-page (masked layer), masked layer, and its moving direction, moving speed, etc. generated by the electronic device, which may be different in actual applications and should not be constituted. limited.
- the child page (masked layer) and the mask layer shown in FIGS. 12A-12D it is not limited to the position of the child page (masked layer) and the mask layer shown in FIGS. 12A-12D.
- the child page (masked layer) ) And the mask layer can also be located in other positions.
- the subpage (masked layer) may also be partly located inside the display screen and partly located in the right area outside the display screen, and the mask layer may also be partly located inside the display screen and partly located in the right area outside the display screen.
- the electronic device can also control the subpage (masked layer) and the masking layer.
- the mask layer moves in other directions, such as the direction from the lower left corner to the upper right corner of the display screen. You can also control the sub-page (masked layer) and the mask layer to move according to other routes such as curves.
- the moving speed of the child page (the masked layer) and the mask layer can be preset according to user experience.
- FIG. 13 shows a possible Bezier curve, which can reflect that after the electronic device generates the parent page and the mask layer in the position shown in FIG. 12B, the child page ( When the masked layer and the masked layer move at the same time, the movement speed or rhythm of the subpage (masked layer) or the masked layer.
- the Bezier curve is determined by four values 0.4, 0, 0.2, 1 related to the starting point (control point 1) and the end point (control point 2).
- the ordinate of the Bezier curve is the interpolation result
- the abscissa is the ratio of the current time point to the entire animation duration (that is, the duration of the child page being switched to the parent page). For example, when the abscissa is 0, it may refer to the moment when the electronic device receives the user operation for switching from the child page to the parent page (for example, the electronic device receives the return key 513 on the user interface 81 as shown in FIG. 8A).
- the moment of click operation when the abscissa is 0.5, it may refer to an intermediate point in the process of switching the electronic device from the child page to the parent page.
- the slope of the Bezier curve can be used to indicate the moving speed of the sub-page (masked layer) and/or the masked layer.
- the moving speed of the child page (masked layer) and the mask layer may be different. For example, if the child page (masked layer) and the mask layer accelerate during the process of switching from the parent page to the child page, the child page (masked layer) and the mask are in the process of switching from the child page to the parent page. When the layer is accelerated, the accelerations corresponding to the two processes can be different. Different accelerations are more in line with user expectations.
- a mask is used to realize the part of the child page displayed on the display screen in the process of switching from the child page to the parent page.
- the electronic device After the user triggers the electronic device to switch from the child page to the parent page, the electronic device generates a mask layer and a masked layer (child page).
- the mask layer and the masked layer (child page) move from left to right, The user can see on the display that the area occupied by the child page gradually shrinks from the left to the right of the display, and the area occupied by the parent page gradually expands to the right of the display until the parent page is displayed in full screen. On the display.
- Such a way of switching from the child page to the parent page can give the user a better visual effect, thereby enhancing the user experience.
- this application can also implement the part of the parent page displayed by the electronic device on the display screen through a mask, thereby completing the process of switching from the child page to the parent page.
- This application can also implement the part of the parent page displayed by the electronic device on the display screen through a mask, thereby completing the process of switching from the child page to the parent page. The specific implementation is described in detail below.
- the electronic device displays a sub-page.
- the electronic device detects the operation for switching from the child page to the parent page, it generates the parent page and the mask layer, which is different from the mask layer formed by the child page and the mask layer in the embodiment of FIGS. 12A-12D,
- the parent page and the mask layer form a mask
- the parent page is the masked layer.
- the part where the parent page (masked layer) and the mask layer overlap and are located on the display screen is the part of the parent page displayed by the electronic device on the display screen.
- the electronic device controls the parent page (masked layer) and the masked layer to move from the left to the right of the display screen. During this movement, the overlapping part of the parent page (masked layer) and the mask layer is located in the display screen, so that the user can see the parent page panning from left to right on the display screen.
- the entire content of the parent page (masked layer) and the mask layer overlap and are located in the display screen, and the entire content of the parent page (masked layer) can be displayed on the display screen.
- the part of the parent page displayed by the electronic device on the display screen is realized by a mask, compared with the part of the child page displayed by the electronic device on the display screen by a mask.
- the position, moving direction, or moving speed of the mask is symmetrical or mirrored.
- a person skilled in the art can clearly determine that the parent page displayed on the display screen of the electronic device is realized through a mask according to the related description of the embodiment in Figures 12A-12D, so as to complete the switching from the child page to the parent page. The specific operation is not repeated here.
- FIG. 14 shows a schematic diagram of the interaction flow between various software modules and hardware modules when the electronic device switches between parent and child pages.
- the application layer includes a series of applications, and the electronic device can run one or more applications in the application layer.
- the application programs currently running on the electronic device include an application program that occupies the focus of the display screen to provide a user with a graphical user interface.
- the user operation can be detected by the display screen of the electronic device, and the corresponding hardware interrupt is sent to the kernel layer.
- the kernel layer processes the user operation for switching between parent and child pages into original input events and stores them.
- the user operation for switching the parent-child page can refer to the related description of the previous embodiment, which will not be repeated here.
- the application framework layer obtains the original input event from the kernel layer, and recognizes the function of the operation corresponding to the original input event (ie switching between parent and child pages).
- the Activity Manager Service (AMS) or Window Manager Service (WMS) of the application framework layer reads the relevant parameters of the layer currently displayed on the display screen.
- the relevant parameters can be used to describe the currently displayed parent page/child page, for example Display area, transparency, background color, etc.
- the AMS or WMS of the application framework layer is also used to output related parameters used to control the switching process of the parent and child pages.
- the related parameters used to control the switching process of the parent page/child page are used to describe the parent page/child page during the parent-child page switching process Change of display area, change of transparency, change of transparency, movement speed, movement direction, etc.
- the surface manager of the system library synthesizes the final screen displayed on the screen according to the relevant parameters output by the application framework layer.
- the electronic device calls the display driver of the kernel layer, and displays the screen synthesized by the surface manager to the user through the display screen.
- the screen displayed on the display screen can refer to the relevant description of each UI embodiment above, which will not be repeated here.
- Same-level pages refer to pages provided by the same application that do not need to be switched by the return key, for example, the four tabs provided by "WeChat”, “WeChat”, “Address Book”, “Discover” and “Me” correspond to
- the three controls 510A-510C provided by "contacts” respectively correspond to the dialing interface, the contact homepage, and the favorite contact page.
- the electronic device when it detects a user operation for switching pages of the same level, it can also switch pages of the same level by a method similar to the switching parent-child page described in the above embodiment, so that the user can see a certain level The page moves on the display screen until another page of the same level is displayed on the full screen of the display screen, thus completing the switch of the same level page. Switching pages at the same level in this way can shorten the user's visual movement, provide better visual effects, and improve user experience.
- the home screen may refer to the desktop provided by the electronic device, and an exemplary implementation of the home screen may be the user interface 41 shown in FIG. 4.
- the application homepage refers to the user interface displayed on the display screen when the electronic device first opens the application.
- the electronic device detects a user operation for switching between the main interface and the application homepage, it can also switch between the main interface and the application homepage by a method similar to the switching parent-child page described in the foregoing embodiment. Switching between the main interface and the application homepage in this way can shorten the user's visual movement lines, provide better visual effects, and enhance the user experience.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center.
- 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 or data center integrated with one or more available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk).
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
Description
Claims (32)
- 一种切换父页面和子页面的方法,其特征在于,包括:电子设备在显示屏上全屏显示应用程序提供的父页面;其中,所述应用程序还提供子页面,所述父页面是所述子页面的上级页面,且,所述父页面和所述子页面的大小相同;所述电子设备检测到用于从所述父页面切换至所述子页面的操作,响应于所述用于从所述父页面切换至所述子页面的操作,所述电子设备自动执行以下步骤:由全屏显示所述父页面切换为在所述显示屏的第一侧叠加显示所述子页面的中间部分,所述子页面的中间部分的高度与所述子页面的高度相同,所述子页面的中间部分的宽度小于所述子页面的宽度;控制所述子页面逐渐向所述显示屏的第二侧移动,同时,逐渐增加所述子页面在所述显示屏上显示的部分,直至所述子页面全屏显示在所述显示屏上,其中,所述第二侧与所述第一侧相反。
- 根据权利要求1所述的方法,其特征在于,所述显示屏的第一侧为所述显示屏的右侧,所述显示屏的第二侧为所述显示屏的左侧。
- 根据权利要求1或2所述的方法,其特征在于,所述逐渐增加所述子页面在所述显示屏上显示的部分,具体包括:逐渐往所述第一侧和所述第二侧增加所述子页面在所述显示屏上显示的部分。
- 根据权利要求1-3任一项所述的方法,其特征在于,在所述电子设备检测到用于从所述父页面切换至所述子页面的操作之后,在所述子页面全屏显示在所述显示屏上之前,所述显示屏上的所述父页面和所述子页面的显示形式不同;所述显示形式包括:背景颜色、透明度或者边框中的一项或多项。
- 根据权利要求1-4任一项所述的方法,其特征在于,在控制所述子页面逐渐向所述显示屏的第二侧移动的过程中,所述显示屏上显示的父页面的背景颜色逐渐变深,或者,所述显示屏上显示的父页面的透明度逐渐变高。
- 根据权利要求1-5任一项所述的方法,其特征在于,响应于所述用于从所述父页面切换至所述子页面的操作,所述方法还包括:所述电子设备自动执行以下步骤:生成遮罩,所述遮罩由遮罩层和所述子页面组成;控制所述遮罩层和所述子页面向所述显示屏的第二侧移动;其中,所述子页面和所述遮罩层相重叠并且位于所述显示屏内的部分,为,所述显示屏上显示的所述子页面的部分。
- 根据权利要求6所述的方法,其特征在于,所述遮罩层和所述子页面向所述显示屏的第二侧移动的过程为减速运动过程。
- 根据权利要求1-7任一项所述的方法,其特征在于,在所述子页面全屏显示在所述显示屏上之后,所述方法还包括:所述电子设备检测到用于从所述子页面切换至所述父页面的操作,响应于所述用于从所述子页面切换至所述父页面的操作,所述电子设备自动执行以下步骤:由全屏显示所述子页面切换为在所述显示屏上显示所述父页面,并且,在所述显示屏的第一侧叠加显示所述子页面的一部分;所述子页面的一部分的高度与所述子页面的高度相同,所述子页面的一部分的宽度小于所述子页面的宽度;控制所述子页面逐渐向所述显示屏的第一侧移动,同时,逐渐减少所述子页面在所述显 示屏上显示的部分,直至所述父页面全屏显示在所述显示屏上。
- 根据权利要求8所述的方法,其特征在于,所述逐渐减少所述子页面在所述显示屏上显示的部分,具体包括:逐渐往所述第一侧和/或所述第二侧减少所述子页面在所述显示屏上显示的部分。
- 根据权利要求1-7任一项所述的方法,其特征在于,在所述子页面全屏显示在所述显示屏上之后,所述方法还包括:所述电子设备检测到用于从所述子页面切换至所述父页面的操作,响应于所述用于从所述子页面切换至所述父页面的操作,所述电子设备自动执行以下步骤:由全屏显示所述子页面切换为在所述显示屏上显示所述父页面,并且,在所述显示屏的第一侧叠加显示所述子页面的左侧部分;所述子页面的左侧部分的高度与所述子页面的高度相同,所述子页面的左侧部分的宽度小于所述子页面的宽度;控制所述子页面逐渐向所述显示屏的第一侧移动,同时,逐渐减少所述子页面在所述显示屏上显示的部分,直至所述父页面全屏显示在所述显示屏上。
- 根据权利要求8-10任一项所述的方法,其特征在于,在所述电子设备检测到用于从所述子页面切换至所述父页面的操作之后,在所述父页面全屏显示在所述显示屏上之前,所述显示屏上的所述父页面和所述子页面的显示形式不同;所述显示形式包括:背景颜色、透明度或者边框中的一项或多项。
- 根据权利要求8-11任一项所述的方法,其特征在于,在所述子页面逐渐向所述显示屏的第一侧移动的过程中,所述显示屏上显示的父页面的背景颜色逐渐变浅,或者,所述显示屏上显示的父页面的透明度逐渐变低。
- 根据权利要求8-12任一项所述的方法,其特征在于,响应于所述用于从所述子页面切换至所述父页面的操作,所述方法还包括:所述电子设备自动执行以下步骤:控制遮罩层和所述子页面向所述显示屏的第一侧移动;所述遮罩层和所述子页面组成遮罩,所述遮罩是由所述电子设备响应于所述用于从所述父页面切换至所述子页面的操作而生成的;其中,所述子页面和所述遮罩层相重叠并且位于所述显示屏内的部分,为,所述显示屏上显示的所述子页面的部分。
- 根据权利要求13所述的方法,其特征在于,所述遮罩层和所述子页面向所述显示屏的第一侧移动的过程为减速运动过程。
- 根据权利要求1-14任一项所述的方法,其特征在于,所述父页面为联系人应用提供的用于展示所述电子设备存储的一个或多个联系人信息的用户界面,所述子页面为所述联系人应用提供的用于展示第一联系人的通讯录详情的用户界面。
- 一种电子设备,其特征在于,包括:一个或多个处理器、存储器和显示屏;所述存储器、所述显示屏与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,所述一个或多个处理器调用所述计算机指令以使得所述电子设备执行:在所述显示屏上全屏显示应用程序提供的父页面;其中,所述应用程序还提供子页面, 所述父页面是所述子页面的上级页面,且,所述父页面和所述子页面的大小相同;检测到用于从所述父页面切换至所述子页面的操作,响应于所述用于从所述父页面切换至所述子页面的操作,自动执行以下步骤:由全屏显示所述父页面切换为在所述显示屏的第一侧叠加显示所述子页面的中间部分,所述子页面的中间部分的高度与所述子页面的高度相同,所述子页面的中间部分的宽度小于所述子页面的宽度;控制所述子页面逐渐向所述显示屏的第二侧移动,同时,逐渐增加所述子页面在所述显示屏上显示的部分,直至所述子页面全屏显示在所述显示屏上,其中,所述第二侧与所述第一侧相反。
- 根据权利要求16所述的电子设备,其特征在于,所述显示屏的第一侧为所述显示屏的右侧,所述显示屏的第二侧为所述显示屏的左侧。
- 根据权利要求16或17所述的电子设备,其特征在于,所述逐渐增加所述子页面在所述显示屏上显示的部分,具体包括:逐渐往所述第一侧和所述第二侧增加所述子页面在所述显示屏上显示的部分。
- 根据权利要求16-18任一项所述的电子设备,其特征在于,在检测到用于从所述父页面切换至所述子页面的操作之后,在所述子页面全屏显示在所述显示屏上之前,所述显示屏上的所述父页面和所述子页面的显示形式不同;所述显示形式包括:背景颜色、透明度或者边框中的一项或多项。
- 根据权利要求16-19任一项所述的电子设备,其特征在于,在控制所述子页面逐渐向所述显示屏的第二侧移动的过程中,所述显示屏上显示的父页面的背景颜色逐渐变深,或者,所述显示屏上显示的父页面的透明度逐渐变高。
- 根据权利要求16-20任一项所述的电子设备,其特征在于,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:响应于所述用于从所述父页面切换至所述子页面的操作,自动执行以下步骤:生成遮罩,所述遮罩由遮罩层和所述子页面组成;控制所述遮罩层和所述子页面向所述显示屏的第二侧移动;其中,所述子页面和所述遮罩层相重叠并且位于所述显示屏内的部分,为,所述显示屏上显示的所述子页面的部分。
- 根据权利要求21任一项所述的电子设备,其特征在于,所述遮罩层和所述子页面向所述显示屏的第二侧移动的过程为减速运动过程。
- 根据权利要求16-22任一项所述的电子设备,其特征在于,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:在所述子页面全屏显示在所述显示屏上之后,检测到用于从所述子页面切换至所述父页面的操作,响应于所述用于从所述子页面切换至所述父页面的操作,自动执行以下步骤:由全屏显示所述子页面切换为在所述显示屏上显示所述父页面,并且,在所述显示屏的第一侧叠加显示所述子页面的一部分;所述子页面的一部分的高度与所述子页面的高度相同,所述子页面的一部分的宽度小于所述子页面的宽度;控制所述子页面逐渐向所述显示屏的第一侧移动,同时,逐渐减少所述子页面在所述显示屏上显示的部分,直至所述父页面全屏显示在所述显示屏上。
- 根据权利要求23所述的电子设备,其特征在于,所述逐渐减少所述子页面在所述显示屏上显示的部分,具体包括:逐渐往所述第一侧和/或所述第二侧减少所述子页面在所述显示屏上显示的部分。
- 根据权利要求16-22任一项所述的电子设备,其特征在于,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:在所述子页面全屏显示在所述显示屏上之后,检测到用于从所述子页面切换至所述父页面的操作,响应于所述用于从所述子页面切换至所述父页面的操作,自动执行以下步骤:由全屏显示所述子页面切换为在所述显示屏上显示所述父页面,并且,在所述显示屏的第一侧叠加显示所述子页面的左侧部分;所述子页面的左侧部分的高度与所述子页面的高度相同,所述子页面的左侧部分的宽度小于所述子页面的宽度;控制所述子页面逐渐向所述显示屏的第一侧移动,同时,逐渐减少所述子页面在所述显示屏上显示的部分,直至所述父页面全屏显示在所述显示屏上。
- 根据权利要求23-25任一项所述的电子设备,其特征在于,在所述电子设备检测到用于从所述子页面切换至所述父页面的操作之后,在所述父页面全屏显示在所述显示屏上之前,所述显示屏上的所述父页面和所述子页面的显示形式不同;所述显示形式包括:背景颜色、透明度或者边框中的一项或多项。
- 根据权利要求23-26任一项所述的电子设备,其特征在于,在所述子页面逐渐向所述显示屏的第一侧移动的过程中,所述显示屏上显示的父页面的背景颜色逐渐变浅,或者,所述显示屏上显示的父页面的透明度逐渐变低。
- 根据权利要求23-27任一项所述的电子设备,其特征在于,所述一个或多个处理器还用于调用所述计算机指令以使得所述电子设备执行:响应于所述用于从所述子页面切换至所述父页面的操作,自动执行以下步骤:控制遮罩层和所述子页面向所述显示屏的第一侧移动;所述遮罩层和所述子页面组成遮罩,所述遮罩是由所述电子设备响应于所述用于从所述父页面切换至所述子页面的操作而生成的;其中,所述子页面和所述遮罩层相重叠并且位于所述显示屏内的部分,为,所述显示屏上显示的所述子页面的部分。
- 根据权利要求28所述的电子设备,其特征在于,所述遮罩层和所述子页面向所述显示屏的第一侧移动的过程为减速运动过程。
- 根据权利要求16-29任一项所述的电子设备,其特征在于,所述父页面为联系人应用提供的用于展示所述电子设备存储的一个或多个联系人信息的用户界面,所述子页面为所述联系人应用提供的用于展示第一联系人的通讯录详情的用户界面。
- 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在电子设备上运行时,使得所述电子设备执行如权利要求1-15中任一项所述的方法。
- 一种计算机可读存储介质,包括指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-15中任一项所述的方法。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US17/607,666 US20220214800A1 (en) | 2019-04-30 | 2020-04-21 | Method for Switching Between Parent Page and Child Page and Related Apparatus |
KR1020217036079A KR20210143320A (ko) | 2019-04-30 | 2020-04-21 | 부모 페이지와 자식 페이지 사이의 스위칭 방법 및 관련 장치 |
EP20799389.0A EP3944079A4 (en) | 2019-04-30 | 2020-04-21 | METHOD OF SWITCHING BETWEEN A PARENT PAGE AND A SUB PAGE AND RELATED DEVICE |
JP2021564666A JP7337954B2 (ja) | 2019-04-30 | 2020-04-21 | 親ページと子ページとの間を切り替えるための方法及び関連する機器 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910365499.9 | 2019-04-30 | ||
CN201910365499.9A CN110119296B (zh) | 2019-04-30 | 2019-04-30 | 切换父页面和子页面的方法、相关装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020221063A1 true WO2020221063A1 (zh) | 2020-11-05 |
Family
ID=67521805
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/085903 WO2020221063A1 (zh) | 2019-04-30 | 2020-04-21 | 切换父页面和子页面的方法、相关装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US20220214800A1 (zh) |
EP (1) | EP3944079A4 (zh) |
JP (1) | JP7337954B2 (zh) |
KR (1) | KR20210143320A (zh) |
CN (1) | CN110119296B (zh) |
WO (1) | WO2020221063A1 (zh) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110119296B (zh) * | 2019-04-30 | 2021-09-14 | 华为技术有限公司 | 切换父页面和子页面的方法、相关装置 |
CN110515524B (zh) * | 2019-08-30 | 2021-02-02 | Oppo广东移动通信有限公司 | 输入信息的方法、装置、终端及存储介质 |
CN111190753B (zh) * | 2019-12-30 | 2023-03-21 | 腾讯科技(深圳)有限公司 | 分布式任务处理方法、装置、存储介质和计算机设备 |
CN113821266A (zh) * | 2020-06-16 | 2021-12-21 | 网联清算有限公司 | 子页面初始化方法及装置 |
CN112351347B (zh) * | 2020-10-26 | 2024-02-09 | 深圳Tcl新技术有限公司 | 屏幕焦点移动显示方法、显示设备及存储介质 |
CN112379953A (zh) * | 2020-11-06 | 2021-02-19 | 深圳市越疆科技有限公司 | 终端、页面切换框架以及页面的切换方法 |
CN117032529A (zh) * | 2021-04-22 | 2023-11-10 | 华为技术有限公司 | 一种显示方法及相关装置 |
CN113722028B (zh) * | 2021-05-28 | 2022-10-28 | 荣耀终端有限公司 | 动态卡片显示方法及装置 |
CN113485778B (zh) * | 2021-06-25 | 2023-06-13 | 青岛海尔科技有限公司 | 页面数据的处理方法、装置、存储介质和电子装置 |
CN114168036B (zh) * | 2021-11-29 | 2022-10-14 | 北京五八信息技术有限公司 | 信息展示方法、装置、电子设备及存储介质 |
CN116048311B (zh) * | 2022-06-24 | 2024-04-19 | 荣耀终端有限公司 | 窗口显示方法、电子设备和计算机可读存储介质 |
CN117149320A (zh) * | 2022-08-09 | 2023-12-01 | 惠州Tcl移动通信有限公司 | 界面显示方法、装置、计算机设备和存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080109753A1 (en) * | 2006-11-03 | 2008-05-08 | Karstens Christopher K | Most-Recently-Used Task Switching among Parent and Child Windows |
CN104133725A (zh) * | 2014-07-18 | 2014-11-05 | 深圳市金立通信设备有限公司 | 一种页面切换方法 |
CN106156066A (zh) * | 2015-03-30 | 2016-11-23 | 阿里巴巴集团控股有限公司 | 一种页面切换方法、装置及客户端 |
CN108459888A (zh) * | 2018-01-08 | 2018-08-28 | 平安科技(深圳)有限公司 | 多页面切换方法、装置、终端设备及存储介质 |
CN110119296A (zh) * | 2019-04-30 | 2019-08-13 | 华为技术有限公司 | 切换父页面和子页面的方法、相关装置 |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07143399A (ja) * | 1993-11-19 | 1995-06-02 | Matsushita Electric Ind Co Ltd | 特殊効果処理装置 |
US7770128B2 (en) * | 2006-02-01 | 2010-08-03 | Ricoh Company, Ltd. | Compensating for cognitive load in jumping back |
US7764291B1 (en) * | 2006-08-30 | 2010-07-27 | Adobe Systems Incorporated | Identification of common visible regions in purposing media for targeted use |
US8564544B2 (en) * | 2006-09-06 | 2013-10-22 | Apple Inc. | Touch screen device, method, and graphical user interface for customizing display of content category icons |
US8564543B2 (en) * | 2006-09-11 | 2013-10-22 | Apple Inc. | Media player with imaged based browsing |
US9772751B2 (en) * | 2007-06-29 | 2017-09-26 | Apple Inc. | Using gestures to slide between user interfaces |
TWI412963B (zh) * | 2009-07-01 | 2013-10-21 | Htc Corp | 資料顯示與移動方法及系統,及其電腦程式產品 |
US9015641B2 (en) * | 2011-01-06 | 2015-04-21 | Blackberry Limited | Electronic device and method of providing visual notification of a received communication |
JP2013017068A (ja) * | 2011-07-05 | 2013-01-24 | Sanyo Electric Co Ltd | 画像再生装置、画像再生方法および画像再生プログラム |
US20130093764A1 (en) * | 2011-10-18 | 2013-04-18 | Research In Motion Limited | Method of animating a rearrangement of ui elements on a display screen of an electronic device |
KR102042556B1 (ko) * | 2012-09-05 | 2019-11-11 | 엘지전자 주식회사 | 이동 단말기 및 이동 단말기의 제어 방법 |
JP6244957B2 (ja) * | 2014-02-10 | 2017-12-13 | 凸版印刷株式会社 | 表示制御装置、表示制御方法及びプログラム |
JP2015219817A (ja) * | 2014-05-20 | 2015-12-07 | オリンパス株式会社 | 表示装置、表示方法、およびプログラム |
KR20160020738A (ko) * | 2014-08-14 | 2016-02-24 | 삼성전자주식회사 | 전자 장치 및 전자 장치의 사용자 인터페이스 제공 방법 |
KR102324398B1 (ko) * | 2014-09-17 | 2021-11-10 | 삼성전자 주식회사 | 전자 장치 및 이의 화면 표시 제어 방법 |
US9891811B2 (en) * | 2015-06-07 | 2018-02-13 | Apple Inc. | Devices and methods for navigating between user interfaces |
US9924136B1 (en) * | 2017-01-30 | 2018-03-20 | Microsoft Technology Licensing, Llc | Coordinated display transitions of people and content |
CN107193445A (zh) * | 2017-06-30 | 2017-09-22 | 上海传英信息技术有限公司 | 移动终端界面切换显示方法及显示装置 |
CN109032464B (zh) * | 2018-09-10 | 2020-12-01 | 腾讯科技(深圳)有限公司 | 应用程序中的界面切换方法、装置、设备及存储介质 |
-
2019
- 2019-04-30 CN CN201910365499.9A patent/CN110119296B/zh active Active
-
2020
- 2020-04-21 US US17/607,666 patent/US20220214800A1/en active Pending
- 2020-04-21 EP EP20799389.0A patent/EP3944079A4/en active Pending
- 2020-04-21 JP JP2021564666A patent/JP7337954B2/ja active Active
- 2020-04-21 KR KR1020217036079A patent/KR20210143320A/ko not_active Application Discontinuation
- 2020-04-21 WO PCT/CN2020/085903 patent/WO2020221063A1/zh unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080109753A1 (en) * | 2006-11-03 | 2008-05-08 | Karstens Christopher K | Most-Recently-Used Task Switching among Parent and Child Windows |
CN104133725A (zh) * | 2014-07-18 | 2014-11-05 | 深圳市金立通信设备有限公司 | 一种页面切换方法 |
CN106156066A (zh) * | 2015-03-30 | 2016-11-23 | 阿里巴巴集团控股有限公司 | 一种页面切换方法、装置及客户端 |
CN108459888A (zh) * | 2018-01-08 | 2018-08-28 | 平安科技(深圳)有限公司 | 多页面切换方法、装置、终端设备及存储介质 |
CN110119296A (zh) * | 2019-04-30 | 2019-08-13 | 华为技术有限公司 | 切换父页面和子页面的方法、相关装置 |
Also Published As
Publication number | Publication date |
---|---|
US20220214800A1 (en) | 2022-07-07 |
CN110119296A (zh) | 2019-08-13 |
EP3944079A4 (en) | 2022-05-18 |
JP2022531279A (ja) | 2022-07-06 |
EP3944079A1 (en) | 2022-01-26 |
JP7337954B2 (ja) | 2023-09-04 |
CN110119296B (zh) | 2021-09-14 |
KR20210143320A (ko) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020221063A1 (zh) | 切换父页面和子页面的方法、相关装置 | |
WO2021027747A1 (zh) | 一种界面显示方法及设备 | |
WO2021013158A1 (zh) | 显示方法及相关装置 | |
US11599254B2 (en) | Method for quickly invoking small window when video is displayed in full screen, graphic user interface, and terminal | |
US20220269405A1 (en) | Floating Window Management Method and Related Apparatus | |
WO2021103981A1 (zh) | 分屏显示的处理方法、装置及电子设备 | |
WO2021129326A1 (zh) | 一种屏幕显示方法及电子设备 | |
WO2021017889A1 (zh) | 一种应用于电子设备的视频通话的显示方法及相关装置 | |
WO2021139768A1 (zh) | 跨设备任务处理的交互方法、电子设备及存储介质 | |
US11921987B2 (en) | System navigation bar display method, system navigation bar control method, graphical user interface, and electronic device | |
US11687235B2 (en) | Split-screen method and electronic device | |
WO2020253758A1 (zh) | 一种用户界面布局方法及电子设备 | |
WO2021000804A1 (zh) | 锁定状态下的显示方法及装置 | |
WO2021036770A1 (zh) | 一种分屏处理方法及终端设备 | |
WO2021082835A1 (zh) | 启动功能的方法及电子设备 | |
US20240176628A1 (en) | Display method for card component, graphical user interface, and related apparatus | |
EP3958106A1 (en) | Interface display method and electronic device | |
WO2022068819A1 (zh) | 一种界面显示方法及相关装置 | |
WO2020155875A1 (zh) | 电子设备的显示方法、图形用户界面及电子设备 | |
WO2021190524A1 (zh) | 截屏处理的方法、图形用户接口及终端 | |
WO2024149088A1 (zh) | 一种截图方法 | |
WO2023160455A1 (zh) | 删除对象的方法及电子设备 | |
WO2024067551A1 (zh) | 界面显示方法及电子设备 | |
CN118331469A (zh) | 一种截图方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20799389 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2021564666 Country of ref document: JP Kind code of ref document: A Ref document number: 2020799389 Country of ref document: EP Effective date: 20211022 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20217036079 Country of ref document: KR Kind code of ref document: A |