CN110442395A - Dissemination method, device, front-end server and the back-end server of product configuration data - Google Patents
Dissemination method, device, front-end server and the back-end server of product configuration data Download PDFInfo
- Publication number
- CN110442395A CN110442395A CN201910689537.6A CN201910689537A CN110442395A CN 110442395 A CN110442395 A CN 110442395A CN 201910689537 A CN201910689537 A CN 201910689537A CN 110442395 A CN110442395 A CN 110442395A
- Authority
- CN
- China
- Prior art keywords
- configuration data
- end server
- product
- product configuration
- environment
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application is suitable for computer field, provides dissemination method, device, front-end server and the back-end server of a kind of product configuration data.The described method includes: back-end server carries out attended operation to product configuration data, the product configuration data after being maintained operation;Product configuration data after attended operation is packaged into the format that front-end server can call directly, the product configuration data after being encapsulated by the back-end server;Product configuration data after the encapsulation is published to caching by the back-end server;Front-end server makes an announcement every the product of preset time rear end server poll latest edition, obtains latest edition number;Product configuration data of the front-end server according to latest edition number after calling the corresponding encapsulation of latest edition number in caching.The application can break through performance bottleneck of the internet insurance epoch when high concurrent user insures.
Description
Technical field
The application belongs to computer field more particularly to a kind of dissemination method of product configuration data, device, front end services
Device and back-end server.
Background technique
When back-end server carries out any additions and deletions to configuration datas such as the basic datas of product or rule and change to look into (to increase
Add, delete, modify, inquire) etc. operation after, when product configuration data is published to front end, the prior art is by front end services
Device calls the product configuration data of back-end server using api interface.But front-end server calls rear end to take using api interface
Be engaged in device product configuration data mode, in the internet that high concurrent user insures, the insurance epoch can not solve performance bottleneck and ask
Topic.
Summary of the invention
A kind of dissemination method, device, computer-readable storage medium for being designed to provide product configuration data of the application
Matter, front-end server and back-end server, it is intended to solve front-end server and call the product of back-end server to match using api interface
The mode for setting data, in the internet that high concurrent user insures, the insurance epoch can not solve the problems, such as performance bottleneck.
In a first aspect, this application provides a kind of dissemination methods of product configuration data, which comprises
Back-end server carries out attended operation to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into what front-end server can call directly by the back-end server
Format, the product configuration data after being encapsulated;
Product configuration data after the encapsulation is published to caching by the back-end server;
Front-end server makes an announcement every the product of preset time rear end server poll latest edition, obtains newest
Version number;
Product of the front-end server according to latest edition number after calling the corresponding encapsulation of latest edition number in caching
Configuration data.
Further, the back-end server carries out attended operation to product configuration data, the production after being maintained operation
After product configuration data, the dissemination method of the product configuration data further include:
After receiving synchronic command, the product configuration data after attended operation is synchronized to all in back-end server
Varying environment.
Second aspect, this application provides a kind of delivery systems of product configuration data, and the system comprises back-end services
Device and back-end server, in which:
Back-end server carries out attended operation to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into what front-end server can call directly by the back-end server
Format, the product configuration data after being encapsulated;
Product configuration data after the encapsulation is published to caching by the back-end server;
Front-end server makes an announcement every the product of preset time rear end server poll latest edition, obtains newest
Version number;
Product of the front-end server according to latest edition number after calling the corresponding encapsulation of latest edition number in caching
Configuration data.
The third aspect, this application provides a kind of dissemination methods of product configuration data, which comprises
Attended operation is carried out to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into the format that front-end server can call directly, after obtaining encapsulation
Product configuration data;
Product configuration data after the encapsulation is published to caching, so that front-end server is every preset time rear end
The product of server poll latest edition makes an announcement, and obtains latest edition number, and call from caching according to latest edition number
Product configuration data after the corresponding encapsulation of latest edition number.
Fourth aspect, this application provides a kind of distributing device of product configuration data, described device is built in rear end clothes
Business device, described device include:
Maintenance module, for carrying out attended operation to product configuration data, the product configuration data after being maintained operation;
Package module, for the product configuration data after attended operation to be packaged into the lattice that front-end server can call directly
Formula, the product configuration data after being encapsulated;
Release module, for the product configuration data after the encapsulation to be published to caching, for front-end server every
The product of preset time rear end server poll latest edition makes an announcement, and obtains latest edition number, and according to latest edition
Product configuration data number after calling the corresponding encapsulation of latest edition number in caching.
5th aspect, this application provides a kind of computer readable storage medium, the computer readable storage medium is deposited
Contain computer program, which is characterized in that the production as described in the third aspect is realized when the computer program is executed by processor
The step of dissemination method of product configuration data.
6th aspect, this application provides a kind of back-end servers, comprising:
One or more processors;
Memory;And
One or more computer programs, the processor and the memory are connected by bus, wherein one
Or multiple computer programs are stored in the memory, and are configured to be executed by one or more of processors,
The processor realizes the step of the dissemination method of the product configuration data as described in the third aspect when executing the computer program
Suddenly.
In the dissemination method of the application product configuration data, since back-end server is by the products configuration after attended operation
Data are packaged into the format that front-end server can call directly, and the product configuration data after the encapsulation is published to caching;
Front-end server makes an announcement every the product of preset time rear end server poll latest edition, obtains latest edition number,
And the product configuration data according to latest edition number after calling the corresponding encapsulation of latest edition number in caching.Therefore it can break through mutually
Performance bottleneck of the networking insurance epoch when high concurrent user insures;
In addition, since the back-end server carries out attended operation to product configuration data, the production after being maintained operation
After product configuration data, the dissemination method of the product configuration data further include: after receiving synchronic command, by attended operation
Product configuration data afterwards is synchronized to all varying environments in back-end server.Accordingly, with respect at present on the market to difference
The data of environment, which synchronize, mainly uses Excel to upload data or more using needing operator existing for synchronizing software CDC etc.
Secondary operation, the problem of not can guarantee each environmental data consistency when configurations when BUG occur and needing to modify, the application energy
So that product configuration data is unified maintenance in different environments, ensure that the accuracy and integrality of product configuration data.
Detailed description of the invention
Fig. 1 is the flow chart of the dissemination method for the product configuration data that one embodiment of the application provides.
Fig. 2 is the publication configuration interface schematic diagram in one embodiment of the application.
Fig. 3 is the publication configuration information list schematic diagram in one embodiment of the application.
Fig. 4 is the ratio that the version that comes into force on configuration information and version to be released and line is issued in the displaying in one embodiment of the application
Compared with interface schematic diagram.
Fig. 5 is the configuration history page schematic diagram in one embodiment of the application.
Fig. 6 is the simultaneously operating interface schematic diagram in one embodiment of the application.
Fig. 7 is slave DEV context synchronization in one embodiment of the application to SIT environment, then from SIT context synchronization to UAT ring
Border, then from UAT context synchronization to the flow chart of PRD environment.
Fig. 8 is the schematic diagram of the delivery system for the product configuration data that one embodiment of the application provides.
Fig. 9 is the module diagram of the distributing device for the product configuration data that one embodiment of the application provides.
Figure 10 is the specific block diagram for the back-end server that one embodiment of the application provides.
Specific embodiment
In order to which the purpose, technical solution and beneficial effect of the application is more clearly understood, below in conjunction with attached drawing and implementation
Example, is further elaborated the application.It should be appreciated that specific embodiment described herein is only used to explain this Shen
Please, it is not used to limit the application.
In order to illustrate technical solution described herein, the following is a description of specific embodiments.
Referring to Fig. 1, the dissemination method for the product configuration data that one embodiment of the application provides is the following steps are included: need to infuse
Meaning, if having substantially the same as a result, the dissemination method of the product configuration data of the application is not with process shown in FIG. 1
Sequence is limited.
S101, back-end server carry out attended operation to product configuration data, the products configuration number after being maintained operation
According to.
In one embodiment of the application, product configuration data includes basic data or rule of product etc., such as rule of insuring
Then, Claims Resolution rule, retainment rule, air control configuration, guarantee plan official documents and correspondence, trade company number, insurance kind, responsibility, clause, Fee Schedule etc..Dimension
Shield operation includes increase, deletion, modification, inquiry etc..
Product configuration data after attended operation is packaged into what front-end server can call directly by S102, back-end server
Format, the product configuration data after being encapsulated.
In one embodiment of the application, the format that front-end server can call directly include Json, Xml, Yaml,
Protobuffer etc..
S102 is specifically as follows:
The format that back-end server can call directly the front-end server that product configuration data is packaged into dated version number,
The product configuration data of dated version number after being encapsulated.
Product configuration data can be the product configuration data of multiple and different environment, such as develop (Development,
DEV) the product of the product configuration data of environment, internal system integration testing (System Integrate Test, SIT) environment
The product configuration data or product of configuration data, user acceptance test (User Acceptance Test, UAT) environment
The product configuration data etc. of (Production, PRD) environment.
In one embodiment of the application, after S102, the method can also include:
Back-end server generates publication configuration information according to the product configuration data after attended operation;Issue configuration information packet
Include type code, typonym, version number, publisher, publication type (such as product and rule of insuring, guarantee plan official documents and correspondence, continue
Protect rule, trade company number etc.), change type, issued state, time etc.;
It receives in the publication configuration information that maintenance personnel inputs on the publication configuration interface (as shown in Figure 2) of release plan
One or more information as key word of the inquiry;
Relevant publication configuration information list (as shown in Figure 3) is inquired according to key word of the inquiry;
It receives after checking instruction, shows and issue configuration information and version to be released compared with the version that comes into force on line, and
Publication button is provided, peripheral verification button (as shown in Figure 4) can also be provided;
When receiving the publication instruction issued by publication button, to the products configuration number after attended operation to be released
According to being verified, and check results are prompted, if verification is correct, executes S103, wherein after attended operation to be released
Product configuration data carries out verification and specifically includes the correctness of the product configuration data after verifying attended operation to be released and complete
Whole property, the perimeter systems of the product configuration data after can also verifying attended operation to be released, such as commission configure system.
It, can be the following steps are included: being sent out when receiving by peripheral verification button when being provided with peripheral verification button
When checking command out, the perimeter systems of the product configuration data after verifying attended operation to be released, such as commission configuration system
System.
When the back-end server generates publication configuration information according to the product configuration data after attended operation, back-end services
Device constitutes edition tree also according to version number, and edition comparison and rollback are carried out based on edition tree, to ensure publication movement safety
Reliably.
After the back-end server generates publication configuration information according to the product configuration data after attended operation, the side
Method can also include:
Receive the instruction for entering configuration history page;It specifically can be to receive in publication configuration interface and enter configuration history page
The instruction in face;
All versions of the product configuration data are shown in configuration history page, and any two version may be selected in configuration personnel
Configuration is compared (as shown in Figure 5).
Product configuration data after encapsulation is published to caching by S103, back-end server.
In one embodiment of the application, S103 is specifically as follows:
Product configuration data after encapsulation is published to redis caching by back-end server.
Publication refers to that product configuration data is issued between the different platform of identical environment, for example, products configuration number
According to being published to the front-end server of DEV environment, product configuration data from the back-end server of DEV environment from the rear end of SIT environment
Server is published to the front-end server of SIT environment, product configuration data and is published to UAT ring from the back-end server of UAT environment
The front-end server in border, product configuration data are published to the front-end server etc. of PRD environment from the back-end server of PRD environment.
In one embodiment of the application, S103 can specifically include following steps:
The product that back-end server generates latest edition makes an announcement, and the product of the latest edition makes an announcement including most
New version number;
Back-end server compares the corresponding version of product configuration data in caching;
When determine latest edition product make an announcement in version be new edition when, then by the product configuration data after encapsulation
It is published to caching, to can realize that the heat of product configuration data updates.
S104, front-end server make an announcement every the product of preset time rear end server poll latest edition, obtain
Take latest edition number.
The product of S105, front-end server according to latest edition number after calling the corresponding encapsulation of latest edition number in caching
Configuration data.
In one embodiment of the application, after S101, the dissemination method of the product configuration data can also include following
Step:
After receiving synchronic command, the product configuration data after attended operation is synchronized to all in back-end server
Varying environment;Such as from DEV context synchronization to SIT environment, then from SIT context synchronization to UAT environment, then from UAT context synchronization
Efficiency is optimized, data are improved to PRD environment so that it is guaranteed that product configuration data does not need to safeguard more parts in varying environment
Accuracy.
Wherein, synchronic command is generated particular by the operation for clicking lockage button.(as shown in Figure 6)
Referring to Fig. 7, described from DEV context synchronization to SIT environment, then from SIT context synchronization to UAT environment, then from UAT
Context synchronization to PRD environment specifically includes the following steps:
Under DEV environment, the model information of typing product, the model information of product specifically include product basic data and
Rule checks release plan, executes publication, execute test, if test passes through, the model information of product is synchronized to SIT
Environment;
Under SIT environment, the relevant information of typing SIT environment checks release plan, executes publication, execute test, if
Test passes through, then the model information of product is synchronized to UAT environment;
Under UAT environment, the relevant information of typing UAT environment checks release plan, executes publication, execute test, if
Test passes through, then the model information of product is synchronized to PRD environment;
Under PRD environment, the relevant information of typing PRD environment checks release plan, executes publication, execute test, if
Test passes through, then terminates synchronous process.
Therefore making online product related information, high-efficient transparent circulates in different environments, and links work is gone here and there
Connect, clearly show product from scratch, from project verification to online life cycle, these data carry out persistence after be product
Decision also provides basic data, and Optimizing Flow can be reacted on after quantization.
The dissemination method for the product configuration data that one embodiment of the application provides can be applied to internet insurance products or mutual
Networking financial product etc..
Referring to Fig. 8, one embodiment of the application provides a kind of delivery system of product configuration data, the system comprises
Back-end server 11 and front-end server 12, back-end server 11 and front-end server 12 are mentioned for executing one embodiment of the application
The step of dissemination method of the product configuration data of confession.Specific implementation process is detailed in specification full text, and details are not described herein again.
Referring to Fig. 9, one embodiment of the application provides a kind of distributing device of product configuration data, built in described device
In back-end server, described device includes:
Maintenance module 21, for carrying out attended operation to product configuration data, the products configuration number after being maintained operation
According to;
Package module 22, for the product configuration data after attended operation to be packaged into what front-end server can call directly
Format, the product configuration data after being encapsulated;
Release module 23, for the product configuration data after the encapsulation to be published to caching, so that front-end server is every
It makes an announcement every the product of preset time rear end server poll latest edition, obtains latest edition number, and according to latest edition
This number product configuration data after calling the corresponding encapsulation of latest edition number in caching.
The product that the distributing device and one embodiment of the application for the product configuration data that one embodiment of the application provides provide
The dissemination method of configuration data belongs to same design, and specific implementation process is detailed in specification full text, and details are not described herein again.
One embodiment of the application provides a kind of computer readable storage medium, the computer-readable recording medium storage
There is computer program, the computer program realizes following steps when being executed by processor:
Attended operation is carried out to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into the format that front-end server can call directly, after obtaining encapsulation
Product configuration data;
Product configuration data after the encapsulation is published to caching, so that front-end server is every preset time rear end
The product of server poll latest edition makes an announcement, and obtains latest edition number, and call from caching according to latest edition number
Product configuration data after the corresponding encapsulation of latest edition number.
In one embodiment of the application, the format that the front-end server can call directly include Json, Xml, Yaml and
Protobuffer。
The product configuration data by after attended operation is packaged into the format that front-end server can call directly, and is sealed
Product configuration data after dress specifically:
The format that the front-end server that product configuration data is packaged into dated version number can be called directly, after obtaining encapsulation
Dated version number product configuration data.
The product configuration data by after encapsulation is published to caching specifically:
Product configuration data after encapsulation is published to redis caching.
The product configuration data by after encapsulation is published to caching and specifically includes:
The product for generating latest edition makes an announcement;
Compare the corresponding version of product configuration data in caching;
When determine latest edition product make an announcement in version be new edition when, then by the product configuration data after encapsulation
It is published to caching.
It is described that attended operation is carried out to product configuration data, after the product configuration data after being maintained operation, also hold
Row following steps:
After receiving synchronic command, the product configuration data after attended operation is synchronized to all in back-end server
Varying environment.
The product configuration data by after attended operation is synchronized to all varying environments in back-end server specifically:
By the product configuration data after attended operation from DEV context synchronization to SIT environment, then from SIT context synchronization to UAT
Environment, then from UAT context synchronization to PRD environment.
The product configuration data by after attended operation is from DEV context synchronization to SIT environment, then from SIT context synchronization
It is specifically included to UAT environment, then from UAT context synchronization to PRD environment:
Under DEV environment, the model information of typing product checks release plan, executes publication, execute test, if surveyed
It pinged, then the model information of product is synchronized to SIT environment;
Under SIT environment, the relevant information of typing SIT environment checks release plan, executes publication, execute test, if
Test passes through, then the model information of product is synchronized to UAT environment;
Under UAT environment, the relevant information of typing UAT environment checks release plan, executes publication, execute test, if
Test passes through, then the model information of product is synchronized to PRD environment;
Under PRD environment, the relevant information of typing PRD environment checks release plan, executes publication, execute test, if
Test passes through, then terminates synchronous process.
Figure 10 shows the specific block diagram of the back-end server of one embodiment of the application offer, a kind of back-end server
100 include: one or more processors 101, memory 102 and one or more computer programs, wherein the processor
101 are connected with the memory 102 by bus, and one or more of computer programs are stored in the memory 102
In, and be configured to be executed by one or more of processors 101, the processor 101 executes the computer program
Step Shi Shixian as described below.
Attended operation is carried out to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into the format that front-end server can call directly, after obtaining encapsulation
Product configuration data;
Product configuration data after the encapsulation is published to caching, so that front-end server is every preset time rear end
The product of server poll latest edition makes an announcement, and obtains latest edition number, and call from caching according to latest edition number
Product configuration data after the corresponding encapsulation of latest edition number.
In one embodiment of the application, the format that the front-end server can call directly include Json, Xml, Yaml and
Protobuffer。
The product configuration data by after attended operation is packaged into the format that front-end server can call directly, and is sealed
Product configuration data after dress specifically:
The format that the front-end server that product configuration data is packaged into dated version number can be called directly, after obtaining encapsulation
Dated version number product configuration data.
The product configuration data by after encapsulation is published to caching specifically:
Product configuration data after encapsulation is published to redis caching.
The product configuration data by after encapsulation is published to caching and specifically includes:
The product for generating latest edition makes an announcement;
Compare the corresponding version of product configuration data in caching;
When determine latest edition product make an announcement in version be new edition when, then by the product configuration data after encapsulation
It is published to caching.
It is described that attended operation is carried out to product configuration data, after the product configuration data after being maintained operation, also hold
Row following steps:
After receiving synchronic command, the product configuration data after attended operation is synchronized to all in back-end server
Varying environment.
The product configuration data by after attended operation is synchronized to all varying environments in back-end server specifically:
By the product configuration data after attended operation from DEV context synchronization to SIT environment, then from SIT context synchronization to UAT
Environment, then from UAT context synchronization to PRD environment.
The product configuration data by after attended operation is from DEV context synchronization to SIT environment, then from SIT context synchronization
It is specifically included to UAT environment, then from UAT context synchronization to PRD environment:
Under DEV environment, the model information of typing product checks release plan, executes publication, execute test, if surveyed
It pinged, then the model information of product is synchronized to SIT environment;
Under SIT environment, the relevant information of typing SIT environment checks release plan, executes publication, execute test, if
Test passes through, then the model information of product is synchronized to UAT environment;
Under UAT environment, the relevant information of typing UAT environment checks release plan, executes publication, execute test, if
Test passes through, then the model information of product is synchronized to PRD environment;
Under PRD environment, the relevant information of typing PRD environment checks release plan, executes publication, execute test, if
Test passes through, then terminates synchronous process.
In the dissemination method of the application product configuration data, since back-end server is by the products configuration after attended operation
Data are packaged into the format that front-end server can call directly, and the product configuration data after the encapsulation is published to caching;
Front-end server makes an announcement every the product of preset time rear end server poll latest edition, obtains latest edition number,
And the product configuration data according to latest edition number after calling the corresponding encapsulation of latest edition number in caching.Therefore it can break through mutually
Performance bottleneck of the networking insurance epoch when high concurrent user insures;
In addition, since the back-end server carries out attended operation to product configuration data, the production after being maintained operation
After product configuration data, the dissemination method of the product configuration data further include: after receiving synchronic command, by attended operation
Product configuration data afterwards is synchronized to all varying environments in back-end server.Accordingly, with respect at present on the market to difference
The data of environment, which synchronize, mainly uses Excel to upload data or more using needing operator existing for synchronizing software CDC etc.
Secondary operation, the problem of not can guarantee each environmental data consistency when configurations when BUG occur and needing to modify, the application energy
So that product configuration data is unified maintenance in different environments, ensure that the accuracy and integrality of product configuration data.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application
Made any modifications, equivalent replacements, and improvements etc., should be included within the scope of protection of this application within mind and principle.
Claims (36)
1. a kind of dissemination method of product configuration data, which is characterized in that the described method includes:
Back-end server carries out attended operation to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into the format that front-end server can call directly by the back-end server,
Product configuration data after being encapsulated;
Product configuration data after the encapsulation is published to caching by the back-end server;
Front-end server makes an announcement every the product of preset time rear end server poll latest edition, obtains latest edition
Number;
Products configuration of the front-end server according to latest edition number after calling the corresponding encapsulation of latest edition number in caching
Data.
2. the method as described in claim 1, which is characterized in that the product configuration data includes basic data or the rule of product
Then, the attended operation includes one of increase, deletion, modification, inquiry or any combination.
3. the method as described in claim 1, which is characterized in that the format that the front-end server can call directly includes
Json, Xml, Yaml and Protobuffer.
4. the method as described in claim 1, which is characterized in that the back-end server is by the products configuration number after attended operation
The format that can be called directly according to front-end server is packaged into, the product configuration data after being encapsulated specifically:
The format that back-end server can call directly the front-end server that product configuration data is packaged into dated version number, obtains
The product configuration data of dated version number after encapsulation.
5. the method as described in claim 1, which is characterized in that the product configuration data is that the product of multiple and different environment is matched
Set data.
6. method as claimed in claim 5, which is characterized in that the product configuration data is the products configuration number for developing environment
According to, the product configuration data or product ring of the product configuration data of internal system integration testing environment, user acceptance test environment
The product configuration data in border.
7. the method as described in claim 1, which is characterized in that the back-end server is by the products configuration number after attended operation
The format that can be called directly according to front-end server is packaged into, after the product configuration data after being encapsulated, the method is also wrapped
It includes:
Back-end server generates publication configuration information according to the product configuration data after attended operation;
Receive one or more letters in the publication configuration information that maintenance personnel inputs on the publication configuration interface of release plan
Breath is used as key word of the inquiry;
Relevant publication configuration information list is inquired according to key word of the inquiry;
It receives after checking instruction, shows and issue configuration information and version to be released compared with the version that comes into force on line, and provide
Issue button;
When receive by publication button issue publication instruction when, to the product configuration data after attended operation to be released into
Row verification, and check results are prompted, if verification is correct, the back-end server is executed by the product configuration data after encapsulation
The step of being published to caching.
8. the method for claim 7, which is characterized in that the product configuration data to after attended operation to be released
Carry out the correctness and integrality of the product configuration data that verification specifically includes after verifying attended operation to be released, also verification to
The perimeter systems of product configuration data after the attended operation of publication.
9. the method for claim 7, which is characterized in that the back-end server is according to the products configuration after attended operation
When data generate publication configuration information, back-end server constitutes edition tree also according to version number, and version is carried out based on edition tree
This compares and rollback.
10. method as claimed in claim 9, which is characterized in that the back-end server is matched according to the product after attended operation
After setting data generation publication configuration information, the method also includes:
Receive the instruction for entering configuration history page;
All versions of the product configuration data are shown in configuration history page, for configuration personnel selection any two version configuration
It is compared.
11. the method as described in claim 1, which is characterized in that the back-end server is by the product configuration data after encapsulation
It is published to caching specifically:
Product configuration data after encapsulation is published to redis caching by back-end server.
12. the method as described in claim 1 or 11, which is characterized in that the back-end server is by the products configuration after encapsulation
Data publication is specifically included to caching:
The product that back-end server generates latest edition makes an announcement, and the product of the latest edition makes an announcement including latest edition
This number;
Back-end server compares the corresponding version of product configuration data in caching;
When determine latest edition product make an announcement in version be new edition when, then by after encapsulation product configuration data issue
To caching.
13. the method as described in claim 1, which is characterized in that the back-end server safeguards product configuration data
Operation is maintained after the product configuration data after operating, the dissemination method of the product configuration data further include:
After receiving synchronic command, all differences for the product configuration data after attended operation being synchronized in back-end server
Environment.
14. method as claimed in claim 13, which is characterized in that the product configuration data by after attended operation is synchronized to
All varying environments in back-end server specifically:
By the product configuration data after attended operation from DEV context synchronization to SIT environment, then from SIT context synchronization to UAT ring
Border, then from UAT context synchronization to PRD environment.
15. method as claimed in claim 14, which is characterized in that the product configuration data by after attended operation is from DEV
Context synchronization is specifically included to SIT environment, then from SIT context synchronization to UAT environment, then from UAT context synchronization to PRD environment:
Under DEV environment, the model information of typing product checks release plan, executes publication, execute test, if test is logical
It crosses, then the model information of product is synchronized to SIT environment;
Under SIT environment, the relevant information of typing SIT environment checks release plan, executes publication, execute test, if test
Pass through, then the model information of product is synchronized to UAT environment;
Under UAT environment, the relevant information of typing UAT environment checks release plan, executes publication, execute test, if test
Pass through, then the model information of product is synchronized to PRD environment;
Under PRD environment, the relevant information of typing PRD environment checks release plan, executes publication, execute test, if test
Pass through, then terminates synchronous process.
16. the method as described in claim 1, which is characterized in that the dissemination method of the product configuration data is applied to interconnection
Net insurance products or internet financial product.
17. a kind of delivery system of product configuration data, which is characterized in that the system comprises back-end servers and back-end services
Device, in which:
Back-end server carries out attended operation to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into the format that front-end server can call directly by the back-end server,
Product configuration data after being encapsulated;
Product configuration data after the encapsulation is published to caching by the back-end server;
Front-end server makes an announcement every the product of preset time rear end server poll latest edition, obtains latest edition
Number;
Products configuration of the front-end server according to latest edition number after calling the corresponding encapsulation of latest edition number in caching
Data.
18. system as claimed in claim 17, which is characterized in that the back-end server is by the products configuration after attended operation
Data are packaged into the format that front-end server can call directly, the product configuration data after being encapsulated specifically:
The format that back-end server can call directly the front-end server that product configuration data is packaged into dated version number, obtains
The product configuration data of dated version number after encapsulation.
19. system as claimed in claim 17, which is characterized in that the back-end server is by the products configuration after attended operation
Data are packaged into the format that front-end server can call directly, after the product configuration data after being encapsulated, the rear end clothes
Business device also executes following steps:
Back-end server generates publication configuration information according to the product configuration data after attended operation;
Receive one or more letters in the publication configuration information that maintenance personnel inputs on the publication configuration interface of release plan
Breath is used as key word of the inquiry;
Relevant publication configuration information list is inquired according to key word of the inquiry;
It receives after checking instruction, shows and issue configuration information and version to be released compared with the version that comes into force on line, and provide
Issue button;
When receive by publication button issue publication instruction when, to the product configuration data after attended operation to be released into
Row verification, and check results are prompted, if verification is correct, the back-end server is executed by the product configuration data after encapsulation
The step of being published to caching.
20. system as claimed in claim 17, which is characterized in that the back-end server is by the product configuration data after encapsulation
It is published to caching specifically:
Product configuration data after encapsulation is published to redis caching by back-end server.
21. the system as described in claim 17 or 20, which is characterized in that the back-end server is by the products configuration after encapsulation
Data publication is specifically included to caching:
The product that back-end server generates latest edition makes an announcement, and the product of the latest edition makes an announcement including latest edition
This number;
Back-end server compares the corresponding version of product configuration data in caching;
When determine latest edition product make an announcement in version be new edition when, then by after encapsulation product configuration data issue
To caching.
22. system as claimed in claim 17, which is characterized in that the back-end server safeguards product configuration data
Operation is maintained after the product configuration data after operating, and the back-end server also executes following steps:
After receiving synchronic command, all differences for the product configuration data after attended operation being synchronized in back-end server
Environment.
23. the system as claimed in claim 22, which is characterized in that the product configuration data by after attended operation is synchronized to
All varying environments in back-end server specifically:
By the product configuration data after attended operation from DEV context synchronization to SIT environment, then from SIT context synchronization to UAT ring
Border, then from UAT context synchronization to PRD environment.
24. system as claimed in claim 23, which is characterized in that the product configuration data by after attended operation is from DEV
Context synchronization is specifically included to SIT environment, then from SIT context synchronization to UAT environment, then from UAT context synchronization to PRD environment:
Under DEV environment, the model information of typing product checks release plan, executes publication, execute test, if test is logical
It crosses, then the model information of product is synchronized to SIT environment;
Under SIT environment, the relevant information of typing SIT environment checks release plan, executes publication, execute test, if test
Pass through, then the model information of product is synchronized to UAT environment;
Under UAT environment, the relevant information of typing UAT environment checks release plan, executes publication, execute test, if test
Pass through, then the model information of product is synchronized to PRD environment;
Under PRD environment, the relevant information of typing PRD environment checks release plan, executes publication, execute test, if test
Pass through, then terminates synchronous process.
25. a kind of dissemination method of product configuration data, which is characterized in that the described method includes:
Attended operation is carried out to product configuration data, the product configuration data after being maintained operation;
Product configuration data after attended operation is packaged into the format that front-end server can call directly, the production after being encapsulated
Product configuration data;
Product configuration data after the encapsulation is published to caching, so that front-end server services to the back-end every preset time
The product that device wheel askes latest edition makes an announcement, and obtains latest edition number, and is called from caching according to latest edition number newest
Product configuration data after the corresponding encapsulation of version number.
26. method as claimed in claim 25, which is characterized in that the format that the front-end server can call directly includes
Json, Xml, Yaml and Protobuffer.
27. method as claimed in claim 25, which is characterized in that the product configuration data by after attended operation is packaged into
The format that front-end server can call directly, the product configuration data after being encapsulated specifically:
The format that the front-end server that product configuration data is packaged into dated version number can be called directly, the note after being encapsulated
The product configuration data of bright version number.
28. method as claimed in claim 25, which is characterized in that the product configuration data by after encapsulation is published to caching
Specifically:
Product configuration data after encapsulation is published to redis caching.
29. the method as described in claim 25 or 28, which is characterized in that the product configuration data by after encapsulation is published to
Caching specifically includes:
The product for generating latest edition makes an announcement;
Compare the corresponding version of product configuration data in caching;
When determine latest edition product make an announcement in version be new edition when, then by after encapsulation product configuration data issue
To caching.
30. method as claimed in claim 25, which is characterized in that it is described that attended operation is carried out to product configuration data, it obtains
After product configuration data after attended operation, the method also includes:
After receiving synchronic command, all differences for the product configuration data after attended operation being synchronized in back-end server
Environment.
31. method as claimed in claim 30, which is characterized in that the product configuration data by after attended operation is synchronized to
All varying environments in back-end server specifically:
By the product configuration data after attended operation from DEV context synchronization to SIT environment, then from SIT context synchronization to UAT ring
Border, then from UAT context synchronization to PRD environment.
32. method as claimed in claim 31, which is characterized in that the product configuration data by after attended operation is from DEV
Context synchronization is specifically included to SIT environment, then from SIT context synchronization to UAT environment, then from UAT context synchronization to PRD environment:
Under DEV environment, the model information of typing product checks release plan, executes publication, execute test, if test is logical
It crosses, then the model information of product is synchronized to SIT environment;
Under SIT environment, the relevant information of typing SIT environment checks release plan, executes publication, execute test, if test
Pass through, then the model information of product is synchronized to UAT environment;
Under UAT environment, the relevant information of typing UAT environment checks release plan, executes publication, execute test, if test
Pass through, then the model information of product is synchronized to PRD environment;
Under PRD environment, the relevant information of typing PRD environment checks release plan, executes publication, execute test, if test
Pass through, then terminates synchronous process.
33. method as claimed in claim 25, which is characterized in that the dissemination method of the product configuration data is applied to interconnection
Net insurance products or internet financial product.
34. a kind of distributing device of product configuration data, which is characterized in that described device is built in back-end server, the dress
It sets and includes:
Maintenance module, for carrying out attended operation to product configuration data, the product configuration data after being maintained operation;
Package module, for the product configuration data after attended operation to be packaged into the format that front-end server can call directly,
Product configuration data after being encapsulated;
Release module, for the product configuration data after the encapsulation to be published to caching, so that front-end server is every default
The time product of rear end server poll latest edition makes an announcement, obtain latest edition number, and according to latest edition number from
Product configuration data after calling the corresponding encapsulation of latest edition number in caching.
35. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realization is such as the described in any item product configuration datas of claim 25 to 33 when the computer program is executed by processor
The step of dissemination method.
36. a kind of back-end server, comprising:
One or more processors;
Memory;And
One or more computer programs, the processor and the memory are connected by bus, wherein one or more
A computer program is stored in the memory, and is configured to be executed by one or more of processors, special
Sign is that the processor realizes such as the described in any item products configurations of claim 25 to 33 when executing the computer program
The step of dissemination method of data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910689537.6A CN110442395B (en) | 2019-07-29 | 2019-07-29 | Method and device for releasing product configuration data, front-end server and back-end server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910689537.6A CN110442395B (en) | 2019-07-29 | 2019-07-29 | Method and device for releasing product configuration data, front-end server and back-end server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110442395A true CN110442395A (en) | 2019-11-12 |
CN110442395B CN110442395B (en) | 2023-03-24 |
Family
ID=68431959
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910689537.6A Active CN110442395B (en) | 2019-07-29 | 2019-07-29 | Method and device for releasing product configuration data, front-end server and back-end server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110442395B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111142749A (en) * | 2019-12-19 | 2020-05-12 | 阳光人寿保险股份有限公司 | Insurance product issuing method, system and terminal equipment |
CN113778555A (en) * | 2021-09-02 | 2021-12-10 | 百融至信(北京)征信有限公司 | Distributed configuration method and system |
CN117041044A (en) * | 2023-08-23 | 2023-11-10 | 中电金信软件有限公司 | Gateway configuration method, device and system |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040093468A1 (en) * | 2002-06-26 | 2004-05-13 | International Business Machines Corporation | Arrangement and method for update of configuration cache data |
CN103607424A (en) * | 2013-10-24 | 2014-02-26 | 北京奇虎科技有限公司 | Server connection method and server system |
CN105302895A (en) * | 2015-10-21 | 2016-02-03 | 浪潮通用软件有限公司 | Data caching synchronization method, server and client side |
CN105786531A (en) * | 2014-12-19 | 2016-07-20 | 江苏融成嘉益信息科技有限公司 | Cooperative work method for online software update and data encryption |
CN106210022A (en) * | 2016-06-29 | 2016-12-07 | 天涯社区网络科技股份有限公司 | A kind of system and method for processing forum's height concurrent data requests |
CN106202176A (en) * | 2016-06-27 | 2016-12-07 | 武汉斗鱼网络科技有限公司 | A kind of method and system realizing website version heat upgrading |
CN106897053A (en) * | 2016-07-08 | 2017-06-27 | 阿里巴巴集团控股有限公司 | A kind of code dissemination method and device |
CN107071066A (en) * | 2017-06-07 | 2017-08-18 | 北京潘达互娱科技有限公司 | page access method and device |
CN107133234A (en) * | 2016-02-29 | 2017-09-05 | 阿里巴巴集团控股有限公司 | The method of data cached renewal, apparatus and system |
CN107463422A (en) * | 2017-07-20 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Code dispositions method and device, electronic equipment |
-
2019
- 2019-07-29 CN CN201910689537.6A patent/CN110442395B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040093468A1 (en) * | 2002-06-26 | 2004-05-13 | International Business Machines Corporation | Arrangement and method for update of configuration cache data |
CN103607424A (en) * | 2013-10-24 | 2014-02-26 | 北京奇虎科技有限公司 | Server connection method and server system |
CN105786531A (en) * | 2014-12-19 | 2016-07-20 | 江苏融成嘉益信息科技有限公司 | Cooperative work method for online software update and data encryption |
CN105302895A (en) * | 2015-10-21 | 2016-02-03 | 浪潮通用软件有限公司 | Data caching synchronization method, server and client side |
CN107133234A (en) * | 2016-02-29 | 2017-09-05 | 阿里巴巴集团控股有限公司 | The method of data cached renewal, apparatus and system |
CN106202176A (en) * | 2016-06-27 | 2016-12-07 | 武汉斗鱼网络科技有限公司 | A kind of method and system realizing website version heat upgrading |
CN106210022A (en) * | 2016-06-29 | 2016-12-07 | 天涯社区网络科技股份有限公司 | A kind of system and method for processing forum's height concurrent data requests |
CN106897053A (en) * | 2016-07-08 | 2017-06-27 | 阿里巴巴集团控股有限公司 | A kind of code dissemination method and device |
CN107071066A (en) * | 2017-06-07 | 2017-08-18 | 北京潘达互娱科技有限公司 | page access method and device |
CN107463422A (en) * | 2017-07-20 | 2017-12-12 | 阿里巴巴集团控股有限公司 | Code dispositions method and device, electronic equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111142749A (en) * | 2019-12-19 | 2020-05-12 | 阳光人寿保险股份有限公司 | Insurance product issuing method, system and terminal equipment |
CN111142749B (en) * | 2019-12-19 | 2023-09-22 | 阳光人寿保险股份有限公司 | Insurance product release method, system and terminal equipment |
CN113778555A (en) * | 2021-09-02 | 2021-12-10 | 百融至信(北京)征信有限公司 | Distributed configuration method and system |
CN117041044A (en) * | 2023-08-23 | 2023-11-10 | 中电金信软件有限公司 | Gateway configuration method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN110442395B (en) | 2023-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210240604A1 (en) | Api driven continuous testing systems for testing disparate software | |
US8584079B2 (en) | Quality on submit process | |
CN111414172B (en) | Automatic deployment and release system and method for application software | |
CN101482817B (en) | Large-particle Java component assembly method based on black box | |
Ali et al. | A state-based approach to integration testing based on UML models | |
US11874827B2 (en) | System and method for automatic, rapid, and auditable updates of digital contracts | |
US9122804B2 (en) | Logic validation and deployment | |
WO2020062673A1 (en) | Smart contract test method, storage medium, test terminal and test device | |
CN110442395A (en) | Dissemination method, device, front-end server and the back-end server of product configuration data | |
US20130339931A1 (en) | Application trace replay and simulation systems and methods | |
US9329985B1 (en) | Using emulation to disassociate verification from stimulus in functional test | |
US20140007060A1 (en) | Implementation of distributed methods that support generic functions | |
Cerny et al. | On code analysis opportunities and challenges for enterprise systems and microservices | |
CN111737140A (en) | Interface automation test method, device, equipment and computer readable storage medium | |
Gonzalez | Developing Microservices with node. js | |
CN111797020A (en) | Mock data method and device based on dynamic bytecode | |
Iyenghar et al. | Towards model-based test automation for embedded systems using UML and UTP | |
EP2883134A1 (en) | Executable software specification generation | |
CN104516963A (en) | Excel data server and application thereof | |
Gohil et al. | Towards behavior driven operations (BDOps) | |
CN112016256A (en) | Integrated circuit development platform, method, storage medium and equipment | |
JP2016076181A (en) | In-team configuration management system | |
US9195704B2 (en) | Automated logging for object-oriented environments | |
CN112381509A (en) | Management system for major special topic of national science and technology for creating major new drug | |
Al Mamun et al. | Towards formalizing assumptions on architectural level: A proof-of-concept |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |