CN111767062A - Application configuration data updating method, device, equipment and storage medium - Google Patents

Application configuration data updating method, device, equipment and storage medium Download PDF

Info

Publication number
CN111767062A
CN111767062A CN201910190548.XA CN201910190548A CN111767062A CN 111767062 A CN111767062 A CN 111767062A CN 201910190548 A CN201910190548 A CN 201910190548A CN 111767062 A CN111767062 A CN 111767062A
Authority
CN
China
Prior art keywords
client
storage area
configuration
data
configuration data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910190548.XA
Other languages
Chinese (zh)
Inventor
王岳晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN201910190548.XA priority Critical patent/CN111767062A/en
Publication of CN111767062A publication Critical patent/CN111767062A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The embodiment of the disclosure discloses an updating method, device and equipment of application configuration data and a storage medium. The method comprises the following steps: the client acquires application configuration data stored in a first storage area and stores backup data of the application configuration data in a second storage area; the application configuration data stored in the first storage area is used for the client to perform configuration of an application program, and the application configuration data includes: at least one configuration parameter and a parameter value corresponding to the configuration parameter; and if the client detects that the parameter value of at least one target configuration parameter in the second storage area is changed, the client uses new backup data to perform data updating on the application configuration data stored in the first storage area. Through the technical scheme of the embodiment of the disclosure, the setting workload of the server can be reduced, and the setting flexibility of the application configuration data is improved.

Description

