CN103902278A - Recording method for describing object change information - Google Patents

Recording method for describing object change information Download PDF

Info

Publication number
CN103902278A
CN103902278A CN201210588085.0A CN201210588085A CN103902278A CN 103902278 A CN103902278 A CN 103902278A CN 201210588085 A CN201210588085 A CN 201210588085A CN 103902278 A CN103902278 A CN 103902278A
Authority
CN
China
Prior art keywords
recording method
change
attribute
record
lifetime
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
CN201210588085.0A
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.)
Digiwin Software Co Ltd
Original Assignee
Digiwin Software 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 Digiwin Software Co Ltd filed Critical Digiwin Software Co Ltd
Priority to CN201210588085.0A priority Critical patent/CN103902278A/en
Priority to TW102146411A priority patent/TWI503748B/en
Publication of CN103902278A publication Critical patent/CN103902278A/en
Pending legal-status Critical Current

Links

Images

Abstract

Disclosed is a recording method for describing object change information. The recording method includes the following steps that the object lifetime change and the attribute change from one time point to another time point are described, and description results are regarded as a change set.

Description

The recording method of description object change information
Technical field
The invention relates to a kind of recording method, and relate to especially a kind of recording method of description object change information.
Background technology
In computer programming, there are a lot of scenes, need to be with a kind of describing method in order to record the change information of a group objects from a time point to another time point.For example, during like the system of terminal, need to after one receives user's request, record the change information at interface in design class, the change information of its median surface comprises the deletion of the increase of interface object, attribute change and object etc.For instance, above-mentioned terminal can be character terminal system or other computer system of similar Unix.
But, only having and describe accurately these object variation information, remote terminal could be made respective handling according to these change informations, and is depicted as up-to-date interface.Therefore, how to process this type of scene, just become an important problem.
Summary of the invention
In view of the problem that prior art faces, the invention provides a kind of recording method of description object change information to process above-mentioned scene.
According to an embodiment of the present invention, a kind of recording method of description object change information comprises:
(a) describing a time point changes and attribute change to the object lifetime in another time point; And
(b) using the result of the description of step (a) as changing collection.
In an embodiment of the present invention, object lifetime variation comprises increasing newly, delete and revising of object, and each object comprises unique numbering.
According to an embodiment of the present invention, the newly-increased of object comprises: type and the numbering of the newly-increased object of record.
According to an embodiment of the present invention, the modification of object comprises: the numbering of the object that record is modified, object has created without record type.
According to an embodiment of the present invention, the deletion of object comprises: record the numbering of deleted object, object has existed without record type.
According to an embodiment of the present invention, attribute change is a time point to the property value having changed in another time point.
According to an embodiment of the present invention, property value comprises attribute and value.
According to an embodiment of the present invention, recording method also comprises: if when the value of attribute is pointed to an object, and the variation of recording described object number.
According to an embodiment of the present invention, in the time that the value of attribute is array, the variation of the lower described value of the variation of record length and each position (index).
According to an embodiment of the present invention, by the change information of text or scale-of-two description object, it comprises that described object lifetime changes and described attribute change.
Description of the invention object variation recording of information method, can complete documentation one time point change and attribute change to the object lifetime of all objects in another time point, newly-increased, the deletion, modification and the attribute that comprise object change, with description object change information accurately.In addition, change collection in without recording deleted object or being modified object's property value.
Accompanying drawing explanation
For above and other objects of the present invention, feature, advantage and embodiment can be become apparent, appended accompanying drawing is described as follows:
Fig. 1 is the flow chart of steps illustrating according to the recording method of a kind of description object change information of an embodiment of the present invention.
Fig. 2 is an embodiment who illustrates the change collection of the recording method of the description object change information of Fig. 1.
Fig. 3 is another embodiment that illustrates the change collection of the recording method of the description object change information of Fig. 1.
[primary clustering symbol description]
100: the recording method of description object change information
110~120: step
200: change collection
210: object newly-increased
210 ': the deletion of object
220: attribute change
300: change collection
310~350: field
Embodiment
Below will describe spirit of the present invention in detail with accompanying drawing, under any, in technical field, those of ordinary skill is being understood after preferred embodiment of the present invention, should be to technology change and the modification of teachings of the present invention, it does not depart from spirit of the present invention and scope.On the other hand, well-known assembly and step are not described in embodiment, to avoid that the present invention is caused to unnecessary restriction.
Please refer to Fig. 1, it illustrates the flow chart of steps according to the recording method 100 of a kind of description object change information of an embodiment of the present invention.The recording method 100 of description object change information can be embodied as a computer program and be stored in a computer-readable medium storing, and makes computing machine read the recording method of carrying out this description object change information after this recording medium.Computer-readable medium storing can be ROM (read-only memory), flash memory, floppy disk, hard disk, CD, Portable disk, tape, can be expected easily having by the database of network access or those skilled in the art the computer-readable medium storing of identical function.
The recording method 100 of description object change information can comprise the following steps 110,120.Should be appreciated that, mentioned step in the present embodiment, except specifying its order, all can adjust its front and back order according to actual needs, even can carry out simultaneously or partly simultaneously.
In step 110, describe a time point and change and attribute change to the object lifetime in another time point.In step 120, using the result of the description of step 110 as changing collection.
In the present embodiment, a time point to the object lifetime of all objects in another time point changes and attribute change, namely refers to all change records of data within the section time.
Above-mentioned object lifetime variation comprises increasing newly, delete and revising of object, and each object comprises unique numbering, and numbering is used for anchored object.For instance, a normally progressive whole number of numbering.
Newly-increased type and the numbering that comprises the newly-increased object of record of object.In one embodiment, when object lifetime is changed to the object of object when newly-increased, the object lifetime that can give tacit consent to this object changes, and description object does not change life cycle, but not as limit.That is to say, when the object lifetime of object is changed to when newly-increased, can not need changing the object lifetime variation of narration object in collection, but not as limit.In other embodiments, when object lifetime is changed to the object of object when newly-increased, can change (for example: changing in collection with Action=" Create " description, but not as limitting) changing in collection with the object lifetime of word or symbol narration object.
The modification of object comprises the numbering that records the object being modified, and object has created without record type.For example, aforesaid " without record type " can be expressed as does not need the association attributes of the object that records this type to change.Meanwhile, in the time that object lifetime is changed to the object modification of object, can change (for example changing in collection with Action=" Amend " description, but not as limitting) changing in collection with the object lifetime of word or symbol narration object.
The deletion of object comprises the numbering that records deleted object, and object has existed without record type.For example, aforesaid " without record type " can be expressed as does not need the association attributes of the object that records this type to change.When the object that is changed to object when object lifetime is deleted, can change (for example: changing in collection with Action=" Remove " description, but not as limitting) changing in collection with the object lifetime of word or symbol narration object.
In addition, attribute change is a described time point to the property value having changed in another time point, and wherein property value comprises attribute and value.That is to say, the attribute change of an object comprises the variation of " attribute " of an object and the variation of " value " of attribute.For instance, the attribute change of an object is changing concentrated be described as " my title </title> of <title> ".Wherein, " <title></titleGr eatT.GreaT.GT " can represent the attribute in attribute change, and " my title " can represent the value in attribute change.Therefore,, in the time that object lifetime is changed to the object modification of object, can in change collection, not record the attribute change of the object being modified.In the time that object lifetime is changed to the object deletion of object, can in change collection, not record the attribute change of deleted object.
If when the value of attribute is pointed to an object, the variation of recording described object number.But, in the time that the value of described attribute is array, the variation of the lower described value of the variation of record length and each position (index).
In the present embodiment, by the change information of text or scale-of-two description object, described change information comprises that described object lifetime changes and described attribute change, for example comprise newly-increased, the deletion of object, the change of attribute, and all changes information of object attribute values (comprising the change of quoting).
Please refer to Fig. 2, it illustrates an embodiment of the change collection of the recording method of the description object change information of Fig. 1.As shown in Figure 2, in the change collection 200 of the present embodiment, record the deletion 210 ' of newly-increased 210 and object of object.In the present embodiment, newly-increased 210 of object is stated as " Label Oid=" 1 " Action=" Create " " in change collection 200, wherein " Label " represents type, " Oid=" 1 " " represents to be numbered 1, owing to being the newly-increased 210 of object, therefore can be described to " Create " changing in collection 200.In other embodiments, when the object lifetime of object is changed to when newly-increased, can give tacit consent to its object lifetime and change, need not concentrate description object to change life cycle changing.
Moreover the attribute change 220 of above-mentioned object can be described in and changes in collection 200 and show this object's property value simultaneously, property value comprises the variation of the value of attribute and attribute.In the present embodiment, " <Text> account </Text> ", " <Top>100</TopGre atT.GreaT.GT " and " <Left>300</LeftG reatT.GreaT.GT " are changing 220 of collection 200 interior described attribute change, and wherein " account ", " 100 " and " 300 " are the variations that is expressed as the value of attribute in attribute change 220.
On the other hand, the deletion 210 ' of object is also simultaneously in the type and the numbering (namely Textbox Oid=" 2 ") that change collection 200 interior demonstration one objects, owing to being the deletion 210 ' of object, therefore object lifetime variation can be described to " Action=" Remove " " in change collection 200.In addition, in the time that object lifetime is changed to the deletion 210 ' of object, can change collection 200 interior record the numbering of object and narrate object existed without record type.That is to say, in the time that the object lifetime of object is changed to deletion, do not record the attribute change of deleted object.In addition, in other embodiments, in the time that the object lifetime of object is changed to modification, record the numbering of object, wherein object has created without record type.That is to say, in the time that the object lifetime of object is changed to modification, do not record the attribute change of the object being modified.
Should be appreciated that, the change collection of the present embodiment, using text as example, refers to an extend markup language (XML) form especially, but not as limit.In other embodiments, changing collection also can show with binary format.
Please refer to Fig. 3, it illustrates another embodiment of the change collection 300 of the recording method of the description object change information of Fig. 1.As shown in Figure 3, in field 310, namely described <DataChanges>, is expressed as and changes collection 300.And field 320 is to represent object of localization process, each object comprises unique numbering.In field 330, namely described <Window>, is expressed as the aggregate attribute of handling object.In field 340, namely described <Itemindex=" 0 " >1</Item>, records pointer to object.In addition, in field 350, represent the attribute of the object of change.
In the present embodiment, when object lifetime is changed to the object of object when newly-increased, the object lifetime that changes collection 300 interior default objects changes.
Should be appreciated that, the mode that the change collection of the present embodiment records using text, as illustration, refers to an extend markup language (XML) form especially, but not as limit.In other embodiments, changing collection also can be with binary format record.
From the invention described above embodiment, application the present invention has following advantages:
Description of the invention object variation recording of information method, can complete documentation one time point change and attribute change to the object lifetime of all objects in another time point, newly-increased, the deletion, modification and the attribute that comprise object change, with description object change information accurately.In addition, change collection in without recording deleted object or being modified object's property value.
Although the present invention with embodiment openly as above; but described disclosure is not in order to limit the present invention; any those skilled in the art without departing from the spirit and scope of the present invention; when doing various changes and retouching, the scope that therefore protection scope of the present invention ought define depending on accompanying claims is as the criterion.

Claims (10)

1. a recording method for description object change information, is characterized in that, described recording method comprises:
(a) describing a time point changes and attribute change to the object lifetime in another time point; And
(b) using the result of the description of step (a) as changing collection.
2. recording method according to claim 1, is characterized in that, described object lifetime variation comprises increasing newly, delete and revising of object, and each object comprises unique numbering.
3. recording method according to claim 2, is characterized in that, the newly-increased of described object comprises: type and the numbering of the newly-increased object of record.
4. recording method according to claim 2, is characterized in that, the modification of described object comprises: the numbering of the object that record is modified, described object has created without record type.
5. recording method according to claim 2, is characterized in that, the deletion of described object comprises: record the numbering of deleted object, described object has existed without record type.
6. recording method according to claim 1, is characterized in that, described attribute change is a described time point to the property value having changed in described another time point.
7. recording method according to claim 6, is characterized in that, described property value comprises attribute and value.
8. recording method according to claim 7, is characterized in that, described recording method also comprises: if when the value of described attribute is pointed to an object, and the variation of recording described object number.
9. recording method according to claim 7, is characterized in that, described recording method also comprises: in the time that the value of described attribute is array, and the variation of the lower described value of the variation of record length and each position (index).
10. recording method according to claim 1, is characterized in that, by the change information of text or scale-of-two description object, it comprises that described object lifetime changes and described attribute change.
CN201210588085.0A 2012-12-31 2012-12-31 Recording method for describing object change information Pending CN103902278A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210588085.0A CN103902278A (en) 2012-12-31 2012-12-31 Recording method for describing object change information
TW102146411A TWI503748B (en) 2012-12-31 2013-12-16 Recording method of describing object change information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210588085.0A CN103902278A (en) 2012-12-31 2012-12-31 Recording method for describing object change information

