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

CN106815045A - The method that versions of data updates - Google Patents

The method that versions of data updates Download PDF

Info

Publication number
CN106815045A
CN106815045A CN201611179480.8A CN201611179480A CN106815045A CN 106815045 A CN106815045 A CN 106815045A CN 201611179480 A CN201611179480 A CN 201611179480A CN 106815045 A CN106815045 A CN 106815045A
Authority
CN
China
Prior art keywords
judgment
rule
file
version
version resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611179480.8A
Other languages
Chinese (zh)
Inventor
唐全林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Tangshi Machinery Manufacturing Co Ltd
Original Assignee
Suzhou Tangshi Machinery Manufacturing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Tangshi Machinery Manufacturing Co Ltd filed Critical Suzhou Tangshi Machinery Manufacturing Co Ltd
Priority to CN201611179480.8A priority Critical patent/CN106815045A/en
Publication of CN106815045A publication Critical patent/CN106815045A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The present invention relates to a kind of method that versions of data updates, the method is comprised the following steps:1) source file for opening version resource carries out edit-modify;2) Rule of judgment of version resource updates is set, and the Rule of judgment is associated with the content of version resource;3) according to step 2) Rule of judgment that sets judged the file after edit-modify, if amended file is unsatisfactory for Rule of judgment, performs step 4);If amended file meets Rule of judgment, step 5 is performed);4) amended file, return to step 1 are preserved);5) by the amended redaction that saves File As.The method can set the Rule of judgment automatic updating data version being associated with version resource content.

Description

The method that versions of data updates
Technical field
The present invention relates to a kind of method of version management, especially a kind of method of version updating, belongs to version control Technical field processed.
Background technology
Gone to manage one section of code, one group of data or article with the method for version management, can so recorded so Difference between different editions, the process for being easy to analysis to change, can also recover the original appearance of history.Version management also has individual benefit Be exactly when redaction breaks down, it is adjustable to use a version and read or run, or different editions are connected Get up, it can be observed that the cutting and combination of a complete process, i.e. version.
In traditional version management, controlling the method for version updating mainly has two kinds:
1st, artificial judgment, i.e., be all to replicate a new version to modify before data are changed every time.Artificial judgment version is more The problem that new method is present is:In order to avoid possible someone directly modifies so as to cause old version to be believed on the version of source Breath is lost, then be required for replicating a new file before modification every time modifying, any one small modification will be answered System portion is out preserved, and so causes the version of file very many, takes disk space also very greatly, causes the wasting of resources.
2nd, automatic list condition judgment, that is, be first turned on source file and enter edlin, when preservation, computer automatic decision pair Whether this is variant with the content of source file, if it has, being generated as a new version, if not then does not generate redaction. Although this method has the automatic decision of computer, but Rule of judgment is unique, it is impossible to meet more user's requests.
The content of the invention
Present invention solves the technical problem that being:A kind of method that versions of data updates is proposed, can be set and version resource The associated Rule of judgment automatic updating data version of content.
In order to solve the above-mentioned technical problem, technical scheme proposed by the present invention is:A kind of method that versions of data updates, bag Include following steps:
1) source file for opening version resource carries out edit-modify;
2) Rule of judgment of version resource updates is set, and the Rule of judgment is associated with the content of version resource;
3) file after edit-modify is preserved;
3) file for preserving is judged according to above-mentioned Rule of judgment, if amended file is unsatisfactory for Rule of judgment, Perform step 4);If amended file meets Rule of judgment, step 5 is performed);
4) by the files passe after preservation to version control server, it is then back to step 1);
5) by preservation after the redaction that saves File As, redaction is then uploaded into version control server.
The beneficial effects of the invention are as follows:Due to the judgement of version updating is set according to the content oneself of version resource by user Condition, carrys out the automatic version for judging whether and needing generation new, can preferably meet the demand of user.
Specific embodiment
The method that the versions of data of the present embodiment updates, comprises the following steps:
1)The source file for opening version resource carries out edit-modify;
2) Rule of judgment of version resource updates is set, and the Rule of judgment is associated with the content of version resource;
3) according to step 2) Rule of judgment that sets judged the file after edit-modify, if amended file is discontented Sufficient Rule of judgment, then perform step 4);If amended file meets Rule of judgment, step 5 is performed);
4) amended file, return to step 1 are preserved);
5) by the amended redaction that saves File As.
When the version resource is text, the Rule of judgment is set for text modification context differs Cause.
When the version resource is video monitoring file, the Rule of judgment is set for the creation time of version resource is arrived Current time is more than preset number of days.
When the version resource is sales contract, the Rule of judgment is set for the purchasing unit in sales contract occurs Change
Other the present embodiment can also do following thing, illustrate:
Example 1:The journal file of computer system ruuning situation analysis, sets file size>2M is condition, or file wound Build the time to current time=3 day be condition, meet this condition and automatically generate redaction.So system just can be according to condition pair Journal file is cut automatically, meets condition, is generated as a file for redaction, prevents all data from all recording at one In file, reduce single file and damage the risk brought.
Example 2:The file of video monitoring is general all especially big, can also set condition by above method, such as:Every 1 is born Into a video file, or a file it is much when need to generate new file and recorded.More it is essential that these Part can combine and use, such as:Set every 1 day or file size is more than 5M, it is just raw as long as meeting one of condition The file storage of Cheng Xin.
Example 3:Can all there is filling in for sales contract in some management softwares, we can set condition such as:Purchasing unit Change and be accomplished by generating a new version, during so we can monitor an implementation procedure that comes into force of contract, purchased There is which change in manifest position.And when buyer does not change, it is not necessary to new version is recorded, but directly Modification source data is connect, represents that our changes to other data are indifferent to.Equally, we can also set modification time for bar Part, as long as last modification time and current modification time are not on the same day, we just preserve a new version, otherwise just directly Modification, during so we can just monitor sales contract conclusion of the business execution, the data situation of every day.
The method that versions of data of the invention updates is not limited to the concrete technical scheme described in above-described embodiment, all uses The technical scheme that equivalent is formed is the protection domain of application claims.