Application configuration data updating method, device, equipment and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for updating application configuration data.
Background
Generally, before releasing a new version or updating page content, an APP provider needs to perform an AB test, which is to select and set a user group, display an original page (for example, a page in an a state) provided by a part of users in the user group, display a new page (for example, a page in a B state) provided by another part of users, and evaluate the use of the new page according to operation data of the users for different pages.
In the prior art, terminal devices selected for AB testing are uniformly set by a server, and correspondingly, before AB testing, device identifiers (did) of the terminal devices used by a user group are uniformly sent to the server, and the server issues a corresponding AB state according to the device identifiers, for example, if one terminal device is set to be an a state, an APP running on the terminal device correspondingly displays a page of the a state according to a uniform display page sent by the server; if one terminal device is set to be in the B state, the APP running on the terminal device correspondingly displays the page in the B state according to the unified display page sent by the server.
The disadvantage of the prior art is that the setting process of the AB status can only be completed by the server, and if a tester wants to view different status interfaces through the same terminal device, it needs very complicated operations, and furthermore, if devices for performing the AB test need to be frequently changed (e.g. newly added or modified) during the AB test process, it needs the server side to frequently change the device identifier, which causes a small amount of work on the server.
Disclosure of Invention
The embodiment of the disclosure provides an updating method, device, equipment and storage medium of application configuration data, so as to reduce the setting workload of a server and improve the setting flexibility of the application configuration data.
In a first aspect, an embodiment of the present disclosure provides an update method for application configuration data, including:
the client acquires application configuration data stored in a first storage area and stores backup data of the application configuration data in a second storage area;
the application configuration data stored in the first storage area is used for the client to perform configuration of an application program, and the application configuration data includes: at least one configuration parameter and a parameter value corresponding to the configuration parameter;
and if the client detects that the parameter value of at least one target configuration parameter in the second storage area is changed, the client uses new backup data to perform data updating on the application configuration data stored in the first storage area.
In a second aspect, an embodiment of the present disclosure further provides an apparatus for updating application configuration data, configured in a client, where the apparatus includes:
the data storage module is used for acquiring application configuration data stored in the first storage area and storing backup data of the application configuration data in the second storage area;
the application configuration data stored in the first storage area is used for the client to perform configuration of an application program, and the application configuration data includes: at least one configuration parameter and a parameter value corresponding to the configuration parameter;
and the data updating module is used for updating the data of the application configuration data stored in the first storage area by using new backup data if the change of the parameter value of at least one target configuration parameter in the second storage area is detected.
In a third aspect, an embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
one or more processing devices;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the method for updating application configuration data according to any one of the embodiments of the present disclosure.
In a fourth aspect, the disclosed embodiments also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processing device, implements the method for updating application configuration data according to any one of the disclosed embodiments.
The embodiment of the disclosure obtains application configuration data stored in a first storage area in a client, and stores backup data of the application configuration data in a second storage area, wherein the application configuration data stored in the first storage area is used for the client to configure an application program, the application configuration data comprises at least one configuration parameter and a parameter value corresponding to the configuration parameter, if a change of the parameter value of at least one target configuration parameter in the second storage area is detected, the application configuration data stored in the first storage area is updated by using new backup data, and the second storage area capable of changing the application configuration data is set in the client, so that the problems of large workload of server setting, large data processing load, and the like caused by the fact that the application configuration parameters corresponding to each client can only be set on the server in the prior art are solved, The problem of inflexible setting of the application configuration data is solved, the setting workload of the server is reduced, and the setting flexibility of the application configuration data is improved.
Drawings
Fig. 1 is a schematic flowchart of an update method of application configuration data according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an update method of application configuration data according to a second embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an apparatus for updating application configuration data according to a third embodiment of the present disclosure;
fig. 4 is a schematic diagram of a hardware structure of a terminal device according to a fourth embodiment of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the disclosure and are not limiting of the disclosure. It should be further noted that, for the convenience of description, only some of the structures relevant to the present disclosure are shown in the drawings, not all of them.
In the following embodiments, optional features and examples are provided in each embodiment, and various features described in the embodiments may be combined to form a plurality of alternatives, and each numbered embodiment should not be regarded as only one technical solution.
Example one
Fig. 1 is a schematic flowchart of an update method of application configuration data according to an embodiment of the present disclosure. The method is applicable to the situation of updating and setting the application configuration data of the client, can be executed by a mobile phone or a tablet computer and other terminal equipment running an application program client, and specifically comprises the following steps:
s110, the client acquires the application configuration data stored in the first storage area, and stores the backup data of the application configuration data in the second storage area.
In this embodiment, the client may refer to a client of a mobile APP (Application), or may refer to a web page client, which is not limited herein. The application configuration data may be data for configuring display and operation modes of the client. Each client corresponds to corresponding application configuration data, and the application configuration data may be stored in the client device when the client is installed, or may be downloaded from a server when the client is started, which is not limited herein.
In the prior art, when a client is tested, application configuration data of the client is uniformly set and modified by a server, so that if different application configuration data of the client needs to be tested on the same terminal device, a device identifier under the corresponding application configuration data needs to be modified on the server, and the workload of the server is increased.
In order to solve the above problem, in this embodiment, the execution main body of the modification operation on the application configuration data is transferred from the server to the client, so that the developer can modify the application configuration data of the client and perform testing conveniently.
Specifically, two storage areas may be first set at the client to store the application configuration data, including the first storage area and the second storage area. The application configuration data stored in the first storage area is used for the client to configure the application program, and the application configuration data includes: at least one configuration parameter, and a parameter value corresponding to the configuration parameter. For example, the configuration parameter may correspond to a field name, and the parameter value corresponding to the configuration parameter may be a field value of the field name. The configuration parameter and the corresponding parameter value thereof may be, for example, a frame update frequency and a corresponding frequency value thereof, an AB test state and a corresponding state value thereof, a data storage address and a corresponding address value thereof, and the like.
Further, in an initial state, the client may store preset application configuration data in the first storage area, and backup the application configuration data in the second storage area, that is, store backup data that is the same as the application configuration data in the second storage area. When the client needs to use a certain configuration parameter in the application configuration data, a parameter value corresponding to the corresponding configuration parameter can be acquired from the first storage area to configure the client.
The purpose of storing the backup data of the application configuration data in the second storage area by the client is to provide a user with a modifiable application configuration data so as to modify the application configuration data on the client while ensuring the stable operation of the client.
Optionally, before the client acquires the application configuration data stored in the first storage area, the method further includes: when the client detects a client starting instruction, the client pulls the application configuration data matched with the client from the server, and stores the application configuration data in the first storage area.
Since the server is preset with application configuration data matched with the client on each terminal device, in an optional implementation manner of this embodiment, when the client is started, that is, when a client start instruction is detected, the application configuration data matched with the client on the terminal device may be pulled from the server, and stored in the first storage area of the client as default application configuration data.
Optionally, the client includes: an application client adapted to the iOS operating system; and/or the first storage area is a memory cache area. That is, the client according to this embodiment may be installed in an iOS operating system, where the first storage area may be set in the system memory, as opposed to the second storage area being set on the disk of the terminal device, so as to improve the reading speed of the first storage area.
S120, if the client detects that the parameter value of at least one item of target configuration parameter in the second storage area is changed, the client updates the application configuration data stored in the first storage area by using the new backup data.
And the application configuration data in the second storage area can be changed according to the setting of the user, so that the application configuration data can be changed on the client, the setting workload of the server is reduced, and the setting flexibility of the application configuration data is improved.
For example, if a user modifies a parameter value of at least one target configuration parameter in application configuration data stored in the second storage area, the client may detect that the parameter value of the target configuration parameter changes, at this time, the client may use the application configuration data, which includes the changed target configuration parameter, in the second storage area as new backup data to perform data update on the application configuration data stored in the first storage area, specifically, only the changed target configuration parameter may be updated, or the new backup data may be used to integrally merge and update the original application configuration data, which is not limited herein.
Optionally, the target configuration parameters include: AB test state; the parameter values corresponding to the AB test state include: a test state or B test state.
As an actual example, when the AB test state stored in the first storage area of the client is the a test state, that is, the server selects the original page displayed on the client of the terminal device, and if the AB test state stored in the second storage area is modified from the a test state to the B test state, that is, the developer modifies the setting for displaying the original page to the setting for displaying the new page on the client, the client may replace and update the application configuration data in the first storage area according to the application configuration data including the modified B test state in the second storage area, so that the client can display the new page using the modified application configuration data.
According to the technical scheme of the embodiment, the application configuration data stored in the first storage area is acquired in the client, the backup data of the application configuration data is stored in the second storage area, wherein the application configuration data stored in the first storage area is used for the client to configure the application program, the application configuration data comprises at least one configuration parameter and a parameter value corresponding to the configuration parameter, if the change of the parameter value of at least one target configuration parameter in the second storage area is detected, the application configuration data stored in the first storage area is subjected to data updating by using new backup data, and the problem that the workload of server setting is large, caused by the fact that the application configuration parameters corresponding to each client can only be set on the server in the prior art, is solved by setting the second storage area capable of changing the application configuration data in the client, The problem of inflexible setting of the application configuration data is solved, the setting workload of the server is reduced, and the setting flexibility of the application configuration data is improved.
Example two
Fig. 2 is a flowchart illustrating an update method of application configuration data according to a second embodiment of the present disclosure. The present embodiment is embodied on the basis of various optional solutions in the foregoing embodiments, and provides a selectable update method of application configuration data, specifically, after a client stores backup data of the application configuration data in a second storage area, the method further includes: and the client generates a configuration setting page matched with the backup data, wherein the configuration setting page comprises configuration modification options aiming at parameter values of at least one item of target configuration parameters. After the client generates the configuration setting page matched with the backup data, the method further comprises the following steps: if the client detects a configuration setting page viewing instruction of the user, providing the configuration setting page for the user; the client detects that the parameter value of at least one target configuration parameter in the second storage area is changed, and the method comprises the following steps: the client determines that a change in a parameter value of the at least one target configuration parameter in the second storage area is detected if it is detected that the user modifies the configuration settings page using the at least one configuration modification option.
The method for updating application configuration data provided by this embodiment specifically includes the following steps:
s210, the client acquires the application configuration data stored in the first storage area, and stores the backup data of the application configuration data in the second storage area.
The application configuration data stored in the first storage area is used for the client to configure the application program, and the application configuration data includes: at least one configuration parameter, and a parameter value corresponding to the configuration parameter.
S220, the client generates a configuration setting page matched with the backup data, and the configuration setting page comprises configuration modification options aiming at parameter values of at least one item of target configuration parameters.
In this embodiment, the configuration setting page matched with the backup data may be generated according to one or more configuration parameters and corresponding parameter values included in the backup data. Specifically, all the desirable parameter values corresponding to the target configuration parameter may be displayed in the configuration setting page as configuration modification options of the target configuration parameter, so that the user may select a desired option from configuration modification options corresponding to the target configuration parameter to modify the parameter values of the target configuration parameter.
Optionally, the generating, by the client, a configuration setting page matched with the backup data includes: the client stores the backup data in a file in plist format to generate a configuration setting page.
The plist format file is generally used for storing user settings and may also be used for storing bundled information, and the target configuration parameters and parameter values thereof can be displayed in the format file in a key-value pair manner. In addition, the embodiment may also store the backup data in a file with another format, such as a table file, which is not limited herein.
And S230, if the client detects the configuration setting page viewing instruction of the user, providing the configuration setting page for the user.
For example, a setting icon may be provided on the client interface, and a user may trigger generation of a configuration setting page view instruction by clicking on the setting icon. Specifically, when a user triggers a setting icon on a client interface, the client can detect a configuration setting page viewing instruction of the user, pop up or jump to the configuration setting page, and display the configuration setting page to the user, so that the user can view and modify application configuration data of the client of the terminal device in the configuration setting page.
S240, if the client detects that the user modifies the configuration setting page by using at least one configuration modification option, the client determines that the change of the parameter value of at least one target configuration parameter in the second storage area is detected.
For example, when the user confirms that another parameter value option different from the current parameter value is selected in the configuration modification option corresponding to a certain target configuration parameter, for example, if the current AB test state is the a test state, and the user selects the B test state in the configuration modification option pull-down box corresponding to the AB test state and clicks on the confirmation, it may be detected that the user has modified the configuration setting page, and at this time, it may be determined that the parameter value of at least one target configuration parameter in the second storage area has been detected to have changed. And then, merging the application configuration data stored in the first storage area by using the changed backup data in the second storage area, so that the modified configuration is effective and the rest configurations are not influenced.
And S250, the client updates the application configuration data stored in the first storage area by using the new backup data.
In the technical solution of this embodiment, by generating a configuration setting page matching with the backup data, and including configuration modification options for parameter values of at least one target configuration parameter in the page, when the client detects a user's configuration settings page viewing instruction, the configuration settings page is provided, and upon detecting that the user has modified the configuration settings page with at least one configuration modification option, it is determined that a change in a parameter value of at least one target configuration parameter in the second memory area is detected and, finally, data updating is performed on the application configuration data stored in the first storage area using the new backup data, a configuration setting page is provided using the backup data stored in the second storage area, the configuration parameters can be modified by the user at the client, so that the setting workload of the server is reduced, and the setting flexibility of the application configuration data is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an updating apparatus for application configuration data according to a third embodiment of the present disclosure. The updating apparatus for application configuration data provided in this embodiment can be configured in a client, and referring to fig. 3, the updating apparatus for application configuration data includes: the data storage module 310 and the data update module 320 are described in detail below.
The data storage module 310 is configured to obtain application configuration data stored in a first storage area, and store backup data of the application configuration data in a second storage area;
the application configuration data stored in the first storage area is used for the client to perform configuration of an application program, and the application configuration data includes: at least one configuration parameter and a parameter value corresponding to the configuration parameter;
a data updating module 320, configured to perform data updating on the application configuration data stored in the first storage area by using new backup data if it is detected that a parameter value of at least one target configuration parameter in the second storage area has changed.
The updating apparatus for application configuration data provided in this embodiment obtains, in a client, application configuration data stored in a first storage area, and stores backup data of the application configuration data in a second storage area, where the application configuration data stored in the first storage area is used for a client to perform configuration of an application program, and the application configuration data includes at least one configuration parameter and a parameter value corresponding to the configuration parameter, and if it is detected that a parameter value of at least one target configuration parameter in the second storage area is changed, the application configuration data stored in the first storage area is updated by using new backup data, and by setting the second storage area capable of changing the application configuration data in the client, it is solved that in the prior art, only the application configuration parameter corresponding to each client can be set on a server side, the problems of large workload of server setting and inflexible setting of application configuration data are caused, the workload of server setting is reduced, and the flexibility of setting of application configuration data is improved.
Optionally, the apparatus may further include:
and the page generation module is used for generating a configuration setting page matched with the backup data after the backup data of the application configuration data is stored in the second storage area, wherein the configuration setting page comprises configuration modification options aiming at the parameter values of the at least one item of target configuration parameters.
Optionally, the page generating module may be specifically configured to:
and storing the backup data in a file in a plist format to generate the configuration setting page.
Optionally, the apparatus may further include:
the page providing module is used for providing the configuration setting page for the user if a configuration setting page viewing instruction of the user is detected after the configuration setting page matched with the backup data is generated;
accordingly, the data update module 320 may be specifically configured to:
and if the client detects that the user modifies the configuration setting page by using at least one configuration modification option, determining that the change of the parameter value of the at least one target configuration parameter in the second storage area is detected.
Optionally, the target configuration parameters may include: AB test state;
the parameter values corresponding to the AB test state may include: a test state or B test state.
Optionally, the apparatus may further include:
the data pulling module is used for pulling the application configuration data matched with the client from the server and storing the application configuration data in the first storage area when the client detects a client starting instruction before the client acquires the application configuration data stored in the first storage area.
Optionally, the client includes: an application client adapted to the iOS operating system; and/or the first storage area is a memory cache area.
The product can execute the method provided by any embodiment of the disclosure, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Referring now to fig. 4, a block diagram of a terminal device 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The terminal device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the terminal device 400 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 401 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the terminal apparatus 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the terminal device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 illustrates a terminal apparatus 400 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be included in the terminal device; or may exist separately without being assembled into the terminal device.
The computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: acquiring at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the obtained internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a module or unit does not in some cases constitute a limitation on the module or unit itself, and for example, the data storage module may also be described as a "module for acquiring application configuration data stored in the first storage area and storing backup data of the application configuration data in the second storage area".
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. An update method for application configuration data, comprising:
the client acquires application configuration data stored in a first storage area and stores backup data of the application configuration data in a second storage area;
the application configuration data stored in the first storage area is used for the client to perform configuration of an application program, and the application configuration data includes: at least one configuration parameter and a parameter value corresponding to the configuration parameter;
and if the client detects that the parameter value of at least one target configuration parameter in the second storage area is changed, the client uses new backup data to perform data updating on the application configuration data stored in the first storage area.
2. The method of claim 1, wherein after the client stores the backup data of the application configuration data in the second storage area, further comprising:
and the client generates a configuration setting page matched with the backup data, wherein the configuration setting page comprises configuration modification options aiming at parameter values of the at least one item of target configuration parameters.
3. The method of claim 2, wherein the client generating a configuration settings page that matches the backup data comprises:
and the client stores the backup data in a file in a plist format to generate the configuration setting page.
4. The method of claim 2, after the client generates a configuration settings page matching the backup data, further comprising:
if the client detects a configuration setting page viewing instruction of a user, providing the configuration setting page for the user;
the client detects that a parameter value of at least one target configuration parameter in the second storage area changes, and the method comprises the following steps:
and if the client detects that the user modifies the configuration setting page by using at least one configuration modification option, determining that the change of the parameter value of the at least one target configuration parameter in the second storage area is detected.
5. The method according to any of claims 1-4, wherein the target configuration parameters comprise: AB test state;
the parameter values corresponding to the AB test state include: a test state or B test state.
6. The method according to claim 1, before the client acquires the application configuration data stored in the first storage area, further comprising:
when the client detects a client starting instruction, the client pulls the application configuration data matched with the client from the server, and stores the application configuration data in the first storage area.
7. The method of claim 1, wherein the client comprises: an application client adapted to the iOS operating system; and/or
The first storage area is a memory cache area.
8. An apparatus for updating application configuration data, configured in a client, comprising:
the data storage module is used for acquiring application configuration data stored in the first storage area and storing backup data of the application configuration data in the second storage area;
the application configuration data stored in the first storage area is used for the client to perform configuration of an application program, and the application configuration data includes: at least one configuration parameter and a parameter value corresponding to the configuration parameter;
and the data updating module is used for updating the data of the application configuration data stored in the first storage area by using new backup data if the change of the parameter value of at least one target configuration parameter in the second storage area is detected.
9. A terminal device, characterized in that the device comprises:
one or more processing devices;
storage means for storing one or more programs;
when executed by the one or more processing devices, cause the one or more processing devices to implement the method of updating application configuration data as claimed in any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processing means, carries out a method of updating application configuration data according to any one of claims 1 to 7.
CN201910190548.XA 2019-03-13 2019-03-13 Application configuration data updating method, device, equipment and storage medium Pending CN111767062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910190548.XA CN111767062A (en) 2019-03-13 2019-03-13 Application configuration data updating method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910190548.XA CN111767062A (en) 2019-03-13 2019-03-13 Application configuration data updating method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111767062A true CN111767062A (en) 2020-10-13

Family

ID=72718499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910190548.XA Pending CN111767062A (en) 2019-03-13 2019-03-13 Application configuration data updating method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111767062A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112507267A (en) * 2020-12-03 2021-03-16 上海哔哩哔哩科技有限公司 User preference setting synchronization method, system, device and readable storage medium
CN112667313A (en) * 2020-12-23 2021-04-16 广州三七互娱科技有限公司 Process starting method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869933A (en) * 2005-05-24 2006-11-29 中国银联股份有限公司 Computer processing system for implementing data update and data updating method
EP2680529A1 (en) * 2012-06-29 2014-01-01 Siemens Aktiengesellschaft Network device, and method for operating a network device for an automation network
CN103793231A (en) * 2014-02-20 2014-05-14 Tcl通讯(宁波)有限公司 Processing method and system for mobile terminal parameters
CN104951321A (en) * 2014-03-27 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for modifying of system configuration
US20170090905A1 (en) * 2015-09-29 2017-03-30 Konica Minolta, Inc. Image Processing Apparatus, Method, and Program Recording Medium
CN107491322A (en) * 2017-07-04 2017-12-19 上海斐讯数据通信技术有限公司 A kind of control method and device of parameter storage
CN109460276A (en) * 2018-10-25 2019-03-12 北京字节跳动网络技术有限公司 The page and page configuration document generating method, device, terminal device and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1869933A (en) * 2005-05-24 2006-11-29 中国银联股份有限公司 Computer processing system for implementing data update and data updating method
EP2680529A1 (en) * 2012-06-29 2014-01-01 Siemens Aktiengesellschaft Network device, and method for operating a network device for an automation network
CN103793231A (en) * 2014-02-20 2014-05-14 Tcl通讯(宁波)有限公司 Processing method and system for mobile terminal parameters
CN104951321A (en) * 2014-03-27 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and device for modifying of system configuration
US20170090905A1 (en) * 2015-09-29 2017-03-30 Konica Minolta, Inc. Image Processing Apparatus, Method, and Program Recording Medium
CN107491322A (en) * 2017-07-04 2017-12-19 上海斐讯数据通信技术有限公司 A kind of control method and device of parameter storage
CN109460276A (en) * 2018-10-25 2019-03-12 北京字节跳动网络技术有限公司 The page and page configuration document generating method, device, terminal device and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
洪先龙: "《超大规模集成电路计算机辅助设计技术》", 30 June 1998, 国防工业出版社 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112507267A (en) * 2020-12-03 2021-03-16 上海哔哩哔哩科技有限公司 User preference setting synchronization method, system, device and readable storage medium
CN112507267B (en) * 2020-12-03 2023-01-20 上海哔哩哔哩科技有限公司 User preference setting synchronization method, system, device and readable storage medium
CN112667313A (en) * 2020-12-23 2021-04-16 广州三七互娱科技有限公司 Process starting method, device and system
CN112667313B (en) * 2020-12-23 2023-04-21 广州三七互娱科技有限公司 Process starting method, device and system

Similar Documents

Publication Publication Date Title
CN110046021B (en) Page display method, device, system, equipment and storage medium
CN113938456B (en) Session message overhead processing method and device
CN109582310B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN110209315B (en) Method and device for displaying characters in user interface, electronic equipment and storage medium
CN109857506B (en) Method and device for realizing guide information, electronic equipment and storage medium
CN110139118B (en) Function running method and device of application program, electronic equipment and storage medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN109408481B (en) Log collection rule updating method and device, electronic equipment and readable medium
CN111767062A (en) Application configuration data updating method, device, equipment and storage medium
CN110879729A (en) Channel configuration method and device for live broadcast room, readable medium and electronic equipment
US10936339B2 (en) Data sharing method and apparatus, electronic device and computer-readable storage medium
CN111596992B (en) Navigation bar display method and device and electronic equipment
CN111309406A (en) Event processing method and device of application program and electronic equipment
CN111177634A (en) Multi-language supporting file content loading method, device, equipment and medium
CN114327453B (en) Page display method, device, equipment and storage medium
CN115470754A (en) Data analysis method and device, computer readable medium and electronic equipment
CN111212296B (en) Live broadcast room gift list configuration method, device, medium and electronic equipment
CN111381813B (en) Front-end page debugging method and device, computer equipment and storage medium
CN111382038B (en) Method, device, electronic equipment and storage medium for reporting service data
CN109445840B (en) Dynamic updating method and device of webpage, electronic equipment and storage medium
CN114428925A (en) Page rendering method and device, electronic equipment and computer readable medium
CN111367592B (en) Information processing method and device
CN111857879B (en) Data processing method, device, electronic equipment and computer readable medium
CN114428823B (en) Data linkage method, device, equipment and medium based on multidimensional variable expression
CN115221178B (en) Data table binding method, device, electronic equipment and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination