Method for updating configuration parameters of an application and related product

CN115454492BActive Publication Date: 2026-09-15DIANZHONG TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211218268.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-09-15
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

在一些场景中,同一应用程序往往需要呈现不同的颜色和样式等,这就需要修改应用程序中配置参数的值,并且对应用程序重新发版,但是该种方式操作复杂并且耗时较长

Benefits of technology

[0016] The above-described solution for updating application configuration parameters allows for dynamic updates of configuration parameters without re-issuing the application (only the parameters of the configuration items that need updating need to be updated), thereby simplifying the configuration parameter update process and shortening the update time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115454492B_ABST
    Figure CN115454492B_ABST
Patent Text Reader

Abstract

The present disclosure discloses a method for updating configuration parameters of an application and related products. The method comprises: when a preset operation instruction for a function module in the application is received at a first terminal, sending a configuration parameter update request of the function module to a server, the configuration parameter update request comprising current configuration parameters of at least one target configuration item of the function module; receiving local latest configuration parameters of at least changed configuration items in the function module fed back by the server; and updating the current configuration parameters of the corresponding configuration items according to the local latest configuration parameters of the at least changed configuration items. The scheme can dynamically update the configuration parameters of the configuration items without re-releasing the application, and simplifies the parameter update process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure generally relates to the field of data processing. More specifically, this disclosure relates to a method, processing apparatus, and computer-readable storage medium for updating configuration parameters of an application. Background Technology

[0002] With the development of computer technology, various applications have emerged. Applications typically include multiple functional modules (such as the activity operation module and bookshelf function module in e-book applications). Each functional module has corresponding configuration items, and by configuring different parameters for the configuration items, the functional modules of the application can present corresponding styles.

[0003] Currently, applications typically configure various parameters before release, so that these parameters can be used for display after the application is released. In some scenarios, the same application may need to display different colors and styles, which requires modifying the values ​​of the configuration parameters and re-releasing the application. However, this method is complex and time-consuming. Summary of the Invention

[0004] In order to at least address one or more of the technical problems mentioned above, this disclosure proposes a scheme for updating application configuration parameters in several aspects.

[0005] In a first aspect, this disclosure provides a method for updating configuration parameters of an application, comprising: upon receiving a preset operation instruction for a functional module in the application at a first terminal, sending a configuration parameter update request for the functional module to a server, wherein the configuration parameter update request includes current configuration parameters of at least one target configuration item of the functional module; receiving local latest configuration parameters of at least one changed configuration item in the functional module fed back by the server, wherein the local latest configuration parameters of the at least one changed configuration item are fed back by the server when determining the changed configuration item based on the current configuration parameters of the at least one target configuration item and the local latest configuration parameters of the corresponding configuration item of the functional module; and updating the current configuration parameters of the corresponding configuration item according to the local latest configuration parameters of the at least one changed configuration item.

[0006] In one embodiment, the configuration parameter update request further includes the identification information of the first terminal, so that the server can determine the latest local configuration parameters of the corresponding configuration item based on the identification information.

[0007] In a second aspect, this disclosure also provides a method for updating configuration parameters of an application, comprising: receiving at a server a configuration parameter update request for a functional module in the application sent by a first terminal, wherein the configuration parameter update request includes current configuration parameters of at least one target configuration item of the functional module; determining a changed configuration item based on the current configuration parameters of the at least one target configuration item and the latest local configuration parameters of the corresponding configuration item in the functional module; and sending at least the latest local configuration parameters of the changed configuration item to the first terminal, so that the first terminal updates the configuration parameters based on the received latest local configuration parameters of the configuration item.

[0008] In one embodiment, the latest local configuration parameters of the configuration items in the server are related to the identification information of the terminal, and the configuration parameter update request also includes the identification information of the first terminal. After receiving the configuration parameter update request for the functional module in the application sent by the first terminal at the server, and before determining the configuration item that has changed, the method further includes: determining the latest local configuration parameters of each configuration item in the functional module based on the identification information of the first terminal, so as to determine the latest local configuration parameters of the corresponding configuration item.

[0009] In one embodiment, the terminal identification information and the first terminal identification information include the terminal identification code. The latest local configuration parameters of the configuration items in the server are related to the parity of the digits in a preset number of bits of the terminal identification code. Determining the latest local configuration parameters of each configuration item in the functional module based on the first terminal identification information includes: determining the parity of the digits in the preset number of bits of the first terminal identification code; and determining the latest local configuration parameters of each configuration item in the functional module based on the parity of the digits in the preset number of bits.

