CN109542635A - Configuration information update method, apparatus, computer equipment and storage medium - Google Patents

Configuration information update method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN109542635A
CN109542635A CN201811210212.7A CN201811210212A CN109542635A CN 109542635 A CN109542635 A CN 109542635A CN 201811210212 A CN201811210212 A CN 201811210212A CN 109542635 A CN109542635 A CN 109542635A
Authority
CN
China
Prior art keywords
configuration information
information table
configuration
updated
preset
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
CN201811210212.7A
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811210212.7A priority Critical patent/CN109542635A/en
Publication of CN109542635A publication Critical patent/CN109542635A/en
Pending legal-status Critical Current

Links

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Landscapes

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

Abstract

This application involves a kind of configuration information update method, apparatus, computer equipment and storage mediums.This method is related to operation system operation process optimization, comprising: receives the configuration that terminal is sent and updates request message;When it is configuration modification type that configuration, which updates request message, request message is updated according to configuration and obtains configuration information table to be updated from preset configuration information table database;Configuration information table to be updated is returned to terminal;The configuration information table returned by terminal is received, configuration information table obtains after being updated by terminal to configuration information table to be updated;Configuration information table is stored respectively into configuration information table database, preset built-in storage and preset local external memory.Operation system and application program is set to carry out resource distribution by the configuration information table in configuration information table database, built-in storage and local external memory using this method; it avoids shutdown and restarts maintenance process; improve the update efficiency of configuration information, it is ensured that configuration information operates normally.

Description

