Application theme updating method and device, terminal equipment and storage medium

By implementing the theme data pulling and updating mechanism on the mobile application side, the problem of users being unable to change application themes in real time is solved, and the flexibility of application themes and user experience are improved.

CN118535187APending Publication Date: 2024-08-23SHENZHEN JINGWAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410413666.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-08
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The theme data of existing mobile applications is fixed during the development stage, and users cannot change the newly developed themes in real time, resulting in poor user experience.

Method used

Implement a theme data pulling and updating mechanism on the application side, pull application theme data from the server based on preset conditions, and update the application theme based on the database update results. It supports mandatory and non-mandatory display themes.

Benefits of technology

Improves the flexibility of application themes and user personalized experience, allowing users to change visual effects according to needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535187A
    Figure CN118535187A
Patent Text Reader

Abstract

The invention discloses an application theme updating method and device, terminal equipment and a storage medium, and relates to the field of mobile application data updating, the method is applied to an application side, and the method comprises the steps that when a preset theme data pulling condition is met, application theme data is pulled from a server side; updating a database according to the application theme data to obtain a database updating result; and when a preset application theme updating condition is met, updating the application theme according to the database updating result to obtain an application theme updating result. According to the invention, the flexibility of updating the application theme can be improved, and the user experience on the application is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile application data updating, and in particular to an application theme updating method, device, terminal equipment and storage medium. Background Art

[0002] In recent years, mobile applications have become an indispensable part of people's daily lives. As time goes by and technology continues to develop, the functions of these applications have become more and more abundant, and users' requirements for applications are also constantly increasing. In order to attract users while meeting their requirements for applications, application developers not only need to keep updating and iterating application functions, layouts, and interactive designs, but also need to carefully create and update the visual effects of the application. Therefore, it becomes crucial to change user application theme data such as theme colors according to user needs without affecting the user experience.

[0003] However, since current mobile application theme data is usually fixed during the application development stage or the application developer can only provide limited theme data for users to choose from, users cannot obtain and change the developer's newly developed application themes in real time through the application. In other words, customers cannot choose the visual effects of the application according to their own needs, resulting in a poor user experience of the application. Summary of the invention

[0004] The main purpose of the present invention is to provide an application theme updating method, apparatus, terminal device and storage medium, which can improve the flexibility of application theme updating.

[0005] To achieve the above object, the present invention provides an application theme updating method, which is applied to an application end, and the method comprises:

[0006] When the preset theme data pulling conditions are met, the application theme data is pulled from the server;

[0007] Update the database according to the application theme data to obtain a database update result;

[0008] When the preset application theme update condition is met, the application theme is updated according to the database update result to obtain the application theme update result.

[0009] Optionally, when a preset subject data pulling condition is met, the step of pulling application subject data from the server includes:

[0010] Receive an application theme update instruction sent by the server, wherein the application theme update instruction includes an application theme display type, and the application theme display type includes a mandatory display type theme and a non-mandatory display type theme;

[0011] If the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and the application theme data is pulled from the server;

[0012] If the application theme data update type is a non-mandatory display theme, the application theme data is pulled from the server.

[0013] Optionally, if the application theme data update type is a mandatory display theme, then when a preset user activity condition is met, the application theme data update instruction is visually pushed, and the step of pulling the application theme data from the server includes:

[0014] If the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and it is determined whether there is application theme data corresponding to the application theme update instruction in the database;

[0015] If the database does not contain the application theme data corresponding to the application theme update instruction, the application theme data is pulled from the server.

[0016] Optionally, the step of updating the database according to the application theme data to obtain a database update result includes:

[0017] Get database data;

[0018] According to the database data, determining whether the application theme data is newly added data;

[0019] If the application theme data is newly added data, the application theme data is stored in the database to obtain a database update result;

[0020] If the application theme data is not newly added data, the database data corresponding to the application theme data in the database is updated according to the application theme data to obtain a database update result.

[0021] Optionally, when a preset application theme update condition is met, the application theme is updated according to the database update result, and the step of obtaining the application theme update result includes:

[0022] According to the preset color management system, determine whether the current application theme is empty;

[0023] If the current application theme is empty, the application theme is updated according to the database update result, and the current application theme is rendered and displayed according to a preset color rendering rule to obtain an application theme update result, and the application theme data is pulled from the server;

[0024] If the current application theme is not empty, determining whether the current application theme meets a preset application theme display condition;

[0025] If the current application theme meets the preset application theme display condition, the current application theme is updated according to the preset color rendering rule to obtain an application theme update result.

[0026] Optionally, the step of determining whether the current application theme meets a preset application theme display condition includes:

[0027] Acquire valid parameters of the current application theme, wherein the valid parameters include display valid time;

[0028] It is determined whether the display validity period of the current application theme meets a preset application theme display condition.

[0029] Optionally, if the current application theme is not empty, the step of determining whether the current application theme meets a preset application theme display condition includes:

[0030] If the current application theme does not meet the preset application theme display condition, the application theme is updated according to the preset application theme initial data, and the current application theme is rendered and displayed according to the preset color rendering rule to obtain the application theme update result.

[0031] The present application also provides an application theme updating device, which includes:

