Method, device and system for conversion between interfaces

By introducing a transition interface during the interface switching process and maintaining the changes in common elements, the problem of poor transition continuity between interfaces is solved and the user experience is improved.

CN119415194BActive Publication Date: 2025-09-12HUAWEI TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411281592.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-09-09
Filing Date
2021-04-30
Publication Date
2025-09-12
Estimated Expiration
2041-04-30

AI Technical Summary

Technical Problem

In the existing technology, the continuity when switching between interfaces is poor, and the user experience is low.

Method used

By introducing at least one transition interface during the interface switching process, and including elements common to the first interface and the second interface in the transition interface, the elements gradually change during the switching process, achieving a natural and coherent conversion effect.

Benefits of technology

It improves the consistency of interface switching and the user's visual experience, and provides a smoother motion experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415194B_ABST
    Figure CN119415194B_ABST
Patent Text Reader

Abstract

The present application provides a method, device and system for transitioning between interfaces, the method comprising: after an electronic device detects a first operation performed by a user on the electronic device, the electronic device displays a first interface; the first interface includes a first element and a second element; after the electronic device detects a second operation performed by a user on the first interface, the electronic device displays at least one transition interface and then displays a second interface; the second interface includes the second element and a third element; the transition interface includes the second element; the second element does not include the first interface, the transition interface and the elements in the status bar of the second interface. Through this method, when transitioning between application interfaces, the user experience is not interrupted by the continued existence or continuous change of shared elements.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202110482721.0, and the original application date is April 30, 2021. The entire content of the original application is incorporated into this application by reference.

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on September 9, 2020, with application number 202010943693.3 and application name “A method and device for conversion between application interfaces”, the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present application relates to the field of terminal technology, and in particular to a method, device and system for converting between interfaces. Background Art

[0004] As device performance improves, users pay more and more attention to the experience of switching between interfaces when using electronic devices.

[0005] Currently, when the first interface and the second interface are switched, the first interface is directly switched to the second interface, resulting in a single switching effect, poor continuity, and low user experience. Summary of the Invention

[0006] The present application provides a method, device and system for converting between interfaces, so as to provide a conversion solution with strong consistency.

[0007] A first aspect provides a method for converting between interfaces, comprising:

[0008] After the electronic device detects a first operation performed by a user on the electronic device, it displays a first interface; the first interface includes a first element and a second element; after the electronic device detects a second operation performed by the user on the first interface, it displays at least one transition interface and then displays a second interface; the second interface includes the second element and a third element; the transition interface includes the second element; the second element does not include the elements in the first interface, the transition interface, and the status bar in the second interface.

[0009] Based on the above method, in the process of switching from the first interface to the second interface, the connection is made through at least one transition interface, and the transition interface contains a second element contained in both the first interface and the second interface, so that the first interface and the second interface can be switched naturally, with strong coherence, and the user visual experience is better.

[0010] In one possible implementation, the first element in the first interface of the electronic device gradually disappears, the third element in the second interface gradually appears, and the second element persists in the first interface, the at least one transition interface, and the second interface.

[0011] In one possible implementation, the electronic device executes the corresponding animations of the interfaces and / or elements according to the transition animations configured for each interface or the transition animations configured for the elements in the interface during the process of switching from the first interface to the second interface.

[0012] In one possible implementation, the first interface and the second interface are different display interfaces of the first application; or, the first interface is the main interface of the electronic device or an adjacent interface of the main interface or a negative one-screen interface, and the second interface is the display interface of the first application; or, the first interface is the display interface of the first application, and the second interface is the display interface of the second application.

[0013] A second aspect provides a method for converting between interfaces, including:

[0014] The electronic device determines an interface type according to an interface configuration instruction triggered by a user, and the interface type includes a first interface, at least one transition interface, and a second interface; wherein the transition interface refers to an intermediate connecting interface from the first interface to the second interface; the electronic device determines the first element and the second element in the first interface, and determines the second element and the third element in the second interface according to the element configuration instruction triggered by the user; wherein the transition interface contains the second element.

[0015] Based on the above method, in the conversion configuration of switching from the first interface to the second interface, at least one transition interface is configured for connection, and the transition interface contains a second element contained in both the first interface and the second interface, so that the first interface and the second interface are switched naturally and coherently, and the user visual experience is better. In addition, the application can configure different conversion types, types of elements in the conversion, and animation effects according to its own needs to achieve a more flexible and smoother dynamic effect experience. The overall application is simple, the components are configurable, and the effect is better.

[0016] In a possible implementation, the electronic device determines the motion effects executed by the interface and / or elements during the process of switching from the first interface to the second interface based on the motion effect configuration instruction triggered by the user.

[0017] A third aspect provides a method for converting between interfaces, including:

[0018] After the electronic device detects a first operation performed by a user on the electronic device, it displays a first interface; the first interface includes a first element and a second element; after the electronic device detects a second operation performed by the user on the first interface, it displays at least one transition interface and then displays a second interface; the second interface includes a third element and a fourth element; in the process of switching from the first interface to the second interface through the at least one transition interface, the display form of the second element in the transition interface gradually changes to the display form of the third element; wherein, the second element is partially identical to the third element.

[0019] Based on the above method, in the conversion configuration of switching from the first interface to the second interface, at least one transition interface is configured for connection, and the transition interface contains the second element of the first interface and the third element of the second interface, and the second element is partially identical to the third element, so that the first interface and the second interface change naturally and the continuity is strong during the switching process, and the user visual experience effect is better.

[0020] In a possible implementation, the first element in the first interface of the electronic device gradually disappears, the fourth element in the second interface gradually appears, and the second element in the transition interface gradually becomes the third element.

[0021] In one possible implementation, the electronic device executes the corresponding animations of the interfaces and / or elements according to the transition animations configured for each interface or the transition animations configured for the elements in the interface during the process of switching from the first interface to the second interface.

[0022] In one possible implementation, the first interface and the second interface are different display interfaces of the first application; or, the first interface is the main interface of the electronic device or an adjacent interface of the main interface or a negative one-screen interface, and the second interface is the display interface of the first application; or, the first interface is the display interface of the first application, and the second interface is the display interface of the second application.

[0023] A fourth aspect provides a method for converting between interfaces, including:

[0024] The electronic device determines an interface type according to an interface configuration instruction triggered by a user, and the interface type includes a first interface, at least one transition interface, and a second interface; wherein the transition interface refers to an intermediate connecting interface from the first interface to the second interface; the electronic device determines the first element and the second element in the first interface, and determines the third element and the fourth element in the second interface according to the element configuration instruction triggered by the user; according to the element configuration instruction triggered by the user, determines that the second element in the transition interface gradually changes to the third element; wherein the second element is partially identical to the third element.

[0025] Based on the above method, in the conversion configuration of switching from the first interface to the second interface, at least one transition interface is configured for connection, and the transition interface contains the second element of the first interface and the third element of the second interface, and the second element is partially identical to the third element, so that the first interface and the second interface are switched naturally and coherently, and the user visual experience is better. In addition, the application can configure different conversion types, types of elements in the conversion, and animation effects according to its own needs to achieve a more flexible and smoother dynamic effect experience. The overall application is simple, the components are configurable, and the effect is better.

[0026] In a possible implementation, the electronic device determines the motion effects executed by the interface and / or elements during the process of switching from the first interface to the second interface according to the motion effect configuration instruction triggered by the user.

[0027] A fifth aspect further provides an inter-interface device that can be used to perform the operations in any possible implementation of the first or third aspects. For example, the device may include modules or units for performing the various operations in any possible implementation of the first or third aspects. For example, it may include a transceiver module and a processing module.

[0028] A sixth aspect further provides an electronic device between interfaces, which can be used to perform the operations in any possible implementation of the second or fourth aspects. For example, the electronic device may include modules or units for performing the various operations in any possible implementation of the second or fourth aspects. For example, it may include a transceiver module and a processing module.

[0029] The seventh aspect provides a chip system, including a processor and optionally a memory; wherein the memory is used to store computer programs, and the processor is used to call and run computer programs from the memory, so that an electronic device equipped with the chip system executes any method in any possible implementation method of the above-mentioned first to fourth aspects.

[0030] The eighth aspect provides a computer program product, which includes: computer program code, which, when executed by a processing module or processor of an electronic device, enables the electronic device to execute any method in any possible implementation of the first to fourth aspects above.

[0031] The ninth aspect provides a computer-readable storage medium, which stores a program, and the program enables an electronic device to execute any method in any possible implementation of the first to fourth aspects above.

[0032] The tenth aspect provides an electronic device, comprising: a display; one or more processors; one or more memories; wherein the one or more memories store one or more computer programs, and the one or more computer programs include instructions, which, when executed by the one or more processors, enable the electronic device to execute any method in any possible implementation of the above-mentioned first to fourth aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of the area division of an electronic device interface provided by an embodiment of the present application;

[0034] Figure 2 A schematic diagram of a system architecture provided in an embodiment of the present application;

[0035] Figure 3 A schematic diagram of the internal structure of a platform-side device provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of the Android operating system structure of a platform-side device provided in an embodiment of the present application;

[0037] Figure 5 A schematic diagram of the internal structure of an application-side device provided in an embodiment of the present application;

[0038] Figure 6 A schematic diagram of the Android operating system structure of an application-side device provided in an embodiment of the present application;

[0039] Figure 7 A flowchart for configuring the existing one-shot solution;

[0040] Figure 8 A schematic diagram of a one-shot logical framework provided in an embodiment of the present application;

[0041] Figure 9 A schematic diagram of a logical framework of a configuration phase provided in an embodiment of the present application;

[0042] Figure 10A schematic diagram of an application included in an application-side device provided in an embodiment of the present application;

[0043] Figure 11 A schematic diagram of a scenario category provided in an embodiment of the present application;

[0044] Figure 12 A schematic diagram of an element category provided in an embodiment of the present application;

[0045] Figure 13 A schematic diagram of a conversion configuration provided in an embodiment of the present application;

[0046] Figure 14 A schematic diagram of a conversion effect provided in an embodiment of the present application;

[0047] Figure 15 A schematic diagram of an information container configuration provided in an embodiment of the present application;

[0048] Figure 16 A schematic diagram of a fast conversion configuration provided in an embodiment of the present application;

[0049] Figure 17 A schematic diagram of the first one-shot to bottom conversion effect provided in an embodiment of the present application;

[0050] Figure 18 A schematic diagram of a logical framework of the parsing stage provided in an embodiment of the present application;

[0051] Figure 19 A schematic diagram of a logical framework of an execution phase provided by an embodiment of the present application;

[0052] Figure 20 A schematic diagram of a flow chart of a one-shot configuration method provided in an embodiment of the present application;

[0053] Figure 21 A schematic diagram of a call application conversion effect provided in Example 1 of the present application;

[0054] Figure 22 This is a schematic diagram of the first application-to-application conversion effect provided in Example 1 of the present application;

[0055] Figure 23 This is a schematic diagram of the first desktop and application conversion effect provided in Example 1 of this application;

[0056] Figure 24 A schematic diagram of a book application conversion effect provided in Example 1 of this application;

[0057] Figure 25 A schematic diagram of a gallery application conversion effect provided in Example 1 of the present application;

[0058] Figure 26This is a schematic diagram of the first music application conversion effect provided in Example 1 of this application;

[0059] Figure 27 A schematic diagram of the second music application conversion effect provided in Example 1 of the present application;

[0060] Figure 28 A schematic diagram of the second application-to-application conversion effect provided in Example 1 of the present application;

[0061] Figure 29 A schematic diagram of the second desktop and application conversion effect provided in Example 1 of the present application;

[0062] Figure 30 A schematic diagram of a calendar application conversion effect provided in Example 1 of the present application;

[0063] Figure 31 A schematic diagram of the third application and application conversion effect provided in Example 1 of this application;

[0064] Figure 32 This is a schematic diagram of the third desktop and application conversion effect provided in Example 1 of this application;

[0065] Figure 33 A schematic diagram of a call application conversion effect provided in Example 2 of this application;

[0066] Figure 34 This is a schematic diagram of the first application-to-application conversion effect provided in Example 2 of the present application;

[0067] Figure 35 This is a schematic diagram of the first desktop and application conversion effect provided in Example 2 of this application;

[0068] Figure 36 A schematic diagram of a music application conversion effect provided in Example 2 of this application;

[0069] Figure 37 A schematic diagram of the second application-to-application conversion effect provided in Example 2 of this application;

[0070] Figure 38 This is a schematic diagram of the second desktop and application conversion effect provided in Example 2 of this application;

[0071] Figure 39 A schematic diagram of a calendar application conversion effect provided in Example 2 of this application;

[0072] Figure 40 A schematic diagram of the third application-to-application conversion effect provided in Example 2 of this application;

[0073] Figure 41 A schematic diagram of the third desktop and application conversion effect provided in Example 2 of this application;

[0074] Figure 42 This is a schematic diagram of the first application conversion effect based on split screen provided in an embodiment of the present application;

[0075] Figure 43 A schematic diagram of the second application conversion effect based on split screen provided in an embodiment of the present application;

[0076] Figure 44 A schematic diagram of an application conversion effect based on multi-screen collaboration provided in an embodiment of the present application;

[0077] Figure 45 This is a schematic diagram of the second application conversion effect based on multi-screen collaboration provided in an embodiment of the present application. DETAILED DESCRIPTION

[0078] For ease of understanding, some examples of concepts related to the embodiments of the present application are provided for reference as follows:

[0079] 1) One shot from beginning to end. In the embodiment of the present application, it mainly refers to the first interface and the second interface. When the two interfaces are switched, there is at least one transition interface, wherein the transition interface contains elements of the first interface and / or the second interface, so that the switching between the two interfaces is more coherent, and the user experience is achieved without interruption.

[0080] For example, in an optional embodiment of the present application, the transition interface includes elements that exist in both the first and second interfaces. For example, element 1 exists in the first interface, the transition interface also includes element 1, and the second interface also includes element 1. That is, element 1 persists during the process of switching from the first interface to the second interface, thereby making the user's visual sensory experience during the switching process feel that the interface switching transition is relatively natural, not abrupt, and has strong coherence.

[0081] Exemplarily, in another optional manner of the embodiment of the present application, when element 1 in the first interface is switched to the second interface through at least one transition interface, element 1 gradually changes into element 2, wherein element 2 is partially similar to element 1.

[0082] Among them, the element 2 is partially similar to the element 1, and the display pattern of the element 2 is partially similar to the display pattern of the element 1. For example, the display pattern of the element 2 is ABCD, and the display pattern of the element 1 is ABEF.

[0083] Element 2 is partially similar to Element 1, and the similarity between Element 2 and Element 1 may be higher than a similarity threshold. For example, in the first interface, Element 1 is displayed as a man wearing a hat. During the transition to the second interface, the man wearing a hat in Element 1 slowly takes off his hat and becomes Element 2 in the second interface, where Element 2 in the second interface is displayed as a man holding a hat. This makes the user's visual experience during the switching process feel that the interface switching transition is more natural, coherent, and more vivid and interesting.

[0084] 2) Conversion, in the embodiment of the present application, mainly refers to the display interface on the terminal display screen changing from the first interface to the second interface. It should be understood that conversion can also be called transition.

[0085] The interface conversion may be a conversion between different interfaces within the same application, an interface conversion when switching between different applications, or an interface conversion when switching between the terminal display desktop and the application cover.

[0086] In addition, the conversion between interfaces described in the embodiments of the present application can also be called conversion between interfaces; or, transition between interfaces; or, switching between interfaces.

[0087] 3) Conversion object: In the embodiment of the present application, the conversion object can be understood as an application that needs to be converted between interfaces, etc.

[0088] In the embodiment of the present application, the terminal display desktop can also be understood as an application of the terminal device. It should be understood that the conversion object can also be called a transition object.

[0089] 4) Conversion scene: In the embodiment of the present application, the conversion scene can be understood as the interface classification when performing interface conversion. It should be understood that the conversion scene can also be called the transition scene.

[0090] Among them, the conversion scenes in the embodiment of the present application may include an exit scene (also called an exit scene), an entry scene (also called an entry scene) and a shared scene (also called a transition scene).

[0091] The exit scene can be understood as the first interface described in the embodiment of the present application, the entry scene can be understood as the second interface described in the embodiment of the present application, and the sharing scene can be understood as the transition interface described in the embodiment of the present application.

[0092] 5) Entry elements refer to a type of element included in the entry scene, and can also be understood as elements included in the second interface. It should be understood that entry elements can also be called entrance elements.

[0093] 6) Shared elements refer to elements that appear and change continuously during the transition process. They can also be understood as elements contained in the transition interface.

[0094] 7) Exit elements refer to a type of element included in the exit scene, which can also be understood as elements included in the first interface. It should be understood that exit elements can also be called exit elements.

[0095] 8) A shared container, used to hold at least one shared element, that is, during the conversion process, all elements in the shared container are continuously changed.

[0096] Among them, in the embodiment of the present application, there may be at least one shared element in the transition interface.

[0097] 9.) The interface display area refers to the area where the first interface, transition interface and second interface are displayed.

[0098] Generally speaking, the interface of an electronic device is often divided into three parts from top to bottom, for example Figure 1 As shown, the interface of the electronic device is divided into a status bar in the top area, which is used to display the power information, network information, card insertion information, signal strength information, time information, etc. of the electronic device; an interface display area in the middle area, which is used to display the application scenario interface, etc.; and a virtual navigation key area in the bottom area.

[0099] It should be noted that the area division method of the interface in the electronic device in the embodiment of the present application is not limited to the above situation. For example, the area of ​​the interface in the electronic device may only include the status bar and the interface display area.

[0100] In this embodiment of the present application, when switching interfaces, shared elements only refer to elements that persist in the interface display area.

[0101] It is understandable that when an electronic device switches interfaces, elements in the status bar in the top area of ​​the interface in the electronic device may continue to exist, and virtual navigation button elements in the bottom area of ​​the interface in the electronic device may also continue to exist, but neither is the shared element described in the embodiments of the present application.

[0102] 9) ARR, a file format, a binary archive file of an Android library project.

[0103] An optional method of an embodiment of the present application is to package the application program and other files corresponding to the conversion method between application interfaces into an ARR file format.

[0104] Among them, the files in the ARR package format in the embodiment of the present application include class files and res resource files, etc.

[0105] 10) Jar package, a file format.

[0106] In an optional manner of the embodiment of the present application, the application program and other files corresponding to the conversion method between application interfaces are packaged into a Jar file format. Among them, the files in the Jar file format in the embodiment of the present application include class files and manifest files.

[0107] Among them, the term "at least one" in the embodiments of the present application refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. The following at least one item (items) or similar expressions refer to any combination of these items, including any combination of single items (items) or plural items (items). For example, at least one item (items) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0108] Unless otherwise specified, ordinal numbers such as "first" and "second" in the embodiments of the present application are used to distinguish multiple objects and are not used to limit the order, timing, priority, or importance of multiple objects. In addition, the terms "including" and "having" in the embodiments of the present application, the claims, and the drawings are not exclusive. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules and may also include steps or modules that are not listed.

[0109] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0110] The interface conversion method provided in the embodiment of the present application can be applied to Figure 2 The system architecture shown in FIG. 1 includes at least one application-side device 1100 and a platform-side device 1200 .

[0111] Among them, the application side device 1100 and the platform side device 1200 can be interconnected through a communication network, and the communication network can be a local area network or a wide area network transferred through a relay device. When the communication network is a local area network, exemplarily, the communication network can be a short-range communication network such as a Wi-Fi hotspot network, a Wi-Fi P2P network, a Bluetooth network, a Zigbee network or a near field communication (NFC) network. When the communication network is a wide area network, exemplarily, the communication network can be a third-generation wireless telephone technology (3G) network, a fourth-generation mobile communication technology (4G) network, a fifth-generation mobile communication technology (5G) network, a future-evolved public land mobile network (PLMN) or the Internet, etc. Figure 1 In the scenario shown, different electronic devices can exchange data through a communication network, such as transmitting conversion effects between interfaces, configuring interface conversion schemes for applications, etc.

[0112] In an optional manner, the application-side device 1100 accesses an application framework for performing application interface conversion in the platform-side device 1200 through a communication interface established with the platform-side device 1200. The application-side device 1100 configures an inter-interface conversion scheme for the conversion object through the application framework, i.e., determines the first interface, the second interface, at least one transition interface, and the shared elements in the conversion object. Thus, when the conversion object performs an inter-interface conversion, the shared elements can be continuously displayed, making the inter-interface conversion effect smoother and the user experience more coherent.

[0113] Furthermore, when the application side device 1100 enables the inter-interface conversion scheme corresponding to the conversion object, the platform side device 1200 parses the inter-interface conversion scheme corresponding to the conversion object in the application side device 1100 and executes the inter-interface conversion scheme, thereby enabling the conversion object to achieve a coherent and smooth conversion effect.

[0114] It can be understood that the application-side device 1100 performs online integration by accessing the platform-side device 1200 .

[0115] In addition, the application-side device 1100 can also complete the configuration of the inter-interface conversion scheme of a certain conversion object in advance with the platform-side device 1200, and store the inter-interface conversion scheme in other servers. When the conversion object is subsequently started, the interface for communicating with the server is called to obtain the inter-interface conversion scheme through the interface. In addition, through the online integration method, the application-side device 1100 in the embodiment of the present application can also open the permission of the platform-side device 1200 to configure the inter-interface conversion scheme of the conversion object to the user. For example, the user can call the interface for communicating with the platform-side device 1200 according to his own wishes and update and adjust the inter-interface conversion scheme of a certain conversion object at any time.

[0116] In a second optional manner of the embodiment of the present application, the application-side device 1100 obtains a file package of an application for configuring a conversion scheme between interfaces of a conversion object from the platform-side device 1200 and stores it. The application-side device 1100 parses the application file package stored locally and obtains an application for configuring a conversion scheme between interfaces of a conversion object. The application-side device 1100 determines the conversion object through the application and configures an interface conversion scheme for the conversion object, that is, determines the first interface, the second interface, at least one transition interface and a shared element in the conversion object, so that when the conversion object converts between interfaces, the shared elements can be continuously displayed, making the conversion effect between interfaces smoother and the user experience more coherent.

[0117] Assuming that the application file package is an ARR type file package, the application-side device 1100 can obtain and store the application file package from the platform-side device 1200. When the application in the application-side device 1100 needs to use the interface conversion method described in the embodiment of the present application, the application can call the application file package in the application-side device 1100 and integrate it locally based on the application file package.

[0118] For example, assuming that the application-side device 1100 is a mobile phone, the mobile phone has obtained the application file package. The calendar application in the mobile phone can call the application file package in the mobile phone, integrate the configuration file for interface conversion described in the embodiment of the present application into the calendar application, and store the configuration file in the libs folder, so that the path can be introduced in the compilation script later.

[0119] Assuming that the application file package is a Jar-type file package, the application-side device 1100 can obtain and store the application file package from the platform-side device 1200. When the application (i.e., the conversion object) in the application-side device 1100 needs to use the interface conversion method described in the embodiment of the present application, the application-side device 1100 can directly call the application file package.

[0120] It should be noted that the system for converting between interfaces in the embodiment of the present application is not limited to the above Figure 1 The architecture shown, any variation of the above system architecture can be applied to the embodiments of the present application. For example, the system described in the embodiments of the present application can also include third-party material suppliers, etc.

[0121] Among them, the third-party material supplier described in the embodiment of the present application can be used to provide animation templates, etc.

[0122] For example, assuming that the application included in the platform-side device 1200 for transitioning between interfaces provides animation templates including explosion effects, displacement effects, scaling effects, cropping effects, rotation effects, etc., the animation templates provided by the third-party material supplier are richer and more diverse than the animation templates provided by the platform-side device 1200, further including black hole effects, snowflake effects, etc. Therefore, in order to reduce the modification of the application in the platform-side device 1200, an interface for communicating with the third-party material supplier can be added to the system, so that the user can call the animation templates provided by the third-party material supplier when designing animations in the interface transition solution.

[0123] The hardware structure and software structure of the platform-side device 1200 and the application-side device 1100 are respectively described below by way of example:

[0124] 1. Platform side equipment:

[0125] Specifically, in one scenario of an embodiment of the present application, the platform-side device 1200 may be a server or a cloud server storing application code for implementing the method for converting between interfaces provided in the present application.

[0126] It should be noted that there may be multiple application codes stored in the platform-side device 1200 described in the embodiment of the present application for implementing the interface conversion method provided in the present application.

[0127] For example, for The system's application code for executing the interface conversion method is suitable for The system's application code for executing the interface conversion method is suitable for The system's application code for executing the method for converting between interfaces, etc., the embodiment of the present application can select the adapted application code for executing the method for converting between interfaces according to the system installed in the electronic device, which is not limited here.

[0128] in, Figure 3 Shown is a framework diagram of a partial structure of the platform-side device 1200 related to various embodiments of the present application.

[0129] like Figure 3 As shown, the platform-side device 1200 may include:

[0130] Processor 1210 , memory 1220 , and transceiver 1230 .

[0131] One or more computer programs are stored in the memory 1220 and configured to be executed by the one or more processors 1210 .

[0132] The processor 1210 described in the embodiment of the present application can be a central processing unit (CPU) or a digital processing unit, etc.

[0133] Among them, the processor 1210 is the control center of the platform-side device 1200, which uses various interfaces and lines to connect various parts of the entire platform-side device 1200, and performs various functions of the platform-side device 1200 by running or executing computer programs stored in the memory 1220.

[0134] In an optional embodiment of the present application, the processor 1210 is configured to determine, based on a user's operating instructions, a transition object for transitioning between interfaces, the transition scenes involved in the transition process, the elements within the scenes, and the corresponding scene and element animations. The processor 1210 then processes and packages the transition object's scheme for transitioning between interfaces according to the configuration process, and stores the scheme locally.

[0135] When the application side device 1100 starts the inter-interface transition effect of the conversion object, the processor 1210 is also used to parse the scheme for inter-interface transition corresponding to the conversion object, that is, to determine the conversion scene in the conversion object and the corresponding attributes of the elements, the attributes including motion effects, display ratio, etc.

[0136] Furthermore, the processor 1210 executes the scheme of inter-interface conversion configured by the conversion object with one click based on the application-side device 1100 .

[0137] Exemplarily, the processor 1210 determines configuration parameters of related scenes and elements involved in the conversion object according to the inter-interface conversion solution corresponding to the conversion object.

[0138] Then, the processor 1210 can send the running data of the scene and elements related to the conversion object to the application-side device 1100 in the form of streaming media for playback.

[0139] In another optional embodiment of the present application, the processor 1210 is configured to determine, based on a user's operation instruction, a transition object for transitioning between interfaces, the transition scene involved in the transition process, the elements within the scene, and the corresponding scene and element animations. The processor 1210 then processes and packages the transition object's scheme for transitioning between interfaces according to the configuration process, and sends the scheme to the corresponding application-side device 1100.

[0140] The application-side device 1100 receives and stores the interface transition scheme corresponding to the transition object. When the application-side device 1100 activates the interface transition effect of the transition object, it calls the interface transition scheme corresponding to the transition object and analyzes the interface transition scheme corresponding to the transition object, that is, determining the transition scene in the transition object and the corresponding attributes of the elements, such as the animation effect and the display ratio.

[0141] Furthermore, the application-side device 1100 performs one-key execution based on the scheme of conversion between interfaces corresponding to the conversion object.

[0142] Exemplarily, the application-side device 1100 determines the configuration parameters of the relevant scenarios and elements involved in the conversion object according to the inter-interface conversion solution corresponding to the conversion object.

[0143] Then, the application-side device 1100 runs the scene related to the conversion object and the running data of the elements, and displays the effect of converting the conversion object between interfaces on the display screen of the application-side device 1100.

[0144] The transceiver 1230 is optionally configured to receive an operation instruction triggered by a user and send the operation instruction to the processor 1210, so that the processor 1230 configures an interface conversion scheme for the corresponding conversion object through the application for performing interface conversion in the platform-side device 1200 according to the operation instruction; and / or

[0145] In an optional manner, the file package of the application in the platform side device 1200 is sent to the application side device 1100; and / or,

[0146] In an optional manner, the solution for the application-side device 1100 to convert the conversion object between interfaces in the platform-side device 1200 is sent to the application-side device 1100 .

[0147] The specific connection medium between the processor 1210 and the memory 1220 is not limited in the embodiment of the present application. Figure 3 The memory 1220, the processor 1210 and the transceiver 1230 are connected via a bus 1240. Figure 3 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0148] Memory 1220 may be a volatile memory, such as random-access memory (RAM); a non-volatile memory, such as read-only memory, flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or any other medium capable of carrying or storing program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. Memory 1220 may be a combination of the aforementioned memories.

[0149] In addition, the embodiment of the present application is based on a layered architecture. The system is used as an example to illustrate the software structure of the platform side device 1200. It should be noted that in other operating systems (such as system, system, etc.), as long as the functions implemented by each functional module are similar to those in the embodiments of the present application, the solution of the present application can also be implemented, and no limitation is made here.

[0150] In an optional embodiment of the present application, the software structure diagram of the platform side device 1200 can be as follows Figure 4 shown.

[0151] The platform-side device 1200 divides the software into several layers based on a layered architecture, with each layer having a clear role and division of labor. The layers communicate with each other through software interfaces.

[0152] For example, in some embodiments, the Android system is divided into four layers, namely, from top to bottom, the application layer, the application framework layer, the Android runtime environment (Android runtime) and system library, and the kernel layer.

[0153] 1) Application layer:

[0154] In an optional manner in the embodiment of the present application, the application layer may include a series of application packages.

[0155] For example, in an embodiment of the present application, the application layer may store applications for executing the interface conversion solution provided by the present application, etc.

[0156] 2) Application framework layer:

[0157] In an optional manner in the embodiment of the present application, the application framework layer provides an application programming interface (API) and a programming framework for the application programs in the application layer, wherein the application framework layer may include some predefined functions.

[0158] 3) Android Runtime and system libraries:

[0159] The Android Runtime may include a core library and a virtual machine, which are responsible for the scheduling and management of the Android system.

[0160] Furthermore, the core library described in the embodiment of the present application may include two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.

[0161] The virtual machine described in the embodiments of the present application is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection. For example, the application layer and application framework layer run in the virtual machine. The virtual machine executes the Java files in the application layer and application framework layer as binary files.

[0162] The system library in the embodiment of the present application may include multiple functional modules, such as a surface manager, a media library, a 3D graphics processing library (such as OpenGL ES), a 2D graphics engine (such as SGL), etc.

[0163] Furthermore, the surface manager described in the embodiment of the present application is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.

[0164] The media library supports playback and recording of a variety of common audio and video formats, as well as static image files. The media library can support a variety of audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0165] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0166] A 2D graphics engine is a drawing engine for 2D drawings.

[0167] 4) Kernel layer:

[0168] The kernel layer described in the embodiment of the present application can be understood as a layer between hardware and software, which at least includes display driver, camera driver, audio driver, and sensor driver.

[0169] Further, such as Figure 4 As shown, the capability framework corresponding to the application for performing interface conversion in the embodiment of the present application may include a configuration module, a parsing module and an execution module.

[0170] It should be noted that the embodiments of this application do not limit the system layer in which the capability framework is located. For example, the capability framework described in the embodiments of this application can be located at the application layer. Alternatively, the capability framework described in the embodiments of this application can be independent of the four layers included in the above system. For example, the capability framework is an external layer that is an extension of the capabilities of the framework layer and can be expanded into the form of an AAR or a Jar to facilitate application use.

[0171] Among them, the configuration module in the platform-side device of the embodiment of the present application is used to configure the parameters of the conversion scene and elements of the determined conversion object.

[0172] Specifically, the configuration module receives the configuration instruction sent by the application-side device 1100, and configures the conversion scene and element parameters for the conversion object that needs to be converted between interfaces according to the configuration instruction.

[0173] The parsing module in the platform-side device of the embodiment of the present application is used to parse the scheme for inter-interface conversion corresponding to the conversion object, and save the parsed scheme for inter-interface conversion.

[0174] Exemplarily, the scheme for transitioning between interfaces may include the name of the transition object, the name of the shared element or shared container, the transition animation ID configured for exiting the interface, the transition animation ID configured for entering the interface, the transition animation ID configured for the shared element or shared container, etc.

[0175] It can be understood that the parsing module mainly determines the conversion scenarios in the conversion object and the elements in each conversion scenario as well as the corresponding execution effects according to the conversion scheme between the interfaces corresponding to the conversion object.

[0176] The execution module in the platform-side device of the embodiment of the present application is used to execute different animation effects for different elements at different times according to the scheme of transition between the interfaces.

[0177] 2. Application-side equipment:

[0178] The application side device 1100 may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player, such as a mobile phone, a tablet computer, a wearable device with wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to Or other portable electronic devices with operating systems. The 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 following description will be made by taking the application side device 1100 as a mobile phone as an example. Figure 5 Shown is a block diagram of a partial structure of an application-side device 1100 related to various embodiments of the present application.

[0179] like Figure 5 As shown, the application-side device 1100 is a mobile phone, which may include a processor 1110, an external memory interface 1120, an internal memory 1121, a USB interface 1130, a charging management module 1140, a power management module 1141, a battery 1142, an antenna 1, an antenna 2, a mobile communication module 1150, a wireless communication module 1160, an audio module 1170, a speaker 1170A, a receiver 1170B, a microphone 1170C, an earphone interface 1170D, a sensor module 1180, a button 1190, a motor 1191, an indicator 1192, a camera 1193, a display screen 1194, and a SIM card interface 1195, etc.

[0180] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the application-side device 1100. In other embodiments of the present application, the application-side device 1100 may include more or fewer components than illustrated, or may combine or separate certain components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0181] The processor 1110 may include one or more processing units, for example: the processor 1110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU), etc. Among them, different processing units can be independent devices or integrated into one or more processors. Among them, the controller can be the nerve center and command center of the application side device 1100. The controller can generate an operation control signal based on the instruction opcode and timing signal to complete the control of instruction fetching and execution.

[0182] In the embodiments of the present application, the processor 1110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 1110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by the processor 1110. If the processor 1110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 1110, and thus improves system efficiency.

[0183] In some embodiments, the processor 1110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.

[0184] In an optional manner of an embodiment of the present application, the processor 1110 is used to determine a conversion object, and to call an application program for performing inter-interface conversion in the platform-side device 1200 to determine a scheme for performing inter-interface conversion by the conversion object.

[0185] In a second optional manner of the embodiment of the present application, the processor 1110 is used to determine a conversion object and a scheme for performing inter-interface conversion corresponding to the conversion object, and when the conversion object performs inter-interface conversion, the inter-interface conversion of the conversion object is implemented according to the scheme for inter-interface conversion.

[0186] In a third optional manner of the embodiment of the present application, the processor 1110 is further configured to instruct the platform-side device 1200 to display the inter-interface conversion effect of a conversion object based on the inter-interface conversion scheme of the conversion object.

[0187] The wireless communication function of the application side device 1100 can be implemented through the antenna module 1, the antenna module 2, the mobile communication module 1150, the wireless communication module 1160, the modem processor and the baseband processor.

[0188] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in application-side device 1100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, a cellular network antenna can be reused as a wireless local area network diversity antenna. In other embodiments, the antenna can be used in conjunction with a tuning switch.

[0189] The mobile communication module 1150 can provide wireless communication solutions including 2G / 3G / 4G / 5G / 6G for the application-side device 1100. The mobile communication module 1150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 1150 can receive electromagnetic waves from the antenna 1, filter, amplify, and perform other processing on the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 1150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 1150 can be set in the processor 1110. In some embodiments, at least some of the functional modules of the mobile communication module 1150 can be set in the same device as at least some of the modules of the processor 1110.

[0190] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 1170A, the receiver 1170B, etc.) or displays an image or video through the display screen 1194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 1110 and be set in the same device as the mobile communication module 1150 or other functional modules.

[0191] The wireless communication module 1160 can provide wireless communication solutions including wireless local area networks (WLAN), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. applied on the application side device 1100. The wireless communication module 1160 can be one or more devices integrating at least one communication processing module. The wireless communication module 1160 receives electromagnetic waves via antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 1110. The wireless communication module 1160 can also receive the signal to be sent from the processor 1110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through antenna 2. In the embodiment of the present application, the application side device 1110 obtains the one-shot effect performed by the platform side device 1200 through the wireless communication module 1160.

[0192] In some embodiments, antenna 1 of the application side device 1100 is coupled to the mobile communication module 1150 , and antenna 2 is coupled to the wireless communication module 1160 , so that the application side device 1100 can communicate with the network and other devices through wireless communication technology.

[0193] The application-side device 1100 implements display functions through a GPU, display screen 1194, and an application processor. The GPU is a microprocessor for image processing and is connected to the display screen 1194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 1110 may include one or more GPUs, which execute program instructions to generate or change display information. In this embodiment of the present application, the application-side device 1100 uses the GPU, display screen 1194, and application processor to play and display short videos.

[0194] The application side device 1100 can implement the shooting function through the ISP, camera 1193, video codec, GPU, display screen 1194 and application processor.

[0195] The external memory interface 1120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the application-side device 1100. The external memory card communicates with the processor 1110 through the external memory interface 1120 to implement data storage.

[0196] The internal memory 1121 can be used to store computer executable program codes, which include instructions. The processor 1110 executes various functional applications and data processing of the application side device 1100 by running the instructions stored in the internal memory 1121. The memory 1121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area can store data created during the use of the application side device 1100 (such as audio data, a phone book, etc.), etc. In addition, the memory 1121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0197] The application-side device 1100 can implement audio functions such as music playback and recording through the audio module 1170 , the speaker 1170A, the receiver 1170B, the microphone 1170C, the headphone jack 1170D, and the application processor.

[0198] In addition, the embodiment of the present application is based on a layered architecture. The system is used as an example to illustrate the software structure of the application side device 1100. For example, in other operating systems (such as system, system, etc.), as long as the functions implemented by each functional module are similar to those of the embodiments of the present application, the solution of the present application can also be implemented.

[0199] Figure 6 It is a software structure block diagram of the application side device 1100 according to an embodiment of the present invention.

[0200] A layered architecture divides software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces.

[0201] In some embodiments, the Android system is divided into four layers, which are, from top to bottom, the application layer, the application framework layer, the Android runtime environment (Android runtime) and system library, and the kernel layer.

[0202] Among them, the application layer in the application-side device 1100 described in the embodiment of the present application may include a series of application packages.

[0203] like Figure 6 As shown, the application package may include applications such as phone, camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0204] The application framework layer in the application-side device 1100 of the embodiment of the present application is mainly used to provide an application programming interface (API) and a programming framework for the application of the application layer. The application framework layer may include some predefined functions.

[0205] like Figure 6 As shown, 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 the like.

[0206] The window manager is used to manage window programs. It can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0207] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0208] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.

[0209] The phone manager is used to provide communication functions for the application-side device 1100, such as management of call status (including answering, hanging up, etc.).

[0210] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0211] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically without user interaction. For example, the Notification Manager is used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar of the system as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include text messages in the status bar, beeps, vibrations on electronic devices, and flashing indicator lights.

[0212] In addition, the contents of the system library and kernel layer in the application side device 1100 described in the embodiment of the present application are similar to the contents of the system library and kernel layer in the above-mentioned platform side device 1200. For the sake of concise description, please refer to the introduction of the system library and kernel layer in the above-mentioned platform side device 1200, and they will not be repeated here.

[0213] When using electronic devices, users are paying more and more attention to the interface experience.

[0214] Currently, when a first interface switches to a second interface, the first interface is directly transformed into the second interface, resulting in poor continuity and low user experience.

[0215] For example, Figure 7 As shown, in the current configuration of switching from the first interface to the second interface, only the elements for exiting the first interface and the animation executed by the exit elements when switching are determined; and / or the elements for entering the second interface and the animation executed by the entering elements when switching are determined. During the switching process, the exit elements in the first interface execute the corresponding animation to exit, and the entry elements in the second interface execute the corresponding animation to enter, thereby completing the switching from the first interface to the second interface.

[0216] From the above, we can understand that the current solution processing logic for transitioning between interfaces is relatively simple, only implementing simple exit and entry animations, with a single effect. In addition, the switching process between the first interface and the second interface is not coherent, resulting in a poor user visual experience. To address this problem, the embodiments of the present application provide a method, device, and system for transitioning between interfaces to achieve a more coherent transition effect between interfaces efficiently and flexibly.

[0217] The following will introduce in detail the method for converting between interfaces based on a one-shot effect provided by an embodiment of the present application in combination with the accompanying drawings and application scenarios.

[0218] First, the embodiment of the present application specifically introduces the capability framework corresponding to the application for performing the interface conversion. Figure 4 The application framework layer described in is introduced in detail.

[0219] Among them, based on the above Figure 4 As can be seen from the content, the application framework layer mainly includes a configuration module, a parsing module, and an execution module. Therefore, it can be understood that when the embodiment of the present application performs interface conversion according to the application framework, Figure 8 As shown, it can be divided into three stages: configuration stage, parsing stage and execution stage.

[0220] Phase 1: Configuration phase:

[0221] The first stage mainly refers to configuring parameters of the scenes and elements involved in the conversion object through the configuration module in the application framework.

[0222] The application framework of the configuration phase described in the embodiment of this application can be specifically referred to in Figure 9 shown.

[0223] Specifically, when designing a solution for converting between interfaces in the embodiment of the present application, it is first necessary to determine the conversion object.

[0224] For example, Figure 10 As shown, it is assumed that the application-side device is a mobile phone, wherein the applications in the mobile phone include calendar, gallery, app store, weather, phone, etc. The application-side device determines the gallery as the conversion target according to the selection instruction triggered by the user, for example, determines a scheme for converting between internal application interfaces in the gallery.

[0225] Then, an optional method in an embodiment of the present application is to use a device (for example, a processor in an application test device, or a processor in a platform side device, etc.) that configures an interface conversion scheme for a conversion object to determine a conversion scenario in the conversion object.

[0226] like Figure 11 As shown, it mainly includes determining the exit scene, transition scene and entry scene. It can be understood that different scenes are at different nodes in the conversion object. Figure 12 As shown, the application-side device determines the element type and the form of the animation according to the instruction triggered by the user. The element types include shared elements, exit elements, and entry elements.

[0227] Further, such as Figure 13 As shown, the device for configuring the interface conversion scheme for the conversion object determines the classification of elements in each conversion scene according to the selection instruction triggered by the user, that is, which elements in each scene serve as exit elements, which elements serve as shared elements, and which elements serve as entry elements, as well as determines the corresponding animation effects when the elements are converted.

[0228] It should be noted that the device for configuring the inter-interface conversion scheme for the conversion object in the embodiment of the present application can also classify the element types according to the container in which the element is located. For example, if container 1 is determined to be a shared container, it can be understood that all elements in container 1 are shared elements.

[0229] In addition, an optional method of the embodiment of the present application is that the device for configuring the interface conversion scheme for the conversion object can also set the size of the information container according to the processing instruction triggered by the user.

[0230] For example, in the embodiment of the present application, the currently mainstream Activity conversion type is taken as an example to briefly introduce some parameters involved in the elements in the conversion object in the embodiment of the present application.

[0231] The parameters involved in the elements in the embodiment of the present application may include name, motion duration, control ID, animation effect, animation delay, interface (exit and / or entry) duration, etc.

[0232] It should be noted that the parameters related to the elements in the embodiments of this application are not limited to the above-mentioned ones. Any configuration parameters of the elements that can be applied to the embodiments of this application fall within the scope of protection of the embodiments of this application. For example, if there are multiple animation effects set for a certain element, the configuration parameters may also include the interval length of each animation effect.

[0233] For example, as shown in Table 1 below, the embodiment of the present application simply lists the parameters that may need to be configured for interface conversion of the selected conversion object in a tabular form.

[0234]

[0235]

[0236] Table 1 Parameter description of conversion object

[0237] Among them, according to the content of Table 1 above, it can be understood that when configuring the interface conversion scheme for the conversion object in the embodiment of the present application, it is first necessary to determine the name of the conversion object that needs to be converted between interfaces. Then, the exit element, shared element and entry element in the conversion object are determined; the exit animation, exit duration, exit animation delay, etc. involved in the exit element are determined; the entry animation, entry duration, entry animation delay, etc. involved in the entry element are determined; and the shared animation, shared duration, shared animation delay, etc. involved in the shared element are determined.

[0238] Among them, in the embodiment of the present application, if the exit element, entry element or shared element is determined by setting the container ID, it can be understood that all elements in the container ID are set as exit elements, entry elements or shared elements.

[0239] For example, suppose there are three elements in container 1, namely element 1, element 2, and element 3. If container 1 is set as a shared element, all elements contained in container 1 are shared elements.

[0240] Furthermore, when configuring shared animation for the container 1, animation may be configured for each shared element separately, or a unified animation may be configured for the entire container.

[0241] For example, when configuring animations for elements in container 1, you can configure a flip animation for shared element 1 and a gradient animation for shared elements 2 and 3. Then, during the interface transition, shared element 1 will perform a flip animation, and shared elements 2 and 3 will perform a gradient animation. Alternatively, when configuring animations for elements in container 1, you can configure a gradient animation for container 1. Then, during the interface transition, shared elements 1 to 3 in container 1 will uniformly perform a gradient animation.

[0242] Among them, if the embodiment of the present application involves conversion between multiple interfaces, the intermediate interface for conversion can be regarded as a transition interface (also called a shared interface).

[0243] It should be noted that in the embodiment of the present application, when there is no overlap between the exit interface, the transition interface and the entry interface during the process of switching between interfaces, the total conversion time T1 in the embodiment of the present application is the sum of the exit time T2, the sharing time T3 and the entry time T4; when there is overlap between the interfaces during the process of switching between the exit interface, the transition interface and the entry interface, the total conversion time T1 in the embodiment of the present application is less than the sum of the exit time T2, the sharing time T3 and the entry time T4.

[0244] Furthermore, the forms of the animation effects in the embodiments of the present application include but are not limited to the following:

[0245] Explosion effect, displacement effect, zoom effect, cropping effect, rotation effect, fade-in effect, etc.

[0246] In addition, the animation form described in the embodiment of the present application can also be implemented through customized extensions. For example, it can also be set to a black hole effect, a hidden effect, etc. in a customized manner.

[0247] Among them, users can also set the properties of the animation according to their needs, for example:

[0248] When the animation is triggered to start, when the animation is triggered to end, the type of animation, the application scenario (i.e., exit animation or entry animation), the total running time of the animation, the animation delay time, the animation interpolator, etc.

[0249] For example, as shown in Table 2, a motion effect scheme configured in an embodiment of the present application is:

[0250]

[0251]

[0252] Table 2 One-shot animation scheme 1

[0253] According to the content of Table 2, for the element named "AutoExplodeAnimCreator", the explosion animation is executed upon entry.

[0254] It should be noted that the embodiments of this application do not limit the conversion type. For example, the conversion type in the embodiments of this application can also be a ViewGroup conversion type, a Fragment conversion type, etc. The configuration method of other conversion types is similar to the Activity conversion type. The main difference lies in the different form of the control, that is, the conversion settings are different. For a concise description, please refer to the introduction of the Activity conversion type above.

[0255] Among them, the embodiment of the present application selects three conversion types: Activity, ViewGroup and Fragment, and briefly introduces the conversion settings respectively.

[0256] For example, in the embodiment of the present application, the conversion settings for the three conversion types of Activity, ViewGroup and Fragment can be shown in Table 3 below.

[0257]

[0258] Table 3 Conversion settings for different conversion types

[0259] Furthermore, in the embodiment of the present application, when configuring the transition between interfaces in the configuration stage, the configuration of the transition between interfaces can be performed in a customized manner or in a preset template manner, which are described below respectively:

[0260] Configuration method 1: Custom configuration.

[0261] In an optional manner of an embodiment of the present application, the application framework performs corresponding parameter configuration based on the content selected by the user.

[0262] For example, Figure 14 As shown, it is assumed that a scheme for transitioning between interfaces of application A is configured, wherein the user customizes the element corresponding to box 2 in application A as a shared element, the animation effect of the exit element configuration is gradual disappearance, the animation effect of the shared element configuration is magnification, and the animation effect of the entry element configuration is gradual appearance.

[0263] When the application A performs the interface conversion, it is assumed that Figure 13 The a interface in the figure is the exit scene of application A. Figure 13 The b interface is the transition scene of application A. Figure 13 Interface c in the figure is the entry scene of application A, box 1 is the exit element, box 2 is the shared element, and box 3 is the entry element.

[0264] Among them, in the process of switching from interface a to interface b, box 2 as a shared element always exists and displays an enlarged dynamic effect, and box 1 as an exit element gradually disappears.

[0265] Furthermore, the conversion process continues, and the interface b switches to the interface c. During the switching process, the box 2 as the shared element always exists, and the box 3 as the entry element gradually appears.

[0266] Among them, the embodiment of the present application can set the size of the information container and the position of the information container.

[0267] For example, Figure 15 As shown, the size of the information container displaying the exit scene is set to the size of the virtual frame 1 and displayed at the left border of the screen. Then, the content of the exit scene is only displayed in the virtual frame 1. Figure 15 The information container size of the display transition scene is set to the size of the virtual frame 2 and displayed in the center of the screen, then the content of the shared scene is only displayed in the virtual frame 1; Figure 15 It is displayed in the dotted box 2 in FIG.

[0268] Configuration method 2: Configure using a preset template.

[0269] An optional method of the embodiment of the present application is to set up multiple quick configuration templates, that is, in the quick configuration templates, the relevant configuration parameters of the elements have been set in advance, and the user only needs to determine the name of the element, thereby realizing quick configuration and effectively reducing the complexity of the configuration.

[0270] Among them, an optional method of the embodiment of the present application is that after the user determines the conversion object, the user can click the screen with a finger to determine the elements that need to be configured using the template.

[0271] Specifically, when the user taps the screen with his finger, the phone determines the name of the element or container displayed at the clicked position based on the screen position, and binds the name of the element or container to the quick configuration template selected by the user, so that the element or container executes the configuration corresponding to the selected quick configuration module when switching between interfaces.

[0272] For example, if the user configures the interface conversion scheme for application A, the current configuration interface is as follows: Figure 16 As shown in (a), the current configuration interface displays custom configuration and quick configuration. After the user clicks on the quick configuration, the current interface becomes as follows Figure 16 As shown in (b), two quick configuration modules are displayed, such as the quick configuration template 1 and the quick configuration template 2 introduced above.

[0273] The relevant configurations in the quick configuration template 1 are as follows:

[0274] The exit animation is a translation from left to right with a duration of 2 seconds. The entry animation is a translation from right to left with a duration of 2 seconds. The animation of a shared element or shared container is an explosion with a duration of 1.5 seconds. The center point of the explosion animation is the center point of the shared element or shared container, and the explosion area is one-quarter the size of the interface.

[0275] The relevant configurations in the quick configuration module 2 are as follows:

[0276] The exit animation is a gradual transition with a duration of 2 seconds, the entry animation is a flip with a duration of 2 seconds, and the shared element or shared container animation is a shake with a duration of 1.5 seconds, where the center point of the shake animation is the center point of the shared element or shared container. Assume that the user selects Quick Configuration Template 1 during the Quick Configuration Template selection process.

[0277] After the user determines the quick configuration template for the application, the user only needs to determine the elements to apply the template.

[0278] For example, Figure 16As shown in (c) of FIG, the user selects a shared element from the content currently displayed on the interface by clicking on it according to the instructions on the screen. For example, if the user clicks on a ship on the screen, the application framework can determine that the ship is a shared element.

[0279] Therefore, when the application A performs the transition between interfaces, Figure 17 As shown in the figure, assume that screen a is the exit scene for application A, and screen b is the entry scene for application A. During the exit from screen a, screen a pans from left to right, with a 2-second animation duration. During the exit from screen b, screen b pans from right to left, with a 2-second animation duration. The shared element, the ship, remains constant, and an explosion effect, approximately one-quarter the size of the screen, is displayed at the center of the ship.

[0280] Furthermore, after the user completes the configuration of the inter-interface conversion scheme for the conversion object through the application framework provided in the embodiment of the present application, a configuration file for the inter-interface conversion scheme can be generated for subsequent calls when the conversion object performs inter-interface conversion display.

[0281] It should be noted that the embodiment of the present application can also adopt a combination of a customized method and a preset template method to configure the interface conversion scheme for the conversion object, etc., and the embodiment of the present application is not limited here.

[0282] Furthermore, in an optional embodiment of the present application, to further enhance the confidentiality of the inter-interface conversion scheme of the conversion object, the inter-interface conversion scheme corresponding to the conversion object can be encrypted using an encryption public key. This allows only devices or applications that know the decryption private key corresponding to the encryption public key to parse and obtain the inter-interface conversion scheme corresponding to the conversion object.

[0283] Phase 2: Analysis phase:

[0284] The second stage mainly refers to the equipment used to parse the inter-interface conversion scheme corresponding to the conversion object, and parse the inter-interface conversion scheme obtained by the conversion object in the configuration stage, obtain the elements configured in the inter-interface conversion scheme for inter-interface conversion and the attributes of the elements and other information, so as to determine the effect of the scheme for inter-interface conversion of the conversion object.

[0285] For example, the platform side device parses the inter-interface conversion scheme corresponding to the conversion object through the parsing module of the application framework; for another example, the application side device parses the inter-interface conversion scheme corresponding to the conversion object through its own processor or a chip with parsing function.

[0286] The internal logic framework of the parsing stage described in the embodiment of the present application can be specifically referred to in Figure 18 shown.

[0287] First, in the parsing stage of the embodiment of the present application, the device for executing the inter-interface conversion scheme of the conversion object determines the scene type for inter-interface conversion configured in the inter-interface conversion scheme and the layout type corresponding to the scene type through the inter-interface conversion scheme corresponding to the conversion object, thereby binding the scene type and the layout type together.

[0288] In the embodiment of the present application, by binding the scene with the layout, it helps to expand the conversion effect based on the layout type, which has better adaptability and higher adhesion.

[0289] Furthermore, the device is configured to parse the inter-interface conversion scheme corresponding to the conversion object, and determine the state of each converted interface according to the inter-interface conversion scheme.

[0290] It can be understood that the device that parses the inter-interface conversion scheme corresponding to the conversion object determines the elements contained in the exit scene and the states corresponding to the elements, the elements contained in the transition scene and the states corresponding to the elements, and the elements contained in the entry scene and the states corresponding to the elements according to the inter-interface conversion scheme.

[0291] Among them, the status of an element in the embodiment of the present application mainly includes the type of element, the form of the element's animation, and the duration of the animation.

[0292] For example, it is assumed that the conversion object is a calendar application, wherein the configuration file for performing interface conversion of the calendar application obtained through the first stage is shown in Table 4.

[0293]

[0294] Among them, the device for parsing the conversion scheme between interfaces corresponding to the conversion object can determine, based on the content of Table 4, that the exit animation in the exit scene is a 20-pixel displacement from left to right and a gradual transition of 2s, that the entry animation in the entry scene is a 20-pixel displacement from right to left and a gradual transition of 2s, that the shared element is the year in the shared scene, and that during the interface conversion process, the year element presents an effect of shaking from left to right with a shaking amplitude of 2 pixels.

[0295] Phase 3: Execution

[0296] The stage three mainly refers to the equipment used to execute the inter-interface conversion scheme corresponding to the conversion object. According to the inter-interface conversion scheme corresponding to the conversion object, when the conversion object performs inter-interface conversion, the conversion effect configured in the inter-interface conversion scheme is displayed.

[0297] The internal logic framework of the execution phase described in the embodiments of the present application can be specifically referred to in Figure 19 shown.

[0298] For example, in the embodiment of the present application, when the user starts the conversion, the platform-side device starts the conversion with one click according to the various parameters in the inter-interface conversion scheme corresponding to the conversion object previously parsed and obtained, and displays the effect of the conversion object in converting between interfaces.

[0299] Specifically, in the embodiment of the present application, the platform-side device performs different animation effects on different elements at different times according to the parameters.

[0300] Through the detailed introduction of the one-mirror-bottom frame in the embodiment of the present application, a method for converting between interfaces is provided for the application side device using the one-mirror-bottom frame, such as Figure 20 The specific steps are as follows:

[0301] Phase 1: Configuration phase:

[0302] S2000: The application-side device determines the interface type according to the interface configuration instruction triggered by the user.

[0303] Among them, the interface type in the embodiment of the present application includes a first interface, at least one transition interface and a second interface, and the transition interface refers to the intermediate connection interface from the first interface to the second interface.

[0304] It can be understood that in the embodiment of the present application, the first interface is the exit interface, the second interface is the entry interface, and the transition interface is the sharing interface.

[0305] S2001: The application-side device determines the containers and / or elements included in each interface according to the element configuration instruction triggered by the user.