Claims (4)

1. a kind of method that versions of data updates, comprises the following steps:
1) source file for opening version resource carries out edit-modify;
2) Rule of judgment of version resource updates is set, and the Rule of judgment is associated with the content of version resource;
3) according to step 2) Rule of judgment that sets judged the file after edit-modify, if amended file is discontented Sufficient Rule of judgment, then perform step 4);If amended file meets Rule of judgment, step 5 is performed);
4) amended file, return to step 1 are preserved);
5) by the amended redaction that saves File As.
2. the method that versions of data updates according to claim 1, it is characterised in that:The version resource is text, The Rule of judgment is set for text modification context is inconsistent.
3. the method that versions of data updates according to claim 1, it is characterised in that:The version resource is video monitoring text Part, sets the Rule of judgment for the creation time of version resource is more than preset number of days to current time.
4. the method that versions of data updates according to claim 1, it is characterised in that:The version resource is sales contract, The Rule of judgment is set for the purchasing unit in sales contract changes.
CN201611179480.8A 2016-12-19 2016-12-19 The method that versions of data updates Pending CN106815045A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611179480.8A CN106815045A (en) 2016-12-19 2016-12-19 The method that versions of data updates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611179480.8A CN106815045A (en) 2016-12-19 2016-12-19 The method that versions of data updates

Publications (1)

Publication Number Publication Date
CN106815045A true CN106815045A (en) 2017-06-09

Family

ID=59109575

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611179480.8A Pending CN106815045A (en) 2016-12-19 2016-12-19 The method that versions of data updates

Country Status (1)

Country Link
CN (1) CN106815045A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361489A (en) * 2000-12-28 2002-07-31 深圳市中兴通讯股份有限公司 Automatic circular daily record information storing method and system
CN1984139A (en) * 2005-12-16 2007-06-20 中兴通讯股份有限公司 Method for updating system journal file under construction of client end/server
CN101561807A (en) * 2008-04-18 2009-10-21 北京闻言科技有限公司 Method for recording logs with file by flexibly planning catalog
CN101645031A (en) * 2009-06-30 2010-02-10 卡斯柯信号有限公司 Method for dynamically outputting log file according to time
CN102467516A (en) * 2010-11-04 2012-05-23 北京北方微电子基地设备工艺研究中心有限责任公司 Log recording method, device and system in equipment control process

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1361489A (en) * 2000-12-28 2002-07-31 深圳市中兴通讯股份有限公司 Automatic circular daily record information storing method and system
CN1984139A (en) * 2005-12-16 2007-06-20 中兴通讯股份有限公司 Method for updating system journal file under construction of client end/server
CN101561807A (en) * 2008-04-18 2009-10-21 北京闻言科技有限公司 Method for recording logs with file by flexibly planning catalog
CN101645031A (en) * 2009-06-30 2010-02-10 卡斯柯信号有限公司 Method for dynamically outputting log file according to time
CN102467516A (en) * 2010-11-04 2012-05-23 北京北方微电子基地设备工艺研究中心有限责任公司 Log recording method, device and system in equipment control process

Similar Documents

Publication Publication Date Title
EP2096555A3 (en) Accessing content with database cache dependencies
JP2005303981A5 (en)
WO2004097565A3 (en) Data preservation across an enterprise
US20120317083A1 (en) System and method for deletion of data in a remote computing platform
CN106559427A (en) A kind of data storage and data transmission system
WO2018031250A1 (en) Detection of bulk operations associated with remotely stored content
CN106201591A (en) The configuration file upgrade method of a kind of cloud management platform and device
JP2006216027A5 (en)
CN112560063A (en) Encryption method for BIM family library platform
CN106815045A (en) The method that versions of data updates
CN104572891A (en) File updating method for separately storing network information
CN106612283B (en) Method and device for identifying source of downloaded file
CN106547756B (en) Database creation method and device
JP2019128879A5 (en)
CN103888484B (en) Call control method and apparatus
WO2020248613A1 (en) Domain name configuration and deployment management method and device
CN113262493A (en) Vulnerability repairing method and device for game
CN111813880A (en) Method, system and storage medium for managing territorial space planning project
CN105320672A (en) Webpage editing method and server
CN104268205A (en) Method and device for obtaining information of installed applications in IOS system
US8041678B2 (en) Integrated data availability and historical data protection
De Parscau du Plessix et al. Improved simplified approach for the prediction of porosity growth during the curing of composites parts
Charisse Archiving software and content in visual film effects: An insider’s perspective
Pashtaev et al. Femtosecond laser‐assisted anterior lamellar keratoplasty for keratoconus
WO2018100681A1 (en) Product-associated url generating system, product-associated url generating method, and program

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170609