Display content switching method and device, equipment and storage medium

By acquiring the switching operation and determining the historical display content of the second functional interface as the first display content, the user experience problem during switching between functional interfaces is solved, the operation path is simplified, and the user experience is improved.

CN119225566APending Publication Date: 2024-12-31BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310797704.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The prior art has poor user experience when switching between functional interfaces, requiring complex operation paths, affecting efficiency.

Method used

A method of switching display content is provided. By acquiring the switching operation, the first displayed content is determined as the historical display content of the second functional interface, and the content is displayed on the display interface, thereby reducing the user's operational needs on the second functional interface.

Benefits of technology

It simplifies the user's switching process between functional interfaces, reduces the operation path, and improves the user experience, so that users do not need to re-operate on the second functional interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225566A_ABST
    Figure CN119225566A_ABST
Patent Text Reader

Abstract

The invention provides a display content switching method and device, equipment and a storage medium. If the user wants to switch the display interface from the first function interface to the second function interface, the first switching operation can be triggered. After the first switching operation is obtained, the first display content can be determined according to the content historically displayed on the second function interface, and the first display content is displayed on the display interface. Therefore, after switching to the second function interface, the content seen by the user can be not the original content of the second function interface, but can be the first display content determined according to the content historically displayed by the second function interface. Therefore, the user does not need to operate on the second function interface again, the operation path of the user is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a method, device, equipment and storage medium for switching display content. Background Art

[0002] With the development of technology, functional integration is an important trend in software development. Functional integration refers to integrating multiple functions into the same software. For example, instant messaging software can integrate multiple functions such as video conferencing, calendaring, and email in addition to instant messaging. Integrating different functions into the same software can improve user experience.

[0003] In addition, the application program for editing the edited object may also integrate multiple editing functions. Specifically, the application program may include multiple functional modules, each functional module being used to implement different editing functions. When editing a certain edited object, it may be necessary to switch between different functional modules. Summary of the invention

[0004] In order to solve the problems of the prior art, the present application provides a method, apparatus, device and storage medium for switching display content.

[0005] Based on this, the technical solutions provided by this application are as follows:

[0006] In a first aspect, the present application provides a method for switching display content, the method comprising:

[0007] Acquire a first switching operation, where the first switching operation is used to switch a display interface from a first function interface to a second function interface, where the first function interface is used to implement a first editing function, and the second function interface is used to implement a second editing function;

[0008] Determine a first display content, wherein the first target display content is determined according to the historical display content of the second function interface;

[0009] The first display content is displayed on the display interface.

[0010] In some possible implementations, the first functional interface is used to edit a first aspect of a target application, and the second functional interface is used to edit a second aspect of the target application.

[0011] In some possible implementations, the first switching operation is triggered by a first switching control, and the first switching control is a control displayed on the first function interface.

[0012] In some possible implementations, the interface indicated by the first display content is determined based on the second function interface displayed on the display interface at a first moment, the first moment being the moment when the display interface switches from the second function interface to a non-second function interface, and the first moment is earlier than the moment when the first switching operation is acquired.

[0013] In some possible implementations, the multiple interfaces include a management interface and a sub-interface, the management interface is used to manage the edited flowchart page, and the sub-interface is used to edit the flowchart page;

[0014] If the display interface at the first moment is the management interface, the target interface is the content displayed on the management interface;

[0015] If the display interface at the first moment is the sub-interface, the target interface is the content displayed on the sub-interface.

[0016] In some possible implementations, after acquiring the first switching operation, the method further includes:

[0017] The second display content is stored, where the second display content is determined according to the content displayed on the first function interface when the first switching operation is acquired.

[0018] In some possible implementations, the method further includes:

[0019] Acquire a second switching operation, where the second switching operation is used to switch the display interface to the first function interface;

[0020] determining third display content according to the second display content;

[0021] The third display content is displayed.

[0022] In some possible implementations, determining the third display content according to the second display content includes:

[0023] Determine data adjustment information according to the operation acquired within a target time period, where the target time period is a time period from acquiring the first switching operation to acquiring the second switching operation;

[0024] The second display content is adjusted according to the data adjustment information to obtain the third display content.

[0025] In a second aspect, the present application provides a display content switching device, the device comprising: an acquisition unit, used to acquire a first switching operation, the first switching operation is used to switch the display interface from a first functional interface to a second functional interface, the first functional interface is used to implement a first editing function, and the second functional interface is used to implement a second editing function. A determination unit, used to determine a first display content, the first target display content is determined according to the historical display content of the second functional interface. A display unit, used to display the first display content on the display interface.

[0026] In some possible implementations, the first functional interface is used to edit a first aspect of a target application, and the second functional interface is used to edit a second aspect of the target application.

[0027] In some possible implementations, the first switching operation is triggered by a first switching control, and the first switching control is a control displayed on the first function interface.