[0032] The theme data pulling module is used to pull application theme data from the server when the preset theme data pulling conditions are met;

[0033] A database update module, used to update the database according to the application theme data to obtain a database update result;

[0034] The application theme update module is used to update the application theme according to the database update result when the preset application theme update condition is met to obtain the application theme update result.

[0035] An embodiment of the present application also proposes a terminal device, which includes a memory, a processor, and an application theme update program stored in the memory and executable on the processor, wherein the application theme update program implements the steps of the application theme update method described above when executed by the processor.

[0036] The embodiment of the present application further provides a computer-readable storage medium, on which an application theme update program is stored. When the application theme update program is executed by a processor, the steps of the application theme update method described above are implemented.

[0037] The application theme updating method, apparatus, terminal device and storage medium proposed in the embodiments of the present application pull application theme data from the server when the preset theme data pulling condition is met; update the database according to the application theme data to obtain a database update result; when the preset application theme update condition is met, update the application theme according to the database update result to obtain an application theme update result. When the preset theme data pulling condition is met, the application end can pull the application theme data from the server and update the database according to the pulled application theme data. When the application end meets the preset application theme update condition, the application theme of the application end can be updated according to the application theme data in the database. Through this method, the user can pull the application theme data on the server through the application end and update the theme of the application end through the application theme data, which greatly increases the flexibility of the application update theme and improves the user's personalized experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 This is a functional module diagram of a terminal device to which the application theme update device belongs;

[0039] Figure 2 A flowchart of a first exemplary embodiment of a method for updating a subject of the present application;

[0040] Figure 3 The application theme update method for this application applies the theme data information diagram;

[0041] Figure 4 A flowchart of a second exemplary embodiment of a method for updating a theme of the present application;

[0042] Figure 5 A flowchart of a third exemplary embodiment of a method for updating a theme of the present application;

[0043] Figure 6 A flowchart of a fourth exemplary embodiment of a method for updating a theme of the present application;

[0044] Figure 7A flowchart of a fifth exemplary embodiment of a method for updating a theme of the present application;

[0045] Figure 8 A flowchart of a sixth exemplary embodiment of a method for updating a subject of the present application;

[0046] Fig. 9 A flowchart of a seventh exemplary embodiment of a method for updating a subject of the present application;

[0047] Fig.10 This is a flowchart of the method for updating the application theme of this application.

[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0050] The main solution of the embodiment of the present application is: when the preset theme data pulling conditions are met, the application theme data is pulled from the server; the database is updated according to the application theme data to obtain a database update result; when the preset application theme update conditions are met, the application theme is updated according to the database update result to obtain an application theme update result. When the preset theme data pulling conditions are met, the application end can pull the application theme data from the server and update the database according to the pulled application theme data. When the application end meets the preset application theme update conditions, the application theme of the application end can be updated according to the application theme data in the database. Through this method, the user can pull the application theme data on the server through the application end and update the theme of the application end through the application theme data, which greatly increases the flexibility of the application update theme and improves the user's personalized experience.

[0051] This embodiment takes into account that with the development and progress of society, mobile applications have become an indispensable part of people's daily lives. In order to attract users while meeting their requirements for applications, application developers not only need to keep updating and iterating on application functions, layouts, and interactive designs, but also need to carefully create and update and optimize the visual effects of the application. However, current mobile application theme data is usually fixed during the application development stage, or application developers can only provide limited theme data for users to choose from. Users cannot obtain and change the newly developed application themes of developers in real time through the application, resulting in a poor user experience with the application.

[0052] Based on this, an embodiment of the present application proposes a solution. When the application end meets the preset theme data pulling conditions, the application end can pull application theme data from the server end and update the database according to the pulled application theme data. When the application end meets the preset application theme update conditions, the application end can update the application theme of the application end according to the application theme data in the database. Through this method, the user can pull application theme data on the server end through the application end and update or replace the theme of the application end according to the obtained application theme data, which greatly increases the flexibility of application update themes and improves the user's personalized experience.

[0053] Specifically, refer to Figure 1 , Figure 1 This is a functional module diagram of the terminal device to which the application theme update device of this application belongs. The application theme update device can be a device independent of the terminal device and capable of data processing, or it can be carried on the terminal device in the form of hardware or software.

[0054] In this embodiment, the terminal device to which the application theme updating apparatus belongs includes at least an output module 110 , a processor 120 , a memory 130 and a communication module 140 .

[0055] The memory 130 stores an operating system and an application theme update program. When the preset theme data pulling condition is met, the application theme data is pulled from the server; the database is updated according to the application theme data to obtain a database update result; when the preset application theme update condition is met, the application theme is updated according to the database update result to obtain an application theme update result, which is stored in the memory 130. The output module 110 can be a display screen, a speaker, etc. The communication module 140 can include a WIFI module, a mobile communication module, a Bluetooth module, etc., and communicates with an external device or a server through the communication module 140.

[0056] When the application theme update program in the memory 130 is executed by the processor, the following steps are implemented:

[0057] When the preset theme data pulling conditions are met, the application theme data is pulled from the server;

[0058] Update the database according to the application theme data to obtain a database update result;

[0059] When the preset application theme update condition is met, the application theme is updated according to the database update result to obtain the application theme update result.

[0060] Furthermore, when the application theme update program in the memory 130 is executed by the processor, the following steps are also implemented:

[0061] Receive an application theme update instruction sent by the server, wherein the application theme update instruction includes an application theme display type, and the application theme display type includes a mandatory display type theme and a non-mandatory display type theme;

[0062] If the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and the application theme data is pulled from the server;

[0063] If the application theme data update type is a non-mandatory display theme, the application theme data is pulled from the server.

[0064] Furthermore, when the application theme update program in the memory 130 is executed by the processor, the following steps are also implemented:

[0065] If the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and it is determined whether there is application theme data corresponding to the application theme update instruction in the database;

[0066] If the database does not contain the application theme data corresponding to the application theme update instruction, the application theme data is pulled from the server.

[0067] Furthermore, when the application theme update program in the memory 130 is executed by the processor, the following steps are also implemented:

[0068] Get database data;

[0069] According to the database data, determining whether the application theme data is newly added data;

[0070] If the application theme data is newly added data, the application theme data is stored in the database to obtain a database update result;

[0071] If the application theme data is not newly added data, the database data corresponding to the application theme data in the database is updated according to the application theme data to obtain a database update result.

[0072] Furthermore, when the application theme update program in the memory 130 is executed by the processor, the following steps are also implemented:

[0073] According to the preset color management system, determine whether the current application theme is empty;

[0074] If the current application theme is empty, the application theme is updated according to the database update result, and the current application theme is rendered and displayed according to a preset color rendering rule to obtain an application theme update result, and the application theme data is pulled from the server;

[0075] If the current application theme is not empty, determining whether the current application theme meets a preset application theme display condition;

[0076] If the current application theme meets the preset application theme display condition, the current application theme is updated according to the preset color rendering rule to obtain an application theme update result.

[0077] Furthermore, when the application theme update program in the memory 130 is executed by the processor, the following steps are also implemented:

[0078] Acquire valid parameters of the current application theme, wherein the valid parameters include display valid time;

[0079] It is determined whether the display validity period of the current application theme meets a preset application theme display condition.

[0080] Furthermore, when the application theme update program in the memory 130 is executed by the processor, the following steps are also implemented:

[0081] If the current application theme does not meet the preset application theme display condition, the application theme is updated according to the preset application theme initial data, and the current application theme is rendered and displayed according to the preset color rendering rule to obtain the application theme update result.

[0082] Through the above scheme, this embodiment pulls application theme data from the server when the application meets the preset theme data pulling conditions; updates the database according to the application theme data to obtain a database update result; and updates the application theme according to the database update result to obtain an application theme update result when the preset application theme data pulling conditions are met. The application can pull application theme data from the server and update the database according to the pulled application theme data. When the application meets the preset application theme update conditions, the application theme of the application can be updated according to the application theme data in the database. Through this method, users can pull application theme data on the server through the application and update the theme of the application through the application, which greatly increases the flexibility of application update themes and improves the user's personalized experience.

[0083] Reference Figure 2 , Figure 2This is a flowchart of a first exemplary embodiment of a method for updating application themes of this application.

[0084] An embodiment of the present invention provides an application theme updating method, the method comprising:

[0085] Step S10, when the preset subject data pulling condition is met, the application subject data is pulled from the server;

[0086] Theme data pulling conditions refer to some rules or conditions set in the application to trigger the application to obtain application theme data from the server. For example, when the application receives an application theme update instruction sent by the server, or when the application determines that the current application theme is empty, it can be considered that the preset theme data pulling conditions are met.

[0087] Furthermore, as an implementation method, when the application receives an application theme update instruction sent by the server or determines that the current application theme is empty, the application will send a request to the server to pull the latest application theme data. After the application pulls the application theme data, the user can view and use the application theme data through the application. This method can not only help the application to update the application theme data in a timely manner, maintain data consistency with the server, and improve the efficiency and reliability of the application, but also enhance the user experience of the application.

[0088] Reference Figure 3 , Figure 3 This application applies a theme data information diagram of the method for updating the theme.

[0089] like Figure 3 As shown, the application theme data may include the name of the application theme, the display type of the application theme, and various necessary parameters involved in the normal display of the application theme, such as hexadecimal color parameters, start display time, end display time, and color name.

[0090] Step S20, updating the database according to the application theme data to obtain a database update result;

[0091] After the application side pulls the application theme data from the server side, the application side can update the local database according to the pulled application theme data.

[0092] Among them, as an implementation method, after the application end pulls the application theme data, the application end queries whether there is application theme data corresponding to the pulled application theme data in the local database. Furthermore, the application end can determine whether the pulled application theme data is newly added theme data by querying whether there is application theme data corresponding to the pulled application theme data in the local database. If the application end queries the local database and finds that there is no application theme data corresponding to the pulled application theme data, the application end determines that the pulled application theme data is newly added theme data, and the application end caches the pulled application theme data in the local database. If there is application theme data corresponding to the pulled application theme data in the local database, the application end determines that the pulled application theme data is not newly added theme data, and the application end updates the corresponding application theme data stored in the database according to the pulled application theme data, so that the local database application theme data in the application end remains the same as that on the server.

