CN106708521A - Page metadata storage method and device - Google Patents
Page metadata storage method and device Download PDFInfo
- Publication number
- CN106708521A CN106708521A CN201611192637.0A CN201611192637A CN106708521A CN 106708521 A CN106708521 A CN 106708521A CN 201611192637 A CN201611192637 A CN 201611192637A CN 106708521 A CN106708521 A CN 106708521A
- Authority
- CN
- China
- Prior art keywords
- configuration
- page metadata
- conflict
- carried out
- page
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a page metadata storage method and device. The method includes the steps: receiving a storage request transmitted after configuring page metadata by a target user; judging whether other users configure the page metadata or not in the process of configuring the page metadata by the target user, combining the page metadata configured by the target user with the page metadata configured by the other users to obtain combined page metadata if the other users configure the page metadata, and storing the combined page metadata. Therefore, each user can correspondingly configure the page metadata.
Description
Technical field
The present invention relates to page configuration technical field, a kind of store method more specifically to page metadata and
Device.
Background technology
Page metadata is that the content of whole web page is saved as into a configuration, opens direct during the web page every time
The configuration content is taken, web page is rendered according to configuration content.Specifically, page metadata can be used in BOS-Web platforms
Configuration tool directly carries out visual configuration, while the extension of different demands can be carried out to these configurations.
Directly be saved in corresponding configuration information in database upon configuration by page metadata in the prior art, if together
One web page has multiple users in configuration correspondence metadata, then the page metadata covering submitted to after occurring previously was submitted to
Page metadata situation.For example, as shown in figure 1, the configuration page that user A and user B open a page P is carried out
The configuration of page metadata, user A and user B are modified configuration operation, user A to page P corresponding page metadata
Modification is Pa with the page metadata corresponding page for postponing, and user B modifications are Pb with the page metadata corresponding page for postponing, such as
Fruit user A is first submitted to, then now database is submitted to the Pa that is configured to of page P after user B, now newest page P configurations
Pb can be then updated to, user A can then be capped to the configuration that the page is carried out, and cannot simultaneously retain user A and user B to the page
The configuration of P.
In sum, existing when multiple person cooperational configures same page metadata in the prior art cannot simultaneously retain each use
Problem of the family to the configuration of page metadata.
The content of the invention
It is an object of the invention to provide the store method and device of a kind of page metadata, to solve many people in the prior art
What is existed during the same page metadata of cooperative arrangement cannot be while retain the problem of configuration of each user to page metadata.
To achieve these goals, the present invention provides following technical scheme:
A kind of store method of page metadata, including:
Preservation request is received, described preservation asks to postpone transmission for targeted customer to page metadata match somebody with somebody;
Judge that the targeted customer whether there is other users to institute during being configured to the page metadata
Stating page metadata carried out configuration, if it is, by the targeted customer carry out with the page metadata that postpones with it is described its
His user merged with the page metadata for postponing and obtains merging page metadata, and preserves the merging page unit number
According to.
Preferably, judge the targeted customer during being configured to the page metadata with the presence or absence of other use
Family carried out configuration to the page metadata, including:
When the targeted customer obtains the page metadata to be configured to the page metadata, record is described
The time T0 that page metadata is configured apart from the last time at current time;
When the preservation request is received, the page metadata is recorded except this is by the external distance of targeted customer's configuration
From the time T1 that the last time at current time is configured;
Judge whether T0 is equal with T1, if it is, determining that the targeted customer configures to the page metadata
During configuration was carried out to the page metadata in the absence of other users, if it is not, then determining the targeted customer couple
The page metadata has other users during being configured carried out configuration to the page metadata.
Preferably, the targeted customer is carried out carrying out matching somebody with somebody what is postponed with the page metadata and the other users for postponing
Page metadata merges and obtains merging page metadata, including:
The page metadata is carried out with the page metadata contrast for postponing, the portion for being changed with the targeted customer
It is divided into the first configuration, the page metadata and the other users is carried out, with the page metadata contrast for postponing, to be become
The part of change is the second configuration;
Described first configuration is merged with the described second configuration and obtains merging configuration, and the page metadata is entered
Row is described to merge configuration, obtains the merging page metadata.
Preferably, the described first configuration is merged with the described second configuration and obtains merging configuration, including:
If it is described first configuration and described second configuration exist conflict conflict configuration section, according to default principle with
First configuration and/or second it is configured to certainly stay the conflict configuration section, and marks out conflict configuration section presence
Conflict, to indicate the outer bound pair conflict to be solved.
Preferably, it is configured to certainly stay the conflict configuration section with the described first configuration and/or second according to default principle,
Including:
If first configuration and the described second configuration are carries out content increase to the conflict configuration section, together
When retain first configuration and the described second configuration the content that carries out of conflict configuration section increased;If described first
Configuration and the described second configuration are carries out content modification to the conflict configuration section, then retain first configuration to described
The content modification that conflict configuration section is carried out;If any in first configuration and the described second configuration be configured to the punching
Prominent configuration section carries out content deletion, another to be configured to carry out content modification to the conflict configuration section, then retain to described
The content modification that conflict configuration section is carried out.
A kind of save set of page metadata, including:
Receiver module, request is preserved for receiving, described to preserve request for targeted customer configures to page metadata
Send afterwards;
Preserving module, for judging that the targeted customer whether there is during being configured to the page metadata
Other users carried out configuration to the page metadata, if it is, the targeted customer is carried out with the page unit for postponing
Data with the other users merged with the page metadata for postponing and obtain merging page metadata, and preserve described
Merge page metadata.
Preferably, the preserving module includes:
Judging unit, is used for:Obtain the page metadata in the targeted customer is carried out with to the page metadata
During configuration, the time T0 that the page metadata is configured apart from the last time at current time is recorded;Please the preservation is received
When asking, record the page metadata and be configured apart from the last time at current time in addition to this is configured by the targeted customer
Time T1;Judge whether T0 is equal with T1, if it is, determining that the targeted customer configures to the page metadata
During configuration was carried out to the page metadata in the absence of other users, if it is not, then determining the targeted customer couple
The page metadata has other users during being configured carried out configuration to the page metadata.
Preferably, the preserving module includes:
Storage unit, is used for:The page metadata is carried out with the page metadata pair for postponing with the targeted customer
Than the part for being changed is the first configuration, and the page metadata and the other users are carried out with the page unit for postponing
Data Comparison, the part for being changed is the second configuration;Described first configuration is merged with the described second configuration and is closed
And configure, and the merging configuration is carried out to the page metadata, obtain the merging page metadata.
Preferably, the storage unit includes:
Combining unit, if there is the conflict configuration section of conflict for the described first configuration and the described second configuration,
It is configured to certainly stay the conflict configuration section with the described first configuration and/or second according to default principle, and marks out the conflict
The conflict that configuration section is present, to indicate the outer bound pair conflict to be solved.
Preferably, the combining unit includes:
Merge subelement, be used for:If first configuration and the described second configuration are to the conflict configuration section
Content increase is carried out, then retains the content that first configuration and the described second configuration are carried out to the conflict configuration section simultaneously
Increase;If first configuration and the described second configuration are carries out content modification to the conflict configuration section, retain
The content modification that first configuration is carried out to the conflict configuration section;If in first configuration and the described second configuration
It is any to be configured to carry out the conflict configuration section content deletion, it is another to be configured to carry out content to the conflict configuration section
Modification, then retain the content modification carried out to the conflict configuration section.
The invention provides the store method and device of a kind of page metadata, wherein the method includes:Receive to preserve and ask
Ask, described preservation asks to postpone transmission for targeted customer to page metadata match somebody with somebody;Judge the targeted customer to described
Page metadata carried out configuration with the presence or absence of other users during being configured to the page metadata, if it is,
Then the targeted customer is carried out with the page metadata for postponing and the other users enter with the page metadata for postponing
Row merging obtains merging page metadata, and preserves the merging page metadata.In technical scheme disclosed in the present application, receive
Page metadata is carried out to targeted customer, with after the preservation request for postponing transmission, judge that targeted customer carries out page metadata
Configuration was carried out to page metadata with the presence or absence of other users during configuration, if it is, targeted customer is matched somebody with somebody
The page metadata and other users for postponing are preserved after merged with the page metadata for postponing such that it is able to avoid mesh
The configuration of the configuration covering other users of mark user, reaches the configuration that each user of reservation correspondence is carried out to page metadata simultaneously
Purpose, beneficial to multi-person synergy develop the page.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is that the store method and device of a kind of page metadata provided in an embodiment of the present invention correspond to page in background technology
The configuration example figure of bin data;
Fig. 2 is a kind of flow chart of the store method of page metadata provided in an embodiment of the present invention;
Fig. 3 is that a kind of store method of page metadata provided in an embodiment of the present invention implements figure;
Fig. 4 is a kind of structural representation of the save set of page metadata provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Fig. 2 is referred to, it illustrates a kind of flow chart of the store method of page metadata provided in an embodiment of the present invention,
May comprise steps of:
S11:Preservation request is received, request is preserved and is postponed transmission for targeted customer to page metadata match somebody with somebody.
Targeted customer can refer to the currently transmitted any user for preserving request, namely when a user enters to page metadata
Row modification etc. can send preservation request with postponing, and request carries out being preserved with the page metadata for postponing to it.It is specific next
Say, page metadata can be stored in database, naturally it is also possible to choose other preserving types, this implementation according to actual needs
Illustrated so that page metadata is stored in database as an example in example, targeted customer can be by getting page unit in database
Data, and then page metadata is configured.
S12:Judge that targeted customer is first to the page with the presence or absence of other users during being configured to page metadata
Data carried out configuration, if it is, step S13 is performed, if it is not, then performing step S14.
When needing that targeted customer is carried out to be preserved with the page metadata for postponing, it is necessary to first carry out corresponding school
Test, check that targeted customer was carried out with the presence or absence of other users during being configured to page metadata to page metadata
Configuration, namely check that targeted customer is configured by the page metadata got in database before being configured in targeted customer
During whether changed by other users.
S13:Targeted customer is carried out to be carried out with the page metadata for postponing with the page metadata for postponing and other users
Merge and obtain merging page metadata, and preserve merging page metadata.
If there are other users during targeted customer configures page metadata to enter page metadata
Went configuration, then in order to retain configuration and the other users that targeted customer carries out to page metadata simultaneously to page metadata
The configuration for carrying out is, it is necessary to targeted customer is carried out to be carried out with the page unit number for postponing with the page metadata and other users for postponing
According to merging, so preserve merge after the merging metadata that obtains, wherein, other users herein refer in targeted customer couple
Page metadata is configured to page metadata during being configured and has been completed the other users of correspondence configuration.
S14:Preserving targeted customer is carried out with the page metadata for postponing.
If in the absence of other users to page metadata during targeted customer configures to page metadata
Configuration was carried out, then directly preserving targeted customer is carried out with the page metadata for postponing.
In technical scheme disclosed in the present application, receive targeted customer is carried out with the preservation for postponing transmission to page metadata
After request, judge that targeted customer enters with the presence or absence of other users during being configured to page metadata to page metadata
Configuration was gone, if it is, targeted customer is carried out to be carried out with the page for postponing with the page metadata and other users that postpone
Metadata is preserved after merging such that it is able to is avoided the configuration of the configuration covering other users of targeted customer, is reached and protect simultaneously
Stay and correspond to the configuration that each user is carried out to page metadata, the page is developed beneficial to multi-person synergy.
A kind of store method of page metadata provided in an embodiment of the present invention, judges that targeted customer enters to page metadata
Configuration was carried out to page metadata with the presence or absence of other users during row configuration, can be included:
When targeted customer obtains page metadata to be configured to page metadata, record page metadata distance is worked as
The time T0 that preceding the last time at moment is configured;
Receive preserve request when, record page metadata in addition to this is configured by targeted customer apart from current time most
The nearly time T1 being once configured;
Judge whether T0 is equal with T1, if it is, during determining that targeted customer configures to page metadata
Configuration was carried out to page metadata in the absence of other users, if it is not, then determining that targeted customer matches somebody with somebody to page metadata
There are other users during putting carried out configuration to page metadata.
When targeted customer needs to configure page metadata, it needs to obtain page metadata, and it is right now to record
The time T0 for answering page metadata to be configured apart from the last time at current time, namely current time corresponding last page unit
The time that data are configured;Receive targeted customer preservation ask when, record corresponding page metadata apart from current time most
The nearly time T1 being once configured, namely the time that current time corresponding last page metadata is configured, if T0 and
T1 is equal, then illustrate that the corresponding page metadatas of T0 and T1 are identical, namely the mistake that targeted customer is configured to page metadata
Configuration was carried out to page metadata in the absence of other users in journey, otherwise, then the corresponding page metadatas of T0 and T1 was illustrated not
It is identical, namely there are other users during targeted customer configures to page metadata page metadata was matched somebody with somebody
Put.Record thus, it is possible to be based on the above-mentioned time, accurately and effectively judges what targeted customer was configured to page metadata
During configuration was carried out to page metadata with the presence or absence of other users.
It is further to note that the acquisition of above-mentioned time for convenience, when page metadata is preserved every time,
The holding time of page metadata can be recorded, the time that the holding time namely page metadata are this time configured,
Consequently facilitating the setup time of the page metadata needed for obtaining.
A kind of store method of page metadata provided in an embodiment of the present invention, targeted customer is carried out with the page for postponing
Metadata with other users merged with the page metadata for postponing and obtains merging page metadata, can include:
Page metadata and targeted customer are carried out with the page metadata contrast for postponing, the part for being changed is first
Configuration, page metadata and other users are carried out with the page metadata contrast for postponing, and the part for being changed is matched somebody with somebody for second
Put;
First configuration is merged with the second configuration and obtains merging configuration, and configuration is merged to page metadata,
Obtain merging page metadata.
The fragment that targeted customer and other users are configured to page metadata, namely page metadata and target are obtained respectively
The different part of page metadata after user configuring is the first configuration, and page metadata matches somebody with somebody the page unit for postponing with other users
The different part of data is the second configuration, wherein, the page metadata not being configured for being contrasted is targeted customer's needs
The page metadata that obtains during configuration page metadata, then the first configuration and the second configuration are merged obtain merging and match somebody with somebody
Put, and page metadata is merged configuration obtain merge page metadata, in simple terms, exactly obtain targeted customer and its
It is applied in initial page metadata after the fragment that his user configures to page metadata, and then merging, can be merged
Page metadata.So as to simple and quick realizes merging of the different user for the configuration of page metadata, it is ensured that different
User for page metadata configuration while retain and will not lose configuration of the user for page metadata.
It is further to note that because the use that each submission preserves request per family can be used as targeted customer, therefore can
To understand, can be merged according to mentioned above principle per the configuration to page metadata adjacent twice, and if mesh
Mark user has multiple other users during being configured to page metadata carried out configuration to page metadata, according to
Time can merge when being submitted to and preserved request by second user of morning to evening with the configuration of first user, and third party is submitted to and protected
Configuration after merging with second user and first user when depositing request carries out configuration merging, by that analogy, final to need
The final configuration after merging for the configuration of multiple other users is merged with the configuration of targeted customer, be therefore, it can this most
The corresponding configuration of user is regarded in configuration eventually as, therefore, the configuration to targeted customer and other users every time merges reality
It is that the configuration of two users is merged, as shown in figure 3, when targeted customer initially loads acquisition page metadata, can be with
The initial copy P* of a page metadata P is preserved first, and page metadata P is only changed in page metadata configuration process,
P* keeps constant, and configuration completion needs to carry out mutual exclusion verification first when preserving, that is, judge that targeted customer is carried out to page metadata
Configuration was carried out to page metadata with the presence or absence of other users during configuration, if it is, newest in obtaining database
Page metadata P-a, with initial copy P* contrasts, obtain changing unit " configuration a ", targeted customer is carried out with the page that postpones
Metadata revision P-b and initial copy P* is contrasted, and obtains changing unit " configuration b ", will " configuration a " with " configuration b " merge,
And the configuration after merging is acted on into initial copy P*, final page P-ab is obtained, and be saved into database.Need
It is bright, " configuration a " with " configuration b " it is increment content, control, control property, page in the main configuration comprising page metadata
The content such as face function, page events, background function, multilingual, records the part of their increases, modification, deletion etc..
A kind of store method of page metadata provided in an embodiment of the present invention, the first configuration is closed with the second configuration
And obtain merging configuration, can include:
If there is the conflict configuration section of conflict in the first configuration and the second configuration, according to default principle with the first configuration
And/or second be configured to certainly stay the conflict configuration section, and the conflict of conflict configuration section presence is marked out, it is outer to indicate
The bound pair conflict is solved.
If the first configuration and the second configuration have the conflict configuration section of conflict, retaining conflict according to default principle matches somebody with somebody
The conflict that entry/exit conflicts configuration section is present is marked after putting part, so that administrative staff can solve to the conflict.
Specifically, it is configured to certainly stay the conflict configuration section with the first configuration and/or second according to default principle, can
To include:
If the first configuration and the second configuration are carries out content increase to conflict configuration section, first is retained simultaneously and is matched somebody with somebody
Put increases the content that conflict configuration section is carried out with the second configuration;If the first configuration and the second configuration are and conflict are configured
Part carries out content modification, then retain the content modification that the first configuration is carried out to conflict configuration section;If the first configuration and the
It is any in two configurations to be configured to carry out conflict configuration section content deletion, it is another to be configured to carry out content to conflict configuration section
Modification, then retain the content modification carried out to conflict configuration section.
So as to point carry out preliminary solution by the mentioned above principle teat that liquidates, and management is indicated by way of marking conflict
Personnel liquidate to advance by leaps and bounds after row is finally solved and preserve again, and then ensure that the validity of page metadata.
It should be noted that can be carried out according to principle shown in table 1 for the merging of the first configuration and the second configuration, certainly
Other settings can also be carried out according to being actually needed, within protection scope of the present invention.
Table 1
Sequence number | First configuration | Second configuration | Processing mode |
1 | Increase | - | Increase |
2 | Modification | - | Modification |
3 | Delete | - | Delete |
4 | - | Increase | Increase |
5 | - | Modification | Modification |
6 | - | Delete | Delete |
7 | Increase | Increase | Retain simultaneously |
8 | Modification | Modification | Retain the content of the first configuration |
9 | Modification | Delete | Retain the content of the first configuration |
10 | Delete | Modification | Retain the content of the second configuration |
11 | Delete | Delete | Delete |
The embodiment of the present invention additionally provides a kind of save set of page metadata, as shown in figure 4, can include:
Receiver module 11, for receiving preservation request, preserves request and is postponed for targeted customer to page metadata match somebody with somebody
Send;
Preserving module 12, for judging targeted customer during being configured to page metadata with the presence or absence of other use
Family carried out configuration to page metadata, if it is, targeted customer is carried out with the page metadata and other users for postponing
Merged with the page metadata for postponing and obtain merging page metadata, and preserve merging page metadata.
A kind of save set of page metadata provided in an embodiment of the present invention, preserving module can include:
Judging unit, is used for:When targeted customer obtains page metadata to be configured to page metadata, record page
The time T0 that bin data are configured apart from the last time at current time;When preservation request is received, record page metadata is removed
The time T1 being configured apart from the last time at current time outside this time being configured by targeted customer;Judge whether T0 is equal with T1,
If it is, determining that targeted customer enters in the absence of other users during being configured to page metadata to page metadata
Configuration was gone, if it is not, then determining that targeted customer has other users to the page during being configured to page metadata
Metadata carried out configuration.
A kind of save set of page metadata provided in an embodiment of the present invention, preserving module can include:
Storage unit, is used for:Page metadata and targeted customer are carried out, with the page metadata contrast for postponing, to be become
The part of change is the first configuration, and page metadata and other users are carried out, with the page metadata contrast for postponing, to be changed
Part for second configuration;First configuration is merged with the second configuration and obtains merging configuration, and page metadata is carried out
Merge configuration, obtain merging page metadata.
A kind of save set of page metadata provided in an embodiment of the present invention, storage unit can include:
Combining unit, if there is the conflict configuration section of conflict for the first configuration and the second configuration, according to default
Principle is configured to certainly stay the conflict configuration section with the first configuration and/or second, and marks out conflict configuration section presence
Conflict, to indicate the outer bound pair conflict to be solved.
A kind of save set of page metadata provided in an embodiment of the present invention, combining unit can include:
Merge subelement, be used for:If the first configuration and the second configuration are carries out content increase to conflict configuration section,
Then retaining the first configuration and the second configuration simultaneously increases the content that conflict configuration section is carried out;If the first configuration and second is matched somebody with somebody
Put to be and content modification is carried out to conflict configuration section, then retain the content modification that the first configuration is carried out to conflict configuration section;
If any in the first configuration and the second configuration be configured to carry out content deletion to conflict configuration section, another to be configured to conflict
Configuration section carries out content modification, then retain the content modification carried out to conflict configuration section.
The explanation of relevant portion refers to this hair in a kind of save set of page metadata provided in an embodiment of the present invention
The detailed description of corresponding part, will not be repeated here in a kind of store method of page metadata that bright embodiment is provided.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or uses the present invention.To this
Various modifications of a little embodiments will be apparent for a person skilled in the art, and generic principles defined herein can
Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited
It is formed on the embodiments shown herein, and is to fit to consistent with principles disclosed herein and features of novelty most wide
Scope.
Claims (10)
1. a kind of store method of page metadata, it is characterised in that including:
Preservation request is received, described preservation asks to postpone transmission for targeted customer to page metadata match somebody with somebody;
Judge that the targeted customer whether there is other users to the page during being configured to the page metadata
Bin data carried out configuration, if it is, the targeted customer is carried out with the page metadata for postponing and described other use
Family merged with the page metadata for postponing and obtains merging page metadata, and preserves the merging page metadata.
2. method according to claim 1, it is characterised in that judge that the targeted customer is carried out to the page metadata
Configuration was carried out to the page metadata with the presence or absence of other users during configuration, including:
When the targeted customer obtains the page metadata to be configured to the page metadata, the page is recorded
The time T0 that metadata is configured apart from the last time at current time;
When the preservation request is received, record page metadata distance in addition to this is configured by the targeted customer and work as
The time T1 that preceding the last time at moment is configured;
Judge whether T0 is equal with T1, if it is, determining the mistake that the targeted customer is configured to the page metadata
Configuration was carried out to the page metadata in the absence of other users in journey, if it is not, then determining the targeted customer to described
Page metadata has other users during being configured carried out configuration to the page metadata.
3. method according to claim 1, it is characterised in that carry out with the page metadata for postponing the targeted customer
With the other users merged with the page metadata for postponing and obtain merging page metadata, including:
The page metadata is carried out with the page metadata contrast for postponing with the targeted customer, the part for being changed is
First configuration, the page metadata and the other users are carried out, with the page metadata contrast for postponing, to be changed
Part is the second configuration;
Described first configuration is merged with the described second configuration and obtains merging configuration, and institute is carried out to the page metadata
Merging configuration is stated, the merging page metadata is obtained.
4. method according to claim 3, it is characterised in that the described first configuration is merged with the described second configuration
Obtain merging configuration, including:
If there is the conflict configuration section of conflict in first configuration and the described second configuration, according to default principle with described
First configuration and/or second it is configured to certainly stay the conflict configuration section, and marks out the conflict of conflict configuration section presence,
To indicate outer bound pair conflict to be solved.
5. method according to claim 4, it is characterised in that according to default principle with the described first configuration and/or second
It is configured to certainly stay the conflict configuration section, including:
If first configuration and the described second configuration are carries out content increase to the conflict configuration section, protect simultaneously
Staying first configuration and the described second configuration increases the content that the conflict configuration section is carried out;If first configuration
Be with the described second configuration carries out content modification to the conflict configuration section, then retain first configuration to the conflict
The content modification that configuration section is carried out;If any in first configuration and the described second configuration be configured to match somebody with somebody the conflict
Putting part carries out content deletion, another to be configured to carry out content modification to the conflict configuration section, then retain to the conflict
The content modification that configuration section is carried out.
6. a kind of save set of page metadata, it is characterised in that including:
Receiver module, for receiving preservation request, described preservation asks to postpone hair for targeted customer to page metadata match somebody with somebody
Send;
Preserving module, for judging the targeted customer during being configured to the page metadata with the presence or absence of other
User carried out configuration to the page metadata, if it is, the targeted customer is carried out with the page metadata for postponing
With the other users merged with the page metadata for postponing and obtain merging page metadata, and preserve the merging
Page metadata.
7. device according to claim 6, it is characterised in that the preserving module includes:
Judging unit, is used for:The page metadata is obtained in the targeted customer to be configured with to the page metadata
When, record the time T0 that the page metadata is configured apart from the last time at current time;When the preservation request is received,
Record the page metadata except this by the targeted customer configure in addition to apart from the last time at current time be configured when
Between T1;Judge whether T0 is equal with T1, if it is, determining the mistake that the targeted customer is configured to the page metadata
Configuration was carried out to the page metadata in the absence of other users in journey, if it is not, then determining the targeted customer to described
Page metadata has other users during being configured carried out configuration to the page metadata.
8. device according to claim 6, it is characterised in that the preserving module includes:
Storage unit, is used for:The page metadata is carried out with the targeted customer, with the page metadata contrast for postponing, to obtain
It is the first configuration to the part of change, the page metadata and the other users is carried out with the page metadata pair for postponing
Than the part for being changed is the second configuration;Described first configuration is merged with the described second configuration and obtains merging configuration,
And the merging configuration is carried out to the page metadata, obtain the merging page metadata.
9. device according to claim 8, it is characterised in that the storage unit includes:
Combining unit, if there is the conflict configuration section of conflict for the described first configuration and the described second configuration, according to
Default principle is configured to certainly stay the conflict configuration section with the described first configuration and/or second, and marks out conflict configuration
The conflict that part is present, to indicate the outer bound pair conflict to be solved.
10. device according to claim 9, it is characterised in that the combining unit includes:
Merge subelement, be used for:If first configuration and the described second configuration are carried out to the conflict configuration section
Content increases, then retain first configuration and the described second configuration simultaneously and the content that the conflict configuration section is carried out is increased
Plus;If first configuration and the described second configuration are carries out content modification to the conflict configuration section, retain institute
State the content modification that the first configuration is carried out to the conflict configuration section;If appointed in first configuration and the described second configuration
One is configured to carry out content deletion to the conflict configuration section, another to be configured to carry out content to the conflict configuration section to repair
Change, then retain the content modification carried out to the conflict configuration section.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611192637.0A CN106708521B (en) | 2016-12-21 | 2016-12-21 | Method and device for storing page metadata |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611192637.0A CN106708521B (en) | 2016-12-21 | 2016-12-21 | Method and device for storing page metadata |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106708521A true CN106708521A (en) | 2017-05-24 |
CN106708521B CN106708521B (en) | 2020-07-17 |
Family
ID=58938567
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611192637.0A Active CN106708521B (en) | 2016-12-21 | 2016-12-21 | Method and device for storing page metadata |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106708521B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111581013A (en) * | 2020-03-18 | 2020-08-25 | 宁波送变电建设有限公司永耀科技分公司 | System information backup and reconstruction method based on metadata and shadow files |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716248A (en) * | 2004-06-29 | 2006-01-04 | 微软公司 | Concurrent transactions and page synchronization |
CN1804836A (en) * | 2005-01-14 | 2006-07-19 | 微软公司 | Method and system for synchronizing multiple user revisions to a shared object |
CN102982213A (en) * | 2012-12-06 | 2013-03-20 | 北京数码大方科技股份有限公司 | Collaborative establishment method and device of CAD (Computer Aided Design) model |
CN102999482A (en) * | 2011-12-12 | 2013-03-27 | 微软公司 | Technique for managing collaborative documents |
US20160321215A1 (en) * | 2015-04-28 | 2016-11-03 | Workiva Inc. | Footnote formatting and layout of multi-section documents |
-
2016
- 2016-12-21 CN CN201611192637.0A patent/CN106708521B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716248A (en) * | 2004-06-29 | 2006-01-04 | 微软公司 | Concurrent transactions and page synchronization |
CN1804836A (en) * | 2005-01-14 | 2006-07-19 | 微软公司 | Method and system for synchronizing multiple user revisions to a shared object |
CN102999482A (en) * | 2011-12-12 | 2013-03-27 | 微软公司 | Technique for managing collaborative documents |
CN102982213A (en) * | 2012-12-06 | 2013-03-20 | 北京数码大方科技股份有限公司 | Collaborative establishment method and device of CAD (Computer Aided Design) model |
US20160321215A1 (en) * | 2015-04-28 | 2016-11-03 | Workiva Inc. | Footnote formatting and layout of multi-section documents |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111581013A (en) * | 2020-03-18 | 2020-08-25 | 宁波送变电建设有限公司永耀科技分公司 | System information backup and reconstruction method based on metadata and shadow files |
Also Published As
Publication number | Publication date |
---|---|
CN106708521B (en) | 2020-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kim et al. | How to calculate sample size and why | |
CN104021034B (en) | Task processing method and system | |
CN107704625A (en) | Fields match method and apparatus | |
CN105574334B (en) | Medical information processing method and system | |
CN107391933A (en) | A kind of electronic health record quality control management device and method | |
CN104240171A (en) | Method and system for generating electronic medical records | |
US10448881B2 (en) | Systems and methods for classification and treatment of decubitus ulcers | |
CN106296525A (en) | The shared system of a kind of medical information and method | |
EP4102441A4 (en) | Livestock raising information management system, livestock raising information management server, livestock raising information management method, and livestock raising information management program | |
Munechika et al. | Quality management system for health care and its effectiveness | |
CN110276060A (en) | The method and device of data processing | |
CN106708521A (en) | Page metadata storage method and device | |
CN104298570B (en) | Data processing method and device | |
Pirl et al. | Opportunities for improving psychosocial care for cancer survivors | |
CN107943925A (en) | Fuzzy method for individual information in privacy information issue of anonymity system | |
CN107368569A (en) | Data difference control methods and device, storage medium and processor | |
CN106845648A (en) | Data processing method and device | |
CN115953119A (en) | Form authority management method and device, storage medium and electronic equipment | |
CN108038733A (en) | One kind integration cut-in method and its system | |
CN104268277A (en) | Data reading method and device for database | |
CN108122606A (en) | A kind of order management method, electronic equipment and the storage medium of infrared image platform | |
CN109544381B (en) | Method for acquiring medical data and related products | |
Gomez | Audits: is audit a four-letter word? | |
CN106446201A (en) | Processing method and device of social circle data | |
CN110008741A (en) | The method and apparatus of message push |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |