CN109271387A - A kind of regular dissemination method and device of database - Google Patents

A kind of regular dissemination method and device of database Download PDF

Info

Publication number
CN109271387A
CN109271387A CN201811141683.7A CN201811141683A CN109271387A CN 109271387 A CN109271387 A CN 109271387A CN 201811141683 A CN201811141683 A CN 201811141683A CN 109271387 A CN109271387 A CN 109271387A
Authority
CN
China
Prior art keywords
rule
released
publication
item
gray scale
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
CN201811141683.7A
Other languages
Chinese (zh)
Other versions
CN109271387B (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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811141683.7A priority Critical patent/CN109271387B/en
Publication of CN109271387A publication Critical patent/CN109271387A/en
Application granted granted Critical
Publication of CN109271387B publication Critical patent/CN109271387B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This specification embodiment provides the regular dissemination method and device of a kind of database, corresponding default check item is issued using using this gray scale, check this gray scale publication of rule to be released whether by presetting check item, and the technical solution of the publication progress of rule to be released is changed according to inspection result, the gray scale issuing process for treating issue rules is effectively checked, it ensure that stability of the rule in issuing process, the defect for spending a large amount of man power and materials to carry out state of the Monitoring Rules in issuing process is avoided the need for simultaneously, save man power and material, also improve the efficiency of issue rules.

Description

A kind of regular dissemination method and device of database
Technical field
This specification embodiment be related to Internet technical field more particularly to a kind of database regular dissemination method and Device.
Background technique
Database is the warehouse for coming tissue, storage and management data according to data structure, with the development of society, data pipe Reason is only no longer storage and management data, and is transformed into the mode of various data managements required for user.
Wherein, rule is for describing the data of business in database, is in database to being stored in table specifically The regulation and limitation of column or the value in user-defined data type.Large database generally uses gray scale in issue rules The mode of publication that is to say and first issue for fraction of subscribers rather than issue to all users, even if generating mistake and causing Rollback database also only influences the fraction of subscribers, thus is avoided that rule generates mistake and impacts to all users.But It is increasing and increase the adjustment of business with business, the rule for needing to issue is more and more, it is therefore desirable to provide one kind The more reliably scheme of issue rules.
Summary of the invention
This specification embodiment provides and the regular dissemination method and device of a kind of database.
In a first aspect, this specification embodiment provides a kind of regular dissemination method of database, comprising:
Obtain rule to be released;
When the rule to be released enters gray scale publication, corresponding default check item is issued according to this gray scale, is checked Whether this gray scale publication of the rule to be released passes through the default check item;
According to inspection result, the publication progress of the rule to be released is changed.
Second aspect, this specification embodiment provide a kind of regular distributing device of database, comprising:
Acquiring unit, for obtaining rule to be released;
Inspection unit, for being issued according to this gray scale corresponding pre- when the rule to be released enters gray scale publication If check item, check whether this gray scale publication of the rule to be released passes through the default check item;
Changing unit changes the publication progress of the rule to be released according to inspection result.
The third aspect, this specification embodiment provide a kind of database, including memory, processor and are stored in memory Computer program that is upper and can running on a processor, the processor realize number described in any of the above-described when executing described program According to library regular dissemination method the step of.
Fourth aspect, this specification embodiment provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, when which is executed by processor the step of the regular dissemination method of database described in realization any of the above-described.
This specification embodiment has the beneficial effect that:
In this specification embodiment, uses and issue corresponding default check item using this gray scale, check rule to be released Whether this gray scale publication then according to inspection result changes the skill of the publication progress of to be released rule by presetting check item Art scheme, the gray scale issuing process for treating issue rules are effectively checked, ensure that rule is steady in issuing process It is qualitative, while the defect for spending a large amount of man power and materials to carry out state of the Monitoring Rules in issuing process is avoided the need for, it saves Man power and material, also improves the efficiency of issue rules.
Detailed description of the invention
Fig. 1 is the flow chart of the regular dissemination method for the database that this specification embodiment provides;
Fig. 2 is the module map of the regular distributing device for the database that this specification embodiment provides;
Fig. 3 is the structural schematic diagram for the database that this specification embodiment provides.
Specific embodiment
In order to better understand the above technical scheme, below by attached drawing and specific embodiment to this specification embodiment Technical solution be described in detail, it should be understood that the specific features in this specification embodiment and embodiment are to this explanation The detailed description of book embodiment technical solution, rather than the restriction to this specification technical solution, in the absence of conflict, Technical characteristic in this specification embodiment and embodiment can be combined with each other.
Referring to Figure 1, Fig. 1 is the flow chart of the regular dissemination method for the database that this specification embodiment provides, such as Fig. 1 It is shown, this method comprises:
S102: rule to be released is obtained;It specifically, is the rule to be released for obtaining user's input, in practical application In, the rule to be released of user's input can be obtained, herein with no restrictions by modes such as keyboard, mouse or touch screens;
S104: when rule to be released enters gray scale publication, corresponding default check item is issued according to this gray scale, is checked Whether this gray scale publication of rule to be released is by presetting check item;Specifically, rule to be released is sent out in different gray scales Cloth progress can correspond to different default check items, in this way, when rule to be released enters gray scale publication, it can according to this Gray scale issues corresponding default check item, by calling each backstage to check interface, to check this gray scale of rule to be released Whether publication is by default check item, namely checks whether rule publication is correct;
S106: according to inspection result, the publication progress of rule to be released is changed;Specifically, if inspection result show to The publication progress of rule to be released can then be changed to enter next step gray scale by issue rules by presetting check item;If inspection It looks into the result shows that rule to be released then can be changed to the publication progress of rule to be released to continue this ash also in monitor state Degree publication;If inspection result shows that rule to be released is failed by any check item, by the publication progress of rule to be released It is changed to gray scale publication failure.
Corresponding default check item is issued using this gray scale as can be seen that using, checks rule to be released this Whether gray scale publication according to inspection result changes the technical solution of the publication progress of to be released rule by presetting check item, The gray scale issuing process for treating issue rules is effectively checked, ensure that stability of the rule in issuing process, together When avoid the need for the defect for spending a large amount of man power and materials to carry out state of the Monitoring Rules in issuing process, save manpower and Material resources also improve the efficiency of issue rules.
In the following section, it will be described in detail above-mentioned technical proposal.
It should be noted that the regular dissemination method for the database that this specification embodiment provides can be applied to any sort In database, which be can be set in one or more physical servers, herein with no restrictions.
In S102, user can input rule to be released to database by modes such as keyboard, mouse or touch screens, and Rule to be released can be by the component that is arranged to be communicated with database, or the input provided by database itself Unit, such database can obtain the rule to be released of user's input.
Obtained by S102 it is to be released rule after, this specification embodiment provide database regular dissemination method into Enter S104, namely: when rule to be released enters gray scale publication, corresponding default check item is issued according to this gray scale, is checked Whether this gray scale publication of rule to be released is by presetting check item.
Specifically, treat issue rules carry out gray scale publication when, will can by check issue rules it is corresponding Backstage checks interface, such as by obtaining come whether judgment rule publication is correct.
In the specific implementation process, default check item may include one-time inspection item and non-disposable check item, right During rule to be released carries out gray scale publication, whether can pass through one-time inspection item or non-with individual inspiration rule to be released One-time inspection item, can also check whether rule to be released passes through one-time inspection item and non-disposable check item simultaneously, when So, those skilled in the art can select suitable test mode, herein with no restrictions according to the actual situation.
In practical applications, one-time inspection item includes at least one of database auditing and caching inspection, non-once Property inspection includes at least one of system monitoring and business monitoring.For one-time inspection item, if one-time inspection item The value that corresponding interface returns shows normally, it is determined that the publication of rule to be released passes through one-time inspection item;For non-once Property check item for, if not the fluctuation tendency for the value that the corresponding interface of one-time inspection item returns is less than threshold value, it is determined that The publication of issue rules passes through non-disposable check item.It, can be with for the publication of this gray scale as preceding sections are introduced Above-mentioned any one is individually carried out, two inspections can also be carried out simultaneously, herein with no restrictions.
After whether this gray scale publication for checking rule to be released by S104 is by default check item, this specification The regular dissemination method for the database that embodiment provides enters S106, namely: according to inspection result, change the hair of rule to be released Cloth progress.
Specifically, may include following two situation:
The first: is when rule to be released passes through one-time inspection item and/or non-disposable check item, by rule to be released Publication progress be changed to enter next step gray scale cut stream, certainly, next step gray scale cuts stream can apply this method again;It needs It is noted that it is the record to the current gray scale issued state of rule that this reality specification, which applies the publication progress in example, herein and The change to the record is only related to the change of publication progress in following part, without regard to the gray scale issued state to rule Change;
It certainly, at this time can also be in rule to be released by one-time inspection item and when not by non-disposable check item Any change is not done, keeps the publication progress of rule to be released for the publication of this gray scale, until can be confirmed that rule to be released is logical Cross or by non-disposable check item, if rule to be released by non-disposable check item, equally can be such as the first Described in situation, the publication progress of rule to be released is changed to enter and cuts stream in next step;
Second: when rule to be released is failed by any check item, rolling back action being executed to database, and will be pending The publication progress of cloth rule is changed to gray scale publication failure.
In practical applications, check whether this gray scale of rule to be released will appear by corresponding default check item One of two kinds of situations are stated, therefore, the publication progress for changing rule to be released can also be carried out according to corresponding inspection result Corresponding change, details are not described herein again.
In the specific implementation process, after the publication progress for changing rule to be released, what this specification embodiment provided Method further include: show the publication progress of rule to be released.
Specifically, it can be through means such as visualizations, show the publication progress of rule to be released.In this way, to be released The people that can be required of publication progress of rule sees, such as the network operator and technology supplier etc. of database, while The issuing process of rule to be released is monitored without the network operator in cost data library and the plenty of time of technology supplier and energy, Also improve order degree of the rule to be released in gray scale issuing process.
Based on the same inventive concept, on the other hand this specification embodiment also provides the rule publication dress of a kind of database It sets, referring to FIG. 2, Fig. 2 is the regular distributing device for the database that this specification embodiment provides, as shown in Fig. 2, the database Regular distributing device include:
Acquiring unit 201, for obtaining rule to be released;
Inspection unit 202, for being issued according to this gray scale corresponding default when rule to be released enters gray scale publication Whether check item checks this gray scale publication of rule to be released by presetting check item;
Changing unit 203 changes the publication progress of rule to be released according to inspection result.
In an optional mode, inspection unit is specifically used for when default check item is one-time inspection item, if one The value that the corresponding interface of secondary property check item returns shows normally, it is determined that the publication of rule to be released passes through one-time inspection item, And/or when default check item is non-disposable check item, if not the fluctuation for the value that the corresponding interface of one-time inspection item returns Trend is less than threshold value, it is determined that the publication of rule to be released passes through non-disposable check item.
In an optional mode, one-time inspection item include database auditing and caching check at least one of, Non-disposable check includes at least one of system monitoring and business monitoring.
In an optional mode, changing unit be specifically used in rule to be released through one-time inspection item and/or When non-disposable check item, the publication progress of rule to be released is changed to cut stream into next gray scale, or in rule to be released When failing by any check item, rolling back action is executed to database, and the publication progress of rule to be released is changed to not send out Cloth.
In an optional mode, device further includes display unit 204, and display unit 204 is for showing rule to be released Publication progress then.
The third aspect, based on inventive concept same as the regular dissemination method of database in previous embodiment, this explanation Book embodiment also provides a kind of database, and Fig. 3 is the structural schematic diagram for the database that this specification embodiment provides, such as Fig. 3 institute Show, including memory 504, processor 502 and is stored in the computer journey that can be run on memory 504 and on processor 502 The step of sequence, processor 502 realizes either regular dissemination method of database method above when executing program.
Wherein, in Fig. 3, bus architecture (is represented) with bus 500, and bus 500 may include any number of interconnection Bus and bridge, bus 500 will include the one or more processors represented by processor 502 and what memory 504 represented deposits The various circuits of reservoir link together.Bus 500 can also will peripheral equipment, voltage-stablizer and management circuit etc. it Various other circuits of class link together, and these are all it is known in the art, therefore, no longer carry out further to it herein Description.Bus interface 506 provides interface between bus 500 and receiver 501 and transmitter 503.Receiver 501 and transmitter 503 can be the same element, i.e. transceiver, provide the unit for communicating over a transmission medium with various other devices.Place It manages device 502 and is responsible for management bus 500 and common processing, and memory 504 can be used for storage processor 502 and execute behaviour Used data when making.
Fourth aspect, based on the inventive concept with the regular dissemination method of database in previous embodiment, this specification is real It applies example and a kind of computer readable storage medium is also provided, be stored thereon with computer program, it is real when which is executed by processor Now the step of either regular dissemination method of database above method.
This specification is referring to the method, equipment (system) and computer program product according to this specification embodiment Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Processor of the program instruction to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices To generate a machine, so that generating use by the instruction that computer or the processor of other programmable data processing devices execute In setting for the function that realization is specified in one or more flows of the flowchart and/or one or more blocks of the block diagram It is standby.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of equipment, the commander equipment realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of this specification has been described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications may be made to these embodiments.So the following claims are intended to be interpreted as includes Preferred embodiment and all change and modification for falling into this specification range.
Obviously, those skilled in the art can carry out various modification and variations without departing from this specification to this specification Spirit and scope.In this way, if these modifications and variations of this specification belong to this specification claim and its equivalent skill Within the scope of art, then this specification is also intended to include these modifications and variations.

Claims (12)

1. a kind of regular dissemination method of database, comprising:
Obtain rule to be released;
When the rule to be released enters gray scale publication, corresponding default check item is issued according to this gray scale, described in inspection Whether this gray scale publication of rule to be released passes through the default check item;
According to inspection result, the publication progress of the rule to be released is changed.
2. the method as described in claim 1, described to issue corresponding default check item according to this gray scale, check described pending Whether this gray scale publication of cloth rule passes through the default check item, comprising:
When the default check item is one-time inspection item, if the value that the corresponding interface of the one-time inspection item returns shows Normally, it is determined that the publication of the rule to be released passes through the one-time inspection item;And/or
When the default check item is non-disposable check item, if the value that the corresponding interface of the non-disposable check item returns Fluctuation tendency be less than threshold value, it is determined that the publication of the rule to be released passes through the non-disposable check item.
3. method according to claim 2, the one-time inspection item includes database auditing and caches in inspection at least One kind, non-disposable check includes at least one of system monitoring and business monitoring.
4. method according to claim 2, described according to inspection result, the publication progress of the rule to be released, packet are changed It includes:
It, will be described pending when the rule to be released is by the one-time inspection item and/or the non-disposable check item The publication progress of cloth rule is changed to cut stream into next step gray scale;Or
When the rule to be released is failed by any check item, rolling back action is executed to database, and will be described to be released The publication progress of rule is changed to gray scale publication failure.
5. method as described in any one of claims 1 to 4, after the publication progress of the change rule to be released, The method also includes:
Show the publication progress of the rule to be released.
6. a kind of regular distributing device of database, comprising:
Acquiring unit, for obtaining rule to be released;
Inspection unit, for issuing corresponding default inspection according to this gray scale when the rule to be released enters gray scale publication Item is looked into, checks whether this gray scale publication of the rule to be released passes through the default check item;
Changing unit changes the publication progress of the rule to be released according to inspection result.
7. device as claimed in claim 6, the inspection unit is specifically used in the default check item being one-time inspection Xiang Shi, if the value that the corresponding interface of the one-time inspection item returns shows normally, it is determined that the publication of the rule to be released By the one-time inspection item, and/or when the default check item is non-disposable check item, if the non-disposable inspection The fluctuation tendency for looking into the value that the corresponding interface of item returns is less than threshold value, it is determined that the publication of the rule to be released passes through described Non-disposable check item.
8. device as claimed in claim 7, the one-time inspection item includes database auditing and caches in inspection at least One kind, non-disposable check includes at least one of system monitoring and business monitoring.
9. device as claimed in claim 7, the changing unit is specifically used for passing through in the rule to be released described primary Property check item and/or when the non-disposable check item, the publication progress of the rule to be released is changed to enter next ash Degree cuts stream, the publication progress of the rule to be released is changed to continue this gray scale, or in the rule to be released by appointing When one check item fails, rolling back action is executed to database, and the publication progress of the rule to be released is changed to not issue.
10. the device as described in any one of claim 6~9, described device further includes display unit, and the display unit is used In the publication progress for showing the rule to be released.
11. a kind of database including memory, processor and stores the computer that can be run on a memory and on a processor The step of program, the processor realizes any one of claim 1-5 the method when executing described program.
12. a kind of data storage medium, computer readable storage medium are stored thereon with computer program, the program is processed The step of any one of claim 1-5 the method is realized when device executes.
CN201811141683.7A 2018-09-28 2018-09-28 Rule issuing method and device for database Active CN109271387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811141683.7A CN109271387B (en) 2018-09-28 2018-09-28 Rule issuing method and device for database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811141683.7A CN109271387B (en) 2018-09-28 2018-09-28 Rule issuing method and device for database

Publications (2)

Publication Number Publication Date
CN109271387A true CN109271387A (en) 2019-01-25
CN109271387B CN109271387B (en) 2021-10-15

Family

ID=65198721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811141683.7A Active CN109271387B (en) 2018-09-28 2018-09-28 Rule issuing method and device for database

Country Status (1)

Country Link
CN (1) CN109271387B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207878A (en) * 2012-01-17 2013-07-17 阿里巴巴集团控股有限公司 Inspection method and device of published information
CN103279339A (en) * 2013-04-22 2013-09-04 新浪网技术(中国)有限公司 Code on-line system and method
CN105335204A (en) * 2014-07-29 2016-02-17 株式会社日立制作所 Grey level distribution control method and grey level distribution control device of software program
CN106354621A (en) * 2015-07-14 2017-01-25 北京国双科技有限公司 Webpage test putting method and device
CN107104970A (en) * 2017-04-27 2017-08-29 努比亚技术有限公司 A kind of regular and synchronized processing method, system, rule server and gray scale server
CN108388512A (en) * 2018-02-13 2018-08-10 阿里巴巴集团控股有限公司 Data processing method and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207878A (en) * 2012-01-17 2013-07-17 阿里巴巴集团控股有限公司 Inspection method and device of published information
CN103279339A (en) * 2013-04-22 2013-09-04 新浪网技术(中国)有限公司 Code on-line system and method
CN105335204A (en) * 2014-07-29 2016-02-17 株式会社日立制作所 Grey level distribution control method and grey level distribution control device of software program
CN106354621A (en) * 2015-07-14 2017-01-25 北京国双科技有限公司 Webpage test putting method and device
CN107104970A (en) * 2017-04-27 2017-08-29 努比亚技术有限公司 A kind of regular and synchronized processing method, system, rule server and gray scale server
CN108388512A (en) * 2018-02-13 2018-08-10 阿里巴巴集团控股有限公司 Data processing method and server

Also Published As

Publication number Publication date
CN109271387B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
Wang et al. Pythagorean fuzzy interactive Hamacher power aggregation operators for assessment of express service quality with entropy weight
Moldovan et al. Mela: Monitoring and analyzing elasticity of cloud services
CN103793295B (en) Simulation engine system and method for use in disaster recovery virtualization
US7770052B2 (en) Collaborative web-based airplane level failure effects analysis tool
US20140380100A1 (en) Monitoring system and monitoring program
Bautista et al. Design of a performance measurement framework for cloud computing
US10084662B2 (en) Optimizing application availability
CN106209974B (en) A kind of method of data synchronization, equipment and system
Nita et al. FIM-SIM: Fault injection module for CloudSim based on statistical distributions
CN102750211A (en) Pressure test method and system
CN108268344A (en) A kind of data processing method and device
Zeng et al. An analytical method for reliability analysis of hardware‐software co‐design system
Dadashi Gavaber et al. BADEP: bandwidth and delay efficient application placement in fog‐based IoT systems
Kim-Hung et al. A scalable IoT framework to design logical data flow using virtual sensor
CN103152212A (en) Alarm correlation analysis method, alarm correlation analysis device and network management system
CN109271387A (en) A kind of regular dissemination method and device of database
TW201737069A (en) Method and system for generating queue based applications dependencies in virtual machines
CN107645397B (en) System, device and method for fault simulation in distributed system
CN110011971A (en) A kind of manual configuration method of network security policy
JP2011180805A (en) Apparatus, method and program for operation management
CN114598680A (en) Domain name management method, device and storage medium
CN108876582A (en) A kind of method, apparatus exporting real-time accounting statement and server
Karakose et al. Optimal K-node disruption on a node-capacitated network
CN110266564A (en) The method of the method and control device and its execution of detection device and its execution
Jung et al. An Entropy-Based Complexity Measure for Web Applications Using Structural Information.

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
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant