Application configuration updating method and device and configuration plug-in generation method and device
By sending plug-in update detection instructions to the plug-in configuration platform and obtaining update configuration plug-in methods, the high upgrade cost caused by frequent configuration switch changes is solved, and the switching configuration information of a large number of configuration switches is efficiently managed and maintained, reducing maintenance costs and improving configuration efficiency.
Patent Information
- Application Number
- CN202311200659.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-18
- Publication Date
- 2025-03-18
AI Technical Summary
During application development, frequent configuration switch changes lead to high upgrade costs, and it is difficult for the existing technology to efficiently manage and maintain a large number of switch configuration information of configuration switches.
By sending plug-in update detection instructions to the plug-in configuration platform, we obtain the current update status of the switch configuration plug-in of the target application, and obtain and apply the update configuration plug-in when an update exists to update the switch configuration information of the target application.
It reduces the platform's maintenance cost for configuration information, improves the scalability of configuration switches, reduces the complexity of requests, and improves the switching configuration efficiency.
Smart Images

Figure CN119645443A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an application configuration updating method, a configuration plug-in generating method and a device. Background Art
[0002] In the process of application development, there are usually a large number of functions that need to be changed in real time, such as controlling the enablement or disablement of a function in real time through configuration switches, displaying and hiding pages, and performing split tests for functions in different regions, different time grayscales, or different experiences. These are relatively small changes and may be changed frequently, especially for some terminals where the upgrade cost is very high. For example, in the field of the Internet of Things, some terminals need to contact the seller to communicate about the upgrade, so this frequent change and upgrade demand will increase the upgrade cost. At present, in response to the above problems, a configuration switch management platform can be developed through the background, and the terminal synchronizes the information of the background switch management platform and then dynamically updates the configuration information of the configuration switch to the code. However, with the increase in functions, the update requirements are also increasing. When the configuration switch is iterated from dozens of times to hundreds of times, it will be very inefficient to maintain the configuration information of hundreds of switches on a switch management platform, and the cost of maintaining the configuration information in the background is high. Summary of the invention
[0003] In view of the above-mentioned technical problems, the present disclosure proposes an application configuration update method, a configuration plug-in generation method and a device.
[0004] According to one aspect of an embodiment of the present disclosure, a method for updating an application configuration is provided, including:
[0005] Sending a plug-in update detection instruction for a target application to a plug-in configuration platform to obtain a current plug-in update status of a switch configuration plug-in corresponding to the target application; the current plug-in update status is used to indicate whether the switch configuration plug-in corresponding to the target application has been updated;
[0006] When the current plug-in update status indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, sending an update plug-in acquisition instruction for the target application to the plug-in configuration platform to acquire the update configuration plug-in corresponding to the target application from the plug-in configuration platform; the update configuration plug-in is generated based on the switch configuration information corresponding to the plurality of configuration switches in the target application;
[0007] Based on the update configuration plug-in, the switch configuration information corresponding to the target application is updated.
[0008] According to another aspect of an embodiment of the present disclosure, a configuration plug-in generation method is provided, including:
[0009] Obtain target switch configuration information corresponding to multiple configuration switches in a target application;
[0010] Based on the target switch configuration information, generating an update configuration plug-in corresponding to the target application;
[0011] The updated configuration plug-in is uploaded to the plug-in configuration platform.
[0012] According to another aspect of an embodiment of the present disclosure, there is provided an application configuration updating device, including:
[0013] A first instruction sending module is used to send a plug-in update detection instruction for a target application to the plug-in configuration platform to obtain a current plug-in update status of a switch configuration plug-in corresponding to the target application; the current plug-in update status is used to indicate whether the switch configuration plug-in corresponding to the target application has been updated;
[0014] A second instruction sending module is used to send an update plug-in acquisition instruction for the target application to the plug-in configuration platform when the current plug-in update state indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, so as to acquire the update configuration plug-in corresponding to the target application from the plug-in configuration platform; the update configuration plug-in is generated based on the switch configuration information corresponding to the plurality of configuration switches;
[0015] A configuration update module is used to update the switch configuration information corresponding to the target application based on the update configuration plug-in.
[0016] Optionally, the first instruction sending module includes:
[0017] A third instruction sending module is used to send the plug-in update detection instruction to the plug-in configuration platform, so that the plug-in configuration platform obtains the latest plug-in version information of the switch configuration plug-in corresponding to each of the at least one application version information, and determines the current plug-in update state of the switch configuration plug-in corresponding to the at least one application version information based on the latest plug-in version information and the current plug-in version information;
[0018] The update status receiving module is used to receive the current plug-in update status sent by the plug-in configuration platform.
[0019] Optionally, the second instruction sending module includes:
[0020] An update version acquisition module, used to determine the update plug-in version information corresponding to the update configuration plug-in based on the current plug-in update status;
[0021] The fourth instruction sending module is used to send the update plug-in acquisition instruction carrying the update plug-in version information to the plug-in configuration platform, so as to acquire the update configuration plug-in from the plug-in configuration platform.
[0022] Optionally, the application configuration updating device further includes:
[0023] A request receiving module, used to receive an application service request for the target application sent by a user terminal;
[0024] The result returning module is used to return the application service result corresponding to the application service request to the user terminal based on the updated switch configuration information.
[0025] According to another aspect of an embodiment of the present disclosure, a configuration plug-in generating device is provided, including:
[0026] An information acquisition module, used for acquiring target switch configuration information for multiple configuration switches in a target application;
[0027] A plug-in generation module, used to generate an update configuration plug-in corresponding to the target application based on the target switch configuration information;
[0028] The first plug-in uploading module is used to upload the updated configuration plug-in to the plug-in configuration platform.
[0029] Optionally, the configuration plug-in generating device further includes:
[0030] A configuration version acquisition module, used to acquire configuration version information corresponding to the target switch configuration information;
[0031] A plug-in version generation module, used to generate target plug-in version information corresponding to the updated configuration plug-in based on the configuration version information;
[0032] Accordingly, the first plug-in uploading module includes:
[0033] The second plug-in uploading module is used to upload the update configuration plug-in and the target plug-in version information to the plug-in configuration platform.
[0034] Optionally, the configuration plug-in generating device further includes:
[0035] A first configuration acquisition module, used to acquire a plurality of first switch configuration information corresponding to the target application; the plurality of first switch configuration information is switch configuration information of a plurality of configuration switches in the target application;
[0036] The first merging module is used to merge the multiple first switch configuration information to obtain the target switch configuration information.
[0037] Optionally, the configuration plug-in generating device further includes:
[0038] A second configuration acquisition module, configured to acquire second switch configuration information corresponding to at least one updated configuration switch and third switch configuration information corresponding to at least one non-updated configuration switch;
[0039] The second merging module is used to merge the second switch configuration information and the third switch configuration information to obtain the target switch configuration information.
[0040] Optionally, the plug-in generation module includes:
[0041] The plug-in module is used to perform plug-in processing on the target switch configuration information to obtain the update configuration plug-in.
[0042] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the above-mentioned application configuration update method or the above-mentioned configuration plug-in generation method.
[0043] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the above-mentioned application configuration updating method or the above-mentioned configuration plug-in generating method.
[0044] According to another aspect of an embodiment of the present disclosure, a computer program product including instructions is provided, which, when executed on a computer, enables the computer to execute the above-mentioned application configuration updating method or the above-mentioned configuration plug-in generating method.
[0045] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0046] By sending a plug-in update detection instruction for the target application to the plug-in configuration platform, the current plug-in update status of the switch configuration plug-in corresponding to the target application is obtained, wherein the current plug-in update status is used to indicate whether the switch configuration plug-in corresponding to the target application has been updated. By introducing the plug-in configuration platform to manage the switch configuration plug-in, the increase in development cost caused by the addition of a new configuration platform can be avoided; then, when the current plug-in update status indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, an update plug-in acquisition instruction for the target application is sent to the plug-in configuration platform to obtain the update configuration plug-in corresponding to the target application from the plug-in configuration platform. The update configuration plug-in is generated based on the switch configuration information corresponding to multiple configuration switches in the target application. The configuration of the switch configuration information of multiple configuration switches is realized through a single switch configuration plug-in. The platform can turn the switch configuration information of maintaining a large number of configuration switches into a maintenance switch configuration plug-in, thereby reducing the platform's maintenance cost for configuration information, improving the scalability of configuration switches, and reducing the support cost of different types of configuration switches. Then, in combination with the update configuration plug-in, the switch configuration information corresponding to the target application is updated. By updating the switch configuration information of the target application through the plug-in, frequent requests for configuration information due to a large number of configuration switches can be avoided, the complexity of the request can be reduced, and the switch configuration efficiency can be improved.
[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0049] Figure 1 is a schematic diagram of an application system according to an exemplary embodiment;
[0050] Figure 2 is a flow chart of a method for updating application configuration according to an exemplary embodiment;
[0051] Figure 3 is a flowchart of a configuration plug-in generation method according to an exemplary embodiment;
[0052] Figure 4 is a schematic diagram showing an interaction process among a development terminal, a plug-in configuration platform, an application server and a user terminal according to an exemplary embodiment;
[0053] Figure 5 is a block diagram of an application configuration updating device according to an exemplary embodiment;
[0054] Figure 6 is a block diagram of a configuration plug-in generating device according to an exemplary embodiment;
[0055] Figure 7 is a block diagram of an electronic device for updating switch configuration information of a target application or for generating an update configuration plug-in according to an exemplary embodiment;
[0056] Figure 8 It is a block diagram of another electronic device for updating switch configuration information of a target application or for generating an update configuration plug-in according to an exemplary embodiment. DETAILED DESCRIPTION
[0057] Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0058] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0059] In addition, in order to better illustrate the present application, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present application can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present application.
[0060] At present, in the process of application development, the terminal upgrade needs to adapt to the B-side application. Random upgrades of terminal services may cause mismatches with the B-side application version and cause business operation failures. For example, in the field of Internet of Things, there are situations where applications need to be oriented to the B-side. To this end, it is necessary to implement high-frequency changes of similar function switches and fine-grained changes. The above changes can be made into configuration switch variables, and the switch configuration information of multiple configuration switches in the switch configuration management platform can be maintained through the background server. During the maintenance process, it is necessary to ensure that the configuration switches of different application version information do not affect each other. The switch configuration management platform needs to maintain multiple different switch configuration information according to the application version information, and different configuration management pages need to be developed for different types of configuration switches. Therefore, the above method needs to be strongly bound to the switch configuration management platform. Each configuration switch needs to correspond to the configuration information of each configuration switch in the switch configuration management platform. If there are a large number of configuration switches, the switch configuration management platform needs to maintain a large amount of configuration information of the configuration switches, and the maintenance cost is high. Secondly, the change of function usually requires modifying the configuration information of multiple configuration switches. In the process of configuring the above configuration information, the application server needs to request the configuration information of different configuration switches from the switch configuration management platform in sequence for a single configuration switch, that is, for multiple configuration switches, it is necessary to request the configuration information from the switch configuration management platform multiple times, and the complexity of the configuration information request is high. In addition, if a new configuration switch needs to be added, the switch configuration management platform needs to be modified synchronously, and the new configuration items need to be added synchronously in the switch configuration management platform, and then the update is issued. The scalability of the configuration switch is poor.
[0061] See also Figure 1 , Figure 1 01 is a schematic diagram of an application system according to an exemplary embodiment. The application system can be used in the application configuration update method or configuration plug-in generation method of the present application. The application system may at least include a development terminal 01, a plug-in configuration platform 02, an application server 03 and a user terminal 04.
[0062] In the embodiment of the present application, the development terminal 01 can be used to generate a configuration plug-in. Specifically, the development terminal 01 may include physical devices such as smart phones, desktop computers, tablet computers, laptops, smart speakers, vehicle-mounted terminals, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc., and may also include software running in physical devices, such as applications, etc. In the embodiment of the present application, the operating system running on the development terminal 01 may include but is not limited to Android system, Windows, etc.
[0063] In the embodiment of the present application, the plug-in configuration platform 02 can be used to manage and configure plug-ins; the plug-in configuration platform 02 can be set on a background server; the background server can be a backend server corresponding to the development terminal 01. Specifically, the background server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0064] In the embodiment of the present application, the application server 03 can be used to provide application services for the target application. Specifically, the above-mentioned application server 03 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0065] In the embodiment of the present application, the user terminal 04 can be used to send an application service request. Specifically, the user terminal 04 may include a smart phone, a desktop computer, a tablet computer, a laptop computer, a smart speaker, a car terminal, a digital assistant, an augmented reality (AR) / virtual reality (VR) device, a smart wearable device and other physical devices, and may also include software running in the physical device, such as an application program. The operating system running on the user terminal 04 in the embodiment of the present application may include but is not limited to Android system, Windows, etc.
[0066] In the embodiments of this specification, the development terminal 01, plug-in configuration platform 02, application server 03 and user terminal 04 may be directly or indirectly connected via wired or wireless communication, which is not limited in this application.
[0067] It should be noted that the following figure shows a possible sequence of steps, which is not actually limited to strictly following this sequence. Some steps can be executed in parallel without relying on each other.
[0068] Specifically, Figure 2 FIG. 1 is a flow chart of a method for updating an application configuration according to an exemplary embodiment. Figure 2 As shown, the application configuration update method can be used in electronic devices such as application servers, and can specifically include the following steps:
[0069] S201: Sending a plug-in update detection instruction for a target application to a plug-in configuration platform to obtain a current plug-in update status of a switch configuration plug-in corresponding to the target application.
[0070] In a specific embodiment, the target application may refer to an application that needs to configure switch configuration information of multiple configuration switches. The switch configuration information may refer to configuration information of the configuration switch in the target application. The configuration switch may be used to implement various functions of the target application. The switch configuration information may include switch indication information or image links, etc.; the switch indication information may be used to indicate whether the corresponding configuration switch is turned on or off.
[0071] In a specific embodiment, the plug-in update detection instruction can be used to instruct the plug-in configuration platform to detect whether there is an update to the switch configuration plug-in. The plug-in update detection instruction of the target application may include at least one application version information corresponding to the target application and the current plug-in version information corresponding to each of the at least one application version information. Among them, any application version information of the target application can represent any version of the above-mentioned target application; the target application under different application version information can provide different application services. The current plug-in version information corresponding to any application version information may refer to the plug-in version information of the switch configuration plug-in currently configured by the target application under the above-mentioned application version information. The plug-in configuration platform may include multiple switch configuration plug-ins. It can be understood that with the update of the configuration plug-in, the same application version information may correspond to multiple switch configuration plug-ins with different plug-in version information.
[0072] In a specific embodiment, the switch configuration plug-in can be used to configure the corresponding switch configuration information without installation. The switch configuration plug-in can be generated based on the switch configuration information corresponding to multiple configuration switches in the target application. It is understandable that any switch configuration plug-in can implement the configuration of the configuration information of multiple configuration switches in the target application.
[0073] In a specific embodiment, the current plug-in update status can be used to indicate whether there is an update to the switch configuration plug-in corresponding to the target application. The current plug-in update status may include the plug-in update status of at least one application version information corresponding to the target application. Among them, the plug-in update status corresponding to any application version information may include an updated state and a non-updated state. When the plug-in update status corresponding to any application version information is an updated state, it can be determined that there is an update to the switch configuration plug-in corresponding to the above application version information in the plug-in configuration platform; when the plug-in update status corresponding to any application version information is a non-updated state, it can be determined that the switch configuration plug-in corresponding to the above application version information in the plug-in configuration platform has not been updated.
[0074] In a specific embodiment, the application server may send a plug-in update detection instruction for the target application to the plug-in configuration platform; upon receiving the plug-in update detection instruction, the plug-in configuration platform may perform update detection on the switch configuration plug-in of the target application under any application version information to obtain the current plug-in update status. Accordingly, the plug-in configuration platform may return the current plug-in update status to the application server corresponding to the target application. Specifically, the application server may periodically send a plug-in update detection instruction for the target application to the plug-in configuration platform, or may send a plug-in update detection instruction for the target application to the plug-in configuration platform when detecting that the user terminal has started the target application.
[0075] In a specific embodiment, the above step S201 may include:
[0076] Sending a plug-in update detection instruction to the plug-in configuration platform, so that the plug-in configuration platform obtains the latest plug-in version information of the switch configuration plug-in corresponding to the at least one application version information, and determines the current plug-in update state of the switch configuration plug-in corresponding to the at least one application version information based on the latest plug-in version information and the current plug-in version information;
[0077] Receive the current plug-in update status sent by the plug-in configuration platform.
[0078] In a specific embodiment, the latest plug-in version information corresponding to any application version information may refer to the plug-in version information that is most recently updated among the multiple plug-in version information corresponding to any application version information in the plug-in configuration platform.
[0079] In a specific embodiment, when the plug-in configuration platform receives the plug-in update detection instruction sent by the application server, it can obtain the latest plug-in version information corresponding to the target application under each application version information based on at least one application version information carried in the plug-in update detection instruction. Specifically, the plug-in configuration platform can obtain the plug-in version information of each of the multiple switch configuration plug-ins corresponding to any application version information; then, the plug-in version information of the latest version among the multiple plug-in version information corresponding to any of the above application version information can be used as the latest plug-in version information corresponding to any of the above application version information.
[0080] In a specific embodiment, the plug-in configuration platform can perform update detection on the switch configuration plug-in corresponding to any application version information based on the latest plug-in version information corresponding to any application version information and the current plug-in version information corresponding to any application version information, and obtain the current plug-in update status of the switch configuration plug-in corresponding to any application version information; after obtaining the current plug-in update status of the switch configuration plug-in corresponding to each application version information, the current plug-in update status can be returned to the application server. Specifically, the latest plug-in version information corresponding to any application version information and the current plug-in version information corresponding to any application version information can be compared and processed to obtain the version comparison result corresponding to any application version information; then, based on the version comparison result corresponding to any application version information, the current plug-in update status of the switch configuration plug-in corresponding to any application version information can be determined.
[0081] In a specific embodiment, the version comparison result corresponding to any application version information may include a first comparison result and a second comparison result; the first comparison result may be used to indicate that the corresponding latest plug-in version information and the corresponding current plug-in version information are the same version information; the second comparison result may be used to indicate that the corresponding latest plug-in version information and the corresponding current plug-in version information are different version information. Specifically, when the version comparison result corresponding to any application version information is the first comparison result, it can be determined that the current plug-in update state of the switch configuration plug-in corresponding to the above-mentioned any application version information is a non-updated state; when the version comparison result corresponding to any application version information is the second comparison result, it can be determined that the current plug-in update state of the switch configuration plug-in corresponding to the above-mentioned any application version information is an updated state.
[0082] S203: When the current plug-in update status indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, an update plug-in acquisition instruction for the target application is sent to the plug-in configuration platform to acquire the update configuration plug-in corresponding to the target application from the plug-in configuration platform.
[0083] In a specific embodiment, the update plug-in acquisition instruction may be used to instruct the plug-in configuration platform to send the update configuration plug-in. The update plug-in acquisition instruction may include the update plug-in version information of the update configuration plug-in.
[0084] In a specific embodiment, the updated configuration plug-in may refer to a switch configuration plug-in that is an updated version relative to the switch configuration plug-in already loaded by the target application. The updated configuration plug-in may include at least one switch configuration plug-in. The updated configuration plug-in may be generated based on the switch configuration information corresponding to multiple configuration switches in the target application. It is understandable that the updated configuration plug-in may be a switch configuration plug-in corresponding to the switch configuration information currently required to be configured by the target application.
[0085] In a specific embodiment, the above step S203 may include:
[0086] Based on the current plug-in update status, determine the update plug-in version information corresponding to the update configuration plug-in;
[0087] An update plug-in acquisition instruction carrying the update plug-in version information is sent to the plug-in configuration platform to acquire the update configuration plug-in from the plug-in configuration platform.
[0088] In a specific embodiment, updating the plug-in version information may refer to updating the plug-in version information of the configuration plug-in. The updating plug-in version information may include plug-in version information corresponding to at least one switch configuration plug-in.
[0089] In a specific embodiment, the application server may use the latest plug-in version information corresponding to the switch configuration plug-in in the updated state in the current plug-in update state as the updated plug-in version information corresponding to the updated configuration plug-in.
[0090] In a specific embodiment, the application server may send an update plug-in acquisition instruction carrying update plug-in version information to the plug-in configuration platform; upon receiving the update plug-in acquisition instruction, the plug-in configuration platform may issue the update configuration plug-in to the application server based on the update plug-in version information carried in the update plug-in acquisition instruction. Specifically, upon receiving the update plug-in acquisition instruction, the plug-in configuration platform may determine the update configuration plug-in from multiple switch configuration plug-ins included in the plug-in configuration platform based on the update plug-in version information; accordingly, after determining the update configuration plug-in, the plug-in configuration platform may send the update configuration plug-in to the application server.
[0091] In the above embodiment, a plug-in update detection instruction carrying application version information for the target application is sent to the plug-in configuration platform to obtain the current plug-in update status of the switch configuration plug-in corresponding to the target application, and based on the current plug-in update status, the update plug-in version information corresponding to the update configuration plug-in is determined, and an update plug-in acquisition instruction carrying the update plug-in version information is sent to the plug-in configuration platform to obtain the update configuration plug-in from the plug-in configuration platform. This allows the plug-in configuration platform to issue plug-ins according to the application version, avoids updating the target application to a configuration switch with wrong application version information, and achieves data isolation of switch configuration information of different versions. There is no need to separately develop and ensure data isolation of configuration switches of different versions, thereby improving the configuration accuracy of the switch configuration information.
[0092] S205: Based on the updated configuration plug-in, update the switch configuration information corresponding to the target application.
[0093] In a specific embodiment, the application server can update the switch configuration information corresponding to the target application by loading the update configuration plug-in. Specifically, the application server can load the switch configuration plug-in corresponding to any application version information in the update configuration plug-in through the plug-in framework to implement the configuration of the switch configuration information corresponding to any application version information in the target application under the any application version information.
[0094] In a specific embodiment, after the above step S205, the above method may further include:
[0095] Receiving an application service request for a target application sent by a user terminal;
[0096] Based on the updated switch configuration information, an application service result corresponding to the application service request is returned to the user terminal.
[0097] In a specific embodiment, the application service request may be used to request the application server to provide the corresponding application service to the user terminal. The application service request may include target application version information. The target application version information may refer to the version information of the target application currently requested by the user terminal; the target application version information may be one of at least one application version information.
[0098] In a specific embodiment, the user object can trigger an application service request for a target application by operating a user terminal. Specifically, the user terminal can first obtain the application version information of the currently installed target application; then, the application version information of the currently installed target application can be used as the target application version information; then, based on the target application version information and the target request service information, an application service request can be generated, and the application service request can be sent to the application server.
[0099] In a specific embodiment, when the application server receives an application service request sent by a user terminal, it can perform business processing on the received application service request based on the switch configuration information corresponding to the target application version information carried in the application service request, and obtain the application service result; accordingly, the application server can return the above application service result to the above user terminal. Exemplarily, assuming that the update configuration plug-in includes a switch configuration plug-in corresponding to application version information 1 and a switch configuration plug-in corresponding to application version information 2, the application server can load the received switch configuration plug-in corresponding to application version information 1 and the switch configuration plug-in corresponding to application version information 2 to apply the switch configuration information corresponding to the above update configuration plug-in; then, when the application server receives an application service request for the target application of application version information 1, it can perform business processing based on the switch configuration information corresponding to the updated application version information 1, and obtain the application service result corresponding to the above application version information 1; accordingly, when the application server receives an application service request for the target application of application version information 2, it can perform business processing based on the switch configuration information corresponding to the updated application version information 2, and obtain the application service result corresponding to the above application version information 2.
[0100] In the above embodiment, a plug-in update detection instruction for the target application is sent to the plug-in configuration platform to obtain the current plug-in update status of the switch configuration plug-in corresponding to the target application, wherein the current plug-in update status is used to indicate whether the switch configuration plug-in corresponding to the target application has been updated. By introducing the plug-in configuration platform to manage the switch configuration plug-in, it is possible to avoid the increase in development costs caused by the addition of a new configuration platform; and then, when the current plug-in update status indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, an update plug-in acquisition instruction for the target application is sent to the plug-in configuration platform to obtain the updated configuration plug-in corresponding to the target application from the plug-in configuration platform. The updated configuration plug-in is generated based on the switch configuration information corresponding to multiple configuration switches in the target application. The configuration of the switch configuration information of multiple configuration switches is realized through a single switch configuration plug-in. The platform can turn the switch configuration information of maintaining a large number of configuration switches into a maintenance switch configuration plug-in, thereby reducing the platform's maintenance cost for configuration information and improving the scalability of the configuration switch. Then, in combination with the update configuration plug-in, the switch configuration information corresponding to the target application is updated. By updating the switch configuration information of the target application through the plug-in, it is possible to avoid frequent requests for configuration information due to a large number of configuration switches, reduce the complexity of the request, and thus improve the switch configuration efficiency.
[0101] Specifically, Figure 3 FIG. 1 is a flow chart of a configuration plug-in generation method according to an exemplary embodiment. Figure 3As shown, the configuration plug-in generation method can be used in developing electronic devices such as terminals, and specifically can include the following steps:
[0102] S301: Acquire target switch configuration information corresponding to multiple configuration switches in a target application.
[0103] In a specific embodiment, the target switch configuration information may refer to the switch configuration information currently required to be configured for the target application. The target switch configuration information may include at least one switch configuration class. Among them, any switch configuration class may include configuration information of some or all configuration switches among a plurality of configuration switches corresponding to the target application.
[0104] In a specific embodiment, the target switch configuration information may be obtained in the following manner:
[0105] Acquire multiple first switch configuration information corresponding to the target application;
[0106] The plurality of first switch configuration information are merged to obtain target switch configuration information.
[0107] In a specific embodiment, the plurality of first switch configuration information may be switch configuration information of a plurality of configuration switches in the target application. Any first switch configuration information may include switch configuration information of at least one configuration switch.
[0108] In a specific embodiment, any first switch configuration information can be generated by the development terminal 01. The development terminal 01 can be a terminal corresponding to the application developer. Specifically, the development object can perform a configuration input operation for at least one configuration switch of the target application based on the development terminal 01, so that the development terminal 01 generates any first switch configuration information.
[0109] In the above embodiment, by merging a plurality of first switch configuration information to obtain target switch configuration information, the switch configuration information input by a plurality of development objects can be integrated, thereby improving the overall efficiency of application configuration.
[0110] In a specific embodiment, the target switch configuration information may be obtained in the following manner:
[0111] Acquire second switch configuration information corresponding to at least one updated configuration switch and third switch configuration information corresponding to at least one non-updated configuration switch;
[0112] The second switch configuration information and the third switch configuration information are combined to obtain target switch configuration information.
[0113] In a specific embodiment, at least one updated configuration switch may refer to a configuration switch that currently needs to update configuration among the multiple configuration switches. At least one unupdated configuration may refer to a configuration switch that currently does not need to be updated among the multiple configuration switches.
[0114] In a specific embodiment, any second switch configuration information may refer to switch configuration information corresponding to any updated configuration switch. The third switch configuration information may refer to switch configuration information corresponding to at least one non-updated configuration switch.
[0115] In a specific embodiment, any second switch configuration information can be generated by the development terminal 01. The development terminal 01 can be a terminal corresponding to the application developer. Specifically, the development object can perform a configuration input operation for at least one configuration switch of the target application based on the development terminal 01, so that the development terminal 01 generates any second switch configuration information.
[0116] In a specific embodiment, the second switch configuration information corresponding to at least one updated configuration switch and the historical switch configuration information corresponding to multiple configuration switches can be first obtained; then, based on the identification information of at least one updated configuration switch, at least one non-updated configuration switch can be determined from the multiple configuration switches corresponding to the target application; then, the third switch configuration information corresponding to the at least one non-updated configuration switch can be obtained from the above historical switch configuration information. Among them, the historical switch configuration information corresponding to the multiple configuration switches can refer to the switch configuration information corresponding to the multiple configuration switches that have been configured before the current moment. Specifically, the configuration switches other than the at least one updated configuration switch among the multiple configuration switches corresponding to the target application can be used as the at least one non-updated configuration switch; the switch configuration information with the latest configuration time corresponding to each of the at least one non-updated configuration switches in the above historical switch configuration information can be used as the third switch configuration information corresponding to the at least one non-updated configuration switch.
[0117] In a specific embodiment, the target switch configuration information may be obtained by merging the second switch configuration information corresponding to at least one updated configuration switch and the third switch configuration information corresponding to at least one non-updated configuration switch.
[0118] In the above embodiment, by obtaining the second switch configuration information corresponding to at least one updated configuration switch and the third switch configuration information corresponding to at least one non-updated configuration switch, the second switch configuration information and the third switch configuration information are merged to obtain the target switch configuration information. The application developer only needs to input the switch configuration information for the updated configuration switch, which can reduce the time cost of operating the switch configuration information of the non-updated configuration switch, thereby improving the overall efficiency of application configuration.
[0119] S303: Generate an update configuration plug-in corresponding to the target application based on the target switch configuration information.
[0120] In a specific embodiment, the above step S303 may include:
[0121] The target switch configuration information is processed into a plug-in to obtain an updated configuration plug-in.
[0122] In a specific embodiment, the target switch configuration information may be plug-in processed based on a plug-in framework to obtain an updated configuration plug-in.
[0123] In a specific embodiment, in the case where the target switch configuration information includes switch configuration information corresponding to multiple application version information of the target application, the switch configuration information corresponding to each application version information in the target switch configuration information can be plug-in-processed to obtain an update configuration plug-in corresponding to each of the above application version information. Specifically, in the case where there are switch configuration information of multiple application version information that needs to be configured, the update configuration plug-in corresponding to the target application may include switch configuration plug-ins corresponding to each of the multiple application version information, wherein the switch configuration plug-in corresponding to each application version information can be used to configure the switch configuration information of the multiple configuration switches corresponding to the application version information. It can be understood that the switch configuration plug-in corresponding to each application version information can correspond to the switch configuration information of multiple configuration switches of the target application under the above application version information, that is, any switch configuration plug-in can implement the configuration of the switch configuration information of multiple configuration switches in the target application.
[0124] S305: Upload the updated configuration plug-in to the plug-in configuration platform.
[0125] In a specific embodiment, the updated configuration plug-in can be uploaded to the plug-in configuration platform, so that the application server of the target application can request the updated switch configuration plug-in from the plug-in configuration platform, and then can load the switch configuration plug-in and apply its corresponding switch configuration information to the target application.
[0126] In a specific embodiment, the above method may further include:
[0127] Obtain the configuration version information corresponding to the target switch configuration information;
[0128] Based on the configuration version information, generate the target plug-in version information corresponding to the updated configuration plug-in;
[0129] Accordingly, the above step S305 may include:
[0130] Upload the updated configuration plug-in and target plug-in version information to the plug-in configuration platform.
[0131] In a specific embodiment, the configuration version information may be used to indicate the version of the corresponding switch configuration information.
[0132] In a specific embodiment, during the generation of the target switch configuration information, the configuration version information corresponding to the target switch configuration information may be synchronously generated based on the version information of the historical switch configuration information.
[0133] In a specific embodiment, the target plug-in version information may refer to the plug-in version information corresponding to the update configuration plug-in.
[0134] In a specific embodiment, the target plug-in version information may be generated based on the configuration version information and the historical plug-in version information, wherein the historical plug-in version information may refer to the version information of the configuration plug-in that has been configured to the target application.
[0135] In a specific embodiment, in the process of uploading the update configuration plug-in to the plug-in configuration platform, the plug-in identification information, target plug-in version information and the corresponding application version information of the above-mentioned update configuration plug-in can be used as the attribute information of the above-mentioned update configuration plug-in, and uploaded to the plug-in configuration platform synchronously with the update configuration plug-in for the target application to request and load the configuration.
[0136] In the above embodiment, by uploading the updated configuration plug-in and the target plug-in version information to the plug-in configuration platform, the update feature of the plug-in version can be used to achieve data isolation of different versions of switch configuration information, without the need to separately develop and ensure data isolation of different versions of configuration switches. This can avoid configuration errors caused by sending the wrong version of switch configuration information during the configuration process, thereby improving the configuration accuracy of the switch configuration information.
[0137] In the above embodiment, target switch configuration information corresponding to multiple configuration switches in the target application is obtained, and based on the target switch configuration information, an updated configuration plug-in corresponding to the target application is generated, and the updated configuration plug-in is uploaded to the plug-in configuration platform. This can realize plug-in update of the switch configuration information of multiple configuration switches, which is convenient for reducing the platform's maintenance cost for configuration information, improving the scalability of the configuration switch, and using the plug-in configuration platform to manage the switch configuration plug-in, which can avoid the increase in development costs caused by the addition of a new configuration platform.
[0138] Figure 4 FIG. 1 is a schematic diagram showing an interaction process among a development terminal, a plug-in configuration platform, an application server and a user terminal according to an exemplary embodiment. Figure 4As shown, the development terminal can first obtain target switch configuration information corresponding to multiple configuration switches in the target application; the development terminal can generate an updated configuration plug-in corresponding to the target application based on the target switch configuration information; the development terminal can upload the updated configuration plug-in to the plug-in configuration platform.
[0139] Next, the application server may periodically send a plug-in update detection instruction for the target application to the plug-in configuration platform to detect whether the switch configuration plug-in in the plug-in configuration platform has been updated; after receiving the plug-in update detection instruction, the plug-in configuration platform may perform an update detection on the switch configuration plug-in based on the application version information carried in the plug-in update detection instruction to obtain the current plug-in update status of the switch configuration plug-in corresponding to the target application; the plug-in configuration platform may return the above-mentioned current plug-in update status to the application server; after receiving the above-mentioned current plug-in update status, the application server may send an update plug-in acquisition instruction for the target application to the plug-in configuration platform if the current plug-in update status indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated; after receiving the above-mentioned update plug-in acquisition instruction, the plug-in configuration platform may send an update configuration plug-in corresponding to the above-mentioned update plug-in acquisition instruction to the application server; after receiving the above-mentioned update configuration plug-in, the application server may update the switch configuration information corresponding to the target application based on the above-mentioned update configuration plug-in.
[0140] Then, the user terminal can send an application service request for the target application to the application server; after receiving the above application service request, the application server can perform business processing on the above application service request based on the updated switch configuration information to obtain an application service result; the application server can return the above application service result to the user terminal, and accordingly, the user terminal can receive the above application service result to realize the business operation after the switch configuration information is updated.
[0141] Figure 5 FIG. 1 is a block diagram of an application configuration updating device according to an exemplary embodiment. Figure 5 As shown, the device may include:
[0142] The first instruction sending module 510 may be used to send a plug-in update detection instruction for a target application to the plug-in configuration platform to obtain the current plug-in update status of the switch configuration plug-in corresponding to the target application; the current plug-in update status is used to indicate whether the switch configuration plug-in corresponding to the target application has been updated;
[0143] The second instruction sending module 520 may be used to send an update plug-in acquisition instruction for the target application to the plug-in configuration platform when the current plug-in update status indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, so as to acquire the update configuration plug-in corresponding to the target application from the plug-in configuration platform; the update configuration plug-in is generated based on the switch configuration information corresponding to the multiple configuration switches;
[0144] The configuration update module 530 may be used to update the switch configuration information corresponding to the target application based on the updated configuration plug-in.
[0145] In a specific embodiment, the first instruction sending module 510 may include:
[0146] The third instruction sending module may be used to send a plug-in update detection instruction to the plug-in configuration platform, so that the plug-in configuration platform obtains the latest plug-in version information of the switch configuration plug-in corresponding to the at least one application version information, and determines the current plug-in update state of the switch configuration plug-in corresponding to the at least one application version information based on the latest plug-in version information and the current plug-in version information;
[0147] The update status receiving module can be used to receive the current plug-in update status sent by the plug-in configuration platform.
[0148] In a specific embodiment, the second instruction sending module 520 may include:
[0149] The update version acquisition module can be used to determine the update plug-in version information corresponding to the update configuration plug-in based on the current plug-in update status;
[0150] The fourth instruction sending module can be used to send an update plug-in acquisition instruction carrying the update plug-in version information to the plug-in configuration platform, so as to acquire the update configuration plug-in from the plug-in configuration platform.
[0151] In a specific embodiment, the above-mentioned application configuration updating device may further include:
[0152] A request receiving module may be used to receive an application service request for a target application sent by a user terminal;
[0153] The result returning module may be used to return the application service result corresponding to the application service request to the user terminal based on the updated switch configuration information.
[0154] Figure 6 FIG. 1 is a block diagram of a configuration plug-in generating device according to an exemplary embodiment. Figure 6 As shown, the device may include:
[0155] The information acquisition module 610 may be used to acquire target switch configuration information for multiple configuration switches in a target application;
[0156] A plug-in generation module 620 may be used to generate an update configuration plug-in corresponding to a target application based on target switch configuration information;
[0157] The first plug-in uploading module 630 may be used to upload the updated configuration plug-in to the plug-in configuration platform.
[0158] In a specific embodiment, the configuration plug-in generating device may further include:
[0159] The configuration version acquisition module can be used to obtain the configuration version information corresponding to the target switch configuration information;
[0160] The plug-in version generation module can be used to generate the target plug-in version information corresponding to the updated configuration plug-in based on the configuration version information;
[0161] Accordingly, the first plug-in uploading module 630 may include:
[0162] The second plug-in uploading module can be used to upload the updated configuration plug-in and the target plug-in version information to the plug-in configuration platform.
[0163] In a specific embodiment, the configuration plug-in generating device may further include:
[0164] The first configuration acquisition module may be used to acquire a plurality of first switch configuration information corresponding to the target application; the plurality of first switch configuration information is switch configuration information of a plurality of configuration switches in the target application;
[0165] The first merging module may be used to merge the plurality of first switch configuration information to obtain target switch configuration information.
[0166] In a specific embodiment, the configuration plug-in generating device may further include:
[0167] The second configuration acquisition module may be used to acquire second switch configuration information corresponding to at least one updated configuration switch and third switch configuration information corresponding to at least one non-updated configuration switch;
[0168] The second merging module may be used to merge the second switch configuration information and the third switch configuration information to obtain target switch configuration information.
[0169] In a specific embodiment, the plug-in generation module 620 may include:
[0170] The plug-in module can be used to perform plug-in processing on the target switch configuration information to obtain an updated configuration plug-in.
[0171] Regarding the device in the above embodiment, the specific manner in which each module and unit performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0172] Figure 7 is a block diagram of an electronic device for updating switch configuration information of a target application or for generating an update configuration plug-in according to an exemplary embodiment. The electronic device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The electronic device includes a processor, a memory and a network interface connected via a system bus. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an application configuration update method or a configuration plug-in generation method is implemented.
[0173] Figure 8 is a block diagram of another electronic device for updating switch configuration information of a target application or for generating an update configuration plug-in according to an exemplary embodiment. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, an application configuration update method or a configuration plug-in generation method is implemented. The display screen of the electronic device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse, etc.
[0174] Those skilled in the art will understand that Figure 7 or Figure 8The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0175] In an exemplary embodiment, an electronic device is also provided, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the application configuration update method or the configuration plug-in generation method in the embodiments of the present disclosure.
[0176] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the application configuration updating method or the configuration plug-in generating method in the embodiment of the present disclosure.
[0177] In an exemplary embodiment, a computer program product including instructions is also provided. When the computer program product is run on a computer, the computer is enabled to execute the application configuration updating method or the configuration plug-in generating method in the embodiments of the present disclosure.
[0178] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0179] It is understandable that in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.
[0180] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0181] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for updating application configuration, characterized in that: Applied to an application server, the method comprises: Sending a plug-in update detection instruction for a target application to a plug-in configuration platform to obtain a current plug-in update status of a switch configuration plug-in corresponding to the target application; the current plug-in update status is used to indicate whether the switch configuration plug-in corresponding to the target application has been updated; When the current plug-in update status indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, sending an update plug-in acquisition instruction for the target application to the plug-in configuration platform to acquire the update configuration plug-in corresponding to the target application from the plug-in configuration platform; the update configuration plug-in is generated based on the switch configuration information corresponding to the plurality of configuration switches in the target application; Based on the update configuration plug-in, the switch configuration information corresponding to the target application is updated.
2. The method according to claim 1, characterized in that The plug-in update detection instruction of the target application includes at least one application version information corresponding to the target application and current plug-in version information corresponding to each of the at least one application version information; the sending of the plug-in update detection instruction for the target application to the plug-in configuration platform to obtain the current plug-in update status of the switch configuration plug-in corresponding to the target application includes: Sending the plug-in update detection instruction to the plug-in configuration platform, so that the plug-in configuration platform obtains the latest plug-in version information of the switch configuration plug-in corresponding to each of the at least one application version information, and determines the current plug-in update state of the switch configuration plug-in corresponding to the at least one application version information based on the latest plug-in version information and the current plug-in version information; Receive the current plug-in update status sent by the plug-in configuration platform.
3. The method according to claim 1 or 2, characterized in that: When the current plug-in update state indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform is updated, sending an update plug-in acquisition instruction for the target application to the plug-in configuration platform to acquire the update configuration plug-in corresponding to the target application from the plug-in configuration platform includes: Based on the current plug-in update status, determining update plug-in version information corresponding to the update configuration plug-in; The update plug-in acquisition instruction carrying the update plug-in version information is sent to the plug-in configuration platform to acquire the update configuration plug-in from the plug-in configuration platform.
4. The method according to claim 1, characterized in that: After updating the switch configuration information corresponding to the target application based on the update configuration plug-in, the method further includes: Receiving an application service request for the target application sent by a user terminal; Based on the updated switch configuration information, an application service result corresponding to the application service request is returned to the user terminal.
5. A configuration plug-in generation method, characterized in that: Applied to a development terminal, the method includes: Obtain target switch configuration information corresponding to multiple configuration switches in a target application; Based on the target switch configuration information, generating an update configuration plug-in corresponding to the target application; The updated configuration plug-in is uploaded to the plug-in configuration platform.
6. The method according to claim 5, characterized in that The method further comprises: Obtaining configuration version information corresponding to the target switch configuration information; Based on the configuration version information, generating target plug-in version information corresponding to the updated configuration plug-in; The step of uploading the updated configuration plug-in to the plug-in configuration platform includes: The update configuration plug-in and the target plug-in version information are uploaded to the plug-in configuration platform.
7. The method according to claim 5, characterized in that The target switch configuration information is obtained by: Acquire a plurality of first switch configuration information corresponding to the target application; the plurality of first switch configuration information is switch configuration information of a plurality of configuration switches in the target application; The plurality of first switch configuration information are merged to obtain the target switch configuration information.
8. The method according to claim 5, characterized in that The target switch configuration information is obtained by: Acquire second switch configuration information corresponding to at least one updated configuration switch and third switch configuration information corresponding to at least one non-updated configuration switch; The second switch configuration information and the third switch configuration information are combined to obtain the target switch configuration information.
9. The method according to any one of claims 5 to 8, characterized in that: The step of generating an update configuration plug-in corresponding to the target application based on the target switch configuration information includes: The target switch configuration information is processed into a plug-in to obtain the update configuration plug-in.
10. An application configuration updating device, characterized in that: Set on the application server, the device includes: A first instruction sending module is used to send a plug-in update detection instruction for a target application to the plug-in configuration platform to obtain a current plug-in update status of a switch configuration plug-in corresponding to the target application; the current plug-in update status is used to indicate whether the switch configuration plug-in corresponding to the target application has been updated; A second instruction sending module is used to send an update plug-in acquisition instruction for the target application to the plug-in configuration platform when the current plug-in update state indicates that the switch configuration plug-in corresponding to the target application in the plug-in configuration platform has been updated, so as to acquire the update configuration plug-in corresponding to the target application from the plug-in configuration platform; the update configuration plug-in is generated based on the switch configuration information corresponding to the plurality of configuration switches; A configuration update module is used to update the switch configuration information corresponding to the target application based on the update configuration plug-in.
11. A configuration plug-in generating device, characterized in that: Set at the development terminal, the device includes: An information acquisition module, used for acquiring target switch configuration information for multiple configuration switches in a target application; A plug-in generation module, used to generate an update configuration plug-in corresponding to the target application based on the target switch configuration information; The first plug-in uploading module is used to upload the updated configuration plug-in to the plug-in configuration platform.
12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the application configuration updating method described in any one of claims 1 to 4 or the configuration plug-in generating method described in any one of claims 5 to 9.
13. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the application configuration updating method described in any one of claims 1 to 4 or the configuration plug-in generating method described in any one of claims 5 to 9 is implemented.
Citation Information
Cited By
Service updating method and device, computer equipment and storage medium
CN120281649A
Service update method, device, computer equipment and storage medium
CN120281649B