[0028] In some possible implementations, the interface indicated by the first display content is determined based on the second function interface displayed on the display interface at a first moment, the first moment being the moment when the display interface switches from the second function interface to a non-second function interface, and the first moment is earlier than the moment when the first switching operation is acquired.

[0029] In some possible implementations, the multiple interfaces include a management interface and a sub-interface, the management interface is used to manage the edited flowchart page, and the sub-interface is used to edit the flowchart page. If the display interface at the first moment is the management interface, the target interface is the content displayed by the management interface. If the display interface at the first moment is the sub-interface, the target interface is the content displayed by the sub-interface.

[0030] In some possible implementations, the device further includes a storage unit, and the storage unit is used to store second display content, where the second display content is determined according to content displayed on the first function interface when the first switching operation is acquired.

[0031] In some possible implementations, the acquisition unit is further configured to acquire a second switching operation, where the second switching operation is used to switch the display interface to the first functional interface. The determination unit is further configured to determine a third display content according to the second display content. The display unit is further configured to display the third display content.

[0032] In some possible implementations, the determining unit is specifically configured to determine data adjustment information according to operations acquired within a target time period, where the target time period is a time period from acquiring the first switching operation to acquiring the second switching operation. The second display content is adjusted according to the data adjustment information to obtain the third display content.

[0033] In a third aspect, the present application provides an electronic device, including:

[0034] one or more processors;

[0035] a storage device having one or more programs stored thereon,

[0036] When the one or more programs are executed by the one or more processors, the one or more processors implement any method described in the first aspect.

[0037] In a fourth aspect, the present application provides a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, any method described in the first aspect is implemented.

[0038] In a fifth aspect, the present application provides a computer program product, which, when executed on a device, enables the device to execute the method described in the first aspect.

[0039] It can be seen that this application has the following beneficial effects:

[0040] The embodiments of the present application provide a method, device, equipment and storage medium for switching display content. If a user wants to switch the display interface from a first functional interface to a second functional interface, a first switching operation can be triggered. After acquiring the first switching operation, the first display content can be determined based on the content displayed historically on the second functional interface, and the first display content can be displayed on the display interface. Therefore, after switching to the second functional interface, the content seen by the user may not be the original content of the second functional interface, but may be the first display content determined based on the content displayed historically on the second functional interface. In other words, when switching from one functional interface to another functional interface, the content displayed on the switched functional interface is not the original content of the functional interface, but the display content determined based on the historical display of the functional interface. In this way, the user does not need to operate on the second functional interface again, which reduces the user's operation path and improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 A flowchart of a method for switching display content provided in an embodiment of the present application;

[0043] Figure 2-a A schematic diagram of an exemplary application scenario provided for an embodiment of the present application;

[0044] Figure 2-b A schematic diagram of another exemplary application scenario provided for an embodiment of the present application;

[0045] Figure 3 A schematic diagram of the structure of a display content switching device provided in an embodiment of the present application;

[0046] Figure 4 A schematic diagram of the basic structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be construed as being limited to the embodiments described herein. Instead, these embodiments are provided to provide a more thorough and complete understanding of the present application. It should be understood that the drawings and embodiments of the present application are only for exemplary purposes and are not intended to limit the scope of protection of the present application.

[0048] It should be understood that the various steps described in the method implementation of the present application can be performed in different orders and / or performed in parallel. In addition, the method implementation may include additional steps and / or omit the steps shown. The scope of the present application is not limited in this respect.

[0049] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0050] It should be noted that the concepts such as "first" and "second" mentioned in this application are only used to distinguish different objects, devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0051] It should be noted that the modifications of "one" and "plurality" mentioned in the present application are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0052] For software with multiple editing functions, users may need to switch between different functional modules when editing an edited object. Accordingly, different functional modules may correspond to different functional interfaces. However, the current switching method has a poor user experience.

[0053] For example. In the application editing scenario, users can develop application services within the application platform as a service (aPaaS) platform. The aPaaS platform has low-code or zero-code features. Users can create applications on the aPaaS platform by "dragging, pulling, and dropping" the elements and modules provided by the platform, achieving low-threshold rapid creation of applications. When users use the aPaaS platform to generate applications, they can first build a flowchart related to the application to be produced, so that they can refer to the flowchart for subsequent application production.

[0054] The aPaaS platform can provide functions related to drawing flowcharts. In the process of drawing flowcharts, it is possible to manage a variety of information. To this end, the aPaaS platform can include multiple functional interfaces, and different functional interfaces are used to implement different functions. In the process of drawing or editing flowcharts, it may be necessary to switch between different functional interfaces.

[0055] Drawing and managing flowcharts is one of the important functions of the aPaaS platform. Through the aPaaS platform, users can draw flowcharts and create applications corresponding to the flowcharts through the aPaaS platform. Specifically, users can edit and produce processes related to applications in the aPaaS platform. For example, users can edit the process of application data processing for reference in the subsequent production of applications in the aPaaS platform. The process is usually displayed in the form of a flowchart. Users can edit the required flowchart in the process editing page provided by the aPaaS platform.

[0056] In actual scenarios, the aPaaS platform may have multiple functional interfaces, and different functional interfaces can be used to implement different functions. For example, the aPaaS platform may include a functional interface for managing different flowcharts, a functional interface for editing flowcharts, and a functional interface for managing variable values ​​in flowcharts.

[0057] Accordingly, in the process of using the aPaaS platform, there may be a need to switch between multiple functional interfaces. For example, assuming that a user uses the aPaaS platform to create a corresponding application through a flowchart, the user can draw a flowchart in the functional interface for editing the flowchart. In this functional interface, the user can select the value of the object in the flowchart. Accordingly, if the options of a certain object do not meet the user's needs, the user can switch to the functional interface for managing the variable values ​​in the flowchart, thereby adding options for the objects in the flowchart in the functional interface.

[0058] For example, in some low-code scenarios, users can not only draw flowcharts in the aPaaS platform, but also design the code or pseudocode corresponding to the nodes in the flowchart in the aPaaS platform. Accordingly, after the flowchart is drawn, the user can switch from the functional interface for editing the flowchart to the functional interface for editing the code.

[0059] From the above introduction, it can be seen that in application scenarios such as aPaaS platforms where multiple functional interfaces may exist, there may be a need to switch between multiple functional interfaces.

[0060] A functional interface may include a parent interface and a child interface. Among them, the parent interface may include one or more controls, and the user can control the display of the child interface by triggering the controls on the parent interface. When the user switches to a certain functional interface, the parent interface of the functional interface will be displayed first. However, the parent interface often does not have specific functions, and the user needs to trigger the corresponding operation in the parent interface and enter the child interface to provide specific functions. In addition, switching to a functional interface of other functions may also require returning to the parent interface, and cannot be switched in the child interface. In some possible implementations, the parent interface can be used to implement management functions. Accordingly, the parent interface of a functional interface can also be called the management interface of the functional interface.

[0061] In this way, if the user needs to switch to other functional interfaces when processing the flowchart in a sub-interface, the user first needs to return to the parent interface corresponding to the sub-interface and switch to other functional interfaces through the controls of the parent interface. After entering other functional interfaces, the user first sees the parent interface of the functional interface. If the user wants to use a certain function of the functional interface, he also needs to enter the specific sub-interface of the functional interface.

[0062] For example, suppose that the user needs to adjust the value range of the options in the flowchart during the process of editing the flowchart, then the user first needs to return to the parent interface of the functional interface of editing the flowchart from the sub-interface of the functional interface of editing the flowchart. Then switch from the parent interface of the functional interface of editing the flowchart to the parent interface of the functional interface of adjusting the value range. Then trigger the control on the parent interface of the functional interface of adjusting the value range to enter the sub-interface of the functional interface of adjusting the value range. In this sub-interface, the user can adjust the value range of the options in the flowchart. Then, the user can return to the parent interface of the functional interface of adjusting the value range, switch to the parent interface of the functional interface of editing the flowchart, and finally enter the sub-interface of the functional interface of editing the flowchart to edit the flowchart again. In the above process, the user switched between interfaces a total of 6 times. In actual application scenarios, each interface switch will have a greater impact on the user experience.

[0063] From the above introduction, it can be seen that since each functional interface is relatively independent, it is not convenient for users to switch between different functional interfaces. For example, in the above example, users need a lot of operations to adjust the value range of the option. These complex operations may greatly affect the user experience.

[0064] In order to solve the problems of the prior art, an embodiment of the present application provides a method for switching display content, which is described in detail below in conjunction with the drawings in the specification.

[0065] See also Figure 1 , Figure 1 A flow chart of a method for switching display content provided in an embodiment of the present application is provided, and the embodiment of the present application can be applied to an application scenario where a flowchart is edited. Among them, the method for switching display content can be executed by a display content switching device, and the device can be implemented by software and integrated into the user's client. Among them, the client can be a software client or a web client of aPaaS. If the client is a software client of aPaaS, the client can be integrated into a personal computer (Personal Computer, PC) or a mobile terminal. In some possible implementations, the client can be a module with a flowchart editing function in other software, such as an aPaaS module. The above-mentioned other software can be software with instant messaging function, such as office software. That is, the above-mentioned client can be an aPaaS module in instant messaging software.

[0066] like Figure 1 As shown, the method specifically comprises the following steps:

[0067] S101: Acquire a first switching operation.

[0068] In the process of using the software with flowchart editing, if the user wants to switch from one functional interface to another functional interface, the user can trigger the switching operation. In an embodiment of the present application, if the user wants to switch the display interface from the first functional interface to the second functional interface, the user can trigger the first switching operation.

[0069] The display interface refers to the currently displayed interface, that is, the screen area seen by the user. Optionally, if the user edits the flowchart through the aPaaS platform running on the terminal device, the display interface can be the display area corresponding to the client of the aPaaS platform on the display module of the terminal device. In other words, if the user wants to switch the interface displayed by the aPaaS, the user can trigger the first switching operation.