[0093] The not newly added theme data refers to the pulled application theme data being data for updating the application theme data previously cached in the local database.

[0094] Step S30, when the preset application theme update condition is met, the application theme is updated according to the database update result to obtain the application theme update result;

[0095] Among them, the application theme update condition refers to the trigger condition for the application end to update the application theme. Specifically, the trigger condition may include the application end determining that the current application theme of the application end is empty and the application end determining that the current application theme of the application end is empty or not empty and meets the preset application theme display condition.

[0096] As an implementation method, when the application determines that the current application theme of the application is empty and the application determines that the current application theme of the application is not empty and meets the preset application theme display conditions, the application updates the application theme according to the theme data cached in the database.

[0097] The application theme updating method proposed in the embodiment of the present application pulls application theme data from the server when the preset theme data pulling condition is met; updates the database according to the application theme data to obtain a database update result; updates the application theme according to the database update result to obtain an application theme update result when the preset application theme update condition is met. When the preset theme data pulling condition is met, the application end can pull the application theme data from the server and update the database according to the pulled application theme data. When the application end meets the preset application theme update condition, the application theme of the application end can be updated according to the application theme data in the database. Through this method, the user can pull the application theme data on the server through the application end and update the theme of the application end through the application theme data, which greatly increases the flexibility of the application update theme and improves the user's personalized experience.

[0098] Reference Figure 4 , Figure 4 This is a flowchart of a second exemplary embodiment of the method for updating application themes of this application.

[0099] Based on the first embodiment, a second embodiment of the present application is proposed. The difference between the second embodiment of the present application and the first embodiment is that:

[0100] In this embodiment, in step S10, when the preset subject data pulling condition is met, the application subject data is pulled from the server for refinement, wherein the refinement step may include:

[0101] Step S11, receiving an application theme update instruction sent by the server, wherein the application theme update instruction includes an application theme display type, and the application theme display type includes a mandatory display type theme and a non-mandatory display type theme;

[0102] When the application end receives the application theme update instruction sent by the server end, the application end pulls the application theme data from the server end, wherein the application theme update instruction may include two theme display types, namely, forced display type themes and non-forced display type themes. The application developer may set the display type of the application theme it develops and pushes according to actual conditions. Specifically, a forced display type theme refers to a theme that is forced to be displayed or applied on the application end, and the user cannot select it, while a non-forced display type theme refers to a theme that is not forced to be displayed or applied in the application, and the user can choose whether to display or apply it. As an implementation method, when the application end receives the application theme update instruction sent by the server end, the application end will pull the corresponding application theme data from the server end, wherein the application theme update instruction includes two theme display types, namely, forced display type themes and non-forced display type themes. The application end may perform subsequent processing on the application theme through the theme display type carried by the application theme update instruction.

[0103] Step S12: if the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and the application theme data is pulled from the server;

[0104] Furthermore, when the theme display type in the application theme update instruction sent by the server and received by the application is a forced display theme and the application meets the preset user activity conditions, the application visualizes the application theme data update instruction and pushes it to the application user interface.

[0105] Among them, the application side meets the preset user activity conditions, which refers to the rules or conditions pre-set by the application side to judge and evaluate the user's online behavior to determine whether the user is online and active. As an implementation method, the application side can judge the user's online behavior conditions such as the user's online time on the application side, the number of user operations in the application side, and the degree of interaction between the user and other application side users in the application side. When the user's online behavior meets the preset user activity conditions, the application side determines that the user of the application side is an online active user. At this time, the application side visualizes the received application theme update instruction and pushes it to the application side user interface, so that the user can view the visualization result.

[0106] Step S13: if the application theme data update type is a non-mandatory display theme, then the application theme data is pulled from the server;

[0107] When the theme display type in the application theme update instruction sent by the server and received by the application is a non-mandatory display theme, the application can directly pull the application theme data from the server without further determining whether the user activity condition is met.

[0108] Among them, non-mandatory display themes can be understood as application themes that are updated or developed on a daily basis by application theme developers. The application end does not need to be forced to display or apply them. Users can choose whether to display or apply non-mandatory display themes on the application end according to their own preferences.

[0109] The application theme update method proposed in the embodiment of the present application receives an application theme update instruction sent by a server, wherein the application theme update instruction includes an application theme display type, and the application theme display type includes a mandatory display type theme and a non-mandatory display type theme; if the application theme data update type is a mandatory display type theme, then when a preset user activity condition is met, the application theme data update instruction is visually pushed, and the application theme data is pulled from the server; if the application theme data update type is a non-mandatory display type theme, the application theme data is pulled from the server, and the application end receives the application theme update instruction sent by the server and judges the application theme data update type contained in the update instruction, so as to determine whether it is necessary to visually push the application theme update instruction when the user activity condition is met, that is, when the application theme data update type in the application theme update instruction sent by the server is a mandatory display type theme, before the application end pulls the application theme data from the server, the application end can visually push the application theme update instruction to users who meet the user activity condition, so that users who meet the user activity condition can understand the application theme that is about to be displayed by the application end in advance, thereby improving the user experience of the application.

[0110] Reference Figure 5 , Figure 5 This is a flowchart of a third exemplary embodiment of the method for updating application themes of this application.

[0111] Based on the second embodiment, a third embodiment of the present application is proposed. The difference between the third embodiment of the present application and the second embodiment is that:

[0112] In this embodiment, for step S12, if the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and the application theme data is pulled from the server for refinement, wherein the refinement step may include:

[0113] Step S121, if the application theme data update type is a mandatory display theme, then when a preset user activity condition is met, the application theme data update instruction is visually pushed, and it is determined whether there is application theme data corresponding to the application theme update instruction in the database;

[0114] Since some application themes will be reused according to actual conditions, after the application receives the application theme data update instruction sent by the server, if the application theme data update type in the application theme data update instruction is a forced display theme and the application meets the user activity conditions and pushes it visually, the application also needs to determine whether the application theme that needs to be forced to be displayed later is the application theme that has been previously cached in the local database, so as to avoid repeated pulling of the cached application theme data in the local time.

[0115] Among them, after the application side visually pushes the application theme data update instruction, the application side determines whether there is application theme data corresponding to the application theme update instruction in the database. Specifically, the application side checks whether the theme data associated with the update instruction is stored in the database to ensure that the update operation can be carried out smoothly and displayed to the user.

[0116] Step S122, if the database does not contain the application theme data corresponding to the application theme update instruction, then pull the application theme data from the server;

[0117] If the application determines that there is no application theme data corresponding to the application theme update instruction in the database, the application pulls the application theme data related to the application theme update instruction from the server so that it can be applied or displayed later.

[0118] The application theme update method proposed in the embodiment of the present application determines the application theme data update type in the received application theme update instruction by the application end. If the application theme data update type is a forced display type theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and it is determined whether the database has application theme data corresponding to the application theme update instruction; if the database does not have application theme data corresponding to the application theme update instruction, the application theme data is pulled from the server. Through this method, the application end can avoid repeatedly pulling the application theme data cached in the local database from the server, thereby saving storage space of the local database.

[0119] Reference Figure 6 , Figure 6 This is a flowchart of a fourth exemplary embodiment of the method for updating application themes of this application.

[0120] Based on the second embodiment, a fourth embodiment of the present application is proposed. The difference between the fourth embodiment of the present application and the second embodiment is that:

[0121] In this embodiment, in step S20, the database is updated according to the application theme data, and the database update result is refined, wherein the refinement step may include:

[0122] Step S21, obtaining database data;

[0123] Step S22, judging whether the application theme data is newly added data according to the database data;

[0124] After the application end pulls the application theme data from the server end, the application end obtains the local database data so as to determine whether the pulled application theme data is new data according to the local database data.

[0125] Among them, as an implementation method, the application side can compare the application theme data obtained from the server side with the application theme data cached in the local database. If the application side cannot find the data records corresponding to the pulled application theme data in the local database, then it can be inferred that the pulled application theme data are new data. Conversely, if the data records corresponding to the pulled application theme data are found in the local database, then it can be considered that the pulled application theme data are not new data.

[0126] Specifically, the method for the application end to compare the application theme data in the local database with the application theme data pulled from the server end may include:

[0127] Data unique identification comparison: Determine the unique identification field of the application theme data record, such as a unique ID such as the application theme name, etc. By comparing these unique identification fields, you can quickly determine whether there are duplicate data records.

[0128] Data field content comparison: Compare the specific field content in each data record to check whether there is the same data or different data. The comparison can be performed field by field to determine the difference between the pulled application theme data and the application theme data cached in the local database. Based on the difference, it can be determined whether the pulled application theme data is new data.

[0129] The above methods can be used in combination and are not specifically limited here.

[0130] Step S23, if the application theme data is newly added data, the application theme data is stored in the database to obtain a database update result;

[0131] Step S24, if the application theme data is not newly added data, then according to the application theme data, the database data corresponding to the application theme data in the database is updated to obtain a database update result;

[0132] When the application side determines that the pulled application theme data is new data, the application side stores the application theme data in a local database for subsequent calls.

[0133] When the application side determines that the pulled application theme data is not new data, the application side updates the data corresponding to the pulled application theme data in the local database based on the pulled application theme data, so that it is consistent with the application theme data pulled by the server. Among them, the application theme data is not new data, which can be understood as update data of the original application theme data, not brand new application theme data. Therefore, it does not need to be completely cached in the local database, and it is only necessary to add the updated data to the original corresponding application theme data.

[0134] The application theme updating method proposed in the embodiment of the present application obtains database data; determines whether the application theme data is newly added data based on the database data; if the application theme data is newly added data, stores the application theme data in the database to obtain a database update result; if the application theme data is not newly added data, updates the database data corresponding to the application theme data in the database based on the application theme data to obtain a database update result. After the application end obtains the database data, the application end can determine whether the pulled application theme data is newly added data based on the database data. When the pulled application theme data is newly added data, the application end can store it in the database. When the pulled application theme data is not newly added data, the application end can update the data stored in the database based on the pulled data. In this way, the application theme data cached in the database can be fully utilized to complete the addition of non-new data, thereby improving the storage space utilization rate of the database.

