Application updating method and device, electronic device, and storage medium

By obtaining and comparing component configuration information at the application startup and dynamically updating the target functional components, the problem of low application update efficiency is solved and efficient component configuration and update is achieved.

CN114721679BActive Publication Date: 2025-08-19BEIJING DIANJIEZHI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110009092.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-05
Publication Date
2025-08-19
Estimated Expiration
2041-01-05

AI Technical Summary

Technical Problem

In the prior art, applications are inefficient in updating when business functions are changed, and it takes time to redetermine the functions of functional components and modify the code, resulting in low update efficiency.

Method used

When the target application starts, the component configuration information to be updated is obtained, the target functional components are determined through the pre-built component library, and the configuration information to be updated is compared with the current configuration information, and the component configuration processing is performed according to the different configuration information to achieve dynamic updates.

Benefits of technology

Improve the efficiency of application updates, avoid re-issue, improve component processing efficiency, and filter out configuration information that does not meet the version requirements, enhancing the accuracy and efficiency of updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114721679B_ABST
    Figure CN114721679B_ABST
Patent Text Reader

Abstract

The present disclosure provides an application update method and device, an electronic device, and a storage medium, which relate to the field of computer technology. The application update method includes: when the target application is started, obtaining the configuration information of the component to be updated corresponding to the target application; the target application is generated by the server side by packaging and processing multiple target functional components determined from a pre-built component library according to the configuration information of the component to be updated; determining the configuration information to be updated corresponding to the target functional component in the configuration information of the component to be updated, and comparing the configuration information to be updated with the current configuration information of the target functional component to obtain distinguished configuration information; configuring the target functional component according to the distinguished configuration information to obtain an updated target functional component. The technical solution of the embodiment of the present disclosure can realize dynamic configuration and update of components when the business of the target application changes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to an application updating method, an application updating device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the rapid development of Internet technology, more and more Internet-based businesses are emerging, and mobile terminal applications developed based on business needs are becoming increasingly diverse. At the same time, the configuration and update of functional components in applications are becoming increasingly important.

[0003] Currently, in mobile operating systems developed based on the Android platform or mobile operating systems developed by Apple, when the business functions of an application change, it takes time to redefine the functions of the functional components and modify the corresponding codes of the functional components, and release the application version with the updated functional components, which makes the application update less efficient.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention

[0005] The purpose of the embodiments of the present disclosure is to provide an application update method, an application update device, an electronic device, and a computer-readable storage medium, thereby overcoming, at least to a certain extent, the problem that when the business functions of an application are changed, the application update efficiency is low and a version still needs to be released after the update.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.

[0007] According to a first aspect of an embodiment of the present disclosure, an application updating method is provided, comprising: when a target application is started, obtaining configuration information of a component to be updated corresponding to the target application; the target application is generated by a server by packaging and processing a plurality of target functional components determined from a pre-built component library according to the configuration information of the component to be updated; determining the configuration information to be updated corresponding to the target functional component in the configuration information of the component to be updated, and comparing the configuration information to be updated with the current configuration information of the target functional component to obtain distinguishing configuration information; performing configuration processing on the target functional component according to the distinguishing configuration information to obtain an updated target functional component.

[0008] In some example embodiments of the present disclosure, based on the aforementioned scheme, before performing configuration processing on the target functional component according to the distinguishing configuration information, the method further includes: traversing the multiple target functional components according to the component configuration information to be updated and the current configuration information, and determining a component configuration table; determining the dependent functional components of the target functional component according to the component configuration table; and determining the display status of the control corresponding to the target functional component according to the dependent functional component, so as to implement preprocessing of the display status of the control.

[0009] In some example embodiments of the present disclosure, based on the aforementioned scheme, determining the configuration information to be updated corresponding to the target functional component in the component configuration information to be updated also includes: determining the interface configuration information and event configuration information corresponding to the target functional component based on the configuration information to be updated; configuring the interface of the control corresponding to the target functional component according to the interface configuration information; and configuring the event set corresponding to the target functional component according to the event configuration information.

[0010] In some example embodiments of the present disclosure, based on the aforementioned scheme, configuring the event set corresponding to the target functional component according to the event configuration information also includes: determining the control corresponding to the target event in the event set and the identification data corresponding to the control according to the event configuration information, so as to call the target event according to the identification data when the control is triggered, and determine the return result of the target event.

[0011] In some example embodiments of the present disclosure, based on the aforementioned solution, the multiple target functional components are independent of each other, and communication between the multiple target functional components is achieved by routing calls.

[0012] According to the second aspect of an embodiment of the present disclosure, an application updating method is provided, which is applied to a server, and includes: obtaining configuration information of components to be updated corresponding to the application to be updated; determining a set of functional components from a pre-built component library based on the configuration information of components to be updated; the set of functional components includes multiple target functional components; and packaging the set of functional components and the configuration information of components to be updated to generate a target application data packet.

[0013] In some example embodiments of the present disclosure, based on the aforementioned scheme, applied to the server, the component configuration information to be updated of the target application includes identification data, and determining the functional component set from a pre-built component library based on the component configuration information to be updated includes: matching multiple target functional components from the pre-built component library based on the component identification data, so as to construct a functional component set through the multiple target functional components.

[0014] According to a third aspect of an embodiment of the present disclosure, there is provided an application updating apparatus, applied to a client, comprising:

[0015] The module for obtaining configuration information of components to be updated is used to obtain configuration information of components to be updated corresponding to the target application when the target application is started; the target application is generated by the server by packaging multiple target functional components determined from a pre-built component library based on the configuration information of components to be updated;

[0016] a difference configuration information determination module, configured to determine the configuration information to be updated corresponding to the target functional component in the configuration information of the component to be updated, and compare the configuration information to be updated with the current configuration information of the target functional component to obtain difference configuration information;

[0017] The target functional component configuration module is used to perform configuration processing on the target functional component according to the difference configuration information to obtain an updated target functional component.

[0018] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the application updating device further includes a preprocessing module, which is used to traverse the multiple target functional components according to the component configuration information to be updated and the current configuration information, and determine a component configuration table; determine the dependent functional components of the target functional components according to the component configuration table; determine the display status of the control corresponding to the target functional component according to the dependent functional components, so as to realize preprocessing of the display status of the control.

[0019] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the distinguishing configuration information determination module also includes a target functional component configuration unit, and the target functional component configuration unit is used to determine the interface configuration information and event configuration information corresponding to the target functional component based on the configuration information to be updated; configure the interface of the control corresponding to the target functional component according to the interface configuration information; and configure the event set corresponding to the target functional component according to the event configuration information.

[0020] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the application update device also includes a control determination module, which is used to determine the control corresponding to the target event in the event set and the identification data corresponding to the control according to the event configuration information, so as to call the target event according to the identification data when the control is triggered, and determine the return result of the target event.

[0021] In an exemplary embodiment of the present disclosure, based on the aforementioned solution, the application updating device further includes a target functional component communication module, and the target functional component communication module is used to achieve communication between multiple independent target functional components by routing calls.

[0022] According to a fourth aspect of an embodiment of the present disclosure, there is provided an application updating apparatus, which is applied to a server and includes:

[0023] A module for obtaining configuration information of components to be updated, used to obtain configuration information of components to be updated corresponding to the application to be updated;

[0024] A function component set determination module, configured to determine a function component set from a pre-built component library according to the configuration information of the component to be updated; the function component set includes a plurality of target function components;

[0025] The target application data packet generation module is used to package the functional component set and the configuration information of the component to be updated to generate a target application data packet.

[0026] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the functional component set determination module also includes a functional component set construction unit, which is used to match multiple target functional components from a pre-built component library according to the component identification data, so as to construct a functional component set through the multiple target functional components.

[0027] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, any one of the above-described application updating methods is implemented.

[0028] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the application updating method according to any one of the above items is implemented.

[0029] The technical solutions provided by the embodiments of the present disclosure may have the following beneficial effects:

[0030] In the example embodiment of the present disclosure, the application updating method obtains configuration information of the component to be updated corresponding to the target application when the target application is started; the target application is generated by the server by packaging and processing multiple target functional components determined from a pre-built component library based on the configuration information of the component to be updated; the configuration information to be updated corresponding to the target functional component is determined in the configuration information of the component to be updated, and the configuration information to be updated is compared with the current configuration information of the target functional component to obtain distinguishing configuration information; the target functional component is configured according to the distinguishing configuration information to obtain an updated target functional component. On the one hand, according to the configuration information of the components to be updated of the target application after packaging, multiple target functional components corresponding to the target application are determined, and then the multiple target functional components are directly updated based on the differentiated configuration information of the multiple target functional components, so that the target application can be updated, and there is no need to re-release the updated target application, thereby improving the revision efficiency of the target application; on the other hand, according to the configuration information of the components to be updated, a set of functional components is determined from a pre-built component library, thereby avoiding manual componentization of the application and improving the efficiency of dividing the target application according to functional modules to obtain different functional components; on the other hand, by comparing the configuration information to be updated of the target functional component with the current configuration information, the configuration information that does not meet the version requirements and is illegal can be filtered out to obtain effective differentiated configuration information, and then according to the differentiated configuration information, the target functional component is configured and processed, thereby improving the configuration and update efficiency of the target functional component, thereby improving the update efficiency of the target application.

[0031] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort. In the drawings:

[0033] Figure 1 A schematic diagram schematically illustrates an application updating method according to some embodiments of the present disclosure;

[0034] Figure 2 A schematic diagram schematically illustrates preprocessing the display state of a control corresponding to a target functional component according to some embodiments of the present disclosure;

[0035] Figure 3A schematic diagram schematically illustrates a process of configuring a target functional component according to some embodiments of the present disclosure;

[0036] Figure 4 Schematically illustrates a structural diagram of a functional component management module according to some embodiments of the present disclosure;

[0037] Figure 5 A schematic diagram schematically illustrates a process of event set design according to some embodiments of the present disclosure;

[0038] Figure 6 A schematic diagram schematically illustrates a process of generating a target application data packet according to some embodiments of the present disclosure;

[0039] Figure 7 Schematically shows a structural diagram of an application management module according to some embodiments of the present disclosure;

[0040] Figure 8 A schematic diagram schematically illustrates the entire functional component architecture corresponding to an application program according to some embodiments of the present disclosure;

[0041] Figure 9 The following schematically shows a structural diagram of a target application updating device according to some embodiments of the present disclosure;

[0042] Figure 10 Schematically shows a structural diagram of another target application updating device according to some embodiments of the present disclosure;

[0043] Figure 11 A schematic diagram schematically illustrates the structure of a computer system of an electronic device according to some embodiments of the present disclosure;

[0044] Figure 12 A schematic diagram of a computer-readable storage medium according to some embodiments of the present disclosure is schematically shown.

[0045] In the drawings, the same or corresponding reference numerals denote the same or corresponding parts. DETAILED DESCRIPTION

[0046] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art.

[0047] In addition, the described features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, well-known methods, devices, implementations or operations are not shown or described in detail to avoid blurring various aspects of the present disclosure.

[0048] Furthermore, the drawings are schematic illustrations only and are not necessarily drawn to scale. The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. In other words, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0049] In this exemplary embodiment, an application updating method is first provided. The application updating method can be applied to a client, such as a mobile phone, a computer, or other electronic device. Figure 1 The following schematically illustrates a flow chart of an application program update method according to some embodiments of the present disclosure. Figure 1 As shown, the application update method may include the following steps:

[0050] Step S110, when the target application is started, obtaining configuration information of components to be updated corresponding to the target application; the target application is generated by the server by packaging multiple target functional components determined from a pre-built component library according to the configuration information of components to be updated;

[0051] Step S120, determining the configuration information to be updated corresponding to the target functional component in the configuration information to be updated, and comparing the configuration information to be updated with the current configuration information of the target functional component to obtain different configuration information;

[0052] Step S130 : performing configuration processing on the target functional component according to the difference configuration information to obtain an updated target functional component.

[0053] According to the application update method in this example embodiment, on the one hand, based on the configuration information of the components to be updated of the target application after packaging, multiple target functional components corresponding to the target application are determined, and then the multiple target functional components are directly updated based on the differentiated configuration information of the multiple target functional components, so that the target application can be updated, and there is no need to re-release the updated target application, thereby improving the revision efficiency of the target application; on the other hand, based on the configuration information of the components to be updated, a set of functional components is determined from a pre-built component library, thereby avoiding manual componentization of the application and improving the efficiency of dividing the target application into different functional components according to functional modules; on the other hand, by comparing the configuration information to be updated of the target functional component with the current configuration information, configuration information that does not meet the version requirements and is illegal can be filtered out to obtain effective differentiated configuration information, and then based on the differentiated configuration information, the target functional component is configured and processed, thereby improving the configuration and update efficiency of the target functional component and thereby improving the update efficiency of the target application.

[0054] The following further describes the application program updating method in this exemplary embodiment.

[0055] In step S110, when the target application is started, the configuration information of the component to be updated corresponding to the target application is obtained; the target application is generated by the server by packaging multiple target functional components determined from the pre-built component library according to the configuration information of the component to be updated;

[0056] In an example embodiment of the present disclosure, the target application may refer to an application based on the Android system or an application based on IOS (an operating system developed by Apple Inc.), and this example embodiment does not specifically limit this.

[0057] The configuration information of the component to be updated may refer to the configuration information corresponding to the functional component that needs to be updated when the target application is updated. For example, the target application needs to be updated to an application with an add-to-shopping-cart function. The component to be updated may be a functional component with the add-to-shopping-cart function. The configuration information of the component to be updated may be the version information of the functional component with the add-to-shopping-cart function, or the interface configuration information of the functional component with the add-to-shopping-cart function, or the event configuration information of the functional component with the add-to-shopping-cart function, or the version information of the target application. Of course, the configuration information of the component to be configured may be the identification information of multiple functional components in a functional component set, or the version information of multiple functional components, or the interface configuration information and event configuration information of multiple functional components. This embodiment does not specifically limit this.

[0058] A pre-built component library may refer to a component library for storing multiple functional components divided according to the functional requirements of a target application. For example, a pre-built component library may be a component library containing form-type functional components, wherein the form-type functional components may be functional components used to submit user input, record user information, perform form validation, and the like; a pre-built component library may also be a component library containing layout-type functional components, wherein the layout-type functional components may be functional components used to arrange the layout in a style so that other functional components are arranged vertically or horizontally; a pre-built component library may also be a component library containing basic components, wherein the basic components may be components used to display basic elements such as text, images, and hyperlinks; of course, a pre-built component library may also be a component library containing functional components of other advanced functions, which is not specifically limited in this embodiment.

[0059] The target functional component may refer to a functional component that can realize the business function of the target application. For example, when the function of the target application is to record user information, the target functional component may be a form-type functional component for storing user information. When the function of the target application is to display push services, the target functional component may be a functional component for displaying push services. When the function of the target application is electronic transactions, the target functional component may be a functional component for settlement. Of course, the target functional component may also be other functional components, and this embodiment does not specifically limit this.

[0060] When the client starts the target application and detects an update request for the target application, it can obtain the configuration information of the component to be updated of the target application through the server, and send the configuration information of the component to be updated to the controller of the client. The controller verifies and processes the configuration information of the component to be updated according to the preset configuration information rules, parsing rules, and event rules; wherein the controller can refer to a device for parsing configuration information and distributing configuration information.

[0061] In step S120, the configuration information to be updated corresponding to the target functional component is determined in the configuration information of the component to be updated, and the configuration information to be updated is compared with the current configuration information of the target functional component to obtain different configuration information.

[0062] In an example embodiment of the present disclosure, the configuration information to be updated may refer to the configuration information of the target functional component. For example, the configuration information to be updated may be the version information of the target functional component, the interface configuration information of the target functional component, or the event configuration information of the target functional component. Of course, the configuration information to be updated may also refer to other configuration information related to the target functional component, such as the version information of the target application, the identification data of the target functional component, the identification data of the control corresponding to the target functional component, etc. This example embodiment does not specifically limit this. The current configuration information may refer to the configuration information of the target functional component before it is updated.

[0063] The differentiating configuration information may refer to configuration information that is different from the current configuration information of the target functional component. For example, the differentiating configuration information may be interface configuration information that is different from the current interface configuration information of the target functional component, or may refer to event configuration information that is different from the current event configuration information of the target functional component. Of course, the differentiating configuration information may also be other configuration information that is different from the current configuration information corresponding to the target functional component, such as the updated version number of the target functional component, etc. This embodiment does not specifically limit this.

[0064] The configuration information to be updated of the target functional component is determined based on the configuration information of the component to be updated, and then the current configuration information of the target functional component is compared with the configuration information to be updated, and the configuration information that is the same as the target functional component, the configuration information that does not meet the requirements of the updated version corresponding to the target functional component, and the configuration information that does not meet the functional requirements of the target application are filtered out, and the differentiated configuration information is obtained. The target functional component is configured and updated based on the differentiated configuration information.

[0065] In step S130, the target functional component is configured according to the difference configuration information to obtain an updated target functional component.

[0066] In an example embodiment of the present disclosure, configuration processing may refer to configuration processing for implementing the functions of a target functional component. For example, the interface of the target functional component may be configured according to interface change rules, or the mapping relationship between the identification data of an event set and the identification data of a control that triggers the event set may be determined through event configuration information so that when the user clicks or presses the control, the action corresponding to the event set identification data is executed according to the control identification data.

[0067] Preferably, the interface of the target functional component and the corresponding event set can be configured and processed according to the differentiated configuration information to realize the configuration of the target functional component. Similarly, other functional components can be configured and processed according to the differentiated configuration information of other target functional components to realize the update of the target program. Since the differentiated configuration information contains the version information of the target functional component and the version information of the application, in the process of realizing the update of the target program, the client can obtain the updated version information of the target application. Therefore, the server does not need to provide the release information of the target program.

[0068] Figure 2 A schematic diagram schematically illustrates a process of preprocessing the display status of a control corresponding to a target functional component according to some embodiments of the present disclosure.

[0069] refer to Figure 2 As shown, before configuring the target functional component according to the different configuration information, you can Figure 2 The steps in , realize the preprocessing of the display status of the corresponding control of the target functional component:

[0070] In step S210, multiple target functional components are traversed according to the component configuration information to be updated and the current configuration information to determine a component configuration table;

[0071] In step S220, the dependent functional components of the target functional component are determined according to the component configuration table;

[0072] In step S230, the display state of the control corresponding to the target functional component is determined according to the dependent functional component, so as to pre-process the display state of the control.

[0073] The component configuration table may refer to a configuration table that records the dependency relationships between multiple components and the existence status of each component in the target application. The dependent functional component may refer to a functional component that implements the interaction between the dependent functional component and the target functional component. The control corresponding to the target functional component may refer to a button with a selection function.

[0074] Preferably, based on the configuration of the component to be updated and the current configuration information corresponding to multiple target functional components in the target application, the functional component set related to the target application can be traversed to determine the dependent functional components of the target functional component in the functional component set, as well as the corresponding existence status of the dependent functional components of the target functional component. If the dependent functional component of the target functional component exists, the corresponding control of the target functional component is set to a display state; otherwise, the corresponding control of the target functional component is set to a hidden state, thereby realizing preprocessing of the control corresponding to the target functional component.

[0075] For example, in an updated version of an online shopping application, the target functional component to be updated is the Add to Cart component. However, the Add to Cart component was not present in the online shopping application before the update. When the online shopping application before the update is launched, the Scan component will feedback information that the Add to Cart component is not present to the Product List component. Based on the feedback received by the Product List component, the clickable or pressable control corresponding to the Add to Cart component is set to a hidden state, thereby pre-processing the control corresponding to the Add to Cart component. Upon detecting that the configuration information for the Add to Cart component exists in the updated version of the online shopping application, and that the Scan component and the Product List component are operating normally, the clickable or pressable control corresponding to the Add to Cart component can be set to a selectable state, thereby updating the Add to Cart component and facilitating the client's triggering of the control corresponding to the Add to Cart component, adding the selected item to the shopping cart, and then proceeding with checkout.

[0076] Figure 3 A schematic diagram schematically illustrates a process of configuring a target functional component according to some embodiments of the present disclosure;

[0077] refer to Figure 3 As shown, it can be achieved through Figure 3 Steps to configure the target functional components:

[0078] In step S310, based on the configuration information to be updated, the interface configuration information and event configuration information corresponding to the target functional component are determined;

[0079] In step S320, the interface of the control corresponding to the target functional component is configured according to the interface configuration information;

[0080] In step S330, the event set corresponding to the target functional component is configured according to the event configuration information.

[0081] Among them, the interface configuration information may refer to information for configuring the controls corresponding to the target functional component in the graphical user interface. For example, the interface configuration information may be information for configuring the position of the controls corresponding to the target functional component in the graphical interface, or configuration information such as color parameters for rendering the controls corresponding to the target functional component in the graphical interface, or configuration information such as the shape of the controls corresponding to the target functional component displayed in the graphical interface. Of course, the interface configuration information may also refer to other information for configuring the controls corresponding to the target functional component in the graphical user interface, and this embodiment does not specifically limit this. Event configuration information may refer to configuration information for determining the correspondence between the controls corresponding to the target functional component and the event set corresponding to the controls.

[0082] An event set may refer to a set of functions used to implement the functions of a target functional component. For example, an event set may be a function corresponding to a single event, or a set of functions corresponding to multiple interrelated events. This embodiment does not impose any special limitations on this.

[0083] Preferably, all functional components in the application are based on events. Each functional component will hand over the event set corresponding to the functional component to the controller according to the configuration information. The controller parses the configuration information of each target functional component to determine the mapping relationship between the control corresponding to each target functional component and the event set, and then configures the event set corresponding to each target functional component. That is, the functional component and the event set corresponding to the functional component can be updated through the controller, thereby realizing the business function change of the target application.

[0084] Figure 4 The structure diagram of the functional component management module according to some embodiments of the present disclosure is schematically shown.

[0085] refer to Figure 4 As shown, the component configuration management module 400 can mainly include four sub-modules, a component management sub-module 401, a target functional component sub-module 402, an interface configuration information sub-module 403, and an event configuration information sub-module 404; the component management sub-module 401 is used to manage the identification data and version number of the target functional component, as well as the interface configuration information and event configuration information of the target functional component; the target functional component sub-module 402 is used to store the identification data and version number of the target functional component; the interface configuration information sub-module 403 is used to determine the position, size, shape, color, etc. of the control corresponding to the target functional component in the user graphical interface; the event configuration information sub-module 404 is used to determine the identification data of the event set of the control corresponding to the target functional component based on the identification data of the control corresponding to the target functional component.

[0086] The interface configuration information and event configuration information of the target functional component are determined based on the configuration information to be updated of the target functional component. The configuration of the controls corresponding to the target functional component can be realized in the graphical user interface based on the interface configuration information. At the same time, the relationship between the controls corresponding to the target functional component and the event set can be determined based on the event configuration information to realize the configuration of the event set of the target functional component.

[0087] In an exemplary embodiment of the present disclosure, the control corresponding to the target event in the event set and the identification data corresponding to the control can be determined based on the event configuration information, so that when the control is triggered, the target event can be called according to the identification data and the return result of the target event can be determined.

[0088] The target event may refer to an event corresponding to the function of the target functional component. For example, the target event may be an independent event or a collection of multiple events, which is not specifically limited in this embodiment.

[0089] For example, when the control corresponding to the target functional component is Add to Cart, the identification data of the Add to Cart control is 111, and the identification data of the event set corresponding to the control with identification data 111 can be 211. The event set with identification data 211 is {1. Call the Add to Cart interface; 2. Parse the Add to Cart interface and return data; 3. Toast prompt success or failure; 4. Call success or failure callback}; through the event configuration information, it can be determined that the Add to Cart control with identification data 111 has the identification data of the corresponding event set 211, and then according to the triggering operation of the Add to Cart control, call the Add to Cart interface, parse the Add to Cart interface, and return data to realize the function of the Add to Cart functional component.

[0090] Figure 5 A schematic diagram schematically illustrates a process of event set design according to some embodiments of the present disclosure.

[0091] refer to Figure 5 As shown, the design of an event set mainly involves four steps: S501, placing an event into a queue and requesting interface data; S502, parsing the interface data, and determining the page route based on the event list corresponding to the event set, and implementing page jumps; S503, popping up a prompt based on the logic corresponding to the action list of the event set; S504, playing an animation in response to the action in the action list. For example, the event set is an add-to-cart event set, and the action list of this event set includes: "1. Request the add-to-cart interface; 2. Parse the add-to-cart interface; 3. Pop up a prompt message, and further respond to the action on the prompt message." Because there is a unique mapping relationship between the add-to-cart event set and the add-to-cart control, the user can click the add-to-cart control (button) and determine the purchase information of the product based on the prompt information, such as the number of products and specifications, to add the product to the shopping cart.

[0092] According to the event configuration information of the target functional component, the control corresponding to the target functional component and the identification data corresponding to the control can be determined. At the same time, the identification data of the event set corresponding to the control can also be determined. By establishing a corresponding relationship between the control and the event set, the configuration of the event set corresponding to the target functional component can be realized. During the operation of the updated application, the user can click or press the control corresponding to the target functional component. The system will parse and call the target event corresponding to the control, and then execute the action corresponding to the target event, and finally feedback the execution result corresponding to the target event to the client.

[0093] In an exemplary embodiment of the present disclosure, multiple target functional components may be independent of each other, and communication between the multiple target functional components may be achieved through routing calls.

[0094] Among them, functional components are divided according to the business functions of the target application. Each functional component is an independent project. There is no strong coupling between functional components. Problems in one functional component will not affect the functional logic of another functional component. When multiple functional components need to communicate, calls between multiple functional components can be implemented through routing, and then data transmission between multiple functional components can be implemented through routing, thereby improving the running speed of the target application and further improving the user experience.

[0095] In this exemplary embodiment, an application updating method is first provided. The application updating method can be applied to a server. Figure 6 The diagram schematically illustrates a process of generating a target application data packet according to some embodiments of the present disclosure.

[0096] refer to Figure 6 As shown, it can be achieved through Figure 6 Generate the target application data package by following the steps in

[0097] In step S610, configuration information of the component to be updated corresponding to the application to be updated is obtained;

[0098] In step S620, a functional component set is determined from a pre-built component library according to the component configuration information to be updated; the functional component set includes multiple target functional components;

[0099] In step S630, the functional component set and the configuration information of the component to be updated are packaged to generate a target application data packet.

[0100] In step S610, configuration information of the component to be updated corresponding to the application to be updated is obtained.

[0101] Among them, the application to be updated may refer to an application with a requirement to change business functions. For example, the application before the update may be an application without a customer service function component, and the application needs to have a customer service function. Then the application to be updated may be an application with a customer service function component. Of course, the application to be updated may be an application developed based on Android or an application developed based on IOS. This embodiment does not specifically limit this.

[0102] The configuration information of the components to be updated corresponding to the application to be updated can be obtained to determine the functional component set according to the update configuration information, and then the functional component set and the configuration information corresponding to the functional component set can be packaged to generate a target application data package for download by the client.

[0103] In step S620, a functional component set is determined from a pre-built component library according to the component configuration information to be updated; the functional component set includes a plurality of target functional components.

[0104] Among them, the functional component set can refer to a component set composed of different components. For example, the functional component set can be a component set containing one functional component, or a component set composed of multiple different functional components. This embodiment does not make any special restrictions on this.

[0105] A functional component set can be selected from a pre-built component library based on the component configuration information to be updated. There is no need to build functional components that implement the functions of the target application one by one according to the target application, which improves the generation rate of the functional component set corresponding to the target application.

[0106] In step S630, the functional component set and the configuration information of the component to be updated are packaged to generate a target application data packet.

[0107] Among them, the target application data packet may refer to an application data packet that contains a set of functional components for implementing the target application and configuration information of the set of functional components. For example, the target application data packet may be an application data packet applicable to the Android operating system, or an application package applicable to the Apple operating system. Of course, the target application data packet may also be an application package applicable to other operating systems, and this embodiment does not specifically limit this.

[0108] Preferably, the configuration information of the target application can be obtained, and a set of functional components that can realize the business functions of the target application can be selected from the pre-built component library based on the configuration information. Then, the configuration information and the set of functional components of the target application can be packaged to generate a target application data packet.

[0109] In an exemplary embodiment of the present disclosure, after obtaining the configuration information of the component to be updated corresponding to the application to be updated, multiple target functional components can be matched from a pre-built component library according to the component identification data in the configuration information of the component to be updated, so as to construct a functional component set through the multiple target functional components.

[0110] Among them, the component identification data can be identification data for distinguishing different components according to business needs when building a component library. For example, the component identification data can be the number of the component in the component library, or the abbreviation corresponding to the name of the component in the component library, or the English abbreviation corresponding to the name of the component. Of course, the component identification data can also be other identification data used to distinguish different components, and this embodiment does not make any special limitations on this.

[0111] The functional components in the pre-built component library can be identified, and then a corresponding relationship between the unique identification data of each functional component and the configuration information of each functional component can be established; thus, according to the component identification data in the component configuration information to be updated, multiple target functional components that realize the business functions of the target application can be matched from the pre-built component library, avoiding the manual determination of the functions of the functional components according to the business function requirements of the target application, and then componentizing the target application, thereby improving the efficiency of dividing the target application according to functional modules to obtain different functional components.

[0112] Preferably, the identification data of each application, the version number corresponding to each application, the functional component set corresponding to each version of the application, and the version number corresponding to the functional component can be recorded, and each application and the functional component set corresponding to different versions of the application can be managed in a tree form; for example, different applications are distinguished according to the identification data of each application, and each application is used as a first-level leaf node, and according to the version number corresponding to each application, the version number of the application with the same identification data is used as a second-level leaf node, and at the same time, the functional component set corresponding to the application with different version numbers but the same identification data is used as a third-level leaf node; by dividing the application, the version number of the application, the functional component set corresponding to the application, etc. into layers, effective management of the application version number, the functional component version number, the functional component set information corresponding to the application, and the configuration information of the functional component can be achieved.

[0113] Figure 7 The figure schematically shows a structural diagram of an application management module according to some embodiments of the present disclosure.

[0114] refer to Figure 7As shown, the application management module 700 mainly includes three submodules, an application management submodule 701, an application submodule 702, and an application functional component collection submodule 703; the application management submodule 701 is used to manage the version number and functional component configuration information of the application, the application submodule 702 is used to record the identification data of the application, and the application functional component collection submodule 703 is used to record the functional component collection that can realize the business functions of the application and the version number of the functional component. For example, the version information and identification data of the target application to be updated can be determined based on the configuration information of the component to be updated. The identification data of the target application is 1, and the target application has two versions, one is version 1.0.0 and the other is version 2.0.0. Among them, the target application of version 1.0.0 is a trial version, and the target application of version 2.0.0 is an updated version; in addition, the target application of version 1.0.0 is implemented by component 1 and component 2, while the target application of version 2.0.0 is implemented by component 3 and component 4. Through the identification data and version information of the target application, as well as the functional component set and version information of the functional component corresponding to the target application, the correspondence between different versions of the target application and the functional component set can be clarified, thereby improving data management efficiency.

[0115] Figure 8 The diagram schematically shows the entire functional component architecture corresponding to an application according to some embodiments of the present disclosure.

[0116] refer to Figure 8As shown, the functional component set architecture mainly includes five modules, configuration management module 801, plug-in module 802, basic component module 803, support module 804, and application data packet module 805; wherein, the configuration management module 801 is used to analyze and process the configuration information according to the data sent by the server, and generate component adaptation strategy according to the configuration information; there are five main types of configuration information, namely: packaging configuration, page configuration, public configuration, permission configuration, and interface configuration. The component adaptation strategy can refer to filtering out the versions that do not meet the requirements and the configuration information that is the same as the current configuration information of the local component after comparing the configuration information sent by the server with the current configuration information of the local component. To the legal configuration information, according to the legal configuration information to update the component strategy; the plug-in module 802 is used to display the home page, shopping cart, settlement, order and other information according to the event set corresponding to the component and the action list in the event set; the basic component module 803 is used to initialize the corresponding components in the application server according to the component adaptation strategy, and respond to the actions in the event set corresponding to each component according to the configuration information after legal verification by the client controller; the support module 804 is used to cooperate with the configuration management module, plug-in module, basic component module and application data package module to work together; the application data package module 805 is used for application packaging, security scanning and other tasks.

[0117] It should be noted that although the steps of the method disclosed herein are depicted in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in that particular order, or that all steps must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one, and / or one step may be decomposed into multiple steps.

[0118] In addition, in this exemplary embodiment, an application program updating device applied to a client is also provided. Figure 9 As shown, the application updating device 900 includes: a component configuration information acquisition module 910 for acquiring the component configuration information to be updated corresponding to the target application when the target application is started; the target application is generated by the server side by packaging and processing multiple target functional components determined from a pre-built component library according to the component configuration information to be updated; a difference configuration information determination module 920 for determining the configuration information to be updated corresponding to the target functional component in the component configuration information to be updated, and comparing the configuration information to be updated with the current configuration information of the target functional component to obtain the difference configuration information; a target application updating module 930 for performing configuration processing on the target functional component according to the difference configuration information to obtain the updated target functional component.

[0119] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the application updating device 900 also includes a preprocessing module, which is used to traverse the multiple target functional components according to the component configuration information to be updated and the current configuration information, and determine the component configuration table; determine the dependent functional components of the target functional components according to the component configuration table; determine the display status of the control corresponding to the target functional component according to the dependent functional components, so as to realize preprocessing of the display status of the control.

[0120] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the distinguishing configuration information determination module 920 also includes a target functional component configuration unit, and the target functional component configuration unit is used to determine the interface configuration information and event configuration information corresponding to the target functional component based on the configuration information to be updated; configure the interface of the control corresponding to the target functional component according to the interface configuration information; and configure the event set corresponding to the target functional component according to the event configuration information.

[0121] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the target application updating device 900 also includes a control determination module, which is used to determine the control corresponding to the target event in the event set and the identification data corresponding to the control according to the event configuration information, so as to call the target event according to the identification data when the control is triggered, and determine the return result of the target event.

[0122] In an exemplary embodiment of the present disclosure, based on the aforementioned solution, the target application updating device 900 further includes a target functional component communication module, which is used to achieve communication between multiple independent target functional components by routing calls.

[0123] Finally, in this exemplary embodiment, an application updating device applied to a server is also provided. Figure 10 As shown, the target application updating device 1000 includes: a component configuration information acquisition module 1010 for acquiring the component configuration information to be updated corresponding to the application to be updated; a functional component set determination module 1020 for determining a functional component set from a pre-built component library according to the component configuration information to be updated; the functional component set includes multiple target functional components; a target application data packet generation module 1030 for packaging the functional component set and the component configuration information to be updated to generate a target application data packet.

[0124] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the functional component set determination module 1020 also includes a functional component set construction unit, which is used to match multiple target functional components from a pre-built component library according to the component identification data, so as to construct a functional component set through the multiple target functional components.

[0125] The specific details of each module of the functional component updating device mentioned above have been described in detail in the corresponding application updating method, so they will not be repeated here.

[0126] It should be noted that although several modules or units of the functional component updating device are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by multiple modules or units.

[0127] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-mentioned application updating method is also provided.

[0128] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be implemented in the following forms: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system."

[0129] Refer to the following Figure 11 1000 according to this embodiment of the present disclosure will be described. Figure 11 The electronic device 1100 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0130] like Figure 11 As shown, electronic device 1100 is implemented as a general-purpose computing device. Components of electronic device 1100 may include, but are not limited to, the aforementioned at least one processing unit 1110, the aforementioned at least one storage unit 1120, a bus 1130 connecting various system components (including storage unit 1120 and processing unit 1110), and a display unit 1140.

[0131] The storage unit stores program codes, which can be executed by the processing unit 1110, so that the processing unit 1110 performs the steps described in the "Exemplary Method" section of the present disclosure according to various exemplary embodiments. For example, the processing unit 1110 can perform the following steps: Figure 1 In step S110 shown in the figure, when the target application is started, the configuration information of the component to be updated corresponding to the target application is obtained; the target application is generated by the server side by packaging and processing multiple target functional components determined from a pre-built component library according to the configuration information of the component to be updated; in step S120, the configuration information to be updated corresponding to the target functional component is determined in the configuration information of the component to be updated, and the configuration information to be updated is compared with the current configuration information of the target functional component to obtain difference configuration information; in step S130, the target functional component is configured according to the difference configuration information to obtain an updated target functional component.

[0132] The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 1121 and / or a cache memory unit 1122 , and may further include a read-only memory unit (ROM) 1123 .

[0133] The storage unit 1120 may also include a program / utility 1124 having a set (at least one) of program modules 1125, such program modules 1125 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0134] The bus 1130 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0135] Electronic device 1100 can also communicate with one or more external devices 1170 (e.g., a keyboard, pointing device, Bluetooth device, etc.), one or more devices that enable a user to interact with electronic device 1100, and / or any device that enables electronic device 1100 to communicate with one or more other computing devices (e.g., a router, modem, etc.). Such communication can occur via input / output (I / O) interface 1150. Furthermore, electronic device 1100 can communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via network adapter 1160. As shown, network adapter 1160 communicates with other modules of electronic device 1100 via bus 1130. It should be understood that, although not shown, other hardware and / or software modules can be used in conjunction with electronic device 1100, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0136] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes a number of instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0137] In exemplary embodiments of the present disclosure, a computer-readable storage medium is also provided, on which is stored a program product capable of implementing the aforementioned methods of this specification. In some possible embodiments, various aspects of the present disclosure may also be implemented in the form of a program product comprising program code. When the program product is executed on a terminal device, the program code is configured to cause the terminal device to execute the steps described in the "Exemplary Methods" section of this specification according to various exemplary embodiments of the present disclosure.

[0138] refer to Figure 12 As shown, a program product 1200 for implementing the above-mentioned application update method according to an embodiment of the present disclosure is described. The program product 1200 may be a portable compact disc read-only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0139] The program product may be implemented in any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0140] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0141] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0142] The program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0143] Furthermore, the figures above are merely illustrative of the processes included in the methods according to exemplary embodiments of the present disclosure and are not intended to be limiting. It is readily understood that the processes illustrated in the figures above do not indicate or limit the temporal order of these processes. Furthermore, it is readily understood that these processes may be executed synchronously or asynchronously, for example, in multiple modules.

[0144] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0145] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow from the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the claims.

[0146] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for updating an application, characterized in that: Applied to a client, the method includes: When a target application is started, configuration information of components to be updated corresponding to the target application is obtained; the target application is generated by the server by packaging multiple target functional components determined from a pre-built component library based on the configuration information of components to be updated; the configuration information of components to be updated is configuration information corresponding to functional components that need to be newly added when updating the target application; Determining the configuration information to be updated corresponding to the target functional component in the configuration information of the component to be updated, and comparing the configuration information to be updated with the current configuration information of the target functional component to obtain different configuration information; Performing configuration processing on the target functional component according to the difference configuration information to obtain an updated target functional component; Before performing configuration processing on the target functional component according to the distinguishing configuration information, the method further includes: Traversing the plurality of target functional components according to the component configuration information to be updated and the current configuration information to determine a component configuration table; Determining dependent functional components of the target functional component according to the component configuration table; Determining the display state of the control corresponding to the target functional component according to the dependent functional component, so as to implement preprocessing of the display state of the control; The method further comprises: Determining the interface configuration information and event configuration information of the target functional component according to the configuration information to be updated of the target functional component; Implementing configuration of controls corresponding to the target functional components in a graphical user interface according to the interface configuration information; The relationship between the control corresponding to the target functional component and the event set is determined according to the event configuration information, so as to realize the configuration of the event set of the target functional component.

2. The application updating method according to claim 1, wherein: The step of determining the configuration information to be updated corresponding to the target functional component in the configuration information of the component to be updated further includes: Based on the configuration information to be updated, determining the interface configuration information and event configuration information corresponding to the target functional component; Configuring the interface of the control corresponding to the target functional component according to the interface configuration information; According to the event configuration information, the event set corresponding to the target functional component is configured.

3. The application updating method according to claim 2, wherein: The configuring the event set corresponding to the target functional component according to the event configuration information further includes: According to the event configuration information, the control corresponding to the target event in the event set and the identification data corresponding to the control are determined, so that when the control is triggered, the target event is called according to the identification data and the return result of the target event is determined.

4. The application updating method according to claim 1, wherein: The multiple target functional components are independent of each other, and communication between the multiple target functional components is achieved by routing calls.

5. A method for updating an application, characterized in that: Applied to the server, the method includes: Obtaining configuration information of components to be updated corresponding to the application to be updated; the configuration information of components to be updated is configuration information corresponding to functional components that need to be newly added when updating the application to be updated; Determining a functional component set from a pre-built component library according to the component configuration information to be updated; the functional component set includes a plurality of target functional components; The functional component set and the configuration information of the component to be updated are packaged and processed to generate a target application data packet and sent to the client, so that the client obtains the configuration information of the component to be updated corresponding to the application to be updated according to the target application data packet, determines the configuration information to be updated corresponding to the target functional component in the configuration information of the component to be updated, compares the configuration information to be updated with the current configuration information of the target functional component to obtain difference configuration information, and performs configuration processing on the target functional component according to the difference configuration information to obtain an updated target functional component; Before performing configuration processing on the target functional component according to the distinguishing configuration information, the method further includes: traversing the plurality of target functional components according to the component configuration information to be updated and the current configuration information to determine a component configuration table; determining dependent functional components of the target functional component according to the component configuration table; and determining a display state of a control corresponding to the target functional component according to the dependent functional components to implement preprocessing of the display state of the control; The method also includes: the client determines the interface configuration information and event configuration information of the target functional component based on the configuration information to be updated of the target functional component; configures the controls corresponding to the target functional component in the graphical user interface based on the interface configuration information; determines the relationship between the controls corresponding to the target functional component and the event set based on the event configuration information, and configures the event set of the target functional component.

6. The application updating method according to claim 5, characterized in that: Applied to the server, the target application's component configuration information to be updated includes identification data, and determining a set of functional components from a pre-built component library based on the component configuration information to be updated includes: A plurality of target functional components are matched from a pre-built component library according to the component identification data, so as to construct a functional component set through the plurality of target functional components.

7. An application updating device, characterized in that: Applied to the client, including: The module for acquiring configuration information of components to be updated is used to acquire configuration information of components to be updated corresponding to a target application when the target application is started; the target application is generated by the server by packaging multiple target functional components determined from a pre-built component library based on the configuration information of components to be updated; the configuration information of components to be updated is the configuration information corresponding to the functional components that need to be added when updating the target application; a difference configuration information determination module, configured to determine the configuration information to be updated corresponding to the target functional component in the configuration information of the component to be updated, and compare the configuration information to be updated with the current configuration information of the target functional component to obtain difference configuration information; a target functional component configuration module, configured to perform configuration processing on the target functional component according to the distinguishing configuration information to obtain an updated target functional component; Before performing configuration processing on the target functional component according to the distinguishing configuration information, the device is further configured to: traverse the plurality of target functional components according to the component configuration information to be updated and the current configuration information to determine a component configuration table; determine dependent functional components of the target functional component according to the component configuration table; and determine a display state of a control corresponding to the target functional component according to the dependent functional components to implement preprocessing of the display state of the control; The device is also configured to: determine the interface configuration information and event configuration information of the target functional component based on the configuration information to be updated of the target functional component; implement the configuration of the controls corresponding to the target functional component in the graphical user interface based on the interface configuration information; determine the relationship between the controls corresponding to the target functional component and the event set based on the event configuration information, and implement the configuration of the event set of the target functional component.

8. An electronic device, characterized in that: include: processor; as well as A memory having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processor, implement the application updating method according to any one of claims 1 to 4, or implement the application updating method according to any one of claims 5 to 6.

9. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the computer program implements the application updating method according to any one of claims 1 to 4, or implements the application updating method according to any one of claims 5 to 6.

Citation Information

Patent Citations

  • Application program update method and device and intelligent loudspeaker box

    CN108920167A

  • Software development method, apparatus, and computer readable storage medium

    CN109271157A