[0070] In an embodiment of the present application, the first switching operation is used to switch the display interface from the first function interface to the second function interface. The first function interface and the second function interface are function interfaces, and the first function interface and the second function interface are used to implement different functions. For example, the first function interface can be used to implement the first editing function, and the second function interface is used to implement the second editing function.

[0071] Optionally, the first editing function and the second editing function may be editing functions for different aspects of the same edited object. For example, in the application scenario corresponding to the aPaaS platform, the client corresponding to the display interface is used to generate an application based on low code or no code. Accordingly, the first functional interface and the second functional interface may be two interfaces with different editing functions for the same application. For example, the first editing interface may be used to edit the visual page of the target application, and the second editing interface may be used to edit the data model of the target application.

[0072] Optionally, the client may include multiple editing interfaces, which may include the above-mentioned interface for editing the visualization page and the interface for editing the data model, and may also include an interface for editing the processing flow of the target application, an interface for editing the code of the target application, an interface for editing the permissions of the target application, and an interface for viewing the editing log and other related interfaces. In an embodiment of the present application, the first editing interface may be an interface having any of the above functions, and the second editing interface may be an interface having any of the above functions and different from the first editing interface.

[0073] The first function interface and the second function interface are introduced above. The following describes a method for a user to trigger a first switching operation.

[0074] In the embodiment of the present application, the first switching operation is actively triggered by the user after the user has a need to switch the functional interface displayed on the display interface.

[0075] In some possible implementations, the user may trigger the switching operation by issuing a voice command. That is, if the terminal device running the client detects that the user has issued a preset voice, the client may determine that the user has triggered the first switching operation. Optionally, the preset voice may include a voice segment for indicating the second functional interface to indicate that the first switching operation is used to switch the display interface to the second functional interface.

[0076] In some possible implementations, the user may also trigger the switching operation by inputting an instruction. That is, when the display interface needs to be switched to the second operation interface, the user may enter a preset instruction. After obtaining the preset instruction, the client may parse the preset instruction to determine that the user has triggered the first switching operation. Similarly, the preset instruction may include relevant information for indicating the second function interface to indicate that the first switching operation is used to switch the display interface to the second function interface.

[0077] In some other possible implementations, the user may also trigger the switching operation through a control, which is described in detail below.

[0078] Optionally, the display interface may include one or more switching controls. The switching control may be used to trigger a corresponding display operation. When the user wants to switch the display interface to the second functional interface, the user may trigger a preset operation on the switching control. After obtaining the preset operation triggered by the user, it may be determined that the user has triggered the first switching operation. The preset operation may include, but is not limited to, a single-click operation and a double-click operation.

[0079] In order to switch the functional interfaces, different functional interfaces may include a switch control. For example, the first functional interface may include a first switch control, and the second functional interface may include a second switch control.

[0080] In some possible implementations, the positions of the switching control in different functional interfaces may be different. For example, in the first functional interface, the switching control may be located in the upper left corner of the first functional interface. In the second functional interface, the switching control may be located in the upper right corner of the second functional interface.

[0081] In some other possible implementations, the position of the switching control in different functional interfaces may be different. Specifically, a specific display area may be divided in the display interface for displaying the switching control. Accordingly, in each functional interface that can be displayed in the display area, the display control is located at a position corresponding to the above display area.

[0082] For example, if the display interface is the client software corresponding to the aPaaS platform, the sidebar of the client can be used as the display area for the display switching control. The sidebar refers to the edge area of ​​the display interface corresponding to the software, for example, it can include any one or more of the left sidebar, right sidebar, upper sidebar and lower sidebar of the software. Accordingly, when switching the content displayed on the display interface, the content displayed on the sidebar can remain unchanged or only make minor adjustments. In this way, when browsing different functional interfaces, users can trigger the switching operation at the same location, which improves the user experience.

[0083] Optionally, if there are other functional interfaces besides the first functional interface and the second functional interface, the display interface may include multiple switching controls. Among them, each switching control may correspond to a functional interface. Accordingly, when triggering the first switching operation, the user can trigger a preset operation for the switching control corresponding to the second functional interface. In this way, the client can determine that the user needs to switch the display interface to the second functional interface. Optionally, in order to distinguish the switching controls corresponding to different functional interfaces, the icons of different switching controls may be different. For example, the switching control corresponding to the first functional interface may include an icon for indicating the first functional interface. The switching control corresponding to the second functional interface may include an icon for indicating the second functional interface.

[0084] Alternatively, if there are other functional interfaces besides the first functional interface and the second functional interface, the display interface may also include only one switching control. Each time the user triggers the switching control, the functional interface displayed on the display interface is switched once. Moreover, the switched functional interfaces may have a preset order. In other words, each time the user triggers the switching control, the client can switch the functional interface displayed on the display interface to the next functional interface in the preset order. In other words, if the second functional interface is the next functional interface of the first functional interface in the preset order. The user can switch the display of the second functional interface by triggering the switching control once. If the functional interface currently displayed on the display interface is the i-th functional interface in the preset order, and the user wants to switch to the i+n-th functional interface, the user can trigger the operation control n times. Wherein, i and n are both positive integers.