[0135] Reference Figure 7 , Figure 7 This is a flowchart of a fifth exemplary embodiment of the method for updating application themes of the present application.

[0136] Based on the fourth embodiment, a fifth embodiment of the present application is proposed. The difference between the fifth embodiment of the present application and the fourth embodiment is that:

[0137] In this embodiment, for step S30, when the preset application theme update condition is met, the application theme is updated according to the database update result, and the obtained application theme update result is refined, wherein the refinement step may include:

[0138] Step S31, judging whether the current application theme is empty according to the preset color management system;

[0139] Step S32, if the current application theme is empty, the current application theme is updated according to the database update result, and the current application theme is rendered and displayed according to the preset color rendering rule to obtain the application theme update result, and the application theme data is pulled from the server;

[0140] The color management system refers to a system module set in the application end to judge the application theme. Through this system, the application developer can configure the parameters of the application theme on the application end.

[0141] As an implementation method, when a user logs in to the application end, the color management system will determine whether the current application theme of the application end is empty. If the current application theme is empty, the preset application theme initial data will be applied, that is, the application theme corresponding to the preset application theme initial data will be displayed first. Subsequently, the application end will update the current application theme according to the application theme data cached in the database and the preset color rendering rules to obtain the application theme update result.

[0142] Among them, the preset application theme initial data can be understood as the application theme data of the default application theme. The default application theme data does not need to be obtained by the application end pulling from the server end, but is the application theme data that comes with the application end when the user downloads the application end.

[0143] The preset color rendering rule refers to the application theme brightness mode pre-set in the application theme data. The brightness mode can be divided into two types, one is day mode and the other is dark mode. The brightness mode can be pre-set in the application theme data. As an implementation method, the color value of the application theme can be set by two sets of hexadecimal key value pairs Light (brightness) and Dark (darkness). If the application does not support dark mode, the value of Dark can be set to empty.

[0144] Furthermore, after the current application theme is updated, the application end may pull the application theme data from the server end, so that the application theme data in the local database is consistent with the server end data.

[0145] Step S33, if the current application theme is not empty, determining whether the current application theme meets a preset application theme display condition;

[0146] Step S34, if the current application theme meets the preset application theme display condition, the current application theme is updated according to the preset color rendering rule to obtain an application theme update result;

[0147] If the color management system determines that the current application theme is not empty, the application side further determines whether the current application theme meets the preset application theme display conditions.

[0148] Among them, the preset application theme display conditions refer to the compliance conditions for the display of the application theme. The application theme can be displayed or applied only when it meets the compliance conditions for the display. For example, each application theme has a corresponding application theme validity period, and the application theme can be displayed or applied only within the application theme validity period. Therefore, if the color management system determines that the current application theme is not empty, the application end needs to determine whether the current application theme meets the preset application theme display conditions to avoid displaying or applying application themes that do not meet the display compliance conditions.

[0149] When it is determined that the current application theme meets the preset application theme display condition, the application end updates the application theme according to the color rendering rule to make it use the brightness mode set by the application theme developer.

[0150] The application theme updating method proposed in the embodiment of the present application determines whether the current application theme is empty according to the preset color management system; if the current application theme is empty, the current application theme is updated according to the database update result, and the current application theme is rendered and displayed according to the preset color rendering rule to obtain the application theme update result, and the application theme data is pulled from the server; if the current application theme is not empty, it is determined whether the current application theme meets the preset application theme display condition; if the current application theme meets the preset application theme display condition, the current application theme is updated according to the preset color rendering rule to obtain the application theme update result, and the color management system determines the current application theme. When it is determined that the current application theme is empty, the application theme can be updated according to the application theme data cached in the database and the color rendering rule, and the application theme data is pulled from the server after the update, so as to avoid the situation that the application theme cannot be displayed when the user starts the application for the first time and the application theme preferred by the user cannot be selected, and by judging the display condition of the current application theme, the situation of displaying non-compliant application themes can be avoided.

[0151] Reference Figure 8 , Figure 8 This is a flowchart of a sixth exemplary embodiment of the method for updating application themes of the present application.

[0152] Based on the fifth embodiment, a sixth embodiment of the present application is proposed. The difference between the sixth embodiment of the present application and the fifth embodiment is that:

[0153] In this embodiment, step S33, determining whether the current application theme meets the preset application theme display condition, is refined, wherein the refining steps may include:

[0154] Step S331, obtaining valid parameters of the current application theme, wherein the valid parameters include display valid time;

[0155] After determining that the current application theme is not empty, valid parameters of the current application theme may be obtained so as to further determine the compliance conditions of the current application theme.

[0156] Among them, the valid parameters of the current application theme may include the display validity period of the application theme. Specifically, the display validity period of the application theme is the application theme effective date and expiration date pre-set by the application theme developer in the application theme data. The application theme can only be displayed or applied normally between the effective date and the expiration date.

[0157] Step S332, determining whether the display validity period of the current application theme meets the preset application theme display condition;

[0158] As an implementation method, after obtaining the display validity time of the current application theme, it is determined whether the actual time when the current application theme is displayed or applied is between the application theme effective date and the expiration date. If it is determined that the actual time when the current application theme is displayed is between the application theme effective date and the expiration date, then it is determined that the current application theme meets the preset application theme display conditions, and the current application theme is rendered and displayed according to the color rendering rules to complete the update of the application theme.

[0159] The application theme updating method proposed in the embodiment of the present application obtains the valid parameters of the current application theme, and the valid parameters include a display effective time and judges whether the display effective time of the current application theme meets the preset application theme display conditions. By judging the display effective time of the current application theme, the method can help the application end identify whether the application theme meets the application theme display conditions, and provide a processing basis for subsequent processing of the current application theme.

[0160] Reference Fig. 9 , Fig. 9 This is a flowchart of a seventh exemplary embodiment of the method for updating application themes of the present application.

[0161] Based on the sixth embodiment, a seventh embodiment of the present application is proposed. The difference between the seventh embodiment of the present application and the sixth embodiment is that:

[0162] In this embodiment, in step S33, if the current application theme is not empty, then after determining whether the current application theme meets the preset application theme display condition, the following steps are further performed:

[0163] Step S35, if the current application theme does not meet the preset application theme display condition, the application theme is updated according to the preset application theme initial data, and the current application theme is rendered and displayed according to the preset color rendering rule to obtain the application theme update result;

[0164] As an implementation method, when it is determined that the current application theme does not meet the preset application theme display conditions, in order to prevent the application theme from being unable to be displayed normally, the application theme can be updated according to the application theme initial data brought by the application end, and the current application theme can be rendered and displayed according to the color rendering rules, so that the application end can display the application theme normally, wherein the color rendering rules may include the adjustment of parameters such as the brightness and contrast of the application theme color.

[0165] The application theme updating method proposed in the embodiment of the present application, if the current application theme is not empty, determines whether the current application theme meets the preset application theme display conditions; if the current application theme does not meet the preset application theme display conditions, updates the application theme according to the preset application theme initial data, and renders and displays the current application theme according to the preset color rendering rules to obtain the application theme update result; through this method, the application end can update the current application theme that does not meet the application theme display conditions according to the application theme initial data and the color rendering rules, thereby avoiding the application theme that does not meet the display conditions from being displayed or applied to the user interface.

[0166] Reference Fig.10 , Fig.10 This is a flowchart of the method for updating the application theme of this application.

[0167] like Fig.10As shown, after the server (backend) preconfigures the application theme color, the server sends an application theme data update instruction to the server. If the application theme data update instruction is a non-mandatory display application theme, the application directly pulls the application theme data related to the instruction from the server and waits for the user to make a selection. If the application theme data update instruction is a mandatory display application theme, it is pushed to the online user and displayed after the server pulls the application theme data related to the instruction. In addition, when the user starts the application, the color management center in the application determines whether the application theme of the current application is empty. If it is empty, it is updated according to the data. The initial application theme data and color rendering rules (i.e., according to the color mode) in the library are used to render and display the default application theme, and at the same time, the latest application theme data is pulled from the server. If the application theme of the current application is not empty, the display condition judgment is performed on the current application theme. If the current application theme passes the display condition judgment, the current application theme is continued to be rendered and displayed according to the color rendering rules to complete the entire application theme update process. It should be noted that after the application pulls the application theme data from the server, the application stores the pulled application theme data in the local database for the user or subsequent application to call.

[0168] Specifically, the application theme updating method of the present application may include:

[0169] 1. Remote theme configuration pull: When the application is started for the first time, the application requests the application theme data from the server (backend) and parses the application theme data. After the parsing is completed, it is cached to the local database. If after the application is installed, the application receives an application theme update instruction sent by the server, the application pulls the relevant data from the background and updates the pulled data to the local database to keep the application theme data of the application and the server unified.

[0170] 2. Color analysis and application: When the application is cold started, the application reads the application theme from the local database for display. If there is a mandatory display application theme and the application theme is within the effective date, it will be displayed first, followed by the theme set by the user, and finally the default application theme corresponding to the initial application theme data.

[0171] 3. Background configuration update notification and cache update: When the server modifies the color of an application theme, adds a new theme, or removes it from the shelves, it will send an application theme data update instruction to the application, notifying the application to pull the latest application theme data from the server to the local database.

[0172] 4. Application theme effectiveness mechanism:

[0173] a. When the user chooses to switch themes, if the current application theme is a non-mandatory display application theme, the application theme selected by the user can be displayed.

[0174] b. When the user chooses to switch themes, if the current application theme is a mandatory display application theme pushed by the server, the application theme selected by the user cannot be displayed.

[0175] c. When the server pushes a non-mandatory display application theme, online users are not affected. After the application completes pulling the data, users can change the application theme online without restarting the application.

[0176] 5. Theme application: When loading a page, all places where colors need to be set are read from the color management center. Theme color management is convenient.

[0177] In addition, the embodiment of the present application further provides an application theme updating device, the application theme updating device comprising:

[0178] The theme data pulling module is used to pull application theme data from the server when the preset theme data pulling conditions are met;

[0179] A database update module, used to update the database according to the application theme data to obtain a database update result;

[0180] The application theme update module is used to update the application theme according to the database update result when the preset application theme update condition is met to obtain the application theme update result.

[0181] For the principle and implementation process of implementing application theme update in this embodiment, please refer to the above embodiments and will not be repeated here.

[0182] In addition, an embodiment of the present application also proposes a terminal device, which includes a memory, a processor, and an application theme update program stored in the memory and executable on the processor, and when the application theme update program is executed by the processor, the steps of the application theme update method described above are implemented.

[0183] Since the application theme update program adopts all the technical solutions of all the aforementioned embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.

[0184] In addition, an embodiment of the present application further proposes a computer-readable storage medium, on which an application theme update program is stored. When the application theme update program is executed by a processor, the steps of the application theme update method described above are implemented.

[0185] Since the application theme update program adopts all the technical solutions of all the aforementioned embodiments when executed by the processor, it has at least all the beneficial effects brought by all the technical solutions of all the aforementioned embodiments, which will not be described one by one here.

[0186] Compared with the prior art, the application theme updating method proposed in the embodiment of the present application pulls application theme data from the server when the preset theme data pulling conditions are met; updates the database according to the application theme data to obtain a database update result; when the preset application theme update conditions are met, updates the application theme according to the database update result to obtain an application theme update result. When the preset theme data pulling conditions are met, the application end can pull application theme data from the server and update the database according to the pulled application theme data. When the application end meets the preset application theme update conditions, the application theme of the application end can be updated according to the application theme data in the database. Through this method, the user can pull application theme data on the server through the application end and update the theme of the application end through the application theme data, which greatly increases the flexibility of application update themes and improves the user's personalized experience.

[0187] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0188] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0189] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0190] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for updating an application theme, characterized in that: The method is applied to an application end, and the method includes: When the preset theme data pulling conditions are met, the application theme data is pulled from the server; Update the database according to the application theme data to obtain a database update result; When the preset application theme update condition is met, the application theme is updated according to the database update result to obtain the application theme update result.

2. The application theme updating method according to claim 1, characterized in that: When the preset subject data pulling condition is met, the step of pulling the application subject data from the server includes: Receive an application theme update instruction sent by the server, wherein the application theme update instruction includes an application theme display type, and the application theme display type includes a mandatory display type theme and a non-mandatory display type theme; If the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and the application theme data is pulled from the server; If the application theme data update type is a non-mandatory display theme, the application theme data is pulled from the server.

3. The application theme updating method according to claim 2, characterized in that: If the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and the step of pulling the application theme data from the server includes: If the application theme data update type is a mandatory display theme, then when the preset user activity condition is met, the application theme data update instruction is visually pushed, and it is determined whether there is application theme data corresponding to the application theme update instruction in the database; If the database does not contain the application theme data corresponding to the application theme update instruction, the application theme data is pulled from the server.

4. The application theme updating method according to claim 2, characterized in that: The step of updating the database according to the application theme data to obtain the database update result comprises: Get database data; According to the database data, determining whether the application theme data is newly added data; If the application theme data is newly added data, the application theme data is stored in the database to obtain a database update result; If the application theme data is not newly added data, then the database data corresponding to the application theme data in the database is updated according to the application theme data to obtain a database update result.

5. The application theme updating method according to claim 4, characterized in that: When the preset application theme update condition is met, the application theme is updated according to the database update result, and the step of obtaining the application theme update result includes: According to the preset color management system, determine whether the current application theme is empty; If the current application theme is empty, the current application theme is updated according to the database update result, and the current application theme is rendered and displayed according to a preset color rendering rule to obtain an application theme update result, and the application theme data is pulled from the server; If the current application theme is not empty, determining whether the current application theme meets a preset application theme display condition; If the current application theme meets the preset application theme display condition, the current application theme is updated according to the preset color rendering rule to obtain an application theme update result.

6. The application theme updating method according to claim 5, characterized in that: The step of determining whether the current application theme meets the preset application theme display condition comprises: Acquire valid parameters of the current application theme, wherein the valid parameters include display valid time; It is determined whether the display validity period of the current application theme meets a preset application theme display condition.

7. The application theme updating method according to claim 6, characterized in that: If the current application theme is not empty, the step of determining whether the current application theme meets the preset application theme display condition includes: If the current application theme does not meet the preset application theme display condition, the current application theme is updated according to the preset application theme initial data, and the current application theme is rendered and displayed according to the preset color rendering rule to obtain the application theme update result.

8. An application theme updating device, characterized in that: The application theme updating device comprises: The theme data pulling module is used to pull application theme data from the server when the preset theme data pulling conditions are met; A database update module, used to update the database according to the application theme data to obtain a database update result; The application theme update module is used to update the application theme according to the database update result when the preset application theme update condition is met to obtain the application theme update result.

9. A terminal device, characterized in that: The terminal device includes a memory, a processor, and an application theme update program stored in the memory and executable on the processor. When the application theme update program is executed by the processor, the steps of the application theme update method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an application theme update program, and when the application theme update program is executed by the processor, the steps of the application theme update method according to any one of claims 1 to 7 are implemented.