[0010] In one embodiment, the latest local configuration parameters for each configuration item are sent to the server by the second terminal.

[0011] In one embodiment, determining the changed configuration item includes: comparing the current configuration parameters of the at least one target configuration item with the latest local configuration parameters of the corresponding configuration item; and

[0012] Configuration items with inconsistent comparison results are identified as those that have changed.

[0013] In one embodiment, the method further includes: counting the number of users who generate preset behaviors when the configuration items of the functional module adopt the corresponding configuration parameters; and determining the evaluation results of users when the configuration items adopt the corresponding configuration parameters based on the number of users.

[0014] In a third aspect, this disclosure also provides a processing apparatus, comprising: a processor configured to execute program instructions; and a memory configured to store the program instructions, which, when loaded and executed by the processor, cause the processor to perform a method for updating configuration parameters of an application according to any embodiment of the first and second aspects described above.

[0015] In a fourth aspect, this disclosure also provides a computer-readable storage medium storing program instructions that, when loaded and executed by a processor, cause the processor to perform a method for updating configuration parameters of an application according to any of the embodiments of the first and second aspects described above.

[0016] The above-described solution for updating application configuration parameters allows for dynamic updates of configuration parameters without re-issuing the application (only the parameters of the configuration items that need updating need to be updated), thereby simplifying the configuration parameter update process and shortening the update time. Attached Figure Description

[0017] The above and other objects, features, and advantages of exemplary embodiments of the present disclosure will become readily apparent upon reading the following detailed description with reference to the accompanying drawings. In the drawings, several embodiments of the present disclosure are illustrated by way of example and not limitation, and like or corresponding reference numerals denote like or corresponding parts, wherein:

[0018] Figure 1 This is a schematic flowchart of a method for updating configuration parameters of an application according to an embodiment of the present disclosure;

[0019] Figure 2 This is a schematic flowchart of a method for updating configuration parameters of an application according to another embodiment of the present disclosure;

[0020] Figure 3 This is a schematic flowchart of a method for updating configuration parameters of an application according to yet another embodiment of the present disclosure;

[0021] Figure 4 This is a schematic flowchart of a method for updating configuration parameters of an application according to another embodiment of the present disclosure;

[0022] Figure 5 This is a structural block diagram of a processing device according to an embodiment of the present disclosure. Detailed Implementation

[0023] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without creative effort are within the scope of protection of this disclosure.

[0024] It should be understood that the terms “comprising” and “including” used in the specification and claims of this disclosure indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.

[0025] It should also be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of this disclosure. As used in this disclosure and claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used in this disclosure and claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes such combinations.

[0026] As used in this specification and claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if [described condition or event] is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once [described condition or event] is detected," or "in response to detection of [described condition or event]."

[0027] The specific embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0028] Figure 1 This is a schematic flowchart of a method 100 for updating configuration parameters of an application according to an embodiment of the present disclosure.

[0029] like Figure 1 As shown, method 100 may include, in step S101, when a preset operation instruction for a functional module in an application is received at the first terminal, sending a configuration parameter update request for the functional module to the server.

[0030] In one embodiment, the first terminal may include a robot, computer, tablet computer, smart terminal, PC device, Internet of Things terminal, mobile terminal, dashcam, smartwatch, wearable device, vision terminal, autonomous driving terminal, smart home appliance or smart medical device, etc.

[0031] The aforementioned functional modules can be any functional module in the application. For example, for e-book applications, functional modules may include bookshelf modules and activity operation modules (such as recharge activity modules, renewal activity modules, and check-in activity modules), while for web applications, functional modules may include page modules and activity operation modules (such as recharge activity modules, renewal activity modules, and check-in activity modules).

[0032] The aforementioned preset operation commands can be configured as needed. For example, for the bookshelf module of an e-book application, the preset operation commands may include commands to open the bookshelf module (e.g., clicking the bookshelf module icon) and commands to open the books displayed in the bookshelf module (e.g., clicking the book icon).

[0033] Furthermore, for the activity operation module of e-book applications or web applications, the preset operation instructions may include instructions to open the activity operation module (e.g., click the icon of the recharge activity module) and instructions to sign in for the sign-in activity in the sign-in activity module (e.g., click the sign-in button).

[0034] For page modules in web applications, preset operation commands may include commands to open the page module (e.g., click the page module icon), commands to open hypertext in the page module's display page (e.g., click the hypertext), and commands to move the page in the page module's display page (e.g., swipe the display page).

[0035] It is understood that the functional modules of the application and the preset operation instructions for these functional modules listed above are merely exemplary and not restrictive. Those skilled in the art can also perform corresponding preset operations on other functional modules of the application as needed to trigger the sending of configuration parameter update requests for the functional modules to the server. For example, an e-book application may also include a bookstore module. For this bookstore module, preset operation instructions may include instructions to open the bookstore module and instructions to open its various sub-modules (e.g., complete books sub-module, new books sub-module, and free reading sub-module).

[0036] The aforementioned configuration parameter update request may include the current configuration parameters of at least one target configuration item of a functional module. It is understood that each functional module typically has corresponding configuration items. For example, for the e-book application mentioned above, the configuration items for its bookshelf module may include the resource version number of the bookshelf module, the background color information of the bookshelf module's display page, the layout information of the bookshelf module's display page (e.g., font and font size information), and the content description information of the books displayed in the bookshelf module. The book content description information may include, for example, the book's image information and content description information. Similarly, for the e-book application, the configuration items for its activity operation module may include the resource version number of the activity operation module, the background color information of the operation position, and the introduction information of the operation activity. The introduction information of the operation activity may include, for example, the operation activity's image information, the activity name, and a detailed description of the activity content.

[0037] For the aforementioned web-based applications, the configuration items for their page modules can include the resource version number of the page module, the background color information of the displayed page, and the layout information of the displayed page (such as font and font size). Furthermore, the configuration items for the activity operation module of web-based applications can be similar to those of the activity operation module in the aforementioned e-book applications. For example, they can include the resource version number of the activity operation module, the background color information of the operation section, and the description information of the operation activity. The description information of the operation activity may include, for example, images of the operation activity, the activity name, and a detailed description of the activity content.

[0038] It is understood that the configuration items of each functional module listed above are merely exemplary and not restrictive. Those skilled in the art may use more, fewer, or different configuration items according to the sub-functions or functional refinements of each functional module, which will not be listed here one by one.

[0039] The number of target configuration items can be set as needed. For example, to reduce the computational load when determining whether a configuration item has changed, a functional module can have only one target configuration item. For instance, for the e-book application mentioned above, the bookshelf module's target configuration item could only include the resource version number of the bookshelf module, and the activity operation module's target configuration item could only include the resource version number of the activity operation module. Similarly, for the web application mentioned above, the page module's target configuration item could only include the resource version number of the page module, and the activity operation module's target configuration item could only include the resource version number of the activity operation module. Using only one configuration item as the target configuration item means that only the configuration parameter of that single item needs to be determined, resulting in less computation and faster data processing speed for the system.

[0040] Furthermore, to accurately identify changed configuration items and update configuration parameters accordingly, the target configuration items for a functional module can also include multiple configuration items. For example, for the e-book application mentioned above, the target configuration items for its bookshelf module can include all or some (multiple) of the bookshelf module's configuration items, such as the resource version number of the bookshelf module, the background color information of the bookshelf module's display page, and the layout information of the bookshelf module's display page. Further, for the e-book application, the target configuration items for its activity operation module can include all or some (multiple) of the activity operation module's configuration items, such as the resource version number of the activity operation module and the background color information of the operation slot.

[0041] Similarly, for the web-based applications mentioned above, the target configuration items for their page modules can include all or some (multiple) of the page module's configuration items, such as the page module's resource version number and the background color information of the displayed page. Additionally, for web-based applications, the target configuration items for their activity operation modules can include all or some (multiple) of the activity operation module's configuration items, such as the activity operation module's resource version number and the activity's description information. Using multiple configuration items as target configuration parameters allows for accurate identification of changed configuration items, enabling precise updates to the configuration parameters.

[0042] It is understood that the target configuration items for the functional modules listed above are merely exemplary and not restrictive. Those skilled in the art can also select other configuration items for the functional modules as target configuration items as needed. For example, for the bookshelf module of an e-book application, only the background color information of the display page of the bookshelf module can be selected as the target configuration item. For the activity operation module of an e-book application, only the introduction information of the activity operation module can be selected as the target configuration item, and so on. For the page module of a web application, only the layout information of the display page of the page module can be selected as the target configuration item. Furthermore, for the activity operation module of a web application, the background color information of the operation position and the introduction information of the operation activity can be selected as the target configuration information. In one implementation, the current configuration parameters of the target configuration items can be stored in the local database of the first terminal.

[0043] The foregoing description, in conjunction with the embodiments, outlined the preset operation instructions for the functional modules and the selection of target configuration items. Now, the flow returns to... Figure 1In step S102, method 100 may receive the latest local configuration parameters of at least the changed configuration items in the aforementioned functional modules, fed back by the server. These latest local configuration parameters of at least the changed configuration items are fed back by the server when it determines the changed configuration items based on the current configuration parameters of the at least one target configuration item and the latest local configuration parameters of the corresponding configuration items in the functional module.

[0044] To facilitate the evaluation of configuration items using different configuration parameters, and thus for operational testing of the application, the server can acquire and store multiple different local latest configuration parameters for the same configuration item. These different local latest configuration parameters can be related to the terminal's identification information, which may include the terminal's unique identifier or telephone number. When the terminal's identification information includes the terminal's identifier, the local latest configuration parameters of the configuration item in the server can be related to the parity of the digits in a preset number of digits (e.g., the last digit or the last two digits) of the terminal's identifier. Based on this, the configuration parameter update request may also include the identification information of the first terminal (e.g., the first terminal's unique identifier or telephone number), so that the server can determine the local latest configuration parameters of the corresponding configuration item based on this identification information.

[0045] Taking the activity operation module of an e-book application as an example, we can illustrate how to determine the latest local configuration parameters corresponding to the terminal. The activity operation module is configured with three items: the resource version number, the background color information of the operation position, and the font size information of the operation position. Furthermore, the latest local configuration parameters of these items in the server are related to the parity of the last two digits of the terminal's identifier. Therefore, the latest local configuration parameters of the configuration items stored in the server can include the following four sets:

[0046] Group 1: Cases where the last two digits of the corresponding identifier are both odd numbers. The resource version number of the activity operation module is version 1, the background color of operation position A is red, and the font size of operation position A is 20pt;

[0047] Group 2: Cases where the last two digits of the corresponding identifier are both even numbers. The resource version number of the activity operation module is version 2, the background color of operation position A is blue, and the font size of operation position A is 20pt;

[0048] Group 3: In the case where the second-to-last digit of the corresponding identifier is even and the last digit is odd, the resource version number of the activity operation module is version 3, the background color of operation position A is red, and the font size of operation position A is 21pt; and

[0049] Group 4: Cases where the second-to-last digit of the corresponding identifier is odd and the last digit is even. The resource version number of the activity operation module is version 4, the background color of operation position A is blue, and the font size of operation position A is 19pt.

[0050] At this point, when the last two digits of the first terminal's identifier are both odd, the latest local configuration parameters for each configuration item are the first set of configuration parameters mentioned above. When the last two digits of the first terminal's identifier are both even, the latest local configuration parameters for each configuration item are the second set of configuration parameters mentioned above. When the second-to-last digit of the first terminal's identifier is even and the last digit is odd, the latest local configuration parameters for each configuration item are the third set of configuration parameters mentioned above. Furthermore, when the second-to-last digit of the first terminal's identifier is odd and the last digit is even, the latest local configuration parameters for each configuration item are the fourth set of configuration parameters mentioned above. Thus, the latest local configuration parameters for the configuration items corresponding to the first terminal can be obtained.

[0051] Depending on the application scenario, the server can either return only the latest local configuration parameters of the configuration items that have been changed, or it can return the latest local configuration parameters of the configuration items that have been changed along with other configuration items. The types and number of configuration items returned will be detailed later.

[0052] After receiving the latest local configuration parameters for the configuration items from the server, the process continues to return to... Figure 1 In step S103, method 100 can update the current configuration parameters of the corresponding configuration items based on the latest local configuration parameters of at least the changed configuration items. It is understood that the corresponding configuration items here include all the aforementioned configuration items for which the server has provided the latest local configuration parameters. For example, if the server provides the latest local resource version number of the bookshelf module of an e-book application, then the corresponding configuration items include the resource version number of the bookshelf module of the e-book application; if the server provides the latest local resource version number of the activity operation module of a web application and the latest local background color information of the operation position, then the corresponding configuration items include the resource version number of the activity operation module of the web application and the background color information of the operation position.

[0053] As can be seen from the description of the above embodiments, this solution can dynamically update the configuration parameters of configuration items without re-releasing the application (only the parameters of the configuration items that need to be updated need to be updated), thereby simplifying the configuration parameter update process and shortening the update time.

[0054] Figure 2 This is a schematic flowchart of a method 200 for updating configuration parameters of an application according to another embodiment of the present disclosure.

[0055] like Figure 2As shown, method 200 may include, at step S201, receiving a configuration parameter update request for a functional module in an application sent by a first terminal at the server. The configuration parameter update request may include the current configuration parameters of at least one target configuration item of the functional module.

[0056] As described in the foregoing embodiments, the target configuration item may include only one configuration item of a functional module, such as the resource version number of the bookshelf module or the resource version number of the activity operation module of an e-book application, as listed above. For the page module of a web application, its target configuration item may include only the resource version number of the page module, and its target configuration item for the activity operation module may include only the resource version number of the activity operation module.

[0057] Additionally, target configuration items can also include multiple configuration items for functional modules. For example, in e-book applications, the resource version number, background color information of the bookshelf module's display page, and layout information of the bookshelf module's display page, as listed above, and the resource version number and background color information of the activity operation module, as well as the activity operation position. For web applications, the target configuration items for the page module can include the page module's resource version number and background color information of the page module's display page, while the target configuration items for the activity operation module can include the activity operation module's resource version number and the description information of the activity.

[0058] Upon receiving a configuration parameter update request, method 200 may proceed to step S202, which determines the configuration item that has changed based on the current configuration parameters of at least one target configuration item and the latest local configuration parameters of the corresponding configuration item in the functional module.

[0059] In one embodiment, the current configuration parameters of at least one target configuration item can be compared with the latest local configuration parameters of the corresponding configuration item, and the configuration item with inconsistent comparison results is identified as the changed configuration item. Taking the activity operation module of an e-book application as an example, assuming that its target configuration item only includes the resource version number of the activity operation module, if the current resource version number of the activity operation module is 1, and the latest local resource version number of the activity operation module on the server is 2, then it is confirmed that its resource version number has changed. Conversely, if both the current resource version number and the latest local resource version number of the activity operation module are 1, then it is confirmed that its resource version number has not changed.

[0060] Taking the bookshelf module of an e-book application as an example, suppose its target configuration items include the resource version number of the bookshelf module, the background color information of the display page, and the font size information of the display page. If the current resource version number of the bookshelf module is 1, the current background color information of the display page is white, and the current font size of the display page is 15pt ("point"). If the latest local resource version number of the bookshelf module on the server is 2, the latest local background color information of the display page is red, and the latest local font size of the display page is 15pt, then it is confirmed that the resource version number of the bookshelf module and the background color information of the display page have changed, but the font size information of the display page has not changed. However, if the latest local resource version number of the bookshelf module on the server is 2, the latest local background color information of the display page is red, and the latest local font size of the display page is 20pt, then it is confirmed that the configuration parameters of all configuration items of the bookshelf module have changed.

[0061] The source of the latest local configuration parameters for each configuration item in the server can be various. For example, in one implementation scenario, the latest local configuration parameters for each configuration item can be sent to the server by a second terminal. The second terminal can include, but is not limited to, operational terminals during the operation phase. Specifically, the second terminal can receive the modified configuration parameters of the corresponding configuration item input by the user and upload them to the server. Then, the server can update the modified configuration parameters to the latest local configuration parameters of the corresponding configuration item and store them so as to update the configuration parameters of the corresponding configuration item on the first terminal. Sending modified configuration parameters from the second terminal to the server allows for flexible modification of the latest local configuration parameters of the configuration items in the server as needed, thereby enabling flexible updates of configuration parameters.

[0062] In another implementation scenario, the latest local configuration parameters of each configuration item can also be obtained by the server by analyzing the historical data of the corresponding configuration items (e.g., analyzing the configuration parameters that users prefer based on historical configuration parameters), so that the updated configuration parameters can better meet user needs (e.g., users prefer them more).

[0063] After confirming the changed configuration item, method 200 proceeds to step S203. In step S203, at least the latest local configuration parameters of the changed configuration item are sent to the first terminal so that the first terminal can update its configuration parameters based on the received latest local configuration parameters of the configuration item.

[0064] The types and number of configuration items returned by the server can be configured differently as needed. For example, to prevent increased system throughput due to updating the configuration parameters of all items, in one embodiment, the server can only return the latest local configuration parameters of the changed configuration items. For instance, for the bookshelf module of an e-book application, if only the resource version number of the bookshelf module changes, the server can only return the latest local resource version number of that bookshelf module. For the activity operation module of an e-book application, if the configuration parameters of two configuration items—the resource version number of the activity operation module and the background color information of the operation position—change, the server can only return the latest local configuration parameters of these two items. Therefore, this method allows for updating the configuration parameters only for the changed items, thus ensuring the accuracy of parameter updates.

[0065] In another embodiment, the server can also provide the latest local configuration parameters of the configuration item to be updated corresponding to the changed configuration item, based on a pre-established mapping (the mapping between the changed configuration item and the configuration item to be updated). The configuration item to be updated here can be set as needed to include all or some configuration items of the functional modules.

[0066] For example, for the bookshelf module of an e-book application, if only the resource version number of the bookshelf module changes, the server can provide feedback on the latest local resource version number of the bookshelf module, the latest local background color information of the bookshelf module's display page, and the latest local layout information of the bookshelf module's display page (i.e., the latest local configuration parameters of all configuration items to be updated) based on a pre-established correspondence (assuming that the configuration items to be updated corresponding to the resource version number of the bookshelf module include the resource version number of the bookshelf module, the background color information of the bookshelf module's display page, and the layout information of the bookshelf module's display page).

[0067] For the activity operation module of a web application, if only the resource version number of the activity operation module changes, the server can feed back the latest local resource version number of the activity operation module, the latest local background color information of the operation position, and the latest local introduction information of the operation activity (i.e., the latest local configuration parameters of all configuration items to be updated) based on a pre-established correspondence (assuming that the configuration items to be updated corresponding to the resource version number of the activity operation module include the resource version number of the activity operation module, the latest local background color information of the operation position, and the latest local introduction information of the operation activity). Therefore, this solution can achieve the updating of a large number of configuration items with a relatively small amount of computation (only needing to determine whether a few configuration items have changed), thus enabling a comprehensive update of configuration parameters.

[0068] As described above, this solution can dynamically update the configuration parameters of configuration items without re-releasing the application (only the parameters of the configuration items that need to be updated need to be updated), thereby simplifying the configuration parameter update process and shortening the update time.

[0069] As described in the foregoing embodiments, for the same configuration item, the server can store multiple different local latest configuration parameters to obtain the evaluation results of the same configuration item using different configuration parameters, thereby enabling operational testing of the application. This disclosure will then be combined with... Figure 3 Another method for updating the configuration parameters of an application disclosed herein is described.

[0070] like Figure 3 As shown, method 300 may include, in step S301, receiving a configuration parameter update request for a functional module in an application sent by a first terminal at the server. The configuration parameter update request may include the current configuration parameters of at least one target configuration item of the functional module and the identification information of the first terminal. Here, the identification information of the first terminal may include, but is not limited to, an identification code such as a unique identifier or telephone number for the terminal.

[0071] In step S302, method 300 can determine the latest local configuration parameters of each configuration item in the functional module based on the identification information of the first terminal, so as to determine the latest local configuration parameters of the corresponding configuration item. The latest local configuration parameters of the configuration items in the server can be related to the identification information of the terminal, for example, related to the parity of the digits in the preset number of bits of the terminal's identification code. The storage method of the latest local configuration parameters of the configuration items in the server has been described in detail above with reference to the embodiments, and will not be described in detail here.

[0072] In this embodiment, when the identification information of the first terminal includes the terminal's identification code, and the latest local configuration parameters of the configuration items in the server are related to the parity of the digits in the preset number of digits of the terminal's identification code, the server can first determine the parity of the digits in the preset number of digits of the first terminal's identification code. For example, when the latest local configuration parameters of the configuration items in the server are related to the parity of the last two digits of the terminal's identification code, the server can first determine the parity of the last two digits of the first terminal's identification code. For example, if the last two digits of the first terminal's identification code are 54, it can be determined that the second-to-last digit of the identification code is odd and the last digit is even.

[0073] Next, the latest local configuration parameters of each configuration item in the functional module can be determined based on the parity of the digits in the preset number of digits. For example, if the second-to-last digit of the identifier of the first terminal is odd and the last digit is even, the latest local configuration parameters of the configuration item corresponding to the terminal identifier where the second-to-last digit is odd and the last digit is even can be found in the server.

[0074] After determining the latest local configuration parameters of the corresponding configuration item, in step S303, method 300 can determine the changed configuration item based on the current configuration parameters of at least one target configuration item and the latest local configuration parameters of the corresponding configuration item in the functional module. Additionally, in step S304, method 300 can send at least the latest local configuration parameters of the changed configuration item to the first terminal, so that the first terminal can update its configuration parameters based on the received latest local configuration parameters of the configuration item. Steps S301, S303, and S304 are similar to steps S201, S202, and S203; specific implementation methods can be found in the descriptions of the foregoing embodiments and will not be detailed here.

[0075] This solution can provide different local latest configuration parameters for different first terminals, thereby obtaining the evaluation results of the same configuration item when using different configuration parameters, and then conducting operational testing of the application.

[0076] It is understood that the storage methods for the latest local configuration parameters of the server listed above are merely exemplary and not restrictive. In another embodiment, for the same configuration item, the server may store only one latest local configuration parameter (i.e., without distinction), so that the latest local configuration parameter returned by the server is the same for any first terminal requesting that configuration item. For example, for the activity operation module of an e-book application, which includes two configuration items: the resource version number of the activity operation module and the background color information of the operation position, the latest local resource version number stored in the server only includes version 1, and the background color information of the operation position only includes red. In this case, regardless of the request from any first terminal, the latest local resource version number provided by the server is version 1, and the latest local background color information is always red. Obviously, this storage method does not require distinguishing between terminals to provide different latest local configuration parameters, thereby simplifying the server processing flow and improving the update speed of configuration parameters.

[0077] Figure 4 This is a schematic flowchart of a method 400 for updating configuration parameters of an application according to another embodiment of the present disclosure.

[0078] As shown in the figure, method 400 may include, in step S401, receiving a configuration parameter update request for a functional module in an application sent by a first terminal at the server. The configuration parameter update request may include the current configuration parameters of at least one target configuration item of the functional module and the identification information of the first terminal. Next, in step S402, method 400 may determine the latest local configuration parameters of each configuration item in the functional module based on the identification information of the first terminal, so as to determine the latest local configuration parameters of the corresponding configuration item. Further, method 400 proceeds to step S403, determining the changed configuration item based on the current configuration parameters of the at least one target configuration item and the latest local configuration parameters of the corresponding configuration item in the functional module. Next, in step S404, method 400 may send at least the latest local configuration parameters of the changed configuration item to the first terminal, so that the first terminal may update its configuration parameters based on the received latest local configuration parameters of the configuration item.

[0079] Steps S401-S404 described above are the same as or similar to steps S301-S304 mentioned above, and will not be detailed here. At this time, the configuration parameters of the updated configuration items on different first terminals may be different (for example, different based on the parity of the digits in the preset number of bits of the first terminal's identifier). Based on this, in step S405, method 400 can count the number of users who generate preset behaviors when the configuration items of the functional module adopt the corresponding configuration parameters. These preset behaviors may include recharge behaviors for recharge activities, renewal behaviors for renewal activities, or sign-in behaviors for sign-in activities, etc.

[0080] After counting the number of users, method 400 can proceed to step S406, whereby the evaluation results of users when using the corresponding configuration parameters for the configuration items are determined based on the aforementioned number of users. These evaluation results could be, for example, the user's level of liking or acceptance.

[0081] For example, in the recharge activity module of e-book applications, when the recharge page is red, the number of users who made a recharge is 50,000, while when the recharge page is white, the number of users who made a recharge is only 20,000. This indicates that users prefer the red recharge page to the white one.

[0082] For the renewal activity module of e-book applications, when the price increase of the presented product is 20% to 25% of the original price, the number of users who renewed their subscriptions was 30,000. However, when the price increase is 26% to 30% of the original price, the number of users who renewed their subscriptions was only 10,000. This indicates that users are more accepting of price increases of 20% to 25% of the original price, but less accepting of price increases of 26% to 30% of the original price.

[0083] For the check-in activity module of e-book applications, when the coupon discount was 50%–60%, 50,000 users checked in, while when the discount was 40%–49%, only 25,000 users checked in. This indicates that users are more accepting of coupon discounts of 50%–60%, and less accepting of discounts of 40%–49%. These evaluation results can provide reference for application operation to determine the final configuration parameters.

[0084] Figure 5 This is a structural block diagram of a processing device 500 according to an embodiment of the present disclosure.

[0085] like Figure 5 As shown, the device 500 of this disclosure may include a processor 501 and a memory 502, wherein the processor 501 and the memory 502 communicate via a bus 503. The memory 502 stores program instructions executable by the processor 501, which, when executed by the processor 501, cause the device to perform the method steps described above in conjunction with the accompanying drawings.

[0086] This solution can dynamically update the configuration parameters of configuration items without re-releasing the application (only the parameters of the configuration items that need to be updated need to be updated), thereby simplifying the configuration parameter update process and shortening the update time.

[0087] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments.

[0088] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0089] It should be understood that the terms "first," "second," "third," and "fourth," etc., in the claims, specification, and drawings of this disclosure are used to distinguish different objects, rather than to describe a specific order. The terms "comprising" and "including" as used in the specification and claims of this disclosure indicate the presence of the described features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or collections thereof.

[0090] While numerous embodiments of this disclosure have been shown and described herein, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Many modifications, alterations, and alternatives will occur to those skilled in the art without departing from the spirit and intent of this disclosure. It should be understood that various alternatives to the embodiments of this disclosure described herein may be employed in the practice of this disclosure. The appended claims are intended to define the scope of this disclosure and therefore cover equivalents or alternatives within the scope of those claims.

[0091] The acquisition, storage, and application of user personal information involved in the technical solution disclosed herein comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

Claims

1. A method for updating configuration parameters of an application, comprising: When a preset operation instruction for a functional module in an application is received at the first terminal, a configuration parameter update request for the functional module is sent to the server, wherein the configuration parameter update request includes the current configuration parameters of at least one target configuration item of the functional module. The server receives the latest local configuration parameters of at least one changed configuration item in the functional module, wherein the latest local configuration parameters of the at least one changed configuration item are fed back by the server when it determines the changed configuration item based on the current configuration parameters of the at least one target configuration item and the latest local configuration parameters of the corresponding configuration item of the functional module. as well as Update the current configuration parameters of the corresponding configuration items according to the latest local configuration parameters of the at least changed configuration items; The configuration parameter update request also includes the identification information of the first terminal, so that the server can determine the latest local configuration parameters of the corresponding configuration item based on the identification information; The server receives a configuration parameter update request for a functional module in the application from a first terminal, wherein the configuration parameter update request includes the current configuration parameters of at least one target configuration item of the functional module. The changed configuration item is determined based on the current configuration parameters of the at least one target configuration item and the latest local configuration parameters of the corresponding configuration item in the functional module. as well as The latest local configuration parameters of the changed configuration items are sent to the first terminal so that the first terminal can update the configuration parameters according to the received latest local configuration parameters of the configuration items. The latest local configuration parameters of the configuration items in the server are related to the terminal's identification information, and the configuration parameter update request also includes the identification information of the first terminal. After receiving the configuration parameter update request for a functional module in the application sent by the first terminal at the server, and before determining the changed configuration item, the method further includes: The latest local configuration parameters of each configuration item in the functional module are determined based on the identification information of the first terminal, so as to determine the latest local configuration parameters of the corresponding configuration item. The configuration items that have been determined to have changed include: Compare the current configuration parameters of the at least one target configuration item with the latest local configuration parameters of the corresponding configuration item; and Configuration items with inconsistent comparison results are identified as those that have changed. The terminal identification information and the first terminal identification information include the terminal identification code. The latest local configuration parameters of the configuration items in the server are related to the parity of the digits in the preset number of bits of the terminal identification code. Determining the latest local configuration parameters of each configuration item in the functional module based on the first terminal identification information includes: Determine the parity of the digits in a preset number of bits in the identifier code of the first terminal; and The latest local configuration parameters of each configuration item in the functional module are determined based on the parity of the digits on the preset number of digits.

2. The method according to claim 1, wherein the latest local configuration parameters of each configuration item are sent by the second terminal to the server.

3. The method according to any one of claims 1-2, further comprising: Count the number of users who exhibit preset behaviors when the configuration items of the functional modules are configured with the corresponding parameters; as well as The evaluation result of a user using the corresponding configuration parameters for a configuration item is determined based on the number of users.

4. A processing apparatus, comprising: A processor, configured to execute program instructions; as well as A memory configured to store the program instructions, which, when loaded and executed by the processor, cause the processor to perform a method for updating the configuration parameters of the application according to any one of claims 1 to 3.

5. A computer-readable storage medium storing program instructions that, when loaded and executed by a processor, cause the processor to perform a method for updating configuration parameters of an application according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Update method and device of application

    CN105893075A

  • Data updating method and device, computer equipment and storage medium

    CN115016810A