Configuration information update method, apparatus, computer equipment and storage medium
Technical field
This application involves field of computer technology, set more particularly to a kind of configuration information update method, apparatus, computer Standby and storage medium.
Background technique
With the development of computer technology, occur more and more providing the application program of business service online, such as Banking software, social software and online shopping software etc., thus the canbe used on line business function of various businesses systems.And respectively apply journey The normal operation of sequence and operation system needs to rely on configuration information to each subprogram and project progress resource allocation, is answered with realizing With the various businesses function of program and operation system.
However, the operation such as modifying, increasing and deleting in the configuration information to each application program or operation system at present When, need operation system or application downtime to restart maintenance, redeploying publication to configuration information can just come into force, and reduce and match The update efficiency of confidence breath, significantly impacts the normal operation of configuration information.
Summary of the invention
Based on this, it is necessary to which in view of the above technical problems, providing one kind can be improved configuration information update efficiency, ensures to match Configuration information update method, apparatus, computer equipment and the storage medium that confidence breath operates normally.
A kind of configuration information update method, which comprises
It receives the configuration that terminal is sent and updates request message;
When it is configuration modification type that configuration, which updates request message, request message is updated according to configuration and matches confidence from preset Configuration information table to be updated is obtained in breath table database;
Configuration information table to be updated is returned to terminal;
The configuration information table returned by terminal is received, configuration information table is updated configuration information table to be updated by terminal After obtain;
Configuration information table is stored respectively to outside configuration information table database, preset built-in storage and preset local In memory.
Request message is updated according to configuration in one of the embodiments, to obtain from preset configuration information table database The step of configuration information table to be updated includes:
It is updated from configuration and extracts allocation list identification information in request message;
Inquire preset configuration information table database;
According to allocation list identification information, obtained from configuration information table database it is corresponding with configuration update request message to Update configuration information table.
In one of the embodiments, after receiving the step of configuration that terminal is sent updates request message, further includes:
When it is configuration addition type that configuration, which updates request message, determine that configuration updates the corresponding configuration information of request message Functional requirement and configuration information topology requirement;
Inquire preset configuration information template library;
According to configuration information functional requirement and configuration information topology requirement, obtained from configuration information template library with configuration more The corresponding configuration information template table of new request message;
Using configuration information template table as configuration information table to be updated, the step of configuration information table to be updated to terminal is returned Suddenly.
In one of the embodiments, before the step of returning to configuration information table to be updated to terminal, further includes:
It is updated in request message from configuration and extracts user identity information;
Inquire preset configuration renewal authority table;
The corresponding configuration renewal authority of inquiry user identity information from configuration renewal authority table;
Authority configuration is updated to the editing mode of configuration information table to be updated according to configuration renewal authority, and will configuration Configuration information table to be updated afterwards is as configuration information table to be updated.
In one of the embodiments, when received in preset period threshold value multiple configurations update request messages, And according to multiple configurations update multiple configuration information tables to be updated that request messages obtain it is identical when, return to configuration information to be updated Table to the step of terminal includes:
Inquire preset User Priority list;
Determine that the corresponding configuration preference level of user identity information is other according to User Priority list;
It is other according to configuration preference level, determine that multiple configurations update the request handling ordered of request message;
According to request handling ordered, configuration information table to be updated is back to configuration and updates the corresponding terminal of request message.
Configuration information table is stored respectively in one of the embodiments, to configuration information table database, preset memory Step in reservoir and preset local external memory includes:
Configuration information table is synchronized in configuration information table database;
When detect configuration information table database issue when synchronizing successfully prompting message, from configuration information table database Extract the corresponding synchronous configuration information table of configuration information table;
Synchronous configuration information table is imported in preset built-in storage;
When detect built-in storage issue importing success prompting message when, by built-in storage with synchronous configuration information table Corresponding memory configurations information table is stored into preset local external memory.
In one of the embodiments, configuration information table is stored respectively to configuration information table database, it is preset in After step in memory and preset local external memory, further includes:
When meeting preset configuration testing conditions, by the memory configurations information table in built-in storage respectively with configuration information The memory configurations information table in synchronization configuration information table and local external memory in table database is compared;
When memory configurations information table and the ratio of the synchronous configuration information table in configuration information table database in built-in storage When relatively result is inconsistent, returns and extract the corresponding synchronous configuration information table of configuration information table from configuration information table database Step;
When the memory configurations information table in built-in storage compared with the memory configurations information table in local external memory knot When fruit is inconsistent, return stores memory configurations information table corresponding with synchronous configuration information table in built-in storage to preset Step in local external memory.
A kind of configuration information update device, described device include:
Request receiving module is updated, the configuration for receiving terminal transmission updates request message;
Allocation list to be updated obtains module, is used for when it is configuration modification type that configuration, which updates request message, according to configuration It updates request message and obtains configuration information table to be updated from preset configuration information table database;
Allocation list to be updated issues module, for returning to configuration information table to be updated to terminal;
Allocation list receiving module, for receiving the configuration information table returned by terminal, configuration information table is treated more by terminal New configuration information table obtains after being updated;
Allocation list synchronization module, for storing configuration information table respectively to configuration information table database, preset memory In reservoir and preset local external memory.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
It receives the configuration that terminal is sent and updates request message;
When it is configuration modification type that configuration, which updates request message, request message is updated according to configuration and matches confidence from preset Configuration information table to be updated is obtained in breath table database;
Configuration information table to be updated is returned to terminal;
The configuration information table returned by terminal is received, configuration information table is updated configuration information table to be updated by terminal After obtain;
Configuration information table is stored respectively to outside configuration information table database, preset built-in storage and preset local In memory.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
It receives the configuration that terminal is sent and updates request message;
When it is configuration modification type that configuration, which updates request message, request message is updated according to configuration and matches confidence from preset Configuration information table to be updated is obtained in breath table database;
Configuration information table to be updated is returned to terminal;
The configuration information table returned by terminal is received, configuration information table is updated configuration information table to be updated by terminal After obtain;
Configuration information table is stored respectively to outside configuration information table database, preset built-in storage and preset local In memory.
Above-mentioned configuration information update method, apparatus, computer equipment and storage medium are asked according to the configuration update received It asks message to obtain and issues corresponding configuration information table to be updated, processing is updated simultaneously to configuration information table to be updated by terminal Configuration information table is returned, then the configuration information table received is stored respectively to configuration information table database, preset memory In reservoir and preset local external memory, to realize the update to configuration information.During configuration information update, Corresponding configuration information table to be updated is obtained from configuration information table database and carries out configuration information update, makes operation system and application Program can carry out resource by the configuration information table in configuration information table database, built-in storage and local external memory and match It sets, avoids shutdown and restart maintenance process, improve the update efficiency of configuration information, it is ensured that configuration information operates normally.
Detailed description of the invention
Fig. 1 is the application scenario diagram of configuration information update method in one embodiment;
Fig. 2 is the flow diagram of configuration information update method in one embodiment;
The flow diagram for the step of Fig. 3 is User Priority setting in one embodiment;
Fig. 4 is the flow diagram of configuration information update method in another embodiment;
Fig. 5 is the structural block diagram of configuration information update device in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Configuration information update method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, eventually End equipment 102 is communicated with server 104 by network by network.Server 104 is asked according to the configuration update received It asks message to obtain corresponding configuration information table to be updated, and the configuration information table to be updated is issued to terminal device 102, by end End equipment 102 is updated processing to configuration information table to be updated and returns to configuration information table, and server 104 will receive again The configuration information table is synchronized to configuration information table database, preset built-in storage and preset local external memory respectively In, to realize the update to configuration information.Wherein, terminal device 102 can be, but not limited to be various personal computers, pen Remember this computer, smart phone, tablet computer and portable wearable device, server 104 can with independent server or It is the server cluster of multiple server compositions to realize.
In one embodiment, as shown in Fig. 2, providing a kind of configuration information update method, it is applied to Fig. 1 in this way In server 104 for be illustrated, comprising the following steps:
Step S201: it receives the configuration that terminal is sent and updates request message.
Configuration updates request message and is sent by terminal, is updated with request to configuration information.Configuration updates request message It may include the identification information and corresponding updating type of configuration information to be updated, believed according to the mark of the configuration information to be updated Breath and updating type can determine that the specific update to configuration information to be updated is handled.Wherein, updating type may include modification With increase updating type, modification type can specifically include configuration information modification and configuration information is deleted.
Step S203: when it is configuration modification type that configuration, which updates request message, request message is updated from pre- according to configuration If configuration information table database in obtain configuration information table to be updated.
Wherein, configuration information table database purchase has various configuration information tables, and configuration information table can be database table, Record has various configuration informations.Configuration updates request message and obtains corresponding needs progress from the configuration information table database more New configuration information table to be updated.Specifically, after server 104 receives configuration update request message, determine that the configuration updates The updating type of request message, when the configuration update request message be configuration modification type when, that is, need to be stored in configuration Configuration information table in information table data library is modified, when such as configuration information modification and configuration information deletion, more according to configuration New request message obtains configuration information table to be updated from preset configuration information table database, such as can be updated by configuring Identification information in request message is marked as to be updated from the corresponding configuration information table of configuration information table data base querying Configuration information table.
Step S205: configuration information table to be updated is returned to terminal.
It, will after obtaining configuration information table to be updated corresponding with configuration update request message in configuration information table database It is back to terminal, and configuration information table to be updated is such as back to terminal device 102, with by terminal to the configuration information to be updated Table carries out configuration information update processing.
Step S207: the configuration information table returned by terminal is received, configuration information table is by terminal to configuration information to be updated Table obtains after being updated.
After terminal receives the configuration information table to be updated that server 104 issues, to the configuration information table to be updated according to Actual demand is updated processing, such as modification, delete processing, obtains configuration information table, and the configuration information table is sent to clothes Business device 104.Server 104 waits terminal return to be matched by terminal to be updated after issuing configuration information table to terminal to be updated Set the configuration information table obtained after information table is updated.
Step S209: configuration information table is stored respectively to configuration information table database, preset built-in storage and pre- If local external memory in.
Wherein, information table data library can be set remotely is stored in database server, is passed through with server 104 Network is communicated, and built-in storage can cache for the running memory of operation system or application program, such as Redis;Local external memory Reservoir can be the external memorys such as hard disk, flash memory that server 104 is locally located.Specifically, server 104 receives terminal and returns After the configuration information table returned, configuration information table is directed respectively into configuration information table database, preset built-in storage and is preset Local external memory in, to realize the update to configuration information, pass through operation system and application program and configure Configuration information table in information table data library, built-in storage and local external memory carries out resource distribution, avoids shutdown and restarts Maintenance process improves the update efficiency of configuration information, it is ensured that configuration information operates normally.
In above-mentioned configuration information update method, according to the configuration that receives update request message obtain and issue it is corresponding to Configuration information table is updated, processing is updated to configuration information table to be updated by terminal and returns to configuration information table, then will be received To the configuration information table stored respectively to configuration information table database, preset built-in storage and preset local external storage In device, to realize the update to configuration information.During configuration information update, from the acquisition pair of configuration information table database The configuration information table to be updated answered carries out configuration information update, and operation system and application program is allow to pass through configuration information table number Resource distribution is carried out according to the configuration information table in library, built-in storage and local external memory, shutdown is avoided and restarts maintenance process, Improve the update efficiency of configuration information, it is ensured that configuration information operates normally.
In one embodiment, request message is updated according to configuration to obtain from preset configuration information table database to more The step of new configuration information table includes: to update to extract allocation list identification information in request message from configuration;Inquire preset configuration Information table data library;According to allocation list identification information, is obtained from configuration information table database and update request message pair with configuration The configuration information table to be updated answered.
Wherein, the configuration information table of various added settings is stored in configuration information table database.It is sent by terminal Configuration to update in request message include allocation list identification information, allocation list identification information specifically can be, but not limited to as allocation list Number or configuration table name etc. can uniquely determine the allocation list characteristic information of configuration information table.Server 104 from the configuration more Allocation list identification information is extracted in new request message, and inquires preset configuration information table database, which is identified and is believed Breath is matched with the allocation list identification information of each configuration information table in configuration information table database, such as number matching or character Match, when successful match, obtain the corresponding configuration information table of successful match, and add label to be updated to it, thus obtain to Update configuration information table.
In one embodiment, after receiving the step of configuration that terminal is sent updates request message, further includes: when matching When setting update request message to configure addition type, determining configure updates the corresponding configuration information functional requirement of request message and matches Confidence ceases topology requirement;Inquire preset configuration information template library;According to configuration information functional requirement and configuration information structure need It asks, configuration information template table corresponding with configuration update request message is obtained from configuration information template library;By configuration information mould Plate table is as configuration information table to be updated, the step of returning to configuration information table to be updated to terminal.
It is stored with the configuration information table of various added settings in configuration information table database, disappears when configuration updates request When breath is configuration modification type, show that terminal needs to carry out more the configuration information table being stored in configuration information table database Newly, such as configuration modification or configuration delete.And when terminal needs to increase the configuration information being not present in configuration information table database When table, i.e., when it is configuration addition type that configuration, which updates request message, matched by inquiring preset configuration information template table realization Confidence breath increases processing.
Specifically, server 104 updates request to the configuration and disappears after receiving the configuration that terminal is sent and updating request message The updating type of breath is judged.In a specific application, it includes updating type mark that configuration, which updates request message, from this Configuration, which updates, extracts updating type mark in request message, and is identified according to the updating type and determine its corresponding updating type, Updating type may include modification and increase updating type, and modification type can specifically include configuration information modification and configuration information It deletes.When the updating type that configuration updates request message is configuration addition type, it is corresponding to determine that configuration updates request message Configuration information functional requirement and configuration information topology requirement.Wherein, configuration information functional requirement corresponds to different application scenarios The configuration information of demand, such as in financial lease operation system, the relevant configuration information of refund of borrowing money and allocation settlement can be with It is divided into different configuration information functional requirements;Configuration information topology requirement corresponds to the different structure of configuration information, for example, for The configuration information of distributed system and the configuration information of message queue are to be divided to obtain according to configuration information topology requirement.
In specific implementation, abstraction function demand data and topology requirement data in request message can be updated from configuration, And corresponding configuration information functional requirement is determined according to the abstraction function demand data and topology requirement data respectively and matches confidence Cease topology requirement.Preset configuration information template library is inquired again, is stored in configuration information template library and is met various configuration informations The configuration information template of functional requirement and configuration information topology requirement.The configuration information that request message determines is updated according to by configuration Functional requirement and configuration information topology requirement obtain configuration corresponding with configuration update request message from configuration information template library Information model table.Specifically, the configuration of satisfaction can be first inquired in configuration information template library according to configuration information functional requirement Informational function template table class obtains meeting with confidence from configuration information functional template table class according still further to configuration information topology requirement Cease topology requirement configuration information template table;In addition it is also possible to according to actual needs, corresponding configuration information template table inquiry be arranged Acquisition modes.After obtaining configuration information template table, as configuration information table to be updated, executes and return to configuration information to be updated The step of table to terminal, issues the configuration information template table to terminal, to be matched by terminal to the configuration information template table Information update processing is set, to realize that the update that increases of configuration information is handled.
In one embodiment, before the step of returning to configuration information table to be updated to terminal, further includes: more from configuration User identity information is extracted in new request message;Inquire preset configuration renewal authority table;It is inquired from configuration renewal authority table The corresponding configuration renewal authority of user identity information;According to configuration renewal authority to the editing mode of configuration information table to be updated into The configuration of row renewal authority, and the configuration information table to be updated postponed will be matched as configuration information table to be updated.
In different operation systems, user corresponding for different terminals is provided with the update of configuration information Different renewal authority, to ensure the safe and stable of configuration information.In the present embodiment, issued by configuration information table to be updated To terminal, is updated in request message from configuration and extract user identity information, such as name, ID card No., the mobile phone of user Number or User ID etc..Preset configuration renewal authority table is inquired, it is real which records with good grounds operation system The corresponding configuration renewal authority of the preset each service-user of border demand.The inquiry user identifier letter from configuration renewal authority table Corresponding configuration renewal authority is ceased, and is carried out according to editing mode of the obtained configuration renewal authority to configuration information table to be updated Renewal authority configuration, wherein renewal authority configuration can specifically include to the editing mode of configuration information table to be updated according to right The configuration renewal authority answered is configured, for example, it is set as editable state by the list item allowed in renewal authority is configured, and List item outside permission is set as not editable grey stationary state, finally will with the configuration information table to be updated that postpones as to Configuration information table is updated, then configuration information table to be updated is issued to terminal in subsequent processing, processing is updated by terminal, To realize the renewal authority different for different user settings to configuration information table to be updated, it is ensured that configuration information It is safe and stable.
In one embodiment, as shown in figure 3, User Priority be arranged the step of, specifically, when in the preset period Multiple configurations are received in threshold value to update request messages and multiple to be updated matched according to what multiple configurations updated that request messages obtain Set information table it is identical when, returning to configuration information table to be updated to the step of terminal includes:
Step S301: preset User Priority list is inquired.
In the present embodiment, configuration update request message is sent simultaneously for the different user of multiple terminals to request to identical Configuration information table to be updated configuration update inconsistency is led to the problem of when being updated, mentioned according in each configuration update request message It is other that the user identity information taken inquires corresponding configuration preference level, and does not make requests message response according to the configuration preference level, The problem of can effectively solve the problem that configuration update inconsistency, ensure that the stability of configuration information.
Specifically, it updates request messages and is matched according to multiple when receiving multiple configurations in preset period threshold value Set update multiple configuration information tables to be updated that request message obtains it is identical when, for example, receiving multiple configurations in 100 seconds more New request message, and it is identical configuration information table to be updated that multiple configuration, which updates request message and is directed toward needs and updates, this When, inquire preset User Priority list.Wherein, User Priority list record has the corresponding configuration of each service-user preferential Rank is divided to obtain according to the actual demand of operation system to each service-user, and different service-users has difference Configuration preference level is other, according to the user identity information of service-user, its can be inquired from the User Priority list and corresponding is matched Set priority level.
Step S303: determine that the corresponding configuration preference level of user identity information is other according to User Priority list.
After obtaining User Priority list, determine that the corresponding configuration of user identity information is excellent according to the User Priority list First rank specifically matches the user identity information recorded in user identity information and User Priority list, when When with success, it is other to obtain corresponding configuration preference level.
Step S305: it is other according to configuration preference level, determine that multiple configurations update the request handling ordered of request message.
After determining that each configuration updates the corresponding configuration preference level of user identity information extracted in request message not, press It is not ranked up according to each configuration preference level, so that it is determined that multiple configurations update the request handling ordered of request message.Specifically answering In, corresponding multiple configurations can be updated into request message and be ranked up according to the sequence of configuration preference level not from high to low, And update request message according to multiple configurations after sequence and determine its corresponding request handling ordered, so that it is guaranteed that can preferentially ring The configuration that the service-user for answering priority level high issues updates request message, efficiently solves the problems, such as configuration update inconsistency.
Step S307: according to request handling ordered, configuration information table to be updated is back to configuration and updates request message pair The terminal answered.
It, will be to be updated according to the request handling ordered after obtaining the request handling ordered that multiple configurations update request message Configuration information table is back to configuration and updates the corresponding terminal of request message.It specifically, can be according to request handling ordered by arriving first The configuration information table to be updated of acquisition is back to corresponding terminal by sequence afterwards, further, it is also possible to be set as request processing row Formerly configuration updates request message after treatment in sequence, then responds and carry out at configuration update in rear configuration update request message Reason, so that the user of multiple terminals be avoided to be updated simultaneously to identical configuration information table to be updated.
In the present embodiment, it is excellent that the corresponding configuration of user identity information inquiry extracted in request message is updated according to each configuration First rank, and message response is not made requests according to the configuration preference level, solve the problems, such as configuration update inconsistency, it is ensured that The stability of configuration information.
In one embodiment, configuration information table is stored respectively to configuration information table database, preset built-in storage And the step in preset local external memory includes: that configuration information table is synchronized in configuration information table database;Work as inspection When synchronizing successfully prompting message of configuration information table database sending is measured, extracts configuration information from configuration information table database The corresponding synchronous configuration information table of table;Synchronous configuration information table is imported in preset built-in storage;When detecting built-in storage When the importing success prompting message of sending, memory configurations information table corresponding with synchronous configuration information table in built-in storage is stored Into preset local external memory.
Configuration information table database, preset built-in storage and pre- are directed respectively into the configuration information table for returning to terminal If local external memory in when, can be first synchronized in configuration information table database, guarantee holding for configuration information table Longization updates built-in storage further according to the configuration information table landed in configuration information table database, finally will according to built-in storage Configuration information table is landed into local external memory, ensures that configuration information table database, built-in storage and local are outer The consistency of configuration information in memory.
Specifically, first configuration information table is synchronized in configuration information table database, when configuration information table database is to set When setting in long-range archival memory, configuration information table is sent in archival memory by network communication and is held Longization is kept.When detecting that configuration information table database issues when synchronizing successfully prompting message, such as data inventory is received What reservoir issued synchronizes successfully prompting message, shows that configuration information table is successfully synchronized in configuration information table database, at this point, The corresponding synchronous configuration information table of configuration information table is extracted from configuration information table database, and synchronous configuration information table is imported In preset built-in storage, built-in storage can be the running memory of operation system or application program, more specifically, such as Redis Caching.In the present embodiment, when configuration information table is synchronized to preset built-in storage, directly from configuration information table database The corresponding synchronous configuration information table of configuration information table is extracted, and built-in storage is updated according to the synchronization configuration information table, it is ensured that The consistency of configuration information in configuration information table database and built-in storage.When the importing for detecting that built-in storage issues successfully mentions When showing message, then memory configurations information table corresponding with synchronous configuration information table in built-in storage stored to outside preset local In memory, local external memory can be the external memorys such as hard disk, the flash memory at 104 end of server, ensure that with confidence The consistency of configuration information in breath table database, built-in storage and local external memory.
In one embodiment, configuration information table is being stored respectively to configuration information table database, preset interior storage After step in device and preset local external memory, further includes: when meeting preset configuration testing conditions, by memory Memory configurations information table in reservoir respectively with the synchronous configuration information table and local external storage in configuration information table database Memory configurations information table in device is compared;When in the memory configurations information table and configuration information table database in built-in storage Synchronization configuration information table comparison result be it is inconsistent when, return from configuration information table database extract configuration information table pair The step of synchronization configuration information table answered;When the memory configurations information table in built-in storage is matched with the memory in local external memory Set information table comparison result be it is inconsistent when, return by memory configurations corresponding with synchronous configuration information table in built-in storage letter Breath table stores the step into preset local external memory.
After configuration information is completed to update request message completion update according to configuration, monitor task thread can be set, it is fixed The consistency of configuration information, works as hair in phase or real time monitoring configuration information table database, built-in storage and local external memory When configuration information is variant in existing three, configuration information is updated in time, it is ensured that the configuration information of three's storage it is consistent Property.
Specifically, configuration information table is being synchronized to configuration information table database, built-in storage and local external memory respectively It after reservoir, detects whether to meet preset configuration testing conditions, for example whether arrangement abnormalities occur, whether reach configuration detection week Phase etc., when meeting preset configuration testing conditions, by the memory configurations information table in built-in storage respectively with configuration information table The memory configurations information table in synchronization configuration information table and local external memory in database is compared.Matching confidence It is to be used as to match by built-in storage when breath table is synchronized in configuration information table database, built-in storage and local external memory The bridge for setting information table database and local external memory is realized, also the same to pass through built-in storage reality when configuring detection Now to the comparison of configuration information table in configuration information table database and local external memory.
According to comparison result, on the one hand, when the comparison result of built-in storage and configuration information table database is inconsistent, I.e. when memory configurations information table and the comparison result of the synchronous configuration information table in configuration information table database in built-in storage When being inconsistent, the step of corresponding synchronous configuration information table of configuration information table is extracted from configuration information table database is returned, To update the configuration information in built-in storage and local external memory again, it is ensured that built-in storage and local external memory with match Set the consistency of information table database.
On the other hand, when the memory configurations information table in the memory configurations information table and local external memory in built-in storage Comparison result be it is inconsistent when, return by memory configurations information table corresponding with synchronous configuration information table in built-in storage storage Step into preset local external memory.Because operation system or application program are at runtime, the configuration in built-in storage Information is obtained from configuration information table database, in the memory configurations information table and local external memory in built-in storage Deposit configuration information table it is inconsistent when, the configuration information of local external memory is directly updated according to built-in storage.
In one embodiment, as shown in figure 4, providing a kind of configuration information update method, comprising the following steps:
Step S401: it receives the configuration that terminal is sent and updates request message;
Step S402: updating type judgement;When judging result is configuration modification type, step S403, judging result are executed When adding type for configuration, step S406 is executed;
Step S403: it is updated from configuration and extracts allocation list identification information in request message;
Step S404: preset configuration information table database is inquired;
Step S405: it according to allocation list identification information, obtains to update with configuration from configuration information table database and requests to disappear Cease corresponding configuration information table to be updated.
In the present embodiment, the configuration sent according to the terminal received updates request message and is updated type judgement, when When being as a result configuration modification type, is updated from the configuration and extract allocation list identification information in request message, and inquire preset match Information table database is set, the allocation list of each configuration information table in the allocation list identification information and configuration information table database is identified Information is matched, including number matching or character match, when successful match, obtains the corresponding configuration information of successful match Table, and label to be updated is added to it, to obtain configuration information table to be updated.
Step S406: determine that configuration updates the corresponding configuration information functional requirement of request message and configuration information structure and needs It asks;
Step S407: preset configuration information template library is inquired;
Step S408: it according to configuration information functional requirement and configuration information topology requirement, is obtained from configuration information template library Take configuration information template table corresponding with configuration update request message;
Step S409: using configuration information template table as configuration information table to be updated.
In the present embodiment, when terminal needs to increase the configuration information table being not present in configuration information table database, that is, work as It is that when configuring addition type, the increasing of configuration information is realized by inquiring preset configuration information template table that configuration, which updates request message, Add processing.Specifically, abstraction function demand data and topology requirement data in request message are updated from configuration, and according to the extraction Functional requirement data and topology requirement data determine corresponding configuration information functional requirement and configuration information topology requirement respectively.Again Preset configuration information template library is inquired, is stored in configuration information template library and meets various configuration information functional requirements and configuration The configuration information template of message structure demand.The configuration information functional requirement and configuration that request message determines are updated according to by configuration Message structure demand obtains configuration information template table corresponding with configuration update request message, most from configuration information template library Afterwards as configuration information table to be updated, to carry out subsequent operation.
Step S410: authority configuration is updated to configuration information table to be updated;
Step S411: configuration information table to be updated is returned to terminal;
Step S412: the configuration information table returned by terminal is received, configuration information table is by terminal to configuration information to be updated Table obtains after being updated.
In the present embodiment, user corresponding for different terminals, for the update of configuration information be provided with it is different more New permission.Specifically, it is updated in request message from configuration and extracts user identity information, the including but not limited to name, body of user Part card number, phone number or User ID etc., inquire preset configuration renewal authority table;It inquires and uses from configuration renewal authority table The corresponding configuration renewal authority of family identification information;It is carried out according to editing mode of the configuration renewal authority to configuration information table to be updated Renewal authority configuration, and the configuration information table to be updated postponed will be matched as configuration information table to be updated.It is to be updated by what is obtained Configuration information table is back to terminal to carry out configuration information update processing to the configuration information table to be updated by terminal, and waits end The configuration information table that end return obtains after being updated by terminal to configuration information table to be updated.
Step S413: configuration information table is synchronized in configuration information table database;
Step S414: when detecting when synchronizing successfully prompting message of configuration information table database sending, from configuration information The corresponding synchronous configuration information table of configuration information table is extracted in table database;
Step S415: synchronous configuration information table is imported in preset built-in storage;
Step S416: when detect built-in storage issue importing success prompting message when, by built-in storage with it is synchronous The corresponding memory configurations information table of configuration information table is stored into preset local external memory.
In the present embodiment, the configuration information table for returning to terminal be directed respectively into configuration information table database, it is preset in When in memory and preset local external memory, first it is synchronized in configuration information table database, has been guaranteed with confidence The persistence for ceasing table updates built-in storage further according to the configuration information table landed in configuration information table database, last in Memory lands configuration information table into local external memory, ensure that configuration information table database, built-in storage with And in local external memory configuration information consistency.
Step S417: the configuration information one in monitoring configuration information table database, built-in storage and local external memory Cause property.
After configuration information is completed to update request message completion update according to configuration, monitor task thread can be set, it is fixed The consistency of configuration information, works as hair in phase or real time monitoring configuration information table database, built-in storage and local external memory When configuration information is variant in existing three, configuration information is updated in time, it is ensured that the configuration information of three's storage it is consistent Property.Specifically, when meeting preset configuration testing conditions, by the memory configurations information table in built-in storage respectively and with confidence The memory configurations information table in synchronization configuration information table and local external memory in breath table database is compared;When interior Memory configurations information table in memory is different with the comparison result of the synchronous configuration information table in configuration information table database When cause, the step of corresponding synchronous configuration information table of configuration information table is extracted from configuration information table database is returned;Work as memory When the comparison result of memory configurations information table in reservoir and the memory configurations information table in local external memory is inconsistent, return It returns and stores memory configurations information table corresponding with synchronous configuration information table in built-in storage into preset local external memory The step of, ensure that the configuration information of configuration information table database, built-in storage and local external memory three storage Consistency.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 5, providing a kind of configuration information update device, comprising: update request and receive Module 501, allocation list to be updated obtain module 503, allocation list to be updated issues module 505, allocation list receiving module 507 and matches Set table synchronization module 509, in which:
Request receiving module 501 is updated, the configuration for receiving terminal transmission updates request message;
Allocation list to be updated obtains module 503, for when it is configuration modification type that configuration, which updates request message, according to matching It sets update request message and obtains configuration information table to be updated from preset configuration information table database;
Allocation list to be updated issues module 505, for returning to configuration information table to be updated to terminal;
Allocation list receiving module 507, for receiving the configuration information table returned by terminal, configuration information table is treated by terminal It updates after configuration information table is updated and obtains;
Allocation list synchronization module 509, for configuration information table is stored respectively to configuration information table database, it is preset in In memory and preset local external memory.
Above-mentioned configuration information update device obtains module 503 by allocation list to be updated and requests to receive mould according to by updating The configuration that block 501 receives updates request message and obtains corresponding configuration information table to be updated, is issued by allocation list to be updated Module 505 is issued to terminal, is updated processing to configuration information table to be updated by terminal and returns to configuration information table, then passes through Allocation list receiving module 507 receive return configuration information table, finally by allocation list synchronization module 509 by receive this match Information table is set to be stored respectively into configuration information table database, preset built-in storage and preset local external memory, from And realize the update to configuration information.During configuration information update, from configuration information table database obtain it is corresponding to Update configuration information table carry out configuration information update, allow operation system and application program by configuration information table database, Configuration information table in built-in storage and local external memory carries out resource distribution, avoids shutdown and restarts maintenance process, improves The update efficiency of configuration information, it is ensured that configuration information operates normally.
In one embodiment, it includes identification information extraction unit, allocation list data that allocation list to be updated, which obtains module 503, Library inquiry unit and configuration information table query unit, in which: identification information extraction unit, for being updated in request message from configuration Extract allocation list identification information;Allocation list data base querying unit, for inquiring preset configuration information table database;With confidence Table query unit is ceased, is disappeared for being obtained from configuration information table database according to allocation list identification information with configuration update request Cease corresponding configuration information table to be updated.
It in one embodiment, further include that demand determining module, template library enquiry module, template table obtain module and to more New configuration information table determining module, in which: demand determining module, for being configuration addition type when configuration updates request message When, determine that configuration updates the corresponding configuration information functional requirement of request message and configuration information topology requirement;Template library inquiry mould Block, for inquiring preset configuration information template library;Template table obtains module, for according to configuration information functional requirement and configuration Message structure demand obtains configuration information template table corresponding with configuration update request message from configuration information template library;To Configuration information table determining module is updated, for returning to be updated match using configuration information template table as configuration information table to be updated The step of setting information table to terminal.
It in one embodiment, further include user identity information extraction module, renewal authority table enquiry module, renewal authority Determining module and renewal authority configuration module, in which: user identity information extraction module, for being updated in request message from configuration Extract user identity information;Renewal authority table enquiry module, for inquiring preset configuration renewal authority table;Renewal authority determines Module, for the corresponding configuration renewal authority of inquiry user identity information from configuration renewal authority table;Renewal authority configures mould Block, for being updated authority configuration to the editing mode of configuration information table to be updated according to configuration renewal authority, and will configuration Configuration information table to be updated afterwards is as configuration information table to be updated.
It in one embodiment, further include priority list enquiry module, the other determining module of configuration preference level, request processing The determining module that sorts and configuration information respond module to be updated, in which: priority list enquiry module, for inquiring preset use Family priority list;The other determining module of configuration preference level, for determining that user identity information is corresponding according to User Priority list Configuration preference level it is other;Handling ordered determining module is requested, for other according to configuration preference level, determine that multiple configurations update and requests The request handling ordered of message;Configuration information respond module to be updated, for matching confidence for be updated according to request handling ordered Breath table is back to configuration and updates the corresponding terminal of request message.
In one embodiment, allocation list synchronization module 509 includes database synchronization unit, synchronous allocation list acquisition list Member, built-in storage import unit and local storage unit, in which: database synchronization unit, for configuration information table to be synchronized to In configuration information table database;Synchronous allocation list acquiring unit, for when the synchronization for detecting that configuration information table database issues When success prompting message, the corresponding synchronous configuration information table of configuration information table is extracted from configuration information table database;Interior storage Device import unit imports in preset built-in storage for that will synchronize configuration information table;Local storage unit is detected for working as When the importing success prompting message that built-in storage issues, memory configurations corresponding with synchronous configuration information table in built-in storage are believed Breath table is stored into preset local external memory.
It in one embodiment, further include comparison module, the first update module and the second update module, in which: compare mould Block, for when meeting preset configuration testing conditions, by the memory configurations information table in built-in storage respectively with configuration information The memory configurations information table in synchronization configuration information table and local external memory in table database is compared;First more New module, for working as the memory configurations information table in built-in storage and the synchronous configuration information table in configuration information table database When comparison result is inconsistent, returns and extract the corresponding synchronous configuration information table of configuration information table from configuration information table database The step of;Second update module, for matching when the memory configurations information table in built-in storage with the memory in local external memory Set information table comparison result be it is inconsistent when, return by memory configurations corresponding with synchronous configuration information table in built-in storage letter Breath table stores the step into preset local external memory.
Specific about configuration information update device limits the limit that may refer to above for configuration information update method Fixed, details are not described herein.Modules in above-mentioned configuration information update device can fully or partially through software, hardware and its Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 6.The computer equipment includes processor, memory and the network interface connected by system bus. Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory of the computer equipment includes non-easy The property lost storage medium, built-in storage.The non-volatile memory medium is stored with operating system and computer program.The built-in storage Operation for operating system and computer program in non-volatile memory medium provides environment.The network of the computer equipment connects Mouth with external terminal by network connection for being communicated.It is a kind of with confidence to realize when the computer program is executed by processor Cease update method.
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor perform the steps of when executing computer program
It receives the configuration that terminal is sent and updates request message;
When it is configuration modification type that configuration, which updates request message, request message is updated according to configuration and matches confidence from preset Configuration information table to be updated is obtained in breath table database;
Configuration information table to be updated is returned to terminal;
The configuration information table returned by terminal is received, configuration information table is updated configuration information table to be updated by terminal After obtain;
Configuration information table is stored respectively to outside configuration information table database, preset built-in storage and preset local In memory.
In one embodiment, it also performs the steps of to update from configuration when processor executes computer program and requests to disappear Allocation list identification information is extracted in breath;Inquire preset configuration information table database;According to allocation list identification information, from confidence It ceases and obtains configuration information table to be updated corresponding with configuration update request message in table database.
In one embodiment, it also performs the steps of when processor executes computer program and disappears when configuration updates request When breath adds type for configuration, determine that configuration updates the corresponding configuration information functional requirement of request message and configuration information structure and needs It asks;Inquire preset configuration information template library;According to configuration information functional requirement and configuration information topology requirement, from configuration information Configuration information template table corresponding with configuration update request message is obtained in template library;Using configuration information template table as to be updated Configuration information table, the step of returning to configuration information table to be updated to terminal.
In one embodiment, it also performs the steps of to update from configuration when processor executes computer program and requests to disappear User identity information is extracted in breath;Inquire preset configuration renewal authority table;User identifier is inquired from configuration renewal authority table The corresponding configuration renewal authority of information;Power is updated to the editing mode of configuration information table to be updated according to configuration renewal authority Limit configuration, and the configuration information table to be updated postponed will be matched as configuration information table to be updated.
In one embodiment, it is also performed the steps of when processor executes computer program when in the preset period Multiple configurations are received in threshold value to update request messages and multiple to be updated matched according to what multiple configurations updated that request messages obtain Set information table it is identical when, inquire preset User Priority list;User identity information pair is determined according to User Priority list The configuration preference level answered is other;It is other according to configuration preference level, determine that multiple configurations update the request handling ordered of request message;According to Handling ordered is requested, configuration information table to be updated is back to configuration and updates the corresponding terminal of request message.
In one embodiment, it is also performed the steps of when processor executes computer program configuration information table is synchronous Into configuration information table database;When detecting when synchronizing successfully prompting message of configuration information table database sending, from configuration The corresponding synchronous configuration information table of configuration information table is extracted in information table data library;Synchronous configuration information table is imported in preset In memory;When detect built-in storage issue importing success prompting message when, by built-in storage with synchronous configuration information The corresponding memory configurations information table of table is stored into preset local external memory.
In one embodiment, it also performs the steps of to work as when processor executes computer program and meets preset configuration When testing conditions, by the memory configurations information table in built-in storage respectively with the synchronous configuration information in configuration information table database Memory configurations information table in table and local external memory is compared;When in built-in storage memory configurations information table with When the comparison result of synchronization configuration information table in configuration information table database is inconsistent, return from configuration information table database The step of middle extraction configuration information table corresponding synchronous configuration information table;When in built-in storage memory configurations information table and local The comparison result of memory configurations information table in external memory be it is inconsistent when, return by built-in storage with synchronous configuration information The corresponding memory configurations information table of table stores the step into preset local external memory.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
It receives the configuration that terminal is sent and updates request message;
When it is configuration modification type that configuration, which updates request message, request message is updated according to configuration and matches confidence from preset Configuration information table to be updated is obtained in breath table database;
Configuration information table to be updated is returned to terminal;
The configuration information table returned by terminal is received, configuration information table is updated configuration information table to be updated by terminal After obtain;
Configuration information table is stored respectively to outside configuration information table database, preset built-in storage and preset local In memory.
In one embodiment, it is also performed the steps of when computer program is executed by processor from configuration and updates request Allocation list identification information is extracted in message;Inquire preset configuration information table database;According to allocation list identification information, from configuration Configuration information table to be updated corresponding with configuration update request message is obtained in information table data library.
In one embodiment, it is also performed the steps of when computer program is executed by processor when configuration updates request When message is configuration addition type, determine that configuration updates the corresponding configuration information functional requirement of request message and configuration information structure Demand;Inquire preset configuration information template library;According to configuration information functional requirement and configuration information topology requirement, from confidence It ceases and obtains configuration information template table corresponding with configuration update request message in template library;Using configuration information template table as to more New configuration information table, the step of returning to configuration information table to be updated to terminal.
In one embodiment, it is also performed the steps of when computer program is executed by processor from configuration and updates request User identity information is extracted in message;Inquire preset configuration renewal authority table;The inquiry user mark from configuration renewal authority table Know the corresponding configuration renewal authority of information;The editing mode of configuration information table to be updated is updated according to configuration renewal authority Authority configuration, and the configuration information table to be updated postponed will be matched as configuration information table to be updated.
In one embodiment, it also performs the steps of when computer program is executed by processor when in the preset time Multiple configurations are received in section threshold value to update request message and obtained according to multiple configuration update request messages multiple to be updated When configuration information table is identical, preset User Priority list is inquired;User identity information is determined according to User Priority list Corresponding configuration preference level is other;It is other according to configuration preference level, determine that multiple configurations update the request handling ordered of request message;It presses According to request handling ordered, configuration information table to be updated is back to configuration and updates the corresponding terminal of request message.
In one embodiment, it is also performed the steps of when computer program is executed by processor configuration information table is same Step is into configuration information table database;When detecting that configuration information table database issues when synchronizing successfully prompting message, from matching It sets and extracts the corresponding synchronous configuration information table of configuration information table in information table database;It is preset that configuration information table importing will be synchronized In built-in storage;When detecting the importing success prompting message that built-in storage issues, confidence will be matched with synchronous in built-in storage The corresponding memory configurations information table of breath table is stored into preset local external memory.
In one embodiment, it also performs the steps of to work as when computer program is executed by processor and meets preset match It is when setting testing conditions, the memory configurations information table in built-in storage is synchronous in configuration information table database with confidence respectively Memory configurations information table in breath table and local external memory is compared;When the memory configurations information table in built-in storage When with the comparison result of the synchronous configuration information table in configuration information table database being inconsistent, return from configuration information table data The step of corresponding synchronous configuration information table of configuration information table is extracted in library;When the memory configurations information table in built-in storage and originally When the comparison result of memory configurations information table in ground external memory is inconsistent, confidence will be matched with synchronous in built-in storage by returning The corresponding memory configurations information table of breath table stores the step into preset local external memory.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of configuration information update method, which comprises
It receives the configuration that terminal is sent and updates request message;
When it is configuration modification type that the configuration, which updates request message, request message is updated according to the configuration and is matched from preset It sets and obtains configuration information table to be updated in information table database;
The configuration information table to be updated is returned to the terminal;
The configuration information table returned by the terminal is received, the configuration information table is by the terminal to described to be updated with confidence Breath table obtains after being updated;
The configuration information table is stored respectively to the configuration information table database, preset built-in storage and preset In ground external memory.
2. the method according to claim 1, wherein described update request message from preset according to the configuration The step of obtaining configuration information table to be updated in configuration information table database include:
It is updated from the configuration and extracts allocation list identification information in request message;
Inquire preset configuration information table database;
According to the allocation list identification information, is obtained from the configuration information table database and update request message with the configuration Corresponding configuration information table to be updated.
3. the method according to claim 1, wherein updating request message in the configuration that the reception terminal is sent The step of after, further includes:
When it is configuration addition type that the configuration, which updates request message, determine that the configuration updates the corresponding configuration of request message Informational function demand and configuration information topology requirement;
Inquire preset configuration information template library;
According to the configuration information functional requirement and the configuration information topology requirement, obtained from the configuration information template library Configuration information template table corresponding with configuration update request message;
Using the configuration information template table as the configuration information table to be updated, the configuration information table to be updated is returned to institute The step of stating terminal.
4. the method according to claim 1, wherein returning to the configuration information table to be updated to described described Before the step of terminal, further includes:
It is updated in request message from the configuration and extracts user identity information;
Inquire preset configuration renewal authority table;
The corresponding configuration renewal authority of the user identity information is inquired from the configuration renewal authority table;
Authority configuration is updated to the editing mode of the configuration information table to be updated according to the configuration renewal authority, and will With the configuration information table to be updated postponed as the configuration information table to be updated.
5. according to the method described in claim 4, it is characterized in that, when receiving multiple configurations in preset period threshold value Update request message and according to the multiple configuration update multiple configuration information tables to be updated that request message obtains it is identical when, It is described to return to the configuration information table to be updated to the step of terminal and include:
Inquire preset User Priority list;
Determine that the corresponding configuration preference level of the user identity information is other according to the User Priority list;
It is other according to the configuration preference level, determine that the multiple configuration updates the request handling ordered of request message;
According to the request handling ordered, it is corresponding that the configuration information table to be updated is back to the configuration update request message The terminal.
6. according to claim 1 to method described in 5 any one, which is characterized in that described to distinguish the configuration information table The step stored into the configuration information table database, preset built-in storage and preset local external memory includes:
The configuration information table is synchronized in the configuration information table database;
When detecting when synchronizing successfully prompting message of the configuration information table database sending, from the configuration information table data The corresponding synchronous configuration information table of the configuration information table is extracted in library;
The synchronous configuration information table is imported in preset built-in storage;
When detecting the importing success prompting message that the built-in storage issues, by the built-in storage with it is described synchronization match The corresponding memory configurations information table of information table is set to store into preset local external memory.
7. according to the method described in claim 6, it is characterized in that, the configuration information table is stored respectively to described described After step in configuration information table database, preset built-in storage and preset local external memory, further includes:
When meeting preset configuration testing conditions, by the memory configurations information table in the built-in storage respectively with the configuration The memory configurations information table in synchronization configuration information table and the local external memory in information table data library is compared Compared with;
When memory configurations information table and the synchronous configuration information table in the configuration information table database in the built-in storage Comparison result when being inconsistent, return to that described to extract the configuration information table from the configuration information table database corresponding The step of synchronous configuration information table;
When the ratio of the memory configurations information table in the memory configurations information table and the local external memory in the built-in storage When relatively result is inconsistent, return memory configurations information table corresponding with the synchronous configuration information table in the built-in storage Store the step into preset local external memory.
8. a kind of configuration information update device, which is characterized in that described device includes:
Request receiving module is updated, the configuration for receiving terminal transmission updates request message;
Allocation list to be updated obtains module, is used for when it is configuration modification type that the configuration, which updates request message, according to described Configuration updates request message and obtains configuration information table to be updated from preset configuration information table database;
Allocation list to be updated issues module, for returning to the configuration information table to be updated to the terminal;
Allocation list receiving module, for receiving the configuration information table returned by the terminal, the configuration information table is by the end End obtains after being updated to the configuration information table to be updated;
Allocation list synchronization module, for being stored the configuration information table respectively to the configuration information table database, preset In built-in storage and preset local external memory.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201811210212.7A 2018-10-17 2018-10-17 Configuration information update method, apparatus, computer equipment and storage medium Pending CN109542635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811210212.7A CN109542635A (en) 2018-10-17 2018-10-17 Configuration information update method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811210212.7A CN109542635A (en) 2018-10-17 2018-10-17 Configuration information update method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109542635A true CN109542635A (en) 2019-03-29

