CN103488677A - Project configuration method and device - Google Patents

Project configuration method and device Download PDF

Info

Publication number
CN103488677A
CN103488677A CN201310309841.6A CN201310309841A CN103488677A CN 103488677 A CN103488677 A CN 103488677A CN 201310309841 A CN201310309841 A CN 201310309841A CN 103488677 A CN103488677 A CN 103488677A
Authority
CN
China
Prior art keywords
configuration data
configuration
project
client
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310309841.6A
Other languages
Chinese (zh)
Other versions
CN103488677B (en
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.)
Guangzhou Pinwei Software Co Ltd
Original Assignee
Guangzhou Vipshop Information And 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 Guangzhou Vipshop Information And Technology Co Ltd filed Critical Guangzhou Vipshop Information And Technology Co Ltd
Priority to CN201310309841.6A priority Critical patent/CN103488677B/en
Publication of CN103488677A publication Critical patent/CN103488677A/en
Application granted granted Critical
Publication of CN103488677B publication Critical patent/CN103488677B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2308Concurrency control

Abstract

The invention relates to a project configuration method which comprises the following step of: when receiving a transmitting request or a configuration data updating detection command, distributing configuration data to each client or detecting updating of the configuration data and automatically distributing the configuration data to each client. The invention also relates to a project configuration device which comprises a server, wherein the server comprises a configuration center database for storing the configuration data of each project and a configuration processor for distributing the configuration data to each client or detecting updating of the configuration data and automatically distributing the configuration data to each client when receiving the transmitting request or the configuration data updating detection command. According to the project configuration method and the project configuration device, the configuration database carries out centralized management on the configuration data, so that safety and accuracy of a system are strengthened; and the configuration data is actively transmitted or is automatically detected and automatically transmitted, the operation mode is simple and reliable and the data updating is accurate and rapid.

Description

