[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108733399A - The method and apparatus that dynamic updates configuration data - Google Patents

The method and apparatus that dynamic updates configuration data Download PDF

Info

Publication number
CN108733399A
CN108733399A CN201710239253.8A CN201710239253A CN108733399A CN 108733399 A CN108733399 A CN 108733399A CN 201710239253 A CN201710239253 A CN 201710239253A CN 108733399 A CN108733399 A CN 108733399A
Authority
CN
China
Prior art keywords
configuration
attribute
mark
name
explained
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
CN201710239253.8A
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710239253.8A priority Critical patent/CN108733399A/en
Publication of CN108733399A publication Critical patent/CN108733399A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present invention provides a kind of method and apparatus of dynamic update configuration data, application configuration can be dynamically updated under the premise of not interrupting application service, while reducing application and development and maintenance cost, improve the flexibility of application program.This method includes:Configuration fresh information is read in timing from database caches;Wherein, the configuration fresh information includes:Configure name, Configuration Values;According to the configuration name attribute to be updated is searched from the application program that advance mark is explained;Assignment is carried out to the attribute to be updated according to the Configuration Values.

Description

The method and apparatus that dynamic updates configuration data
Technical field
The present invention relates to the method and apparatus that computer realm more particularly to a kind of dynamic update configuration data.
Background technology
In daily use exploitation, in order to pursue the flexibility of program, some configuration informations can be put by developer matches Set file.So, when needing to change configuration information, the Configuration Values in configuration file can be changed, are applied without changing Program code.But because therefore the configuration of the moment application program of startup in manually modification just it has been determined that, configure After file, it is also necessary to which re-launching applications could realize the update of configuration.In addition, there is also following updates in the prior art The method of application configuration:Configuration information is put into database caches, is read again by application program when each business needs Caching, update application configuration.
In realizing process of the present invention, inventor has found at least to exist in the existing scheme for updating application configuration and ask as follows Topic:
First, the scheme of application configuration is updated by changing configuration file, cannot be satisfied in application program operational process The demand of dynamic update configuration.Also, re-launching applications can lead to the interruption of application service.
The second, the scheme for reading configuration information from caching by application program needs to be directed to each application development The code of corresponding update configuration, increases the cost of application and development and follow-up maintenance.Also, since application program obtains every time The problem of configuration information will read caching, and frequently access can bring network and machine performance.
Invention content
In view of this, the embodiment of the present invention provides a kind of method and apparatus of dynamic update configuration data, it can be in not Application configuration is dynamically updated under the premise of disconnected application service, while reducing application and development and maintenance cost, improves application program Flexibility.
To achieve the above object, one side according to the ... of the embodiment of the present invention provides a kind of dynamic update configuration data Method.
The method of dynamic update configuration data provided in an embodiment of the present invention, including:Timing is read from database caches Configure fresh information;Wherein, the configuration fresh information includes:Configure name, Configuration Values;It is marked from advance according to the configuration name Attribute to be updated is searched in the application program of note;Assignment is carried out to the attribute to be updated according to the Configuration Values.
Optionally, attribute to be updated is searched from the application program that advance mark is explained according to the configuration name, including: The configuration class that mark first is explained is searched from application program;Mark second is searched from the configuration class that the mark first is explained The attribute of note;Attribute corresponding with the configuration name is searched from the attribute that the mark second is explained.
Optionally, attribute corresponding with the configuration name is searched from the attribute that the mark second is explained, including:If the The value of Cachekey attributes in two notes is equal with configuration name, then it is right with the configuration name to mark second attribute explained The attribute answered.
Optionally, the database caches cache for Redis.
Optionally, configuration fresh information is periodically read from database caches, including:Pass through the client-side interface sides Redis GET command in method obtains configuration list of file names;If it is sky to configure list of file names not, by Redis client-side interface methods HMGET orders obtain Configuration Values corresponding with the configuration name.
To achieve the above object, another aspect according to the ... of the embodiment of the present invention provides a kind of dynamic update configuration data Device.
A kind of device of dynamic update configuration data provided in an embodiment of the present invention, including:Acquisition module, for timing from Configuration fresh information is read in database caches;Wherein, the configuration fresh information includes:Configure name, Configuration Values;Search mould Block, for searching attribute to be updated from the application program that advance mark is explained according to the configuration name;Update module is used for Assignment is carried out to the attribute to be updated according to the Configuration Values.
Optionally, the searching module is searched according to the configuration name from the application program that mark is explained in advance to be updated Attribute, including:The configuration class that mark first is explained is searched from application program;From the configuration class that the mark first is explained Search the attribute that mark second is explained;Attribute corresponding with the configuration name is searched from the attribute that the mark second is explained.
Optionally, the searching module searches category corresponding with the configuration name from the attribute that the mark second is explained Property, including:If second explain in Cachekey attributes value with configuration name it is equal, mark this second explain attribute for The corresponding attribute of the configuration name.
Optionally, the database caches cache for Redis.
Optionally, configuration fresh information is read in the acquisition module timing from database caches, including:Pass through Redis GET command in client-side interface method obtains configuration list of file names;If it is sky to configure list of file names not, pass through Redis clients HMGET orders in interface method obtain Configuration Values corresponding with the configuration name.
To achieve the above object, according to the ... of the embodiment of the present invention in another aspect, providing a kind of realization dynamic update configuration The electronic equipment of the method for data.
A kind of electronic equipment provided in an embodiment of the present invention includes:One or more processors;And memory, it is used for The one or more programs of storage;When one or more of programs are executed by one or more of processors so that described one The method that a or multiple processors realize the dynamic update configuration data of the embodiment of the present invention.
To achieve the above object, another aspect according to the ... of the embodiment of the present invention, provides a kind of computer-readable medium.
A kind of computer-readable medium provided in an embodiment of the present invention is stored thereon with computer program, described program quilt The method that the dynamic update configuration data of the embodiment of the present invention is realized when processor executes.
One embodiment in foregoing invention has the following advantages that or advantageous effect:It is read from database caches by timing Configuration fresh information is taken, and according to configuration fresh information to attribute to be updated in application program again assignment, it can be in not Application configuration is dynamically updated under the premise of disconnected application service, improves the flexibility of application program;By in advance in the application Mark is explained and the application program explained by searching for mark positions attribute to be updated, is not only increased when configuring update Location efficiency, and make the code of more new application configuration data that there is versatility, reduce application and development and maintenance Cost.
Further effect possessed by above-mentioned non-usual optional mode adds hereinafter in conjunction with specific implementation mode With explanation.
Description of the drawings
Attached drawing does not constitute inappropriate limitation of the present invention for more fully understanding the present invention.Wherein:
Fig. 1 is the key step schematic diagram of the method for dynamic update configuration data according to the ... of the embodiment of the present invention;
Fig. 2 is the flow diagram of the method for dynamic update configuration data according to the ... of the embodiment of the present invention;
Fig. 3 is the application scenarios schematic diagram of the device of dynamic update configuration data according to the ... of the embodiment of the present invention;
Fig. 4 is the main modular schematic diagram of the device of dynamic update configuration data according to the ... of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of the computer system of the electronic equipment for realizing the embodiment of the present invention.
Specific implementation mode
It explains to the exemplary embodiment of the present invention below in conjunction with attached drawing, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize It arrives, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together The description to known function and structure is omitted for clarity and conciseness in sample in following description.
For insufficient existing for existing update application configuration method, the present inventor proposes a kind of dynamic update and matches Set method, apparatus, electronic equipment and the storage medium of data.In the technical solution of the embodiment of the present invention, by timing from number It, can be without weight periodically to attribute to be updated in application program again assignment according to configuration fresh information is read in banked cache Application configuration is dynamically updated under the premise of opening application program, improves the flexibility of application program;By in advance in the application Mark is explained and the note based on mark is quickly searched, attribute to be updated in positioning application program, not only increases configuration more Location efficiency when new, and make the code of update configuration data that there is versatility, reduce application and development and maintenance at This.
Fig. 1 is the key step schematic diagram of the method for dynamic update configuration data according to the ... of the embodiment of the present invention.
As shown in Figure 1, a kind of method of dynamic update configuration data of the embodiment of the present invention mainly includes the following steps:
Step S1, configuration fresh information is periodically read from database caches;Wherein, the configuration fresh information includes: Configure name, Configuration Values.Further, it is contemplated that Redis support plurality of data structures, have data persistence, data backup, can be with The advantages that breaking through physical machine memory size bottleneck, the database caches preferentially can select Redis to cache.It will be appreciated that When it is implemented, other caching technologies can also be used in the database caches.
Step S2, attribute to be updated is searched from the application program that advance mark is explained according to the configuration name.Specifically For, in the code of the dynamic update configuration data of the embodiment of the present invention and do not include specific object to be updated, but it is logical The data to be updated crossed in the mode and application program of self-defined note construct correspondence, specially:Match in dynamic update It includes self-defined note to set in the code of data, and the self-defined note is correspondingly marked in the code of application program. So, location efficiency when configuration update is not only increased, and makes the code of update configuration data with more general Property, reduce the cost of application and development and maintenance.
Step S3, assignment is carried out to the attribute to be updated according to the Configuration Values.In the specific implementation, can pass through Java reflection technologies treat newer attribute and carry out assignment again.
Fig. 2 is the flow diagram of the method for dynamic update configuration data according to the ... of the embodiment of the present invention.Shown in Fig. 2 In flow, database caches are specially Redis cachings.
As shown in Fig. 2, the flow of the method for the dynamic update configuration data of the embodiment of the present invention is as follows:
A1, periodically pass through the GET command acquisition configuration list of file names in Redis client-side interface methods.
If A2, configuration list of file names to be empty, are obtained by the HMGET orders in Redis client-side interface methods and institute State the corresponding Configuration Values of configuration name.
A3, the configuration class that mark first is explained is searched from application program.For example, in the application by Spring Development of Framework In program, the configuration Bean that mark first is explained can be searched in the Spring Beanfactory of application program.When dynamically more When customized first note is specially that@Cacheconfig are explained in the code of new configuration data, then from Spring The configuration Bean that mark@Cacheconfig are explained is searched in Beanfactory.
A4, the attribute that mark second is explained is searched from the configuration class that the mark first is explained.For example, when dynamic updates When customized second note is specially that@Cacheproperty are explained in the code of configuration data, then from mark@ The attribute that mark@Cacheproperty are explained is searched in the configuration Bean that Cacheconfig is explained.
A5, attribute corresponding with the configuration name is searched from the attribute that the mark second is explained.It specifically, can be When the value of a self-defined attribute in second note, the attribute in second explains is equal with configuration name, then second note is marked The attribute of solution is attribute corresponding with configuration name.For example, when the second note is specially@Cacheproperty notes, and in@ When customized attribute is Cachekey attributes during Cacheproperty is explained, if the value of Cachekey attributes and configuration famous prime minister Deng, then mark@Cacheproperty attribute be attribute corresponding with the configuration name, i.e., attribute to be updated.
A6, according to Configuration Values assignment is carried out to finding attribute corresponding with configuration name.In the specific implementation, can pass through Java reflection technologies carry out assignment.
In embodiments of the present invention, configuration fresh information is read from database caches by timing, and more according to configuration New information can dynamically be updated under the premise of not interrupting application service and be answered to attribute to be updated in application program again assignment With configuration, the flexibility of application program is improved;By the way that mark is explained and by searching for mark note in the application in advance Application program positions attribute to be updated, not only increases location efficiency when configuration update, and make more new application The code of configuration data has versatility, reduces the cost of application and development and maintenance.
Fig. 3 is the application scenarios schematic diagram of the device of dynamic update configuration data according to the ... of the embodiment of the present invention.
As shown in figure 3, the function module that the device of dynamic update configuration data can be used as APP (application program) is deposited ?.For example, the device of dynamic update configuration data is operated in card format in application program.Configuration data is updated by dynamic Device timing from database caches read configuration fresh information, and timing to the attribute to be updated in application program carry out weight New assignment can dynamically update application configuration under the premise of not interrupting application service.Further, since more new application is matched The code for setting data has versatility, therefore reduces the cost of application and development and maintenance.
Fig. 4 is the main modular schematic diagram of the device of dynamic update configuration data according to the ... of the embodiment of the present invention.
As shown in figure 4, the device 40 of the dynamic update configuration data of the embodiment of the present invention includes mainly following module:
Acquisition module 401 reads configuration fresh information for timing from database caches;Wherein, the configuration update Information includes:Configure name, Configuration Values.Wherein, the database caches preferentially can select Redis to cache.Further, acquisition module Configuration fresh information is read in 401 timings from Redis cachings, including:Pass through the GET command in Redis client-side interface methods Obtain configuration list of file names;If it is sky to configure list of file names not, obtained by the HMGET orders in Redis client-side interface methods Configuration Values corresponding with the configuration name.
Searching module 402, it is to be updated for being searched from the application program that advance mark is explained according to the configuration name Attribute.Further, searching module 402 searches attribute to be updated, including:Matching for the first note of mark is searched from application program Set class;The attribute that mark second is explained is searched from the configuration class that the mark first is explained;It is explained from the mark second Attribute corresponding with the configuration name is searched in attribute.For example, in the application program by Spring Development of Framework, when dynamically more Customized first note is specially that@Cacheconfig are explained, the second note is specially@in the code of new configuration data When Cacheproperty is explained, then mark@Cacheconfig can be searched in the Spring Beanfactory of application program Then the configuration Bean of note searches mark@Cacheproperty from the configuration Bean that mark@Cacheconfig are explained The attribute of note, then find attribute corresponding with the configuration name from the attribute that mark@Cacheproperty are explained.
Update module 403, for carrying out assignment to the attribute to be updated according to the Configuration Values.It is being embodied When, update module 403 can carry out assignment again by Java reflection technologies to attribute to be updated in application program.
In embodiments of the present invention, include acquisition module, searching module, the update configuration data of update module by structure Device, application configuration can be dynamically updated under the premise of not interrupting application service, improves the flexibility of application program.Pass through Mark is explained and positions attribute to be updated according to mark note by searching module in the application in advance, not only increases Efficiency when configuration update, and make the device of update configuration data that there is versatility, reduce application and development and maintenance Cost.
In another aspect, the embodiment of the present invention additionally provides a kind of electronic equipment.The electronic equipment of the embodiment of the present invention includes: One or more processors;And memory, for storing one or more programs;When one or more of programs are by institute State one or more processors execution so that one or more of processors realize the dynamic update configuration of the embodiment of the present invention The method of data.
Fig. 5 is the structural schematic diagram of the computer system of the electronic equipment for realizing the embodiment of the present invention.Shown in Fig. 5 Electronic equipment is only an example, should not bring any restrictions to the function and use scope of the embodiment of the present application.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and Execute various actions appropriate and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always Line 504.
Further, computer system 500 further include be connected to I/O interfaces 505 with lower component:
Importation 506 including keyboard, mouse etc.;Including such as cathode-ray tube (CRT), liquid crystal display (LCD) And the output par, c 507 of loud speaker etc.;Storage section 508 including hard disk etc.;And including such as LAN card, modulation /demodulation The communications portion 509 of the network interface cards such as device.Communications portion 509 executes communication process via the network of such as internet.Driving Device 510 is also according to needing to be connected to I/O interfaces 505.Detachable media 511, such as disk, CD, magneto-optic disk, semiconductor storage Device etc. is mounted on driver 510, as needed in order to be mounted into as needed from the computer program read thereon Storage section 508.
Further, according to embodiments of the present invention, above the process of the method description of dynamic update configuration data can be by It is embodied as computer software programs.For example, the embodiment of the present invention includes a kind of computer program products comprising be carried on calculating Computer program on machine readable medium, the computer program include to update configuration number for executing the dynamic of the embodiment of the present invention According to method program code.In such embodiments, the computer program can by communications portion X09 from network quilt It downloads and installs, and/or be mounted from detachable media 511.It is held by central processing unit (CPU) 501 in the computer program When row, the above-mentioned function that the computer system in the embodiment of the present invention limits is executed.
It should be noted that in embodiments of the present invention, the computer-readable medium can be computer-readable signal Medium or computer readable storage medium either the two arbitrarily combine.Computer readable storage medium for example can be with It is but not limited to system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or the arbitrary above combination. The more specific example of computer readable storage medium can include but is not limited to:Electrical connection with one or more conducting wires, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In embodiments of the present invention, can be any include computer readable storage medium Or the tangible medium of storage program, which can be commanded execution system, device, and either device uses or in connection makes With.And in the present invention is implemented, computer-readable signal media may include passing in a base band or as a carrier wave part The data-signal broadcast, wherein carrying computer-readable program code.A variety of shapes may be used in the data-signal of the propagation Formula, including but not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media may be used also To be any computer-readable medium other than computer readable storage medium, which can send, propagate Either transmission is for by the use of instruction execution system, device or device or program in connection.It is computer-readable The program code for including on medium can transmit with any suitable medium, including but not limited to:Wirelessly, electric wire, optical cable, RF etc. Deng or above-mentioned any appropriate combination.
Flow chart and block diagram shown in the drawings, it is illustrated that according to the system of various embodiments of the invention, device and computer The architecture, function and operation in the cards of program product.In this regard, each box in flowchart or block diagram can be with A part for a module, program segment, or code is represented, a part for above-mentioned module, program segment, or code includes one or more A executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, in box The function of being marked can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are real It can be basically executed in parallel on border, they can also be executed in the opposite order sometimes, this is depending on involved function. It is also noted that the combination of each box and box in block diagram or flow chart, can use function or behaviour as defined in executing The dedicated hardware based system made is realized, can also be realized using a combination of dedicated hardware and computer instructions.
Involved module can be realized by way of software in the embodiment of the present invention, can also pass through the side of hardware Formula is realized.Described module can also be arranged in the processor, for example, can be described as:A kind of processor includes obtaining Module, searching module, update module.Wherein, the title of these modules is not constituted to the module itself under certain conditions It limits, for example, update module is also described as " carrying out the module of assignment to attribute ".
Another aspect, the embodiment of the present invention additionally provide a kind of computer-readable medium, which can be with It is included in the electronic equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.On It states computer-readable medium and carries one or more program, when said one or multiple programs are by the electronic equipment When execution, realize that the dynamic of above-described embodiment updates the method for configuration data:Configuration update is read in timing from database caches Information;Wherein, the configuration fresh information includes:Configure name, Configuration Values;It is answered from what advance mark was explained according to the configuration name With searching attribute to be updated in program;Assignment is carried out to the attribute to be updated according to the Configuration Values.
The said goods can perform the method that the embodiment of the present invention is provided, and has the corresponding function module of execution method and has Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present invention is provided.
Above-mentioned specific implementation mode, does not constitute limiting the scope of the invention.Those skilled in the art should be bright It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made by within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (12)

1. a kind of method of dynamic update configuration data, which is characterized in that the method includes:
Configuration fresh information is read in timing from database caches;Wherein, the configuration fresh information includes:Configure name, configuration Value;
According to the configuration name attribute to be updated is searched from the application program that advance mark is explained;
Assignment is carried out to the attribute to be updated according to the Configuration Values.
2. according to the method described in claim 1, it is characterized in that, the application journey explained from advance mark according to the configuration name Attribute to be updated is searched in sequence, including:
The configuration class that mark first is explained is searched from application program;
The attribute that mark second is explained is searched from the configuration class that the mark first is explained;
Attribute corresponding with the configuration name is searched from the attribute that the mark second is explained.
3. according to the method described in claim 2, it is characterized in that, from it is described mark second explain attribute in search with it is described The corresponding attribute of name is configured, including:
If second explain in Cachekey attributes value with configuration name it is equal, mark this second explain attribute for it is described Configure the corresponding attribute of name.
4. method according to any one of claims 1 to 3, which is characterized in that the database caches cache for Redis.
5. according to the method described in claim 4, it is characterized in that, timing from database caches read configuration fresh information, Including:
Configuration list of file names is obtained by the GET command in Redis client-side interface methods;
If it is sky to configure list of file names not, obtained and the configuration name by the HMGET orders in Redis client-side interface methods Corresponding Configuration Values.
6. a kind of device of dynamic update configuration data, which is characterized in that described device includes:
Acquisition module reads configuration fresh information for timing from database caches;Wherein, the configuration fresh information packet It includes:Configure name, Configuration Values;
Searching module, for searching attribute to be updated from the application program that advance mark is explained according to the configuration name;
Update module, for carrying out assignment to the attribute to be updated according to the Configuration Values.
7. device according to claim 6, which is characterized in that the searching module is marked according to the configuration name from advance Attribute to be updated is searched in the application program of note, including:
The configuration class that mark first is explained is searched from application program;
The attribute that mark second is explained is searched from the configuration class that the mark first is explained;
Attribute corresponding with the configuration name is searched from the attribute that the mark second is explained.
8. device according to claim 7, which is characterized in that the attribute that the searching module is explained from the mark second It is middle to search corresponding with configuration name attribute, including:
If second explain in Cachekey attributes value with configuration name it is equal, mark this second explain attribute for it is described Configure the corresponding attribute of name.
9. according to any device of claim 6 to 8, which is characterized in that the database caches cache for Redis.
10. device according to claim 9, which is characterized in that the acquisition module timing is read from database caches Fresh information is configured, including:
Configuration list of file names is obtained by the GET command in Redis client-side interface methods;
If it is sky to configure list of file names not, obtained and the configuration name by the HMGET orders in Redis client-side interface methods Corresponding Configuration Values.
11. a kind of electronic equipment, which is characterized in that including:
One or more processors;And
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1 to 5.
12. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The method as described in any in claim 1 to 5 is realized when row.
CN201710239253.8A 2017-04-13 2017-04-13 The method and apparatus that dynamic updates configuration data Pending CN108733399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710239253.8A CN108733399A (en) 2017-04-13 2017-04-13 The method and apparatus that dynamic updates configuration data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710239253.8A CN108733399A (en) 2017-04-13 2017-04-13 The method and apparatus that dynamic updates configuration data

Publications (1)

Publication Number Publication Date
CN108733399A true CN108733399A (en) 2018-11-02

Family

ID=63924423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710239253.8A Pending CN108733399A (en) 2017-04-13 2017-04-13 The method and apparatus that dynamic updates configuration data

Country Status (1)

Country Link
CN (1) CN108733399A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885320A (en) * 2018-12-29 2019-06-14 深圳云天励飞技术有限公司 A kind of update method of configuration information, device and electronic equipment
CN110297647A (en) * 2019-05-29 2019-10-01 福建天泉教育科技有限公司 A kind of front end engineering updates the method and terminal of npm packet
CN111797020A (en) * 2020-07-03 2020-10-20 北京每日优鲜电子商务有限公司 Mock data method and device based on dynamic bytecode
CN112667747A (en) * 2020-12-31 2021-04-16 北京赛思信安技术股份有限公司 Dynamic configuration multi-database distributed persistence method supporting user-defined plug-in

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030237081A1 (en) * 2002-06-21 2003-12-25 Taylor Keith M. Updating an application using database replication
CN104182484A (en) * 2014-08-07 2014-12-03 北京京东尚科信息技术有限公司 Method and device for realizing mapping of HBase data and Java domain objects
CN104199666A (en) * 2014-09-09 2014-12-10 北京京东尚科信息技术有限公司 Dynamic configuration method and device for application program
CN105677404A (en) * 2015-12-31 2016-06-15 拉扎斯网络科技(上海)有限公司 Zookeeper-based configuration updating method and device
CN106557347A (en) * 2016-11-24 2017-04-05 泰康保险集团股份有限公司 Oftware updating method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030237081A1 (en) * 2002-06-21 2003-12-25 Taylor Keith M. Updating an application using database replication
CN104182484A (en) * 2014-08-07 2014-12-03 北京京东尚科信息技术有限公司 Method and device for realizing mapping of HBase data and Java domain objects
CN104199666A (en) * 2014-09-09 2014-12-10 北京京东尚科信息技术有限公司 Dynamic configuration method and device for application program
CN105677404A (en) * 2015-12-31 2016-06-15 拉扎斯网络科技(上海)有限公司 Zookeeper-based configuration updating method and device
CN106557347A (en) * 2016-11-24 2017-04-05 泰康保险集团股份有限公司 Oftware updating method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885320A (en) * 2018-12-29 2019-06-14 深圳云天励飞技术有限公司 A kind of update method of configuration information, device and electronic equipment
CN110297647A (en) * 2019-05-29 2019-10-01 福建天泉教育科技有限公司 A kind of front end engineering updates the method and terminal of npm packet
CN110297647B (en) * 2019-05-29 2023-12-01 福建天泉教育科技有限公司 Method and terminal for updating npm packet by front-end engineering
CN111797020A (en) * 2020-07-03 2020-10-20 北京每日优鲜电子商务有限公司 Mock data method and device based on dynamic bytecode
CN112667747A (en) * 2020-12-31 2021-04-16 北京赛思信安技术股份有限公司 Dynamic configuration multi-database distributed persistence method supporting user-defined plug-in
CN112667747B (en) * 2020-12-31 2021-09-21 北京赛思信安技术股份有限公司 Dynamic configuration multi-database distributed persistence method supporting user-defined plug-in

Similar Documents

Publication Publication Date Title
CN108062246B (en) Resource regulating method and device for deep learning frame
CN109542445A (en) A kind of method and apparatus that Android plug-in unit melts hair
CN109697075A (en) File updating method, system and device
CN108733399A (en) The method and apparatus that dynamic updates configuration data
CN110391938B (en) Method and apparatus for deploying services
CN106681746A (en) Mobile application program pop-up window display method, mobile terminal and system
CN109739526A (en) Code update method and device
CN109213536A (en) Resource exhibition method, resource show configuration method, device and the equipment of class control
CN110377416A (en) Distributed subregion method for scheduling task and device
CN109408481A (en) Update method, device, electronic equipment and the readable medium of log collection rule
CN110019123A (en) A kind of data migration method and device
CN108958744A (en) Dispositions method, device, medium and the electronic equipment of big data distributed type assemblies
CN111818194A (en) Domain name based access system and method
CN110019539A (en) A kind of method and apparatus that the data of data warehouse are synchronous
CN112235639B (en) Extensible Linux smart television operating system easy to upgrade
CN105450718A (en) Interface updating method and client end
CN116450353A (en) Processor core matching method and device, electronic equipment and storage medium
CN109597810A (en) A kind of task cutting method, device, medium and electronic equipment
CN113760230A (en) Service processing method and device
CN108984564A (en) Data-storage system, method and apparatus
CN108845819B (en) Programme upgrade method and device for equipment
CN109947423A (en) Code generating method, device, terminal and medium
CN113076186B (en) Task processing method, device, electronic equipment and storage medium
CN109800020A (en) A kind of code automatic adjusting method, device, equipment and the medium of program development
CN106254128A (en) A kind of ATM configuration parameter management method based on server and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181102

RJ01 Rejection of invention patent application after publication