Application processing method and device based on function configuration information

By storing application functional components on the client and using function configuration information for dynamic updates, the problems of complex and inefficient application update processes in the prior art are solved, and efficient application updates are achieved.

CN113778473BActive Publication Date: 2025-02-21BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010523821.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-10
Publication Date
2025-02-21
Estimated Expiration
2040-06-10

AI Technical Summary

Technical Problem

In the prior art, the application update process is complex and the update efficiency is low.

Method used

By storing the functional components of the application on the client side and using functional configuration information to indicate the components to be loaded, dynamic updates of the application are achieved without comprehensive upgrades to the application.

Benefits of technology

Simplifies the application update process and improves update efficiency, so users can obtain the latest features and display types without upgrading the application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113778473B_ABST
    Figure CN113778473B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides an application processing method and device based on function configuration information, the method comprising: a first terminal device sends a configuration instruction to a server, the server updates the function configuration information of a first role in a first scenario corresponding to the application according to the configuration instruction, the function configuration information is used to indicate the function components that the application needs to load for the first role in the first scenario; a client receives a login request for the application input by a user, the login request includes the first scenario and the first role of the user logging into the application, the client sends a request to the server to obtain the function configuration information, receives the function configuration information from the server, and loads the function component according to the function configuration information, and displays the user interface of the first role in the first scenario corresponding to the application. The present application improves the efficiency of application updates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method and device for application processing based on function configuration information. Background Art

[0002] With the continuous development of mobile Internet, various mobile applications (APPs) emerge in an endless stream, and the functions that applications can realize are becoming more and more abundant. For example, an APP has functions for multiple scenarios. If there are multiple roles corresponding to a scenario, the APP also has functions for multiple roles in multiple scenarios.

[0003] At present, if an APP with functions for multiple roles in multiple scenarios needs to be updated, for example, new functions need to be added to existing roles for existing scenarios, or the APP needs to add functions for new scenarios, the original running files of the APP need to be updated to obtain the upgrade files, and then the mobile terminal with the APP installed upgrades the APP according to the upgrade files, and the APP on the mobile terminal is updated.

[0004] In the process of implementing the present application, the applicant discovered that there are at least the following problems in the prior art: the application update process is complicated and the application update efficiency is low. Summary of the invention

[0005] The embodiments of the present application provide an application processing method and device based on function configuration information, which improves the efficiency of application updating.

[0006] In a first aspect, an embodiment of the present application provides an application processing method based on functional configuration information, which is applied to a client, wherein the client stores functional components of an application, and the method comprises: receiving a login request input by a user, wherein the login request includes a first scenario and a first role for the user to log in to the application; sending a first request to a server, wherein the first request is used to request functional configuration information of a first role in a first scenario corresponding to the application, wherein the first functional configuration information is used to indicate functional components that the application needs to load for the first role in the first scenario; receiving first functional configuration information from the server; loading the functional components according to the first functional configuration information, and displaying a user interface of the first role in the first scenario corresponding to the application.

[0007] In this solution, when a user whose role is the first role in the first scenario logs in to the application on the client, the client can obtain the function configuration information of the first role by sending a request to the server to obtain the function configuration information of the first role, and the client loads the function component according to the function configuration information to display the user interface of the first role in the first scenario corresponding to the application. That is, when the function and / or the display type of the function of the first role in the first scenario corresponding to the application needs to be updated, it is only necessary to update the function configuration information, and the function or the display type of the function of the first role in the first scenario corresponding to the application can be updated on the client without upgrading the application, thereby improving the efficiency of application update.

[0008] In a possible implementation, before sending the first request to the server, it also includes: sending a second request to the server, the second request is used to request the first version number of the first function configuration information stored by the server; receiving the first version number from the server; determining that the first version number is higher than the second version number, the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client.

[0009] This possible implementation has the following advantages or beneficial effects: this solution can send the first request to the server only when the first version number is higher than the second version number, which can save signaling overhead.

[0010] In a possible implementation, the first request is also used to request the first version number of the first function configuration information stored by the server; the receiving of the first function configuration information from the server includes: receiving the first function configuration information and the first version number from the server; before loading the functional component according to the first function configuration information and displaying the user interface of the first role in the first scenario corresponding to the application, it also includes: determining that the first version number is higher than the second version number, and the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client.

[0011] This possible implementation has the following advantages or beneficial effects: This solution can save the number of times of sending requests to the server and simplify the application login process.

[0012] In a second aspect, an embodiment of the present application provides an application processing method based on functional configuration information, including: receiving a first request from a client, the first request being used to request functional configuration information of a first role in a first scenario corresponding to an application; the functional configuration information being used to indicate a first functional component that the application needs to load for the first role in the first scenario; and sending the functional configuration information to the client.

[0013] In this solution, after receiving a request from a client for obtaining function configuration information of a first role in a first scenario corresponding to an application, the server sends the function configuration information to the client, so that the client loads the function component in the user interface according to the function configuration information. That is, when the function and / or the display type of the function of the first role in the first scenario corresponding to the application needs to be updated, only the function configuration information needs to be updated, and the function or the display type of the function of the first role in the first scenario corresponding to the application can be updated on the client without upgrading the application, thereby improving the efficiency of application update.

[0014] In a possible implementation manner, the first request is further used to request a version number of the function configuration information; and sending the function configuration information to the client includes: sending the function configuration information and the version number of the function configuration information to the client.

[0015] This possible implementation has the following advantages or beneficial effects: This solution can simplify the application login process.

[0016] In a possible implementation, before receiving the first request from the client, the method further includes: receiving a second request from the client, the second request being used to request a version number of the function configuration information; and sending the version number of the function configuration information to the client.

[0017] This possible implementation has the following advantages or beneficial effects: signaling overhead can be saved.

[0018] In a possible implementation, before sending the function configuration information to the client, the method further includes: receiving a configuration instruction from a first terminal device, where the configuration instruction is used to request updating of the function configuration information; and updating the function configuration information according to the configuration instruction.

[0019] This possible implementation has the following advantages or beneficial effects: when the application needs to update the functions and / or the display type of the functions of the first role in the first scenario corresponding to the application, the first terminal device sends a configuration instruction for updating the function configuration information of the first role to the server, and the server receives the configuration instruction and updates the function configuration information of the first role according to the configuration instruction. In this way, when a subsequent user logs in to the application on the client, the client can obtain the updated function configuration information by sending a request to the server to obtain the updated function configuration information, and load the function component in the user interface according to the updated function configuration information. Without upgrading the application, the function or the display type of the function of the first role in the first scenario corresponding to the application can be updated, thereby improving the efficiency of application updates.

[0020] In a possible implementation, the configuration instruction is specifically used to request adding a first identifier of a first functional component in the functional configuration information; and updating the functional configuration information according to the configuration instruction includes: adding the first identifier in the functional configuration information.

[0021] This possible implementation has the following advantages or beneficial effects: a specific implementation of updating the functional configuration information is provided.

[0022] In a possible implementation, the configuration instruction is specifically used to request that the display type of the first function on the client be updated to a first display type; updating the function configuration information according to the configuration instruction includes: updating the display type associated with the identifier of the first function component in the function configuration information to the first display type, the first function component being the function component into which the first function is encapsulated.

[0023] This possible implementation has the following advantages or beneficial effects: a specific implementation of updating the functional configuration information is provided.

[0024] In a possible implementation, the method further includes: receiving an update instruction for the version number of the function configuration information from the first terminal device; and updating the version number of the function configuration information according to the update instruction.

[0025] This possible implementation has the following advantages or beneficial effects: the server can update the version number of the function configuration information in a timely manner, ensuring that the client can obtain the correct version number of the corresponding function configuration information.

[0026] In a third aspect, an embodiment of the present application provides a method for updating the configuration information of an application, comprising: obtaining a configuration instruction triggered by a user interface, the configuration instruction being used to request an update of functional configuration information of a first role in a first scenario corresponding to the application, the functional configuration information being used to indicate a first functional component that the application needs to load for the first role in the first scenario; and sending the configuration instruction to a server.

[0027] In this solution, when the functions and / or the display types of the functions of the first character in the first scenario corresponding to the application need to be updated, the first terminal device sends a configuration instruction for updating the function configuration information of the first character to the server, so that the server can update the function configuration information of the first character according to the configuration instruction. In this way, when a subsequent user logs in to the application on the client, the client can obtain the updated function configuration information by sending a request to the server to obtain the updated function configuration information, and load the function component in the user interface according to the updated function configuration information. Without upgrading the application, the functions or the display types of the functions of the first character in the first scenario corresponding to the application can be updated, thereby improving the efficiency of application updates.

[0028] In a possible implementation, obtaining the configuration instruction triggered by the user through the user interface includes: displaying a function list corresponding to the first role in the first scenario on the user interface, the function list being used to carry the function configuration information; and triggering the configuration instruction based on an operation on the function list.

[0029] This possible implementation has the following advantages or beneficial effects: a specific implementation of obtaining the configuration instruction triggered by the user through the user interface is provided, and the specific implementation is simple and easy to implement.

[0030] In a possible implementation, the operation on the function list is an operation of adding an identifier of the first function component to the function list; accordingly, the configuration instruction is specifically used to request adding the identifier of the first function component to the function configuration information.

[0031] This possible implementation has the following advantages or beneficial effects: a specific implementation of the operation on the function list is provided.

[0032] In a possible implementation, triggering the configuration instruction based on an operation on the function list includes: obtaining a first operation of a user on a first add icon in the function list, wherein the first add icon is used to trigger adding an identifier of a new function component in the function list; displaying a first component list, wherein the first component list includes identifiers of multiple function components; obtaining a second operation of a user selecting the identifier of the first function component in the first component list; and triggering the configuration instruction based on the second operation.

[0033] This possible implementation has the following advantages or beneficial effects: it provides a specific implementation of triggering a configuration instruction when the operation on the function list is an operation of adding an identifier of a first function component in the function list.

[0034] In a possible implementation, the operation on the function list is an operation of updating the second display type associated with the identifier of the first function component to the first display type, and the first function component is the function component into which the first function is encapsulated; accordingly, the configuration instruction is specifically used to request that the display type of the first function on the client be updated to the first display type.

[0035] This possible implementation has the following advantages or beneficial effects: another specific implementation of the operation on the function list is provided.

[0036] In a possible implementation, after sending the configuration instruction to the server, the method further includes: obtaining an update instruction for the version number of the function configuration information triggered by the user interface; and sending the update instruction for the version number to the server.

[0037] This possible implementation has the following advantages or beneficial effects: the server can update the version number of the function configuration information in a timely manner to ensure that the client can obtain the correct version number of the corresponding function configuration information.

[0038] In a fourth aspect, an embodiment of the present application provides an application processing device based on functional configuration information, the device being applied to a client, the client storing functional components of an application, the device comprising: a processing module for receiving a login request input by a user, the login request comprising a first scenario and a first role for the user to log into the application; a transceiver module for sending a first request to a server, the first request being used to request functional configuration information of a first role in a first scenario corresponding to the application, the first functional configuration information being used to indicate functional components that the application needs to load for the first role in the first scenario; the transceiver module being further used to receive the first functional configuration information from the server; the processing module being further used to load the functional components according to the first functional configuration information, so that the display module of the device displays the user interface of the first role in the first scenario corresponding to the application.

[0039] In a possible implementation, before the transceiver module sends a first request to the server, the transceiver module is also used to: send a second request to the server, the second request is used to request the first version number of the first function configuration information stored by the server; receive the first version number from the server; the processing module is also used to determine that the first version number is higher than the second version number, the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client.

[0040] In a possible implementation, the first request is also used to request the first version number of the first function configuration information stored by the server; the transceiver module is specifically used to: receive the first function configuration information and the first version number from the server; before the processing module loads the functional component according to the first function configuration information so that the display module of the device displays the user interface of the first role in the first scenario corresponding to the application, the processing module is also used to: determine that the first version number is higher than the second version number, and the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client.

[0041] In a fifth aspect, an embodiment of the present application provides an application processing device based on functional configuration information, including: a transceiver module, used to receive a first request from a client, the first request being used to request functional configuration information of a first role in a first scenario corresponding to an application; the functional configuration information being used to indicate a first functional component that the application needs to load for the first role in the first scenario; the transceiver module being further used to send the functional configuration information to the client.

[0042] In a possible implementation manner, the first request is further used to request a version number of the function configuration information; and the transceiver module is specifically used to send the function configuration information and the version number of the function configuration information to the client.

[0043] In a possible implementation, before the transceiver module receives a first request from the client, the transceiver module is further used to: receive a second request from the client, the second request being used to request a version number of the functional configuration information; and send the version number of the functional configuration information to the client.

[0044] In a possible implementation, before the transceiver module sends the function configuration information to the client, the transceiver module is also used to: receive a configuration instruction from the first terminal device, the configuration instruction is used to request to update the function configuration information; and also includes a processing module, the processing module is used to update the function configuration information according to the configuration instruction.

[0045] In a possible implementation manner, the configuration instruction is specifically used to request adding a first identifier of a first functional component in the functional configuration information; and the processing module is specifically used to: add the first identifier to the functional configuration information.

[0046] In a possible implementation, the configuration instruction is specifically used to request that the display type of the first function on the client be updated to a first display type; the processing module is specifically used to: update the display type associated with the identifier of the first functional component in the functional configuration information to the first display type, and the first functional component is the functional component into which the first function is encapsulated.

[0047] In a possible implementation, the transceiver module is further configured to include: receiving an update instruction for the version number of the function configuration information from the first terminal device; and the processing module is further configured to update the version number of the function configuration information according to the update instruction.

[0048] In a sixth aspect, an embodiment of the present application provides a device for updating functional configuration information of an application, comprising: a processing module for obtaining a configuration instruction triggered by a user interface, wherein the configuration instruction is used to request an update of functional configuration information of a first role in a first scenario corresponding to the application, wherein the functional configuration information is used to indicate a first functional component that the application needs to load for the first role in the first scenario; and a transceiver module for sending the configuration instruction to a server.

[0049] In a possible implementation, the processing module is specifically used to: display a function list corresponding to the first role in the first scene on the user interface through the display module of the device, the function list being used to carry the function configuration information; and trigger the configuration instruction based on the operation of the function list.

[0050] In a possible implementation, the operation on the function list is an operation of adding an identifier of the first function component to the function list; accordingly, the configuration instruction is specifically used to request adding the identifier of the first function component to the function configuration information.

[0051] In a possible implementation, the processing module is specifically used to: obtain a first operation of a user on a first add icon in the function list, the first add icon is used to trigger the addition of an identifier of a new function component in the function list; display a first component list through the display module, the first component list includes identifiers of multiple function components; obtain a second operation of a user selecting the identifier of the first function component in the first component list; and trigger the configuration instruction based on the second operation.

[0052] In a possible implementation, the operation on the function list is an operation of updating the second display type associated with the identifier of the first functional component to the first display type, and the first functional component is the functional component in which the first function is encapsulated; accordingly, the configuration instruction is specifically used to request to update the second display type associated with the identifier of the first functional component to the first display type.

[0053] In a possible implementation, after the transceiver module sends the configuration instruction to the server, the processing module is further used to: obtain an update instruction for the version number of the functional configuration information triggered by the user interface; the transceiver module is also used to send an update instruction for the version number to the server.

[0054] In the seventh aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the first aspect and any one of the first aspect, or the method described in the second aspect and any one of the second aspect, or the method described in the third aspect and any one of the third aspect.

[0055] In the eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When the computer execution instructions are executed by a processor, they are used to implement the method described in the first aspect and any one of the first aspect, or the method described in the second aspect and any one of the second aspect, or the method described in the third aspect and any one of the third aspect.

[0056] In this application, when the functions and / or the display types of the functions of the first character in the first scenario corresponding to the application need to be updated, the first terminal device sends a configuration instruction for updating the function configuration information of the first character to the server, so that the server can update the function configuration information of the first character according to the configuration instruction. In this way, when a subsequent user logs in to the application on the client, the client can obtain the updated function configuration information by sending a request to the server to obtain the updated function configuration information, and load the function component in the user interface according to the updated function configuration information. Without upgrading the application, the functions or the display types of the functions of the first character in the first scenario corresponding to the application can be updated, thereby improving the efficiency of application updates. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0058] Figure 1 Update the system architecture diagram for current applications;

[0059] Figure 2 A system architecture diagram provided for an embodiment of the present application;

[0060] Figure 3 A flowchart of a method for updating configuration information of an application provided in an embodiment of the present application;

[0061] Figure 4 Schematic diagram of the user interface changes provided in the embodiment of the present application Figure 1 ;

[0062] Figure 5 Schematic diagram of the user interface changes provided in the embodiment of the present application Figure 2 ;

[0063] Figure 6 Schematic diagram of the user interface changes provided in the embodiment of the present application Figure 3 ;

[0064] Figure 7 A flowchart of an application processing method based on function configuration information provided in an embodiment of the present application;

[0065] Figure 8 A schematic diagram of an application processing device provided in an embodiment of the present application;

[0066] Fig. 9 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0067] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0068] First, the elements involved in this application are described.

[0069] Application functions: refers to the functions that should be realized, such as the clock-in function and the homework correction function of a certain application. It can be understood that an application can realize one or more functions.

[0070] Functional component refers to a functional component obtained by encapsulating a single function of an application. For example, an application has N functions, and N functions are encapsulated to obtain N functional components. Among them, the identifier of the function in the embodiment of the present application is the same as the identifier of the functional component into which the function is encapsulated.

[0071] The application involved in this embodiment is an application with functions for multiple roles in multiple scenarios, and the characteristics of different scenarios are different. For example, school is one scenario, and company is another scenario. Different roles may correspond to each scenario. For example, the roles in the school scenario may include teachers, students, principals, finance, etc. For example, the functions of the teacher role in the school scenario corresponding to the application may include: assigning homework, modifying homework, teaching, etc., and the functions of the student role in the school scenario corresponding to the application may include: clocking in for class, submitting homework, etc. For another example, the roles in the company scenario may include the chairman, general manager, employee, finance, etc. At this time, the application has the functions of multiple roles for the scenario.

[0072] The display types of functions on the client include, but are not limited to: the display type of the function being normally available, the display type of the function being available after an application upgrade, and the display type of the function being unavailable.

[0073] In order to better understand the present application, the existing technical problems are explained below.

[0074] At present, if an APP with functions for multiple roles in multiple scenarios needs to be updated, for example, the existing roles for existing scenarios of the APP need to add new functions, or the APP needs to add functions for new scenarios, or the display type of a certain function of the APP on the client needs to be updated; Figure 1 As shown, the original running file of the APP is updated to obtain the upgrade file, and the obtained upgrade file is stored in the server. The client with the APP installed obtains the upgrade file from the server, and upgrades the APP according to the upgrade file to complete the update of the APP on the client. In other words, the current APP update process is complicated and the update efficiency is low.

[0075] The applicant discovered that if each function of the APP is independently encapsulated into a functional component, and each functional component is stored on the client, the client loads the functional components that meet the current functional requirements or loads the functional components that meet the current functional requirements according to the scenario in which the user logs into the APP and the current functional requirements of the role, then the client can load the functional components that meet the current functional requirements according to the display type that meets the current functional requirements when the APP is updated. However, it is currently impossible to implement the client to load the functional components that meet the current functional requirements or load the functional components that meet the current functional requirements according to the scenario in which the user logs into the APP and the current functional requirements of the role. In order to overcome this technical difficulty, the applicant discovered that a configurable functional configuration information can be set for each role in each scenario, and the functional configuration information is used to indicate the functional components that the application needs to load for the role in the scenario; optionally, the functional configuration information can also be used to indicate the display type of the function of the role in the scenario on the client. In this way, the functional configuration information of the role in the scenario can be configured according to the current functional requirements, and the client can then load the functional components according to the configured functional configuration information. The client can then load the functional components that meet the current functional requirements according to the scenario in which the user logs into the APP and the current functional requirements of the role, or load the functional components that meet the current functional requirements according to the display type that meets the current functional requirements.

[0076] Figure 2 This is a system architecture diagram provided by the embodiment of this application. Figure 2 The system architecture includes: a client, a server and a first terminal device.

[0077] Among them, the first terminal device sends a configuration instruction for updating the functional configuration information of the first role in the first scenario corresponding to the application to the server, and the server updates the functional configuration information of the first role in the first scenario corresponding to the application according to the configuration instruction. When the user logs in to the application on the client, the client sends a first request to the server according to the first scenario and the first role included in the login request, and the first request is used to request the functional configuration information of the first role in the first scenario corresponding to the application. The server sends the functional configuration information to the client, and the client loads the functional components indicated by the functional configuration information in the user interface of the application according to the functional configuration information.

[0078] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0079] The method of the present application includes a method for updating configuration information of an application and a method for processing an application based on function configuration information.

[0080] Figure 3 This is a flowchart of a method for updating configuration information of an application provided in an embodiment of the present application. In the method of this embodiment, each function that can be implemented by the application on the client is independently encapsulated into a functional component, each functional component is stored on the client, and each functional component has a corresponding identifier. Figure 3 As shown, the method of this embodiment may include:

[0081] Step S301: The first terminal device obtains a configuration instruction triggered by a user interface, where the configuration instruction is used to request an update of function configuration information of a first role in a first scenario corresponding to an application, where the function configuration information is used to indicate function components that the application needs to load for the first role in the first scenario.

[0082] The first terminal device in this embodiment is a terminal device having a user interface and capable of communicating with a server.

[0083] When the application needs to be updated, for example, the existing roles of the existing scenes corresponding to the application need to add new functions, or the application needs to add functions of new scenes, or the display type of one or more functions of the application needs to be updated, etc., the user can trigger the configuration instruction through the user interface of the first terminal device. Specifically, the configuration instruction is used to request an update of the function configuration information of the first role in the first scene corresponding to the application, and the function configuration information is used to indicate the function components that the application needs to load for the first role in the first scene. Among them, the first scene is any scene in the existing scenes corresponding to the application or any scene in the newly added scenes, and the first role is any role among the multiple roles of the first scene corresponding to the application. For the sake of clarity of description, the function configuration information of the first role in the first scene corresponding to the application will be referred to as the function configuration information of the first role in the following.

[0084] In one embodiment, the function configuration information of the first role includes an identifier of the first role in the first scenario and an identifier of a function component that the application needs to load for the first role in the first scenario. It is understandable that the function corresponding to the function component that the application needs to load on the client for the first role in the first scenario is the function of the first role in the first scenario corresponding to the application.

[0085] Optionally, the function configuration information of the first role may also include: an identifier of the display type of each function of the first role in the first scenario corresponding to the application on the client, wherein the display type of the function on the client in the function configuration information is associated with the identifier of the functional component into which the function is encapsulated. In this case, the function configuration information of the first role is also used to indicate the display type of each function of the first role in the first scenario corresponding to the application on the client.

[0086] Optionally, the function configuration information of the first role may further include: an identifier of a function environment; in the function configuration information, the function environment is associated with an identifier of a function component into which the function is packaged. The function environment may be a formal use environment or a test environment.

[0087] Optionally, the function configuration information of the first role may further include: an identifier of a state of the function; in the function configuration information, the state of the function is associated with an identifier of a function component into which the function is packaged. The state of the function may be a valid state or an invalid state.

[0088] The following describes a possible implementation manner in which the first terminal device obtains the configuration instruction triggered by the user through the user interface.

[0089] In a possible implementation, obtaining a configuration instruction triggered by a user through a user interface includes the following a1 to a2:

[0090] a1. The first terminal device displays a function list corresponding to the first role in the first scenario on the user interface, where the function list is used to carry function configuration information of the first role.

[0091] In a specific implementation, after the first terminal device receives the function list display instruction input by the user, the function list corresponding to the first character in the first scene is displayed on the user interface.

[0092] Since the function list corresponding to the first role in the first scenario is used to carry the function configuration information of the first role, the function list may include the identifier of the first role in the first scenario and the identifiers of multiple functional components. It may also include at least one of the following: the display type, function environment, and function status of each function of the first role in the first scenario corresponding to the application on the client. Exemplarily, the function list corresponding to the first role in the first scenario displayed on the user interface of the first terminal device may be as shown in Table 1.

[0093] Table 1

[0094]

[0095] Table 1 is an icon for adding a new function component to the function list. The delete icon is used to trigger the identification of deleting a functional component in the function list. In other words, the function list may also include an add icon and a delete icon.

[0096] It is understandable that each role in each scenario corresponding to the application corresponds to a function list. In addition, the first terminal device and the server also store at least one of the following: a function table (also called a function component table), a role table, and a display type table; the user can input a viewing instruction for the above tables through the first terminal device, and the first terminal device displays the corresponding table according to the viewing instruction.

[0097] For example, the function table may be as shown in Table 2:

[0098] Table 2

[0099]

[0100] It can be understood that each function of the application corresponds to a function table, or in other words, each function encapsulated into a functional component corresponds to a functional component table.

[0101] For example, the role table may be as shown in Table 3.

[0102] Table 3

[0103] Role table identification 33 Role Identification BB Role Name Teachers in school Environmental identification 1 Status Identification 1

[0104] It can be understood that each role in each scenario corresponding to the application corresponds to a role table.

[0105] For example, the display type table may be as shown in Table 4:

[0106] Table 4

[0107] Display type table identifier 44 Display type identification 1 Display type name Normal use Environmental identification 1 Status Identification 1

[0108] It can be understood that each display type corresponds to a display type table.

[0109] a2. Trigger configuration instructions based on the user's operation on the function list.

[0110] In an optional manner, the user's operation on the function list may be an operation of adding an identifier of the first function component to the function list. Accordingly, the configuration instruction is specifically used to request adding an identifier of the first function component to the function configuration information. The first function component is a function component into which the first function is encapsulated.

[0111] For this optional manner, in a specific implementation, based on the user's operation on the function list, a configuration instruction is triggered, including the following a21 to a24:

[0112] a21. Obtain the user's first operation on the add icon in the function list, where the add icon is used to trigger an identifier for adding a new function component in the function list.

[0113] a22. Display a component list, which includes identifiers of multiple functional components.

[0114] a23. A second operation of obtaining the identifier of the first functional component in the component list selected by the user.

[0115] a24. Based on the second operation, trigger a configuration instruction.

[0116] Corresponding to this specific implementation, a schematic diagram of a portion of the user interface change corresponding to the configuration instruction triggered based on the user's operation on the function list can be as follows: Figure 4 See Figure 4 A. The user interface of the first terminal device displays a function list corresponding to the first role in the first scene. The user clicks the add icon 401, and the first terminal device obtains the user's first operation on the add icon 401 in the function list. Figure 4 As shown in B, the first terminal device user interface displays a component list. Figure 4 As shown in C, the user selects the identifier ee in the component list, and the first terminal device obtains the second operation of the user selecting the identifier ee in the component list. Figure 4 As shown in D, the function list shows ee and a new add icon 402. After the user clicks the confirm icon, the configuration instruction is triggered, such as Figure 4 E. It is understandable that there may be other operations between the new add icon 402 being displayed in the function list and the user clicking the confirm icon, such as adding a component identifier "ff" based on the same operation as adding the component identifier "ee".

[0117] In another optional manner, the user's operation on the function list may be an operation of deleting the identifier of the first function component in the function list. Accordingly, the configuration instruction is specifically used to request to delete the identifier of the first function component in the function configuration information.

[0118] For this optional method, in a specific implementation, based on the user's operation on the function list, a configuration instruction is triggered, including the following a25-a26:

[0119] a25. Obtain a third operation of the user on the first deletion icon in the function list, where the first deletion icon is used to trigger deletion of an identifier of the first function component in the function list.

[0120] a26. Based on the third operation, trigger the configuration instruction.

[0121] Corresponding to this optional method, a partial user interface change diagram corresponding to the configuration instruction triggered based on the user's operation on the function list can be as follows: Figure 5 As shown, see Figure 5 A, the user interface of the first terminal device displays a function list corresponding to the first role in the first scenario, and the cells corresponding to the identifiers of the function components in the function list display delete icons 501, 502, and 503, the first delete icon 502 corresponds to the function component identifier bb, the user clicks the first delete icon 502, and the first terminal device obtains the user's third operation on the first delete icon 502 in the function list. Then, Figure 5 As shown in B, the function component identifier bb and the content related to the function component identifier bb in the function list are deleted. After the user clicks the OK icon, the configuration instruction is triggered, such as Figure 5 As shown in C.

[0122] In another optional manner, the user's operation on the function list is an operation of updating the second display type associated with the identifier of the first functional component to the first display type. Accordingly, the configuration instruction is specifically used to request that the display type associated with the identifier of the first functional component in the function configuration information of the first role be updated to the first display type.

[0123] For this optional manner, in a specific implementation, based on the user's operation on the function list, a configuration instruction is triggered, including the following a27 to a30:

[0124] a27. Obtain a fourth operation of the user on the first selection icon, where the first selection icon is used to trigger display of a display type list.

[0125] a28. Display the display type list.

[0126] In one embodiment, the display type list may include multiple display types. In another embodiment, the display type list may include identifiers of multiple display types.

[0127] a29. A fifth operation of obtaining a second display type selected by the user from the display type list.

[0128] When the display type list may include identifiers of multiple display types, the fifth operation of obtaining the second display type selected by the user in the display type list includes: a fifth operation of obtaining the identifier of the second display type selected by the user in the display type list.

[0129] a30. Based on the fifth operation, trigger a configuration instruction.

[0130] Corresponding to this optional method, a partial user interface change diagram corresponding to the configuration instruction triggered based on the user's operation on the function list can be as follows: Figure 6 As shown, see Figure 6 A, the user interface of the first terminal device displays a function list corresponding to the first role in the first scenario, and the cells of the display type in the function list display selection icons 601, 602, 603, and the second display type identifier 1 in the function list is associated with the function component identifier bb. The user clicks the first selection icon 602, and the first terminal device obtains the user's operation on the first selection icon 602 in the function list. Then, as Figure 6 As shown in B, the user interface of the first terminal device displays a list of presentation types. Figure 6 As shown in C, the user selects the identifier 0 of the first display type in the display type list, and the first terminal device obtains the operation of the user selecting the identifier of the first display type in the display type list. Figure 6 As shown in D, the second display type identifier 1 associated with the function component identifier bb in the function list is updated to the first display type identifier 0. After the user clicks the OK icon, the configuration instruction is triggered, such as Figure 6 As shown in E.

[0131] The specific implementation of triggering the configuration instruction based on the user's operation on the function list may be any one of the above-mentioned optional methods, or any combination of the above-mentioned optional methods.

[0132] In another possible implementation, obtaining the configuration instruction triggered by the user through the user interface includes the following b1 to b2:

[0133] b1. The first terminal device displays a role list corresponding to the first function on a user interface, the role list including an identifier of a first functional component into which the first function is packaged and an identifier of a role having the first function, wherein the identifier of the role indicates a certain role in a certain scenario.

[0134] Table 5

[0135]

[0136] Table 2 The add icon is used to trigger the function of adding a new role in the role list. is a delete icon, which is used to trigger the identification of deleting a role in the role list. In other words, the role list may also include an add icon and a delete icon.

[0137] b2. Based on the role list, trigger the configuration instructions

[0138] In an optional manner, the user's operation on the role list may be an operation of adding the identifier of the first role in the first scenario to the role list. Accordingly, the configuration instruction is specifically used to request adding the identifier of the first functional component to the functional configuration information of the first role.

[0139] For this optional method, in a specific implementation, based on the user's operation on the role list, a configuration instruction is triggered, including the following b21 to b24:

[0140] b21. Obtain the user's first operation on the add icon in the role list, where the add icon is used to trigger an identifier for adding a new role in the role list.

[0141] b22. Display a role list, which includes identifiers of multiple roles.

[0142] b23. A second operation of obtaining the identifier of the first role in the first scene in the component list selected by the user.

[0143] b24. Based on the second operation, trigger the configuration instruction.

[0144] In another optional manner, the user's operation on the role list may be an operation of deleting the identifier of the first role in the first scenario from the role list. Accordingly, the configuration instruction is specifically used to request to delete the identifier of the first functional component from the functional configuration information.

[0145] For this optional method, in a specific implementation, based on the user's operation on the role list, a configuration instruction is triggered, including the following b25-b26:

[0146] b25. Obtain a third operation of the user on a first deletion icon in the role list, where the first deletion icon is used to trigger deletion of an identifier of a first role in a first scene in the role list.

[0147] b26. Based on the third operation, trigger the configuration instruction.

[0148] The specific implementation of triggering the configuration instruction based on the user's operation on the role list may be any one of the above optional methods, or any combination of the above optional methods.

[0149] It is understandable that the above exemplary embodiments provide several implementations of obtaining the configuration instruction triggered by the user interface. The implementation of obtaining the configuration instruction triggered by the user interface may also be other implementations, which are not limited in this embodiment.

[0150] Step S302: The first terminal device sends a configuration instruction to the server.

[0151] After the first terminal device obtains the configuration instruction, it sends the configuration instruction to the server.

[0152] Optionally, after sending the configuration instruction to the server, the method may further include: the first terminal device obtains an update instruction of the version number of the function configuration information of the first role, and sends the update instruction of the version number of the function configuration information to the server, so that the server can timely know the updated version number of the function configuration information.

[0153] In a specific implementation, the first terminal device obtains the update instruction of the version number of the function configuration information, including: the first terminal device obtains the operation of the updated version number input by the user through the version table of the function configuration information, triggering the update instruction of the version number of the function configuration information, and the update instruction includes the updated version number of the function configuration information. In one method, the version table can be shown in Table 6:

[0154] Table 6

[0155] Version table identifier 123 Type identification 2 Version Number 111 Environmental identification 1 Status Identification 1

[0156] The types of version tables include: version tables of application functions and version tables of function configuration information. It is understandable that each function corresponds to a version table, and the function version table includes the current version number of the function. Each role in each scene corresponding to the application corresponds to a version table of function configuration information, and the version table of the function configuration information of the first role includes the current version number of the function configuration information of the first role.

[0157] If the version table is a version table of function configuration information, the identifier of the version table may be the same as the identifier of the function list carrying the function configuration information. For example, the identifier of the function list carrying the function configuration information of the first role is 123. After the update of the function configuration information of the first role is triggered based on the function list, the version number in the version table identified as 123 may be updated to obtain the new version number of the function configuration information of the first role.

[0158] Step S303: The server updates the function configuration information of the first role according to the configuration instruction.

[0159] After receiving the configuration instruction, the server updates the function configuration information of the first role according to the configuration instruction.

[0160] For example, when the configuration instruction is specifically used to request to add the identifier of the first functional component to the functional configuration information of the first role, the server updates the functional configuration information of the first role according to the configuration instruction, including: the server adds the identifier of the first functional component to the functional configuration information of the first role according to the configuration instruction. The server adds the identifier of the first functional component to the functional configuration information of the first role according to the configuration instruction, which is equivalent to configuring a new first function for the first role.

[0161] For another example, when the configuration instruction is specifically used to request to delete the identifier of the first functional component in the functional configuration information of the first role, the server updates the functional configuration information of the first role according to the configuration instruction, including: the server deletes the identifier of the first functional component in the functional configuration information of the first role according to the configuration instruction. The server deletes the identifier of the first functional component in the functional configuration information of the first role according to the configuration instruction, which is equivalent to deleting the first function from the existing functions of the first role.

[0162] For another example, when the configuration instruction is specifically used to request that the display type associated with the identifier of the first functional component in the functional configuration information of the first role be updated to the first display type, the server updates the functional configuration information of the first role according to the configuration instruction, including: the server updates the display type associated with the identifier of the first functional component in the functional configuration information of the first role to the first display type according to the configuration instruction. The server updates the display type associated with the identifier of the first functional component in the functional configuration information of the first role to the first display type according to the configuration instruction, which is equivalent to updating the display type of the first function of the first role to the first display type.

[0163] After the first terminal device sends the configuration instruction to the server, the method of this embodiment may also include the first terminal device obtaining an update instruction for the version number of the function configuration information of the first role, and sending the update instruction for the version number of the function configuration information to the server: the server receives the update instruction for the version number of the function configuration information, and updates the version number of the function configuration information according to the update instruction, so as to ensure that the client can obtain the correct version number of the function configuration information of the first role.

[0164] After the first terminal device sends a configuration instruction to the server, it does not include an update instruction for the first terminal device to obtain the version number of the functional configuration information of the first role. When an update instruction for the version number of the functional configuration information is sent to the server, the server updates the functional configuration information of the first role according to the configuration instruction, and it may also include: the server updates the version number of the functional configuration information of the first role.

[0165] In this embodiment, when the function and / or the display type of the function of the first role in the first scenario corresponding to the application needs to be updated, the first terminal device sends a configuration instruction for updating the function configuration information of the first role to the server, and the server updates the function configuration information of the first role according to the configuration instruction. In this way, when a subsequent user logs in to the application on the client, the client can obtain the updated function configuration information by sending a request to the server to obtain the updated function configuration information, and load the function component in the user interface according to the updated function configuration information. Without upgrading the application, the function or the display type of the function of the first role in the first scenario corresponding to the application can be updated, thereby improving the efficiency of application updates.

[0166] The above describes the process of updating the function configuration information of the first role in the first scenario corresponding to the application through a specific embodiment. The following describes the application processing method based on the function configuration information after the function configuration information of the first role in the first scenario corresponding to the application is updated through a specific embodiment. Figure 7 This is a flowchart of an application processing method based on functional configuration information provided in an embodiment of the present application. In this embodiment, each function that can be implemented by the application on the client is independently encapsulated into a functional component, each functional component is stored on the client, and each functional component has a corresponding identifier. Figure 7 , the method of this embodiment includes:

[0167] Step S701: The client receives a login request for an application input by a user, where the login request includes a first scenario and a first role for the user to log in to the application.

[0168] Step S702: The client sends a first request to the server, where the first request is used to request first function configuration information of a first role in a first scenario corresponding to the application, where the first function configuration information is used to indicate function components that the application needs to load for the first role in the first scenario.

[0169] It is understandable that the first function configuration information is the latest function configuration information of the first role in the first scenario stored in the server. That is, if the server updates the function configuration information of the first role in the first scenario according to the configuration instruction sent by the first terminal device, the first function configuration information is the first terminal device.

[0170] Optionally, the first request is also used to request a first version number of the first function configuration information stored in the server. This solution can simplify the application login process.

[0171] Optionally, before the client sends the first request to the server, the method further includes: the client sends a second request to the server, the second request being used to request the first version number of the first function configuration information stored in the server. This solution can save signaling overhead.

[0172] Step S703: The server sends first function configuration information to the client.

[0173] If the first request is also used to request the first version number of the first function configuration information stored by the server, the server sending the first function configuration information to the client includes: the server sending the first function configuration information and the first version number to the client.

[0174] If before the client sends the first request to the server, the process also includes: the client sends a second request to the server, and the second request is used to request the first version number of the first function configuration information stored by the server, then before the server sends the first function configuration information to the client, the process also includes: the server also sends the first version number to the client.

[0175] Step S704: The client loads the functional component indicated by the first functional configuration information according to the first functional configuration information, and displays the user interface of the first role in the first scenario corresponding to the application.

[0176] Among them, if the first request is also used to request the first version number of the first function configuration information stored by the server, or before the client sends the first request to the server, it also includes a second request sent by the client to the server to request the first version number of the first function configuration information stored by the server, then before the client loads the functional component indicated by the first function configuration information in the user interface of the application, it may also include: determining that the first version number is higher than the second version number, and the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client.

[0177] After the client loads the functional component indicated by the first functional configuration information according to the first functional configuration information, the user interface of the first role in the first scene corresponding to the application is displayed. It is understandable that if the application is updated to add new functions in a new scene, each new function in the new scene will also be independently packaged into a functional component and stored in advance in the client, so that when a user whose role is a role in the new scene logs into the application, the client can load the functional component packaged with the new function corresponding to the role in the new scene to display the page of the role in the new scene corresponding to the application.

[0178] In this embodiment, when a user whose role is the first role in the first scenario logs in to the application on the client, the client can obtain the function configuration information of the first role by sending a request to the server to obtain the function configuration information of the first role, and the client loads the function component in the user interface according to the function configuration information. That is, when the function and / or the display type of the function of the first role in the first scenario corresponding to the application needs to be updated, it is only necessary to update the function configuration information, and the function and / or the display type of the function of the first role in the first scenario corresponding to the application can be updated on the client without upgrading the application, thereby improving the efficiency of application update.

[0179] It is understandable that if the function configuration information of the first role in the first scenario has not been updated, the first version number is the same as the second version number. At this time, the corresponding application processing method based on the function configuration information may include: the client receives a login request for the application input by the user, the login request includes the first scenario and the first role of the user logging into the application, the client sends a second request to the server, the server sends the first version number of the first function configuration information to the client, the client determines that the first version number and the second version number are the same, and the client loads the function component indicated by the second function configuration information in the user interface of the application. Alternatively, at this time, the corresponding application processing method based on the function configuration information may include: the client receives a login request for the application input by the user, the login request includes the first scenario and the first role of the user logging into the application, the client sends a first request to the server, the first request is used to request the first function configuration information of the first role in the first scenario; the server sends the first function configuration information to the client, and the client loads the function component indicated by the first function configuration information in the user interface of the application. Alternatively, the corresponding application processing method based on functional configuration information may include: the client receives a login request for an application input by a user, the login request includes a first scenario and a first role for the user to log into the application, the client sends a first request to the server, the first request is used to request the first functional configuration information and the first version number of the first role in the first scenario; the server sends the first functional configuration information and the first version number to the client, the client determines that the first version number and the second version number are the same, the client loads the functional component indicated by the second functional configuration information in the user interface of the application or loads the functional component indicated by the first functional configuration information in the user interface of the application.

[0180] In addition, if the client does not receive the first function configuration information of the first character sent by the server within a preset time after sending the first request to the server, the client can load the preset function components of the application for the first character in the first scenario in the user interface of the application to ensure that the user can use the application.

[0181] The above describes the application processing method based on function configuration information involved in the present application. The following describes the device involved in the present application.

[0182] Figure 8 Schematic diagram of an application processing device provided in an embodiment of the present application. Figure 8 As shown, the device can be a server or a component of a server (e.g., an integrated circuit, a chip, etc.). The device can be a first terminal device or a component of a first terminal device (e.g., an integrated circuit, a chip, etc.). The device can be a client or a component of a client (e.g., an integrated circuit, a chip, etc.). The device includes: a processing module 802 (processing unit). Optionally, it can also include a transceiver module 801 (transceiver unit), a storage module 804 (storage unit) and a display module 803.

[0183] In a first possible implementation, the application processing device is the above-mentioned application processing device based on functional configuration information, which may include a transceiver module 801, a processing module 802 and a display module 803. The application processing device based on functional configuration information is applied to a client, and the client stores functional components of the application.

[0184] The processing module 802 is used to receive a login request input by a user, and the login request includes the first scenario and the first role of the user logging into the application; the transceiver module 801 is used to send a first request to the server, and the first request is used to request the function configuration information of the first role in the first scenario corresponding to the application, and the first function configuration information is used to indicate the function components that the application needs to load for the first role in the first scenario; the transceiver module 801 is also used to receive the first function configuration information from the server; the processing module 802 is also used to load the function components according to the first function configuration information, so that the display module 803 displays the user interface of the first role in the first scenario corresponding to the application.

[0185] Optionally, before the transceiver module 801 sends a first request to the server, the transceiver module 801 is also used to: send a second request to the server, the second request is used to request the first version number of the first function configuration information stored by the server; receive the first version number from the server; the processing module 802 is also used to determine that the first version number is higher than the second version number, the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client.

[0186] Optionally, the first request is also used to request the first version number of the first function configuration information stored by the server; the transceiver module 801 is specifically used to: receive the first function configuration information and the first version number from the server; before the processing module 802 loads the functional component according to the first function configuration information so that the display module 803 displays the user interface of the first role in the first scenario corresponding to the application, the processing module 802 is also used to: determine that the first version number is higher than the second version number, and the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client.

[0187] The device of the first implementation mode can be used to execute the technical solution corresponding to the client in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0188] In a second possible implementation, the application processing device is the above-mentioned application processing device based on function configuration information, and may include a transceiver module 801 and a processing module 802 .

[0189] The transceiver module 801 is used to receive a first request from a client, wherein the first request is used to request functional configuration information of a first role in a first scenario corresponding to an application; the functional configuration information is used to indicate a first functional component that the application needs to load for the first role in the first scenario; the transceiver module 801 is also used to send the functional configuration information to the client.

[0190] Optionally, the first request is also used to request a version number of the function configuration information; the transceiver module 801 is specifically used to: send the function configuration information and the version number of the function configuration information to the client.

[0191] Optionally, before the transceiver module 801 receives a first request from the client, the transceiver module 801 is further used to: receive a second request from the client, the second request being used to request a version number of the function configuration information; and send the version number of the function configuration information to the client.

[0192] Optionally, before the transceiver module 801 sends the function configuration information to the client, the transceiver module 801 is also used to: receive a configuration instruction from the first terminal device, the configuration instruction is used to request to update the function configuration information; and also includes a processing module 802, the processing module 802 is used to update the function configuration information according to the configuration instruction.

[0193] Optionally, the configuration instruction is specifically used to request to add a first identifier of a first functional component in the functional configuration information; and the processing module 802 is specifically used to: add the first identifier to the functional configuration information.

[0194] Optionally, the configuration instruction is specifically used to request that the display type of the first function on the client be updated to a first display type; the processing module 802 is specifically used to: update the display type associated with the identifier of the first functional component in the functional configuration information to the first display type, and the first functional component is the functional component into which the first function is encapsulated.

[0195] Optionally, the transceiver module 801 is further used to include: receiving an update instruction for the version number of the function configuration information from the first terminal device; and the processing module 802 is further used to update the version number of the function configuration information according to the update instruction.

[0196] The device of the second embodiment can be used to execute the technical solution corresponding to the server in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0197] In a third possible implementation, the application processing device is a device for updating the functional configuration information of the above-mentioned application and may include a transceiver module 801 , a processing module 802 and a display module 803 .

[0198] The processing module 802 is used to obtain a configuration instruction triggered by a user interface, wherein the configuration instruction is used to request an update of functional configuration information of a first role in a first scenario corresponding to an application, wherein the functional configuration information is used to indicate a first functional component that the application needs to load for the first role in the first scenario; the transceiver module 801 is used to send the configuration instruction to a server.

[0199] Optionally, the processing module 802 is specifically used to: display a function list corresponding to the first role in the first scene on the user interface through the display module 803 of the device, and the function list is used to carry the function configuration information; based on the operation of the function list, trigger the configuration instruction.

[0200] Optionally, the operation on the function list is an operation of adding an identifier of a first function component to the function list; accordingly, the configuration instruction is specifically used to request adding an identifier of the first function component to the function configuration information.

[0201] Optionally, the processing module 802 is specifically used to: obtain a first operation of a user on a first add icon in the function list, wherein the first add icon is used to trigger the addition of an identifier of a new function component in the function list; display a first component list through the display module 803, wherein the first component list includes identifiers of multiple function components; obtain a second operation of a user selecting the identifier of the first function component in the first component list; and trigger the configuration instruction based on the second operation.