[0085] According to the previous interface, a functional interface may include a management interface and at least one sub-interface. In an embodiment of the present application, a switching operation may be triggered on the management interface, or on the management interface or the sub-interface. Accordingly, if the first switching operation is triggered by a preset control, the preset control may be displayed only on the management interface, or on both the management interface and the sub-interface. In this way, the user can switch to the second functional interface in the management interface of the first functional interface, and can also switch to the second functional interface in the sub-interface of the first functional interface. In this way, it is possible to switch to other functional interfaces without returning to the management interface of the functional interface, which simplifies user operations and improves user experience.

[0086] Below Figure 2-a and Figure 2-b The implementation shown is taken as an example for introduction. Figure 2-a and Figure 2-b This is a schematic diagram of the application scenario provided by this application. For example, when a user edits a flowchart using the aPaaS platform based on a terminal device (such as a computer or mobile phone), the terminal device can display the following Figure 2-a or Figure 2-b The interface shown. This interface can be the interface displayed by the client of the aPaaS platform, corresponding to the display interface described above. Figure 2-a It is the management interface for editing the functional interface of the flowchart. Figure 2-b A sub-interface for editing flowcharts.

[0087] exist Figure 2-a In the illustrated implementation, the display interface 200 displays a management interface for editing a functional interface of a flowchart. Figure 2-a In the embodiment, the display interface 200 includes a switch control display area 210 and a management control display area 220. The switch control display area 210 includes a switch control 211, a switch control 212, and a switch control 213. The management control display area 220 includes a management control 221, a management control 222, a management control 223, and a management control 224.

[0088] Specifically, the switching display control 221 is used to switch the interface displayed by the display interface 220 to a functional interface for editing flowcharts; the switching display control 222 is used to switch the interface displayed by the display interface 220 to a functional interface for adjusting the value range of data; the switching display control 222 is used to switch the interface displayed by the display interface 220 to a functional interface for managing the logs of the aPaaS platform.

[0089] The management control 221 is used to switch the interface displayed by the display interface 220 to the process Figure 1corresponding sub-interface; management control 222 is used to switch the interface displayed on the display interface 220 to the sub-interface corresponding to the flowchart 2; management control 223 is used to switch the interface displayed on the display interface 220 to the process Figure 3 Corresponding sub-interface; management control 224 is used to switch the interface displayed by the display interface 220 to the process Figure 4 The corresponding sub-interface. Among them, the process Figure 1 、Flowchart 2、Process Figure 3 and Process Figure 4 These can be four flow charts managed by the aPaaS platform.

[0090] exist Figure 2-a In the implementation shown, the switch control 211, the switch control 212 and the switch control 213 respectively include prompt information for prompting the user the function of each switch control. Figure 2-a In the implementation shown, since the interface displayed by the display interface 200 is a functional interface for editing a flowchart, the display mode of the switch control 211 is different from the display mode of the switch control 212 and the display mode of the switch control 213. In this way, the user can be prompted that the switch control 211 is in a selected state and the display interface 200 is displaying the functional interface for editing a flowchart.

[0091] If the user wants to switch from the functional interface for editing the flowchart to another interface, the user can trigger the control displayed in the switch control display area 210. For example, if the user wants to adjust the value range of the data, the user can trigger the switch control 212. After the user triggers the switch control 212, the client of the aPaaS platform can obtain the corresponding switch operation, thereby switching the content displayed on the display interface 200 to the interface indicated by the functional control for adjusting the value range of the data.

[0092] Similarly, management controls 221, 222, 223, and 224 also include prompt information, which is used to prompt the user of the function of each management control. Figure 1 To edit, the user can trigger an operation on the management control 221. Accordingly, after obtaining the operation for triggering the management space 221, the display interface 200 can be as follows: Figure 2-b shown.

[0093] exist Figure 2-b In the implementation shown, the display interface 200 displays a sub-interface of the functional interface for editing the flowchart, specifically displaying the sub-interface for editing the flowchart. Figure 1 The sub-interface of Figure 2-b In the illustrated implementation, a switch control display area 210 , a return control 230 , and a flow chart display area 240 are included.

[0094] The return control 230 is used to return to the management interface of the functional interface for editing the flowchart. Figure 1 Other flowcharts (such as Figure 2-a 2, etc.) for editing, the user can trigger the return control 230. After obtaining the operation triggered by the user through the return control 230, the following can be displayed: Figure 2-a The management interface is shown so that users can switch to other flowcharts for editing.

[0095] The flowchart display area 240 is used to display the process Figure 1 In the flowchart display area 240, the user can Figure 1 The specific editing operations will not be described here.