[0306] Among them, in the embodiments of the present application, containers and / or elements can be set based on different interfaces.

[0307] For example, in the exit interface, at least one container and / or element is set as an exit element, and at least one container and / or element is set as a shared element; in the entry interface, at least one container and / or element is set as an entry element, and at least one container and / or element is set as a shared element.

[0308] Among them, in an optional manner in the embodiment of the present application, the shared element in the exit interface is the same as the shared element in the entry interface.

[0309] Specifically, the application-side device determines the first element and the second element in the first interface, and determines the second element and the third element in the second interface according to the element configuration instruction triggered by the user, wherein the transition interface includes the second element.

[0310] It is understandable that in the embodiment of the present application, the first element is an exit element, the second element is a shared element, and the third element is an entry element. In another optional embodiment of the present application, the shared element in the exit interface is partially similar to the shared element in the entry interface.

[0311] Specifically, the application side device determines the first element and the second element in the first interface, and determines the third element and the fourth element in the second interface according to the element configuration instruction triggered by the user; the electronic device determines that the second element in the transition interface gradually changes to the third element according to the element configuration instruction triggered by the user; wherein the second element is partially identical to the third element.

[0312] It can be understood that, assuming that the second element in the first interface is element 2, and the third element in the second interface is element 3, element 2 is partially similar to element 3.

[0313] S2002: The application-side device determines the animations to be executed by the interface, container, and / or element during the process of switching from the first interface to the second interface according to the animation configuration instruction triggered by the user.

[0314] Specifically, in the embodiment of the present application, different animation effects can be specified for different interfaces.

[0315] In addition, different animation effects can be specified for containers and / or elements in the interface.

[0316] In the embodiment of this application, a variety of dynamic effect capabilities are provided for integrated use by applications. Among them, the dynamic effects in the embodiment of this application can be used alone or in combination, and the application can be implemented by itself.

[0317] Among them, the application-side device described in the embodiment of the present application can obtain the inter-interface conversion solution corresponding to the conversion object through the above-mentioned configuration operation. For the specific implementation, please refer to the description of the configuration module on the AAR side.

[0318] S2003: After the application-side device completes configuration, it can directly call the inter-interface conversion solution corresponding to the conversion object to start the inter-interface conversion effect.

[0319] Furthermore, in an embodiment of the present application, after the application-side device completes configuration of the inter-interface transition scheme corresponding to the transition object, the application-side device may integrate the inter-interface transition scheme. In other words, the application-side device encapsulates and stores the inter-interface transition scheme corresponding to the transition object, so that when the transition object is subsequently subjected to an inter-interface transition, the inter-interface transition effect of the transition object is directly triggered to start.

[0320] It should be noted that the above configuration steps do not constitute a limitation on the embodiments of the present application. When the interface conversion method described in the embodiments of the present application is used to configure the interface conversion scheme, the execution steps can be flexibly adjusted according to the actual situation. For example, when configuring the interface conversion scheme, the embodiment of the present application can also consider the scene type corresponding to the conversion interface. In this way, a more fitting, more standardized and more effective interface conversion scheme can be designed in combination with the scene type. Among them, in the embodiments of the present application, the scene type of the conversion can be determined as one of Activity, ViewGroup and Fragment. It should be noted that the type of conversion described in the embodiments of the present application is not limited to the above three types and can be further expanded.

[0321] Phase 3: Execution phase:

[0322] S2004: After the application-side device detects a first operation performed by the user on the electronic device, it displays a first interface; the first interface includes a first element and a second element.

[0323] S2005: After the application-side device detects a second operation performed by the user on the first interface, it displays at least one transition interface and then displays the second interface.

[0324] In an optional manner of the embodiment of the present application, the second interface includes the second element and the third element; and the transition interface includes the second element.

[0325] In another optional embodiment of the present application, the second interface includes a third element and a fourth element; when the first interface switches to the second interface through the at least one transition interface, the display form of the second element in the transition interface gradually changes to the display form of the third element; wherein, the second element is partially identical to the third element.

[0326] Through the above method, when the electronic device switches from the first interface to the second interface, it is connected through at least one transition interface, and the transition interface contains elements that are the same as or similar to the shared elements in the first interface and the second interface, so that the first interface and the second interface change naturally and have strong coherence during the switching process, and the user visual experience effect is better.

[0327] Among them, the solution for converting between interfaces based on a one-shot interface described in the embodiment of the present application is not limited by the conversion type or the usage scenario. For example, it can be used within an application, between applications, and between the system and applications; it is also applicable to different screen scenarios, such as full screen, split screen and projection scenarios.

[0328] Furthermore, there are multiple one-shot conversion effects described in the embodiments of the present application, which can be specifically divided into the following application examples according to the display of shared elements.

[0329] Application example 1: The transition interface contains elements that exist in both the first interface and the second interface.

[0330] Below, based on different conversion types such as Activity conversion type, ViewGroup conversion type and Fragment conversion type, the solution for converting between interfaces based on a one-shot effect provided in the embodiment of the present application is introduced with examples.

[0331] Conversion type 1: Fragment conversion type.

[0332] Among them, the embodiments of the present application are based on the fragment transition type, and the scheme for transitioning between interfaces can also be divided into multiple situations such as transition between applications, transition within applications, and transition from desktop to application, which are specifically not limited to the following:

[0333] Case 1: In-app conversion:

[0334] like Figure 21 As shown, the embodiment of the present application takes a call application as an example and provides an example of the effect of in-application conversion between at least two Fragments.

[0335] Among them, the embodiment of the present application can set corresponding IDs for the answer key and the hang-up key in the answer button, and determine the usage status of the call application according to the answer or hang-up instruction triggered by the user.

[0336] For example, as shown in Table 5, the configuration files applied in the embodiments of the present application are as follows:

[0337]

[0338] Among them, assuming that when switching between interfaces, the exit interface and entry interface of the call application are as follows: Figure 21 As shown, according to the exit interface of the call application, it can be known that the exit interface includes an answer key icon and a hang up key icon.

[0339] When the call application starts the interface transition scheme, during the process of switching from the exit interface to the entry interface, if the user triggers an answer instruction, the answer key is a shared element.

[0340] According to Table 5, when the answer button icon is a shared element, it rotates 270 degrees counterclockwise, moves to the right, and changes color during the transition. When the exit element is the hang-up button icon, a fade-out effect is applied during the interface transition. When the entry element is the hands-free icon and keyboard icon, a fade-in effect is applied during the interface transition.

[0341] It should be noted that in the embodiment of the present application, the answer button serves as a shared element. After executing the conversion effect, its appearance is similar to the hang-up button as an exit element, but it is a different icon from the hang-up button as an exit element in the cut-out interface.

[0342] Therefore, a rotating animation effect is presented during the interface conversion process.

[0343] Case 2: Inter-application conversion:

[0344] The following takes the example of a user using a call application and needing to switch to a text message application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0345] Assume that when a user configures a transition between the call app and the messaging app, they use the answer button in the call app as a shared element so that it persists during the transition.

[0346] For example, Figure 22 As shown in the figure, when the user clicks the SMS button in the call interface, the call application and the SMS application interface are switched. After the call application jumps to the SMS application, the answer button of the call application continues to exist, and the answer button performs a zoom-in effect, and a bubble window appears, showing the SMS editing interface for SMS editing. After completing the SMS editing, click the answer button, and the answer button performs a rotation and shrinking effect, and the call interface is displayed.

[0347] Case 3: Desktop to application conversion:

[0348] The following takes the example of a user needing to switch from an application desktop to a call application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0349] Assume that when a user configures a transition scheme between the application desktop and the call application interface, the user uses the answer button in the call application as a shared element so that it persists during the transition process.

[0350] For example, Figure 23 As shown, when the user clicks the call application icon on the application desktop, a transition is triggered between the application desktop and the call application interface. During the transition to the call application, the answer button, a shared element, remains present and performs a smooth downward movement effect before the call application interface is displayed.

[0351] Conversion type 2: Activity conversion type.

[0352] Among them, the embodiments of the present application are based on the Activity transition type, and the scheme for transitioning between interfaces can also be divided into multiple situations such as transition between applications, transition within applications, and transition from desktop to application, and are specifically not limited to the following:

[0353] Case 1: In-app conversion:

[0354] like Figure 24 As shown, the embodiment of the present application takes the book application in the application market as an example to provide a first example of the effect of the interface transition between at least two activities. For example, as shown in Table 6, the configuration file of the book application in the application market in the embodiment of the present application is as follows:

[0355]

[0356] Among them, assuming that when switching between interfaces, the exit interface and the entry interface of the book application are as follows Figure 24 As shown, according to the exit interface of the book application, it can be understood that the exit interface includes a title bar, a category icon and at least one book cover.

[0357] According to Table 6, the book cover selected by the user is a shared element and persists when transitioning between interfaces. Exit elements are the title bar, category icons, and other book covers not selected by the user, which have a downward slide effect when transitioning between interfaces. The entry interface of the book application shows that the content summary, rating column, and function icons in the entry interface are all entry elements and have an upward slide effect when transitioning between interfaces.

[0358] Therefore, when the book application starts the interface conversion scheme, such as Figure 24As shown, it is assumed that the book selected by the user is Book 4. Therefore, when the exit interface switches to the entry interface, the exit interface slides down to exit, the icon of Book 4 always exists, and the entry interface slides up to enter.

[0359] like Figure 25 As shown, the embodiment of the present application takes the gallery application in the application market as an example and provides a second example of the effect of the transition between interfaces based on at least two Activities.

[0360] For example, as shown in Table 7, the configuration file of the gallery application in the embodiment of the present application is as follows:

[0361]

[0362] Among them, assuming that when switching between interfaces, the exit interface and entry interface of the gallery application are as follows Figure 25 As shown, according to the exit interface of the gallery application, it can be understood that the exit interface includes a search bar, function icons, and at least one picture.

[0363] Table 7 shows that user-selected images are shared elements and persist across screen transitions. Exit elements, such as search bars, function icons, and other images not selected by the user, trigger a left-move effect when transitioning between screens. The entry screen of the gallery app shows that function icons and other images not selected by the user are entry elements and trigger a center-zoom effect when transitioning between screens.

[0364] Therefore, when the book application starts the transition between the mirror-to-bottom interfaces, Figure 25 As shown, assuming that the picture selected by the user is a flower picture, therefore, in the process of switching from the exit interface to the entry interface, the exit interface moves left and is cut out, the icon of the flower picture always exists, and the entry interface is cut in.

[0365] like Figure 26 As shown, the embodiment of the present application takes a music application as an example and provides three examples of effects based on the transition between interfaces between at least two Activities.

[0366] For example, as shown in Table 8, the configuration file of the music application in the embodiment of the present application is as follows:

[0367]

[0368] Assume that when switching between interfaces, the exit interface and entry interface of the music application are as follows: Figure 26 As shown, according to the Figure 26From the scene shown in , it can be understood that the exit scene includes a category icon, at least one cover and function buttons, etc.

[0369] Table 8 shows that the user-selected cover image is a shared element and persists across screen transitions. When exiting an element to transition between screens, a zoom-out effect is applied. The music app's entry scenario shows that the song list and function icons on the entry screen are all entry elements and, when transitioning between screens, an upward slide-up effect is applied.

[0370] Therefore, when the book application starts a one-shot transition between interfaces, Figure 26 As shown, assuming that the cover selected by the user is the main cover, therefore, in the process of switching from the exit interface to the entry interface, the exit interface is zoomed out, the main cover always exists, and the entry interface is swiped up to enter.

[0371] In order to better achieve the effect of switching between interfaces, in this embodiment, the startup interface of the application can be directly used as the exit scene, for example, Figure 27 As shown, the startup interface of the music application is regarded as the exit scene, and the cover image in the startup interface is used as a shared element. When the user continues to operate the application and enters the specific operation interface of the music application, the main cover always exists.

[0372] Case 2: Inter-application conversion:

[0373] like Figure 28 As shown, the following takes the case where a user needs to switch to a gallery application when using a camera application as an example to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0374] Assume that when a user configures a transition scheme between the camera app and the gallery app, they use the thumbnail button in the camera app as a shared element so that it persists during the transition.

[0375] For example, Figure 28 As shown, when a user taps the thumbnail button in the camera interface, a transition is triggered between the camera app and the gallery app. After the camera app switches to the gallery app, the captured image is displayed. At this point, the thumbnail button in the camera app remains, the camera interface disappears, and the image in the gallery appears. After tapping the thumbnail button in the gallery interface, the thumbnail button remains.

[0376] Case 3: Desktop to application conversion:

[0377] The following takes the example of a user needing to switch from an application desktop to a music application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0378] Assume that when the user configures the transition scheme between the photo application desktop and the music application interface, the musical note element in the music application icon is used as a shared element, which persists during the transition process.

[0379] For example, Figure 29 As shown in the figure, when the user clicks the music application icon on the application desktop, the interface transition between the application desktop and the music application is triggered. In the process of jumping to the music application on the application desktop, the musical note as a shared element always exists, and the musical note performs a smooth downward movement effect, and then the music application interface is displayed.

[0380] Conversion type three: ViewGroup conversion type.

[0381] Among them, the embodiment of the present application is based on the ViewGroup conversion type, and the solution for converting between interfaces can also be divided into multiple situations such as inter-application conversion, intra-application conversion, and desktop-to-application conversion, which are specifically not limited to the following:

[0382] Case 1: In-app conversion:

[0383] like Figure 30 As shown, the embodiment of the present application takes a calendar application as an example and provides a first example of the effect of transition between interfaces based on at least two ViewGroups.

[0384] For example, as shown in Table 9, the configuration file of the calendar application in the embodiment of the present application is as follows.

[0385]

[0386] Assume that when switching between interfaces, the exit interface and entry interface of the music application are as follows: Figure 30 As shown, according to the content of Table 9 above, it can be determined that the exit animation in the exit interface is a 20-pixel displacement from left to right and a 2s gradient animation, and the entry animation in the entry interface is a 20-pixel displacement from right to left and a 2s gradient animation, and that when shared elements are transitioning between interfaces, the shared elements will shake from left to right with a 2-pixel amplitude.

[0387] Therefore, when the calendar application starts switching between interfaces, such as Figure 30 As shown, assuming that the user clicks the icon of month 8 in the interface a of the calendar application, the icon of month 8 is determined to be a shared element. During the interface conversion process, the icon of month 8 always exists.

[0388] Case 2: Inter-application conversion:

[0389] like Figure 31 As shown, the following takes the case where a user needs to switch to a camera application when using a shopping application as an example to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0390] Assume that when a user configures a transition between the interfaces of a shopping app and a camera app, the user uses the camera button in the shopping app as a shared element, which persists during the transition.

[0391] For example, Figure 31 As shown in the figure, when a user clicks the photo button in the shopping interface, a transition is triggered between the shopping app and the camera app. During the transition from the shopping app to the camera app, the photo button of the camera app remains, the shopping interface gradually disappears, and the camera interface gradually appears.

[0392] Case 3: Desktop to application conversion:

[0393] The following takes the example of a user needing to switch from the application desktop to the calendar application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0394] Assume that when a user configures a transition scheme between the application desktop and the calendar application interface, the user uses the date element in the calendar application icon as a shared element, which persists during the transition process.

[0395] For example, Figure 32 As shown, when the user clicks the calendar application icon on the application desktop, the interface transition between the application desktop and the calendar application is triggered. In the process of jumping from the application desktop to the calendar application, the date as a shared element always exists.

[0396] Application example 2: When element 1 in the first interface is switched to the second interface through at least one transition interface, element 1 gradually changes to element 2, wherein the similarity between element 2 and element 1 is higher than the similarity threshold.

[0397] Below, based on different conversion types such as Activity conversion type, ViewGroup conversion type and Fragment conversion type, the solution for converting between interfaces based on a one-shot effect provided in the embodiment of the present application is introduced with examples.

[0398] Conversion type 1: Fragment conversion type.

[0399] Among them, the embodiments of the present application are based on the fragment transition type, and the scheme for transitioning between interfaces can also be divided into multiple situations such as transition between applications, transition within applications, and transition from desktop to application, which are specifically not limited to the following:

[0400] Case 1: In-app conversion:

[0401] like Figure 33 As shown, the embodiment of the present application takes a call application as an example and provides an example of the effect of in-application conversion between at least two Fragments.

[0402] Among them, the embodiment of the present application can set corresponding IDs for the answer key and the hang-up key in the answer button, and determine the usage status of the call application according to the answer or hang-up instruction triggered by the user.

[0403] For example, Figure 33 As shown, when the call application starts switching between interfaces, during the process of switching from the first interface to the second interface, if the user triggers an answer instruction, the answer button is a shared element.

[0404] That is, the transition interface when the first interface switches to the second interface contains the shared element, wherein the shared element is represented as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 is greater than the similarity threshold.

[0405] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 33 It can be seen that in the process of element 1 gradually turning into element 2, the content represented is that the phone is gradually answered, which enriches the fun and brings a more vivid interface switching experience to users.

[0406] In addition, the exit elements in the first interface gradually fade away, for example, the hang-up button icon of the exit element, and a fade-out animation effect is performed when the interface switches. The entry elements in the second interface gradually appear, for example, the hands-free icon and keyboard icon of the entry elements, and a fade-in animation effect is performed when the interface switches.

[0407] Case 2: Inter-application conversion:

[0408] The following takes the example of a user using a call application and needing to switch to a text message application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0409] Assume that when a user configures a transition between the call app and the messaging app, they use the answer button in the call app as a shared element so that it persists during the transition.

[0410] For example, Figure 34 As shown, when the user clicks the SMS button in the call interface, the call application and the SMS application are switched between the interfaces. That is, the call interface can be understood as the first interface, and the SMS application interface can be understood as the second interface.

[0411] The shared element is expressed as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 is higher than the similarity threshold.

[0412] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 34 It can be seen that in the process of element 1 gradually turning into element 2, the content represented is that the phone is gradually answered, which enriches the fun and brings a more vivid interface switching experience to users.

[0413] In addition, the exit element in the first interface gradually fades away, for example, the hang-up button icon of the exit element performs a fade-out animation when switching interfaces. The entry element in the second interface gradually appears, for example, the SMS editing interface represented by the bubble window gradually appears for SMS editing.

[0414] Case 3: Desktop to application conversion:

[0415] The following takes the example of a user needing to switch from an application desktop to a call application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0416] Assume that when a user configures a transition scheme between the application desktop and the call application interface, the user uses the answer button in the call application as a shared element so that it persists during the transition process.

[0417] For example, Figure 35 As shown, when a user clicks the call application icon on the application desktop, a transition is triggered between the application desktop and the call application interface. Specifically, the application desktop interface can be understood as the first interface, and the call application interface can be understood as the second interface. The shared element is represented as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 exceeds the similarity threshold.

[0418] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 35 It can be seen that in the process of element 1 gradually turning into element 2, the content shown is that the phone is gradually picked up and a smooth downward movement effect is performed, which enriches the fun and brings a more vivid interface switching experience to users.

[0419] In addition, the exit elements in the first interface gradually fade away, for example, the icons of other applications of the exit elements, when switching interfaces, perform a fade-out animation. The entry elements in the second interface gradually appear, and the call application interface is obtained.

[0420] Conversion type 2: Activity conversion type.

[0421] Among them, the embodiments of the present application are based on the Activity transition type, and the scheme for transitioning between interfaces can also be divided into multiple situations such as transition between applications, transition within applications, and transition from desktop to application, and are specifically not limited to the following:

[0422] Case 1: In-app conversion:

[0423] like Figure 36 As shown, the embodiment of the present application takes the book application in the application market as an example and provides an example of the effect of the interface transition between at least two Activities.

[0424] For example, Figure 36 As shown, when the music application activates a one-shot transition, the cover image selected by the user is used as a shared element during the transition from the first interface to the second interface. For example, the cover image selected by the user is used as the main cover image. In other words, the shared element is included in the transition interface between the first interface and the second interface.

[0425] The shared element is expressed as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 is higher than the similarity threshold.

[0426] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 36 It can be seen that in the process of element 1 gradually turning into element 2, the performance content is the singer gradually raising the microphone in his hand, which enriches the fun and brings a more vivid interface switching experience to users.

[0427] In addition, exit elements in the first interface perform zoom-out animation, such as exit element category icons, at least one cover, and function buttons, which perform zoom-out animation when switching interfaces. Enter elements in the second interface perform upward sliding effect to gradually appear, such as entering element song lists and function icons, which gradually appear when switching interfaces.

[0428] Case 2: Inter-application conversion:

[0429] like Figure 37As shown, the following takes the case where a user needs to switch to a gallery application when using a camera application as an example to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0430] Assume that when a user configures a transition scheme between the camera app and the gallery app, they use the thumbnail button in the camera app as a shared element so that it persists during the transition.

[0431] For example, Figure 37 As shown, when a user clicks a thumbnail icon in the camera app, the interface transition between the camera app and the gallery app is triggered. That is, the camera app can be understood as the first interface, and the gallery app interface can be understood as the second interface. The shared element is represented as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 exceeds the similarity threshold.

[0432] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 37 It can be seen that in the process of element 1 gradually becoming element 2, the content displayed is the gradual display of the picture from local to global, which enriches the fun and brings a more vivid interface switching experience to users.

[0433] In addition, the exit elements in the first interface gradually fade away, and the entry elements in the second interface gradually appear. For example, after the camera app jumps to the gallery app and displays the photos taken, the thumbnail button of the camera app remains, the photo interface disappears, and the photos in the gallery appear.

[0434] Case 3: Desktop to application conversion:

[0435] The following takes the example of a user needing to switch from an application desktop to a music application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0436] Assume that when a user configures a transition scheme between an application desktop and a music application interface, the user uses the musical note element in the music application icon as a shared element, which persists during the transition process.

[0437] For example, Figure 38 As shown, when a user clicks the music application icon on the application desktop, a transition is triggered between the application desktop and the music application interface. That is, the application desktop interface can be understood as the first interface, and the music application interface can be understood as the second interface. The shared element is represented as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 exceeds the similarity threshold.

[0438] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 38 It can be seen that in the process of element 1 gradually becoming element 2, the performance content is the gradual display of the staff on the music symbols, and the execution of a smooth downward movement effect, which enriches the fun and brings a more vivid interface switching experience to users.

[0439] In addition, the exit elements in the first interface gradually fade away, for example, the icons of other applications of the exit elements, when switching interfaces, perform a fade-out animation. The entry elements in the second interface gradually appear, and the music application interface is obtained.

[0440] Conversion type three: ViewGroup conversion type.

[0441] Among them, the embodiment of the present application is based on the ViewGroup conversion type, and the solution for converting between interfaces can also be divided into multiple situations such as inter-application conversion, intra-application conversion, and desktop-to-application conversion, which are specifically not limited to the following:

[0442] Case 1: In-app conversion:

[0443] like Figure 39 As shown, the embodiment of the present application takes a calendar application as an example and provides a first example of the effect of transition between interfaces based on at least two ViewGroups.

[0444] For example, Figure 39 As shown, when the calendar application starts transitioning between interfaces, the month icon selected by the user is used as a shared element during the process of switching from the first interface to the second interface. For example, if the user selects August, the month icon is used as a shared element. In other words, the shared element is included in the transition interface between the first interface and the second interface.

[0445] The shared element is expressed as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 is higher than the similarity threshold.

[0446] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 39 It can be seen that as element 1 gradually turns into element 2, the circular background of the August icon gradually disappears, which enriches the fun and brings users a more vivid interface switching experience.

[0447] In addition, the exit element in the first interface performs a zoom-out animation, for example, the exit element is released in other months, and when the interface is switched, the zoom-out animation is performed. The entry element in the second interface performs a zoom-out display, for example, the entry element corresponds to the month calendar of August, and when the interface is switched, the zoom-out animation is performed.

[0448] Case 2: Inter-application conversion:

[0449] like Figure 40 As shown, the following takes the case where a user needs to switch to a camera application when using a shopping application as an example to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0450] Assume that when a user configures a transition between the interfaces of a shopping app and a camera app, the user uses the camera button in the shopping app as a shared element, which persists during the transition.

[0451] For example, Figure 40 As shown, when a user clicks the photo icon in the shopping app, a transition is triggered between the shopping app and the camera app. Specifically, the shopping app can be considered the first interface, and the camera app interface can be considered the second interface. The shared element is represented as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 exceeds the similarity threshold.

[0452] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 40 It can be seen that in the process of element 1 gradually turning into element 2, the content expressed is that the camera lens gradually lengthens, which enriches the fun and brings a more vivid interface switching experience to users.

[0453] Among them, when the shopping app jumps to the camera app, the camera app's photo button continues to exist, the shopping interface gradually disappears, and the camera interface gradually appears.

[0454] Case 3: Desktop to application conversion:

[0455] The following takes the example of a user needing to switch from the application desktop to the calendar application to introduce the method for switching between interfaces based on a one-shot effect provided in an embodiment of the present application.

[0456] Assume that when a user configures a scheme for switching between the interface of the photo application desktop and the calendar application, the user uses the date element in the calendar application icon as a shared element, which persists during the switching process.

[0457] For example, Figure 41 As shown, when a user clicks the calendar application icon on the application desktop, a transition is triggered between the application desktop and the calendar application interface. That is, the application desktop interface can be understood as the first interface, and the calendar application interface can be understood as the second interface. The shared element is represented as element 1 in the first interface and as element 2 in the second interface, and the similarity between element 1 and element 2 exceeds the similarity threshold.

[0458] Furthermore, during the switching process from the first interface to the second interface, element 1 gradually changes into the form of element 2, such as Figure 41 It can be seen that in the process of element 1 gradually changing into element 2, the content displayed is that the date element gradually displays a circular background, which enriches the fun and brings a more vivid interface switching experience to users.

[0459] Among them, when the application desktop jumps to the calendar application, the date as a shared element always exists.

[0460] In addition, the one-shot conversion method described in the embodiment of the present application can also be applied to application operations such as split-screen mode and multi-screen collaboration, and is not limited to the following description.

[0461] Mode 1: Split screen mode.

[0462] In daily life, when using smart devices, such as mobile phones, users may need to split the screen for convenience. In order to reduce the visual jitter of the user, increase the fun of the display, and thus enhance the user experience, in the split-screen operation scenario, the application displayed on each screen can still execute the interface transition solution provided by the embodiment of the present application.

[0463] For example, Figure 42 As shown, assume that the phone's display interface is split into two parts, upper and lower. The upper interface displays the Gallery app, and the lower interface displays the Music app. When the user operates the Gallery app in split-screen interface 1, the Gallery app switches accordingly based on the pre-set interface transition scheme. When the user operates the Music app in split-screen interface 2, the Music app switches accordingly based on the pre-set interface transition scheme.

[0464] For example, Figure 43 As shown, assume that the mobile phone's display interface is divided into two layers, with one application's display interface floating above another application's interface. The upper layer displays the Gallery application, while the lower layer displays the Music application. When the user operates the Gallery application in split-screen interface 1, the Gallery application switches accordingly based on the pre-set interface transition scheme. When the user operates the Music application in split-screen interface 2, the Music application switches accordingly based on the pre-set interface transition scheme.

[0465] Preferably, the suspended application interface can be used as a shared element of the underlying application interface, and when the underlying application interface is converted, the suspended application interface always exists.

[0466] It should be noted that in the split-screen mode of the present application, multiple screens can simultaneously perform interface conversion based on the corresponding interface conversion scheme, without being restricted by the conversion type or the usage scenario. For example, it can be based on different conversion types such as Activity conversion type, ViewGroup conversion type, and Fragment conversion type, and can be used within an application, between applications, and between the system and applications. For details, please refer to the embodiments of the present application. Figures 20 to 41 Introduction.

[0467] Mode 2: Multi-screen collaboration mode.

[0468] Sometimes when users are operating an application, they may need to switch screens. For example, when a user is operating a gallery application on a mobile phone, in order to make viewing more convenient, the user may connect the mobile phone to the PC and use multi-screen collaboration to display the application interface in the mobile phone on the PC.

[0469] In an optional embodiment of the present application, when a user performs a multi-screen collaborative operation, such as Figure 44 As shown, the content of the gallery application in the mobile phone display interface is switched to the PC, wherein the entire PC displays the content of the gallery application. In other words, the mobile phone operation is replaced by the PC operation, and the mobile phone display interface is now the same as the PC display interface.

[0470] Another optional method of the embodiment of the present application is to switch only the entry content of the gallery application in the mobile phone display interface to the PC when the user performs multi-screen collaborative operation.

[0471] For example, Figure 45 As shown, the converted content and shared elements are displayed on the PC side, and the mobile side still maintains the exit interface display interface.

[0472] It should be noted that if Figure 45 In the content shown, the shared elements can also continue to be displayed in the display interface of the mobile phone.

[0473] For example, Figure 45 As shown, the PC only displays the transformed entry screen, without the shared elements. The mobile phone displays the shared elements and the exit screen. In other words, the PC only magnifies the entry screen to provide a clearer and more intuitive view. Users can continue to control the image switching on the PC by operating the mobile phone.

[0474] It should be noted that in the multi-screen collaborative mode of the present application, multiple screens can simultaneously perform interface conversion based on the corresponding one-shot effect, without being restricted by the conversion type or the usage scenario. For example, it can be based on different conversion types such as Activity conversion type, ViewGroup conversion type, and Fragment conversion type, and can be used within the application, between applications, and between the system and applications. For details, please refer to the embodiments of the present application. Figures 20 to 34 introduce.

[0475] Through the description of the above embodiments, those skilled in the art will clearly understand that for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working processes of the above-described systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0476] The functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0477] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.

[0478] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A method for converting between interfaces, applied to electronic equipment, characterized in that: The method comprises: After the electronic device detects a first operation performed by the user on the electronic device, the electronic device displays a first interface, where the first interface includes a first element and a second element; After the electronic device detects a second operation performed by the user on the first interface, it displays at least one transition interface and then displays the second interface; Among them, the second interface includes the second element and the third element, the transition interface includes the second element, and in the process of switching from the first interface to the second interface, the second element is displayed in the form of a first animation through the transition interface. The first interface and the second interface are interfaces of different applications.

2. The method according to claim 1, wherein The first animation form is used to obtain the visual effect of moving the second element from a first position in the first interface to a second position in the second interface, wherein the first position is the position of the second element in the first interface, and the second position is the position of the second element in the second interface.

3. The method according to claim 2, wherein During the process of displaying the second element in the first motion effect form, the second element is no longer displayed at the first position in the first interface.

4. The method according to any one of claims 1 to 3, characterized in that In the process of displaying the second element using the first animation form, the display form and / or size of the second element changes.

5. The method according to any one of claims 1 to 3, wherein After the electronic device detects a second operation performed by the user on the first interface, displaying at least one transition interface and then displaying the second interface includes: The first element in the first interface gradually disappears, and the third element in the second interface gradually appears.

6. The method according to any one of claims 1 to 3, wherein The electronic device executes the corresponding animation of the first interface and / or the second interface according to the conversion animation configured for the first interface and / or the second interface during the process of switching from the first interface to the second interface.

7. The method according to any one of claims 1 to 3, wherein The electronic device executes the corresponding animation of the second element according to the conversion animation configured by the second element during the process of switching from the first interface to the second interface.

8. The method according to any one of claims 1 to 3, wherein The first interface includes an application icon of a first application, the second element is an element in the application icon, the first operation is an operation of clicking the application icon, and the second interface is a display interface of the first application.

9. The method according to claim 8, wherein The first interface is the desktop or negative one screen interface of the electronic device.

10. The method according to claim 8, wherein The first application is a music application or a calendar application.

11. A method for converting between interfaces, applied to electronic equipment, characterized in that: The method comprises: After the electronic device detects a first operation performed by the user on the electronic device, the electronic device displays a first interface; the first interface includes a first element and a second element; After the electronic device detects a second operation performed by the user on the first interface, it displays at least one transition interface and then displays the second interface; Among them, the second interface includes a third element and a fourth element. In the process of switching from the first interface to the second interface, the second element is displayed in a first motion effect form through the transition interface. The first motion effect form includes the display form of the second element gradually changing into the display form of the third element. The first interface and the second interface are interfaces of different applications.

12. The method according to claim 11, wherein The second element is identical to a portion of the third element.

13. The method according to claim 11 or 12, wherein: The first animation form is used to obtain the visual effect of moving the second element from a first position in the first interface to a second position in the second interface, wherein the first position is the position of the second element in the first interface, and the second position is the position of the second element in the second interface.

14. The method according to claim 13, wherein During the process of displaying the second element in the first motion effect form, the second element is no longer displayed at the first position in the first interface.

15. The method according to claim 11 or 12, wherein: After the electronic device detects a second operation performed by the user on the first interface, displaying at least one transition interface and then displaying the second interface includes: The first element in the first interface gradually disappears, the fourth element in the second interface gradually appears, and the second element in the transition interface gradually becomes the third element.

16. The method according to claim 11 or 12, wherein: The electronic device executes the corresponding animation of the first interface and / or the second interface according to the conversion animation configured for the first interface and / or the second interface during the process of switching from the first interface to the second interface.

17. The method according to claim 11 or 12, wherein: The electronic device executes the corresponding animation of the second element according to the conversion animation configured by the second element during the process of switching from the first interface to the second interface.

18. The method according to claim 11 or 12, wherein: The first interface includes an application icon of a first application, the second element is an element in the application icon, the first operation is an operation of clicking the application icon, and the second interface is a display interface of the first application.

19. The method according to claim 18, wherein The first interface is the desktop or negative one screen interface of the electronic device.

20. The method of claim 18, wherein: The first application is a call application.

21. An electronic device, characterized in that: include: monitor; one or more processors; one or more memories; The one or more memories store one or more computer programs, and the one or more computer programs include instructions. When the instructions are executed by the one or more processors, the electronic device executes the method according to any one of claims 1 to 20.

22. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a computer program, and when the computer program is run on an electronic device, the electronic device executes the method according to any one of claims 1 to 20.

23. A graphical user interface system on an electronic device, characterized in that: The electronic device has a display, one or more memories, and one or more processors, the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface system includes a graphical user interface displayed when the electronic device executes the method as described in any one of claims 1 to 20.

Citation Information

Patent Citations

  • Method and device for implementing picture folding interactive animation

    CN106775379A