[0202] Optionally, the operation on the function list is an operation of updating the second display type associated with the identifier of the first functional component to the first display type, and the first functional component is the functional component in which the first function is encapsulated; accordingly, the configuration instruction is specifically used to request to update the second display type associated with the identifier of the first functional component to the first display type.

[0203] Optionally, after the transceiver module 801 sends the configuration instruction to the server, the processing module 802 is further used to: obtain an update instruction for the version number of the function configuration information triggered by the user interface; the transceiver module 801 is also used to send an update instruction for the version number to the server.

[0204] The device of the third embodiment can be used to execute the technical solution corresponding to the first terminal device in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.

[0205] Fig. 9 Schematic diagram of an electronic device provided by an embodiment of the present invention. Fig. 9 As shown, the electronic device 900 can be used to implement the method described in the above method embodiment, and please refer to the description in the above method embodiment for details. Among them, the electronic device 900 can be a server or a first terminal device or a client.

[0206] The electronic device 900 may include one or more processors 901, which may also be referred to as a processing unit, and control the execution of the method in the above method embodiment. The processor 901 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and communication data, and the central processing unit may be used to control the communication device, execute the software program, and process the data of the software program.

[0207] Optionally, the processor 901 may also store instructions 903 or data (such as intermediate data). The instructions 903 may be executed by the processor, so that the electronic device 900 executes the method described in the above method embodiment.

[0208] Optionally, the electronic device 900 may include one or more memories 902, on which instructions 904 may be stored. The instructions may be executed on the processor, so that the electronic device 900 executes the method described in the above method embodiment.

[0209] Optionally, data may also be stored in the memory. The processor 901 and the memory 902 may be provided separately or integrated together.

[0210] Optionally, the electronic device 900 may further include a transceiver 905 and / or an antenna 906. The transceiver 905 may be referred to as a transceiver unit, a transceiver, a transceiver circuit, or a transceiver, etc., and is used to implement the transceiver function of the communication device.

[0211] The processor 901 and the transceiver 905 described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit (RFIC), a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and the transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0212] It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0213] It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus random access memory (Direct Rambus RAM, DR RAM).

[0214] An embodiment of the present application further provides a computer storage medium, including: computer executable instructions. When the program or instructions are run on a computer, the method described in any of the above method embodiments is executed.

[0215] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0216] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. An application processing method based on function configuration information, characterized in that: Applied to a client, the client storing functional components of the application, the method comprising: Receiving a login request input by a user, the login request including a first scenario and a first role for the user to log in to the application; Sending a first request to a server, the first request being used to request function configuration information of a first role in a first scenario corresponding to the application, the first request being further used to request a first version number of the first function configuration information stored by the server, the first function configuration information being used to indicate a function component that the application needs to load for the first role in the first scenario; Receiving the first function configuration information and the first version number from a server; Determine that the first version number is higher than a second version number, where the second version number is a version number of the second function configuration information of the first role in the first scenario cached by the client; The functional component is loaded according to the first functional configuration information, and a user interface of the first role in the first scenario corresponding to the application is displayed.

2. The method according to claim 1, characterized in that Before sending the first request to the server, the method further includes: Sending a second request to the server, where the second request is used to request a first version number of the first function configuration information stored by the server; Receiving the first version number sent by the server; It is determined that the first version number is higher than a second version number, where the second version number is a version number of the second function configuration information of the first role in the first scenario cached by the client.

3. An application processing method based on function configuration information, characterized in that: Applicable to servers, including: Receive a first request from a client, the first request being used to request first function configuration information of a first role in a first scenario corresponding to an application, and the first request being further used to request a first version number of the first function configuration information stored in a server; the first function configuration information being used to indicate a first function component that the application needs to load for the first role in the first scenario; the client storing the function components of the application; Send the first function configuration information and the first version number of the first function configuration information to the client, and determine that the first version number is higher than the second version number, wherein the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client, so that the client loads the function component according to the first function configuration information and displays the user interface of the first role in the first scenario corresponding to the application.

4. The method according to claim 3, characterized in that Before receiving the first request from the client, the method further includes: receiving a second request from the client, where the second request is used to request a version number of second function configuration information; Send the version number of the second function configuration information to the client.

5. The method according to claim 3, characterized in that: Before sending the function configuration information to the client, the method further includes: receiving a configuration instruction from a first terminal device, wherein the configuration instruction is used to request updating of the function configuration information; According to the configuration instruction, the function configuration information is updated.

6. The method according to claim 5, characterized in that The configuration instruction is specifically used to request to add a first identifier of a first functional component in the functional configuration information; The updating of the function configuration information according to the configuration instruction includes: Add the first identifier to the function configuration information.

7. The method according to claim 5, characterized in that The configuration instruction is specifically used to request that the display type of the first function on the client be updated to the first display type; The updating of the function configuration information according to the configuration instruction includes: The display type associated with the identifier of the first functional component in the functional configuration information is updated to the first display type, where the first functional component is the functional component into which the first function is encapsulated.

8. The method according to claim 4, characterized in that Also includes: Receiving an update instruction of the version number of the functional configuration information from the first terminal device; According to the update instruction, the version number of the function configuration information is updated.

9. An application processing device based on function configuration information, characterized in that: The device is applied to a client, the client stores functional components of an application, and the device includes: A processing module, configured to receive a login request input by a user, wherein the login request includes a first scenario and a first role for the user to log in to the application; a transceiver module, configured to send a first request to a server, wherein the first request is used to request function configuration information of a first role in a first scenario corresponding to the application, and the first request is also used to request a first version number of the first function configuration information stored by the server, wherein the first function configuration information is used to indicate a function component that the application needs to load for the first role in the first scenario; The transceiver module is further used to receive the first function configuration information and the first version number from the server; The processing module is further used to determine that the first version number is higher than a second version number, where the second version number is a version number of the second function configuration information of the first role in the first scenario cached by the client; The processing module is further configured to load the functional component according to the first functional configuration information, so as to display the user interface of the first role in the first scenario corresponding to the application on the display module of the device.

10. An application processing device based on function configuration information, the device being applied to a server, characterized in that: include: A transceiver module, configured to receive a first request from a client, wherein the first request is used to request first function configuration information of a first role in a first scenario corresponding to an application, and the first request is also used to request a first version number of the first function configuration information stored in a server; the first function configuration information is used to indicate a first function component that the application needs to load for the first role in the first scenario; the client stores the function components of the application; The transceiver module is also used to send the first function configuration information and the first version number of the first function configuration information to the client, and determine that the first version number is higher than the second version number, wherein the second version number is the version number of the second function configuration information of the first role in the first scenario cached by the client, so that the client loads the functional component according to the first function configuration information and displays the user interface of the first role in the first scenario corresponding to the application.

11. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.

Citation Information

Patent Citations

  • Terminal application management method, terminal and server

    CN108415743A

  • Page dynamic generation method and device, computer equipment and storage medium

    CN110297672A