[0096] exist Figure 2-b In the implementation shown, the sub-interface of the functional interface for editing the flowchart also includes a switch control display area 210, so that the user can switch the functional interface displayed on the display interface 200. Figure 1 During the editing process, if the user needs to adjust the value range of the variable in the flow chart, the user can trigger the switching operation through the switching control 212 to switch the content displayed in the display interface to the functional interface for adjusting the value range of the data. In this way, the user can trigger the switching operation in the sub-interface of the functional interface without returning to the management interface of the functional interface to trigger the switching operation, which simplifies the user operation and improves the user experience.

[0097] S102: Determine the first display content.

[0098] After acquiring the first switching operation, the first display content can be determined. The first display content is the relevant content that needs to be displayed on the display interface after switching to the second function interface. In an embodiment of the present application, the first display content is determined based on the historical display content of the second function interface. In this way, after the user switches to the second function interface, the content seen by the user is not the original content of the second function interface, but the display content determined based on the historical display content of the second function interface. In this way, the user does not need to operate the second function interface anymore, which reduces user operations and improves user experience.

[0099] Optionally, the first display content can be determined based on the content displayed on the second function interface when the display interface last displayed the second function interface. That is, when switching from the second function interface to another function interface, the content displayed on the second function interface can be recorded. Accordingly, after switching back to the second function interface, the first display content can be determined based on the recorded content.

[0100] That is to say, if switching the display interface from the second function interface to other function interfaces is called leaving the second function interface, and switching the display interface from other function interfaces to the second function interface is called entering the second function interface, then the first display content can be determined based on the content displayed on the second function interface when the user last left the second function interface.

[0101] In some possible implementations, the first display content can be used to indicate the level corresponding to the second function interface. Among them, the level corresponding to the second function interface refers to the level between the management interface and the sub-interface. After obtaining the first switching operation, it can be determined whether to display the management interface or the sub-interface of the second function interface. In particular, if the second function interface includes sub-interfaces of multiple levels, that is, a certain (or more than one) sub-interface of the second function interface also includes a sub-interface, then the first display content can determine which specific sub-interface is the interface that needs to be displayed.

[0102] For example, assuming that before acquiring the first switching operation, the content last displayed on the second display interface is the management interface of the second function interface, then the first display content can be determined by the management interface of the second function interface. In this way, when switching back to the second function interface, the management interface of the second function interface can be displayed.

[0103] For another example, assume that the second display interface includes a management interface, sub-interface A, sub-interface B, sub-interface A1, and sub-interface A2. Sub-interface A1 and sub-interface A2 are sub-interfaces of sub-interface A. If the last interface displayed on the second display interface before the first switching operation is acquired is sub-interface A1, then the first display content may correspond to sub-interface A1. In this way, when switching back to the second function interface, sub-interface A1 may be displayed.

[0104] When the user leaves the second function interface, the level and / or page content (for example, page identification) of the currently displayed second function interface can be recorded. Accordingly, when the user enters the second function interface, the first display content can be determined according to the recorded level of the second function interface. Moreover, after entering the second function interface, the recorded level of the second function interface can be clearly understood so that the level of the second function interface can be recorded when leaving the second function interface again. In this way, the level at which the second function interface was when the user left the second function interface is the level that will be displayed when the user returns to the second function interface. In this way, the level at which the user left the function interface can be returned without the user having to re-enter the corresponding level from the management interface of the second function interface, which simplifies user operations and improves user experience.

[0105] In some possible implementations, the first display content may include the level of the second function interface, but not the specific content of the second function interface. Accordingly, the operation performed by the user in the non-second function interface can adjust the background data. After obtaining the first switching operation, the specific content displayed by the second function interface can be determined based on the background data. For example, if the user uses the aPaaS platform to edit the flowchart, the above background data can be stored in the background server of the aPaaS platform. The user's operation can modify the background data stored in the background server. After obtaining the first switching operation, the level of the second function interface can be determined based on the first display content, and the specific content displayed by the second function interface at this level can be determined based on the background data.

[0106] In this way, different functional interfaces are connected through the synchronization of background data, so that the user's operation on one functional interface can be synchronously displayed on other functional interfaces.

[0107] Alternatively, in some other possible implementations, in addition to the level of the second functional interface, the first display content may also include specific content displayed on the second functional interface. Accordingly, when the user leaves the second functional interface, the specific content displayed on the second functional interface may be recorded. After the first switching operation is acquired, the first display content may be determined based on the specific content displayed on the recorded second functional interface.

[0108] For example, in some possible implementations, the specific content displayed on the second function interface recorded above can be used as the first display content. In this way, when the user returns to the second function interface, the content displayed on the second function interface matches the content displayed on the second function interface when the user leaves the second function interface, which facilitates the user to continue the operation and reduces the user's sense of disconnection.

[0109] In actual applications, the user's operations in other functional interfaces may affect the content displayed in the second functional interface. For example, if the second functional interface is a functional interface for editing a flowchart, then the operations performed in the functional interface for editing the code may affect the connection relationship between the flowcharts. Accordingly, when determining the first display content, corresponding adjustments can be made according to the operation triggered by the user to ensure that the first display content matches the operation triggered by the user.

[0110] If the content displayed on the second function interface when the user leaves the second function interface is called the second display content, and the time from the user leaving the second function interface to the user entering the second function interface is called the target time period, then the first display content can be determined based on the second display content and the operations obtained within the target time period.

[0111] Specifically, data adjustment information can be determined based on the operation obtained within the target time period, and then the second display content can be adjusted based on the data adjustment information to obtain the first display content. The data adjustment information refers to the relevant information of the content adjusted by the operation in the second display content. For example, if a certain operation triggered by the user within the target time period is used to adjust the information A of the second display content to information B. Then the data adjustment information determined based on the operation may include information B. Accordingly, when determining the first display content, information A in the second display content can be adjusted to information B based on the data adjustment information.

[0112] It should be noted that the above adjustment of the first display content can be performed after the user triggers the first switching operation, or can be performed within the target time period. That is to say, after leaving the second function interface, each time the user triggers an operation that may affect the content displayed on the second function interface, the second display content can be adaptively adjusted. In this way, after obtaining the first switching operation, there is no need to re-determine the second display content.

[0113] It is understandable that when switching from the first functional interface to the second target interface, the display content corresponding to the first functional interface may also be recorded. In an embodiment of the present application, the display content recorded when leaving the first functional interface may be referred to as the third display content. Accordingly, when entering the first functional interface again, the fourth display content may be determined based on the third display content, so that the fourth display content is displayed in the display interface. For an introduction to the third display content, please refer to the second display content above, and for an introduction to the fourth display content, please refer to the third display content above, which will not be repeated here.

[0114] S103: Displaying the first display content on the display interface.

[0115] After the first display content is determined, the first display content can be displayed on the display interface. In this way, since the first display content is determined based on the historically displayed content of the second functional interface, the content displayed on the display interface matches the user's historical operations on the second functional interface.

[0116] In addition, in the second function interface, the user can also trigger a switching operation to switch the display interface from the second function interface to another function interface. For example, if the user triggers a switching operation for switching the display interface to the first function interface, the fourth display content can be determined according to the third display content described above, and the fourth display content can be displayed in the display interface to complete the switching of the display interface.

[0117] The embodiment of the present application provides a method for switching display content. If the user wants to switch the display interface from the first function interface to the second function interface, the first switching operation can be triggered. After the first switching operation is obtained, the first display content can be determined according to the content displayed historically on the second function interface, and the first display content can be displayed on the display interface. Therefore, after switching to the second function interface, the content seen by the user may not be the original content of the second function interface, but may be the first display content determined according to the content displayed historically on the second function interface. In other words, when switching from one function interface to another function interface, the content displayed on the switched function interface is not the default display content of the function interface (for example, the list page interface belonging to the function), but the display content determined according to the historical display of the function interface. In this way, the user does not need to operate on the second function interface again, which reduces the user's operation path and improves the user experience.

[0118] In some application scenarios, the embodiments of the present application can be applied to the scenario of generating applications on the aPaaS platform. Since the generation process of the application needs to complete page content editing, process editing, and data object editing, the three types of editing interfaces often require multiple rounds of adjustments. Therefore, it is necessary to switch between the above three types of editing interfaces repeatedly. Using the solution of this embodiment, when the application developer switches from one type of application editing interface (such as a page content editing page) to another type of application editing interface (such as a process editing page), there is no need to return to another type of application editing list page (such as a process editing list page, which contains thumbnail information of the process editing page of each application), thereby reducing the operating cost of the application developer when jumping between the above three types of editing interfaces when developing a certain application.

[0119] Based on a method for switching display content provided by the above method embodiment, an embodiment of the present application further provides a display content switching device, which will be described below in conjunction with the accompanying drawings.

[0120] See also Figure 3 As shown in FIG. 1 , this figure is a schematic diagram of the structure of a display content switching device provided in an embodiment of the present application. Figure 3 As shown, the display content switching device 300 includes:

[0121] The acquisition unit 310 is used to acquire a first switching operation, wherein the first switching operation is used to switch the display interface from the first functional interface to the second functional interface, wherein the first functional interface is used to implement the first editing function, and the second functional interface is used to implement the second editing function. The determination unit 320 is used to determine a first display content, wherein the first target display content is determined according to the historical display content of the second functional interface. The display unit 330 is used to display the first display content on the display interface.

[0122] In some possible implementations, the first functional interface is used to edit a first aspect of a target application, and the second functional interface is used to edit a second aspect of the target application.

[0123] In some possible implementations, the first switching operation is triggered by a first switching control, and the first switching control is a control displayed on the first function interface.

[0124] In some possible implementations, the interface indicated by the first display content is determined based on the second function interface displayed on the display interface at a first moment, the first moment being the moment when the display interface switches from the second function interface to a non-second function interface, and the first moment is earlier than the moment when the first switching operation is acquired.

[0125] In some possible implementations, the multiple interfaces include a management interface and a sub-interface, the management interface is used to manage the edited flowchart page, and the sub-interface is used to edit the flowchart page. If the display interface at the first moment is the management interface, the target interface is the content displayed by the management interface. If the display interface at the first moment is the sub-interface, the target interface is the content displayed by the sub-interface.

[0126] In some possible implementations, the device further includes a storage unit, and the storage unit is used to store second display content, where the second display content is determined according to content displayed on the first function interface when the first switching operation is acquired.

[0127] In some possible implementations, the acquisition unit 310 is further configured to acquire a second switching operation, where the second switching operation is used to switch the display interface to the first functional interface. The determination unit 320 is further configured to determine a third display content according to the second display content. The display unit 330 is further configured to display the third display content.

[0128] In some possible implementations, the determining unit 320 is specifically configured to determine data adjustment information according to operations acquired within a target time period, where the target time period is a time period from acquiring the first switching operation to acquiring the second switching operation. The second display content is adjusted according to the data adjustment information to obtain the third display content.

[0129] Based on the method for switching display content provided by the above method embodiments, the present application also provides an electronic device, including: one or more processors; a storage device, on which one or more programs are stored, when the one or more programs are executed by the one or more processors, the one or more processors implement the method for switching display content as described in any of the above embodiments.

[0130] Reference below Figure 4 , which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (portable android devices), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs (televisions), desktop computers, etc. Figure 4 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0131] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0132] Typically, the following devices may be connected to the I / O interface 405: input devices 408 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 408 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 409. The communication devices 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0133] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present application are executed.

[0134] The electronic device provided in the embodiment of the present application and the method for switching display content provided in the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0135] Based on a method for switching display content provided in the above method embodiment, an embodiment of the present application provides a computer storage medium on which a computer program is stored, wherein when the program is executed by a processor, the method for switching display content as described in any of the above embodiments is implemented.

[0136] It should be noted that the computer-readable medium mentioned above in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0137] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0138] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0139] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method for switching display content.

[0140] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0141] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0142] The units involved in the embodiments described in this application may be implemented by software or hardware. The name of a unit / module does not limit the unit itself in some cases. For example, a voice data acquisition module may also be described as a "data acquisition module".

[0143] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0144] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0145] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0146] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0147] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0148] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for switching display content, characterized in that: The method comprises: Acquire a first switching operation, where the first switching operation is used to switch a display interface from a first function interface to a second function interface, where the first function interface is used to implement a first editing function, and the second function interface is used to implement a second editing function; Determine a first display content, wherein the first target display content is determined according to the historical display content of the second function interface; The first display content is displayed on the display interface.

2. The method according to claim 1, characterized in that The first functional interface is used to edit a first aspect of a target application, and the second functional interface is used to edit a second aspect of the target application.

3. The method according to claim 1, characterized in that The first switching operation is triggered by a first switching control, and the first switching control is a control displayed on the first function interface.

4. The method according to claim 1, characterized in that: The interface indicated by the first display content is determined based on the second function interface displayed on the display interface at a first moment, the first moment being the moment when the display interface switches from the second function interface to a non-second function interface, and the first moment is earlier than the moment when the first switching operation is acquired.

5. The method according to claim 4, characterized in that The multiple interfaces include a management interface and a sub-interface, the management interface is used to manage the edited flowchart page, and the sub-interface is used to edit the flowchart page; If the display interface at the first moment is the management interface, the target interface is the content displayed on the management interface; If the display interface at the first moment is the sub-interface, the target interface is the content displayed on the sub-interface.

6. The method according to claim 1, characterized in that After acquiring the first switching operation, the method further includes: The second display content is stored, where the second display content is determined according to the content displayed on the first function interface when the first switching operation is acquired.

7. The method according to claim 6, characterized in that The method further comprises: Acquire a second switching operation, where the second switching operation is used to switch the display interface to the first function interface; determining third display content according to the second display content; The third display content is displayed.

8. The method according to claim 7, characterized in that Determining the third display content according to the second display content includes: Determine data adjustment information according to the operation acquired within a target time period, where the target time period is a time period from acquiring the first switching operation to acquiring the second switching operation; The second display content is adjusted according to the data adjustment information to obtain the third display content.

9. A device for switching display content, characterized in that: The device comprises: An acquiring unit, configured to acquire a first switching operation, wherein the first switching operation is configured to switch a display interface from a first functional interface to a second functional interface, wherein the first functional interface is configured to implement a first editing function, and the second functional interface is configured to implement a second editing function; a determining unit, configured to determine a first display content, wherein the first target display content is determined according to the historical display content of the second function interface; A display unit is configured to display the first display content on the display interface.

10. An electronic device, characterized in that: include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 8.

11. A computer readable medium, characterized in that A computer program is stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.