The project configuration method and apparatus
Technical field
The present invention relates to the O&M service architecture, particularly relate to a kind of project configuration method and apparatus.
Background technology
Project refers to a series of uniquenesses, complexity and the activity that is mutually related, and these activities have a specific aim or purpose, must, in specific time, budget, resource limit, according to standard, complete.Project is all very important to society, enterprise, individual's meaning.
Each project has different configuration files, these configuration files are for setting some variable system parameters, option and qualification authentication information etc., each configuration file normally is distributed on every destination directory and machine, when project, deployment machine increase, while needing deployment or change configuration file, different configuration files need to be uploaded to the different directories of multiple servers, the low and troublesome poeration of efficiency, easily make mistakes.
Summary of the invention
Based on this, be necessary for the problems referred to above, a kind of project configuration method and apparatus is provided.
A kind of project configuration method comprises step:
Receive and issue when request or receive while detecting the configuration data update instruction, the dispense configurations data to each client or detect the renewal of described configuration data and the described configuration data of automatic distributing to each client.
The method of above-mentioned project configuration, initiatively distribute or automatically detect the described configuration data of automatic distributing to each client, issues in real time, do not need artificial participation, and operating mode is simple and reliable, and the Data Update of each client is accurately quick.
A kind of project configuration device, comprise service end, and wherein said service end comprises:
The configuration center database, for storing the configuration data of each project;
Configuration processor, for issuing when request or receive while detecting the configuration data update instruction receiving, the dispense configurations data to each client or detect the renewal of described configuration data and the described configuration data of automatic distributing to each client.
Above-mentioned project configuration device, the configuration center database is by the management of concentratedization of configuration data, when needs are disposed or change configuration data, only the corresponding configuration data of configuration center database need be carried out to relevant treatment, then unified distribution, improved efficiency and the accuracy rate of operation, security, the accuracy of system improve greatly; Configuration processor is initiatively distributed or is automatically detected the described configuration data of automatic distributing to each client, issues in real time, does not need artificial participation, and operating mode is simple and reliable, and the Data Update of each client is accurately quick.
The accompanying drawing explanation
The schematic flow sheet that Fig. 1 is the inventive method embodiment mono-;
The schematic flow sheet that Fig. 2 is the inventive method embodiment bis-;
The structural representation that Fig. 3 is apparatus of the present invention embodiment.
Embodiment
Below in conjunction with accompanying drawing, in the mode of embodiment, the method and apparatus to project configuration of the present invention is described in detail.
Embodiment mono-
A kind of project configuration method as shown in Figure 1, comprises step:
Step 101: receive while issuing request or, when receiving detection configuration data update instruction, enter step 102;
Step 102: the dispense configurations data to each client or detect the renewal of described configuration data and the described configuration data of automatic distributing to each client.
Wherein said configuration data update instruction can comprise newly-increased configuration data instruction or change configuration data instruction or delete the configuration data instruction.
Embodiment bis-
Embodiment bis-is also to comprise step with the key distinction of embodiment mono-: record the state that described configuration data issues.
A kind of project configuration method as shown in Figure 2, comprises step:
Step 201: receive while issuing request or, when receiving detection configuration data update instruction, enter step 202;
Step 202: the dispense configurations data are to each client and record the state that described configuration data issues or the renewal that detects described configuration data the described configuration data of automatic distributing to each client and record the state that described configuration data issues simultaneously.
The state that wherein said configuration data issues can comprise whether the number of clients, IP and the reception that issue successfully wait, the actual result of recording configuration data distributing state, each client to accept result very clear.
The method of above-mentioned project configuration, initiatively distribute or automatically detect the described configuration data of automatic distributing to each client, issue in real time, do not need artificial participation, operating mode is simple and reliable, the Data Update of each client is accurately quick, and the actual result of described method recording configuration data distributing state, each client to accept result very clear.
Embodiment tri-
A kind of project configuration device, as shown in Figure 3, comprise service end, and wherein said service end comprises:
Configuration center database 302, for storing the configuration data of each project;
Configuration processor (CP) 303, for issuing when request or receive while detecting the configuration data update instruction receiving, the dispense configurations data to each client or detect the renewal of described configuration data and the described configuration data of automatic distributing to each client.
In a specific embodiment, described configuration data is preserved with the form of " key name-value ", the value of preserving is any text, a common word string for example, the data that perhaps encapsulate with the Json form, or XML etc., capacity is 64k, for the user has reserved very large space, a key assignments can a corresponding original configuration data basically.Table 1 is the type structure of the value of partial configuration data preservation.
Table 1 configuration data master meter structure
Figure BDA00003545188400031
In a specific embodiment, the state that described configuration processor 303 can also issue for recording described configuration data, the state that described configuration data issues can comprise whether the number of clients, IP and the reception that issue successfully wait, the actual result of recording configuration data distributing state, each client to accept result very clear.
In a specific embodiment, as shown in Figure 3, can also comprise the Configuration Agent device (CA) 304 be separately positioned on each client 305, the configuration data that the described configuration processor 303 of described Configuration Agent device 304 acceptance issues also is stored in shared drive by described configuration data, configuration data is stored in to shared drive, has strengthened confidentiality and the security of configuration data; Each described Configuration Agent device 304 is arranged on corresponding client 305, not direct query configuration central database 302 during each client 305 data query, the pressure of minimizing to configuration center database 302, also make configuration center database 302 not become Single Point of Faliure, even when configuration center database 302 breaks down, each client 305 still can be used the data on Configuration Agent device 304 to continue running, does not affect project operation.
In a specific embodiment, described Configuration Agent device 304 can use the C language to realize, to reduce the use to system resource, makes travelling speed quicker.
In a specific embodiment, described Configuration Agent device 304 can be processed the configuration data inquiry of client 305 with dichotomy, and inquiry velocity is fast, can be to the system build-up of pressure under concurrent inquiry request at height.
In a specific embodiment, client 305 can also be provided with configuration data and call plug-in unit, and described configuration data calls plug-in unit and supports PHP, Java, C++ etc., facilitates the developer to call configuration data.
In a specific embodiment, as shown in Figure 3, described service end can also comprise user interface (UI) module 301, and described UI module 301 comprises any one of the following stated or their combination:
The user authority management unit, for receiving grouping during instruction, be divided into different groups by configuration data, and the operation of every group is responsible for by the user who distributes, and the system manager is responsible for the configuration data operation of all groups, like this can user-isolated group, avoid maloperation;
Configuration management element, for when receiving newly-increased or change or the instruction of deletion configuration data, increase described configuration data accordingly or change or delete; Receiving button ranking and searching or fuzzy search or while checking the configuration data content instruction according to value, described configuration data is being carried out to button ranking and searching or fuzzy search or check the configuration data content according to value;
The configuration distributing unit, for when receiving configuration data transmission or the instruction of timing automatic transmission configuration data, send to client 305 by the transmission of relevant configuration data or timing automatic;
The operational administrative unit, for when receiving record or display operation daily record instruction, record or display operation daily record, the convenient configuration data change operation history of following the tracks of;
Issue the result queries unit, for showing and to show and to issue result while issuing object command receiving.
Above-mentioned project configuration device, configuration center database 302 is by the management of concentratedization of configuration data, and there is corresponding subscriber interface module 301 to manage, when needs are disposed or change configuration data, only the corresponding configuration data of configuration center database 302 need be carried out to relevant treatment, then unified distribution, improved efficiency and the accuracy rate of operation, and security, the accuracy of system improve greatly; Configuration processor 303 is initiatively distributed or is automatically detected the described configuration data of automatic distributing to each client 305, issues in real time, does not need artificial participation, and operating mode is simple and reliable, and the Data Update of each client 305 is accurately quick; Configuration Agent device 304 is stored in shared drive by configuration data, confidentiality and the security of configuration data have been strengthened, each described Configuration Agent device 304 is arranged on corresponding client 305, not direct query configuration central database 302 during each client 305 data query, the pressure of minimizing to configuration center database 302, also make configuration center database 302 not become Single Point of Faliure, even when configuration center database 302 breaks down, each client 305 still can be used the data on Configuration Agent device 304 to continue running, does not affect project operation.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (9)

1. a project configuration method, is characterized in that, comprises step:
Receive and issue when request or receive while detecting the configuration data update instruction, the dispense configurations data to each client or detect the renewal of described configuration data and the described configuration data of automatic distributing to each client.
2. project configuration method according to claim 1, is characterized in that, described configuration data update instruction comprises newly-increased configuration data instruction or change configuration data instruction or deletes the configuration data instruction.
3. project configuration method according to claim 1, is characterized in that, also comprises step: record the state that described configuration data issues.
4. project configuration method according to claim 3, is characterized in that, the state that described configuration data issues comprises that whether the number of clients, IP and the reception that issue be successful.
5. a project configuration device, comprise service end, it is characterized in that, described service end comprises:
The configuration center database, for storing the configuration data of each project;
Configuration processor, for issuing when request or receive while detecting the configuration data update instruction receiving, the dispense configurations data to each client or detect the renewal of described configuration data and the described configuration data of automatic distributing to each client.
6. project configuration device according to claim 5, is characterized in that, the state that described configuration processor also issues for recording described configuration data.
7. project configuration device according to claim 6, is characterized in that, the state that described configuration data issues comprises that whether the number of clients, IP and the acceptance that issue is successful.
8. project configuration device according to claim 5, it is characterized in that, also comprise the Configuration Agent device be separately positioned on each client, described Configuration Agent device is accepted the configuration data that described configuration processor issues and described configuration data is stored in to shared drive.
9. according to the described project configuration device of claim 5 to 8 any one, it is characterized in that, described service end also comprises the UI module, and described UI module comprises any one of the following stated or their combination:
The user authority management unit, for when receiving the grouping instruction, be divided into different groups by configuration data;
Configuration management element, for when receiving newly-increased or change or the instruction of deletion configuration data, increase described configuration data accordingly or change or delete; Receiving button ranking and searching or fuzzy search or while checking the configuration data content instruction according to value, described configuration data is being carried out to button ranking and searching or fuzzy search or check the configuration data content according to value;
The configuration distributing unit, for when receiving configuration data transmission or the instruction of timing automatic transmission configuration data, send to client by the transmission of relevant configuration data or timing automatic;
The operational administrative unit, for when receiving record or display operation daily record instruction, record or display operation daily record;
Issue the result queries unit, for showing and to show and to issue result while issuing object command receiving.
CN201310309841.6A 2013-07-22 2013-07-22 Project configuration method and apparatus Active CN103488677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310309841.6A CN103488677B (en) 2013-07-22 2013-07-22 Project configuration method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310309841.6A CN103488677B (en) 2013-07-22 2013-07-22 Project configuration method and apparatus

Publications (2)

Publication Number Publication Date
CN103488677A true CN103488677A (en) 2014-01-01
CN103488677B CN103488677B (en) 2017-09-22

Family

ID=49828905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310309841.6A Active CN103488677B (en) 2013-07-22 2013-07-22 Project configuration method and apparatus

Country Status (1)

Country Link
CN (1) CN103488677B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486393A (en) * 2014-12-08 2015-04-01 畅捷通信息技术股份有限公司 Resource configuration and recycling method and resource configuration and recycling system
CN106681861A (en) * 2016-12-08 2017-05-17 杭州销冠网络科技有限公司 New environment isolation configuration data management method and system
CN106878376A (en) * 2016-12-23 2017-06-20 微梦创科网络科技(中国)有限公司 A kind of configuring management method and system
CN107977344A (en) * 2017-11-03 2018-05-01 网宿科技股份有限公司 Date storage method, acquisition methods and server
CN108156030A (en) * 2017-12-21 2018-06-12 杭州迪普科技股份有限公司 The method and device that a kind of configuration strategy synchronizes
CN108156201A (en) * 2016-12-06 2018-06-12 北京京东尚科信息技术有限公司 It is managed collectively the method and apparatus of application system configuration data
CN111241064A (en) * 2020-01-10 2020-06-05 深圳震有科技股份有限公司 Database configuration file processing method and device and storage medium
CN117193886A (en) * 2023-11-06 2023-12-08 成都科江科技有限公司 Dynamic loading method for configuration file of industrial control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668009A (en) * 2004-03-12 2005-09-14 微软公司 Update distribution system architecture and method for distributing software
EP1684172A1 (en) * 2005-01-24 2006-07-26 BIOTRONIK CRM Patent AG Software distribution and maintenance system for implantable medical devices
CN1859125A (en) * 2006-03-31 2006-11-08 华为技术有限公司 System and its method for central remote automatic upgrading software
CN103051732A (en) * 2013-01-18 2013-04-17 上海云和信息系统有限公司 Cloud computation system for realizing automatic data pushing and distributing function and automatic pushing method
CN103116545A (en) * 2013-02-04 2013-05-22 青岛海信传媒网络技术有限公司 Intelligent terminal upgrade detection method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668009A (en) * 2004-03-12 2005-09-14 微软公司 Update distribution system architecture and method for distributing software
EP1684172A1 (en) * 2005-01-24 2006-07-26 BIOTRONIK CRM Patent AG Software distribution and maintenance system for implantable medical devices
CN1859125A (en) * 2006-03-31 2006-11-08 华为技术有限公司 System and its method for central remote automatic upgrading software
CN103051732A (en) * 2013-01-18 2013-04-17 上海云和信息系统有限公司 Cloud computation system for realizing automatic data pushing and distributing function and automatic pushing method
CN103116545A (en) * 2013-02-04 2013-05-22 青岛海信传媒网络技术有限公司 Intelligent terminal upgrade detection method and system

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104486393A (en) * 2014-12-08 2015-04-01 畅捷通信息技术股份有限公司 Resource configuration and recycling method and resource configuration and recycling system
CN108156201A (en) * 2016-12-06 2018-06-12 北京京东尚科信息技术有限公司 It is managed collectively the method and apparatus of application system configuration data
CN108156201B (en) * 2016-12-06 2021-01-26 北京京东尚科信息技术有限公司 Method and device for uniformly managing configuration data of application system
CN106681861A (en) * 2016-12-08 2017-05-17 杭州销冠网络科技有限公司 New environment isolation configuration data management method and system
CN106878376A (en) * 2016-12-23 2017-06-20 微梦创科网络科技(中国)有限公司 A kind of configuring management method and system
CN107977344A (en) * 2017-11-03 2018-05-01 网宿科技股份有限公司 Date storage method, acquisition methods and server
CN108156030A (en) * 2017-12-21 2018-06-12 杭州迪普科技股份有限公司 The method and device that a kind of configuration strategy synchronizes
CN108156030B (en) * 2017-12-21 2021-03-23 杭州迪普科技股份有限公司 Method and device for synchronizing configuration strategies
CN111241064A (en) * 2020-01-10 2020-06-05 深圳震有科技股份有限公司 Database configuration file processing method and device and storage medium
CN111241064B (en) * 2020-01-10 2023-11-03 深圳震有科技股份有限公司 Database configuration file processing method, device and storage medium
CN117193886A (en) * 2023-11-06 2023-12-08 成都科江科技有限公司 Dynamic loading method for configuration file of industrial control system
CN117193886B (en) * 2023-11-06 2024-01-05 成都科江科技有限公司 Dynamic loading method for configuration file of industrial control system

Also Published As

Publication number Publication date
CN103488677B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN103488677A (en) Project configuration method and device
US11750607B2 (en) Identifying accounts having shared credentials
US10237295B2 (en) Automated event ID field analysis on heterogeneous logs
CN108053863B (en) Mass medical data storage system and data storage method suitable for large and small files
CN105491539B (en) Message pushes management method and device
US10430332B2 (en) System and method for performance tuning of garbage collection algorithms
CN112615849A (en) Micro-service access method, device, equipment and storage medium
US20140280934A1 (en) Controlling resources used by computing devices
CN103034735B (en) Big data distributed file export method
US10296440B2 (en) Multi-tenant aware debugging methods and systems
CN106100902A (en) High in the clouds index monitoring method and apparatus
US20120330915A1 (en) Streaming transaction notifications
CN104852965B (en) A kind of user account project management method and system
CN111984830A (en) Management operation and maintenance platform and data processing method
CN109542741A (en) The automatic packet storage approach of log, device, computer equipment and storage medium
CN104038501B (en) Display terminal cluster management system and display terminal cluster management method
CN106878084A (en) A kind of authority control method and device
CN106940643A (en) Logical APP systems between the police and the people
CN111382985A (en) To-do message integrated pushing system and working method
CN102150090B (en) Method for providing control information for a distributed operation in an automation system, computer program and automation system
CN111680900A (en) Work order issuing method and device, electronic equipment and storage medium
CN109800081A (en) A kind of management method and relevant device of big data task
CN104902031A (en) Enterprise intelligent cloud system based on virtual desktop
CN210294523U (en) Data recording device for radar detection system
CN112348568A (en) Centralized management platform and method for account number of advertisement putting platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20171219

Address after: 510000 Guangzhou City, Guangzhou, Guangdong, Fangcun Avenue, one of the 314 self compiled

Patentee after: Guangzhou Pinwei Software Co., Ltd.

Address before: 510370 Guangdong, Guangzhou, Fangcun, No., No. 20 Huahai street, building 1-5

Patentee before: Guangzhou VIPSHOP Information and Technology Co., Ltd.

TR01 Transfer of patent right