Family

ID=65844094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811210212.7A Pending CN109542635A (en) 2018-10-17 2018-10-17 Configuration information update method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109542635A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977317A (en) * 2019-04-03 2019-07-05 恒生电子股份有限公司 Data query method and device
CN111949659A (en) * 2020-08-07 2020-11-17 武汉轻工大学 Oil expression production line control system and method based on cloud database
CN112463259A (en) * 2020-12-18 2021-03-09 杭州搜车网科技有限公司 Configuration information generation method, device, electronic device and medium
CN112965837A (en) * 2021-03-04 2021-06-15 杭州银行股份有限公司 Configuration and service hot overload updating method, device, computer equipment and storage medium
CN113094689A (en) * 2021-04-06 2021-07-09 安徽中科美络信息技术有限公司 Configuration-based single sign-on method and system in government affair system
CN113110892A (en) * 2021-05-12 2021-07-13 湖南快乐阳光互动娱乐传媒有限公司 Configuration method and device
CN113535262A (en) * 2021-07-07 2021-10-22 曙光信息产业(北京)有限公司 Method, device, equipment and storage medium for controlling starting of proxy node
CN114189437A (en) * 2022-02-15 2022-03-15 北京搜狐新媒体信息技术有限公司 Method and device for processing configuration information of network equipment
CN113094689B (en) * 2021-04-06 2024-06-07 中科美络科技股份有限公司 Configuration-based single sign-on method and system in government affair system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109977317A (en) * 2019-04-03 2019-07-05 恒生电子股份有限公司 Data query method and device
CN111949659A (en) * 2020-08-07 2020-11-17 武汉轻工大学 Oil expression production line control system and method based on cloud database
CN111949659B (en) * 2020-08-07 2024-04-05 武汉轻工大学 Cloud database-based oil extraction production line control system and method
CN112463259A (en) * 2020-12-18 2021-03-09 杭州搜车网科技有限公司 Configuration information generation method, device, electronic device and medium
CN112463259B (en) * 2020-12-18 2023-05-30 杭州搜车网科技有限公司 Configuration information generation method and device, electronic device and medium
CN112965837A (en) * 2021-03-04 2021-06-15 杭州银行股份有限公司 Configuration and service hot overload updating method, device, computer equipment and storage medium
CN113094689A (en) * 2021-04-06 2021-07-09 安徽中科美络信息技术有限公司 Configuration-based single sign-on method and system in government affair system
CN113094689B (en) * 2021-04-06 2024-06-07 中科美络科技股份有限公司 Configuration-based single sign-on method and system in government affair system
CN113110892A (en) * 2021-05-12 2021-07-13 湖南快乐阳光互动娱乐传媒有限公司 Configuration method and device
CN113535262A (en) * 2021-07-07 2021-10-22 曙光信息产业(北京)有限公司 Method, device, equipment and storage medium for controlling starting of proxy node
CN113535262B (en) * 2021-07-07 2024-03-26 曙光信息产业(北京)有限公司 Proxy node start control method, device, equipment and storage medium
CN114189437A (en) * 2022-02-15 2022-03-15 北京搜狐新媒体信息技术有限公司 Method and device for processing configuration information of network equipment

Similar Documents

Publication Publication Date Title
CN109542635A (en) Configuration information update method, apparatus, computer equipment and storage medium
CN109062489B (en) Message processing method, message processing device, storage medium and electronic device
CN109803005B (en) Service breakpoint processing method and device, computer equipment and storage medium
CN109446063A (en) Interface test method, device, computer equipment and storage medium
CN109460527A (en) Product data configuration method, device, computer equipment and storage medium
CN109447411A (en) Business Process Control method, apparatus, computer equipment and storage medium
CN110209681A (en) Block chain data enter chain method, apparatus, computer equipment and storage medium
CN108595919B (en) Software activation method, device, system and storage medium
CN108829459A (en) Configuration method, device, computer equipment and storage medium based on Nginx server
CN110781214A (en) Database reading and writing method and device, computer equipment and storage medium
CN102223361A (en) Communication systems and data synchronization methods
CN105183495A (en) Coordinating activity views across operating system domains
CN109472577A (en) Account keeps accounts method, apparatus, computer equipment and storage medium
CN103379476A (en) Terminal and contact information updating method
CN109067896B (en) Interaction method, interaction device, computer equipment and storage medium
CN109409865B (en) Payment quota synchronous adjustment method, device, computer equipment and storage medium
CN109902272A (en) Electronic form data processing method, device, computer equipment and storage medium
CN109766316A (en) File acquisition method, device, computer equipment and storage medium
CN110795171A (en) Service data processing method and device, computer equipment and storage medium
CN109814949A (en) Virtual telephony state switching method, device, computer equipment and storage medium
CN109491772A (en) Business serial number gencration method, apparatus, computer equipment and storage medium
WO2023050676A1 (en) Object processing method and electronic device
CN103686688A (en) Method and device for protecting user address list of mobile terminal and mobile terminal
CN103701653A (en) Processing method for interface hot plugging and unplugging configuration data and network configuration server
CN111209061A (en) Method and device for filling in user information, computer equipment and storage 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