Publications (1)

Publication Number Publication Date
CN103902278A true CN103902278A (en) 2014-07-02

Family

ID=50993622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210588085.0A Pending CN103902278A (en) 2012-12-31 2012-12-31 Recording method for describing object change information

Country Status (2)

Country Link
CN (1) CN103902278A (en)
TW (1) TWI503748B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050033768A1 (en) * 2003-08-08 2005-02-10 Sayers Craig P. Method and apparatus for identifying an object using an object description language
CN101645078A (en) * 2009-09-11 2010-02-10 中南大学 System and method for integration of change information collection and spatiotemporal data update]
CN101686243A (en) * 2008-09-26 2010-03-31 深圳华为通信技术有限公司 Method, device and system for managing information
TW201040746A (en) * 2009-05-04 2010-11-16 Univ Nat Taiwan Assisting method and apparatus for accessing markup language document
TWI374387B (en) * 2004-03-22 2012-10-11 Motorola Mobility Inc Mobile station and method of updating a device management tree

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093678A1 (en) * 2001-04-23 2003-05-15 Bowe John J. Server-side digital signature system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050033768A1 (en) * 2003-08-08 2005-02-10 Sayers Craig P. Method and apparatus for identifying an object using an object description language
TWI374387B (en) * 2004-03-22 2012-10-11 Motorola Mobility Inc Mobile station and method of updating a device management tree
CN101686243A (en) * 2008-09-26 2010-03-31 深圳华为通信技术有限公司 Method, device and system for managing information
TW201040746A (en) * 2009-05-04 2010-11-16 Univ Nat Taiwan Assisting method and apparatus for accessing markup language document
CN101645078A (en) * 2009-09-11 2010-02-10 中南大学 System and method for integration of change information collection and spatiotemporal data update]

Also Published As

Publication number Publication date
TWI503748B (en) 2015-10-11
TW201426549A (en) 2014-07-01

Similar Documents

Publication Publication Date Title
CN103092967A (en) Business rule decision-making method and device based on rule engine
CN103150398A (en) National fundamental geographic information data-based incremental map updating method
JP5796494B2 (en) Information processing apparatus, information processing method, and program
CN103617047A (en) Method, device and processor for developing business processes
CN104270605B (en) A kind of processing method and processing device of video monitoring data
EP1973044A1 (en) Method for accessing the data in xml file
CN101675415B (en) Program pattern analyzer, pattern appearance status information production method, pattern information generating device, and program
CN113177168B (en) Positioning method based on Web element attribute characteristics
CN101430714A (en) Content structuring process method and system based on model
TWI511045B (en) System, method and computer readable medium for inserting operation collecting element into application program of mobile device automatically
CN104714957A (en) List structure changing method and device
CN106502680B (en) A method of pel extension is carried out by visualization interface
CN103309892A (en) Method and equipment for information processing and Web browsing history navigation and electronic device
CN106599324B (en) CAD data capturing method
CN103678263A (en) Graphical interface display method and system for incidence relations among document chapters
CN106776779B (en) Method for generating entity file by JSON data based on Mac platform
CN103377225A (en) Method and device for building knowledge base system
CN103617122A (en) Comparison method for source codes
CN105260266A (en) Snapshot volume writing method and dependent snapshot system
CN105988986A (en) Information processing method and device
CN110852044B (en) Text editing method and system based on structuring
CN104572730A (en) Method and device for importing and exporting digital resources
CN103902278A (en) Recording method for describing object change information
CN105426676A (en) Drilling data processing method and system
CN101996161A (en) Method and device for processing revision data of electronic file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140702

RJ01 Rejection of invention patent application after publication