CN106708521B - Method and device for storing page metadata - Google Patents

Method and device for storing page metadata Download PDF

Info

Publication number
CN106708521B
CN106708521B CN201611192637.0A CN201611192637A CN106708521B CN 106708521 B CN106708521 B CN 106708521B CN 201611192637 A CN201611192637 A CN 201611192637A CN 106708521 B CN106708521 B CN 106708521B
Authority
CN
China
Prior art keywords
configuration
page metadata
page
target user
conflict
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.)
Active
Application number
CN201611192637.0A
Other languages
Chinese (zh)
Other versions
CN106708521A (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.)
Kingdee Software China Co Ltd
Original Assignee
Kingdee Software China 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 Kingdee Software China Co Ltd filed Critical Kingdee Software China Co Ltd
Priority to CN201611192637.0A priority Critical patent/CN106708521B/en
Publication of CN106708521A publication Critical patent/CN106708521A/en
Application granted granted Critical
Publication of CN106708521B publication Critical patent/CN106708521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Abstract

The invention discloses a method and a device for storing page metadata, wherein the method comprises the following steps: receiving a storage request, wherein the storage request is sent after the page metadata is configured for a target user; judging whether page metadata is configured by other users in the process of configuring the page metadata by the target user, if so, combining the page metadata configured by the target user with the page metadata configured by other users to obtain combined page metadata, and storing the combined page metadata. Therefore, after the storage request is received, whether other users have configured page metadata in the process of configuring the page metadata by the target user is judged, if yes, the page metadata after the configuration by the target user and the page metadata after the configuration by the other users are combined and stored, and the purpose of simultaneously reserving the configuration of the page metadata corresponding to each user is achieved.

Description

Method and device for storing page metadata
Technical Field
The present invention relates to the field of page configuration technologies, and in particular, to a method and an apparatus for storing page metadata.
Background
The page metadata is used for storing the content of the whole web page as a configuration, directly taking the configuration content when the web page is opened every time, and rendering the web page according to the configuration content. Specifically, the page metadata can be directly visually configured in the BOS-Web platform by using a configuration tool, and meanwhile, different requirements can be expanded on the configurations.
In the prior art, corresponding configuration information is directly stored in a database after page metadata is configured, and if multiple users configure corresponding metadata on the same web page, the situation that the page metadata submitted later covers the page metadata submitted previously occurs. For example, as shown in fig. 1, a user a and a user B both open a configuration page of a page P to configure page metadata, the user a and the user B both perform modification configuration operation on page metadata corresponding to the page P, the page corresponding to the page metadata after the user a modifies the configuration is Pa, the page corresponding to the page metadata after the user B modifies the configuration is Pb, if the user a submits first, the configuration of the database on the page P is Pa at this time, the user B submits later, the latest configuration of the page P is updated to Pb at this time, the configuration of the page by the user a is covered, and the configuration of the page P by the user a cannot be simultaneously retained.
In summary, in the prior art, when multiple users collaboratively configure the same page metadata, the problem exists that the configuration of each user on the page metadata cannot be simultaneously maintained.
Disclosure of Invention
The invention aims to provide a method and a device for storing page metadata, which are used for solving the problem that the configuration of page metadata of each user cannot be simultaneously reserved when multiple users cooperatively configure the same page metadata in the prior art.
In order to achieve the above purpose, the invention provides the following technical scheme:
a method for storing page metadata comprises the following steps:
receiving a storage request, wherein the storage request is sent after a target user configures page metadata;
judging whether other users have configured the page metadata in the process of configuring the page metadata by the target user, if so, merging the page metadata configured by the target user with the page metadata configured by the other users to obtain merged page metadata, and storing the merged page metadata.
Preferably, the determining whether there is another user who has configured the page metadata in the process of configuring the page metadata by the target user includes:
when the target user acquires the page metadata to configure the page metadata, recording the latest configured time T0 of the page metadata from the current moment;
when the saving request is received, recording the latest configured time T1 from the current time of the page metadata except the time configured by the target user;
and judging whether T0 is equal to T1, if so, determining that no other user has configured the page metadata in the process of configuring the page metadata by the target user, and if not, determining that other user has configured the page metadata in the process of configuring the page metadata by the target user.
Preferably, merging the page metadata configured by the target user with the page metadata configured by the other users to obtain merged page metadata, including:
comparing the page metadata with the page metadata configured by the target user to obtain a changed part as a first configuration, and comparing the page metadata with the page metadata configured by other users to obtain a changed part as a second configuration;
and merging the first configuration and the second configuration to obtain merged configuration, and merging the page metadata to obtain the merged page metadata.
Preferably, the merging the first configuration and the second configuration to obtain a merged configuration includes:
if the first configuration and the second configuration have conflicting conflict configuration parts, reserving the conflicting configuration parts by taking the first configuration and/or the second configuration as a criterion according to a preset principle, and marking conflicts existing in the conflicting configuration parts to indicate an external boundary to solve the conflicts.
Preferably, the reserving the conflict configuration part based on the first configuration and/or the second configuration according to a preset principle includes:
if the first configuration and the second configuration are both used for adding the content of the conflict configuration part, simultaneously reserving the content addition of the first configuration and the second configuration on the conflict configuration part; if the first configuration and the second configuration are both content modification of the conflict configuration part, reserving the content modification of the conflict configuration part by the first configuration; and if either one of the first configuration and the second configuration is configured to delete the content of the conflict configuration part, and the other configuration is configured to modify the content of the conflict configuration part, keeping the content modification of the conflict configuration part.
A device for storing page metadata, comprising:
the receiving module is used for receiving a storage request, wherein the storage request is sent after the page element data is configured by a target user;
and the storage module is used for judging whether other users have configured the page metadata in the process of configuring the page metadata by the target user, if so, combining the page metadata configured by the target user with the page metadata configured by the other users to obtain combined page metadata, and storing the combined page metadata.
Preferably, the saving module includes:
a determination unit configured to: when the target user acquires the page metadata to configure the page metadata, recording the latest configured time T0 of the page metadata from the current moment; when the saving request is received, recording the latest configured time T1 from the current time of the page metadata except the time configured by the target user; and judging whether T0 is equal to T1, if so, determining that no other user has configured the page metadata in the process of configuring the page metadata by the target user, and if not, determining that other user has configured the page metadata in the process of configuring the page metadata by the target user.
Preferably, the saving module includes:
a saving unit configured to: comparing the page metadata with the page metadata configured by the target user to obtain a changed part as a first configuration, and comparing the page metadata with the page metadata configured by other users to obtain a changed part as a second configuration; and merging the first configuration and the second configuration to obtain merged configuration, and merging the page metadata to obtain the merged page metadata.
Preferably, the holding unit includes:
a merging unit, configured to reserve a conflict configuration part according to a preset principle by taking the first configuration and/or the second configuration as a criterion if the conflict configuration part exists between the first configuration and the second configuration, and mark a conflict existing in the conflict configuration part to indicate an external boundary to resolve the conflict.
Preferably, the merging unit includes:
a merging subunit to: if the first configuration and the second configuration are both used for adding the content of the conflict configuration part, simultaneously reserving the content addition of the first configuration and the second configuration on the conflict configuration part; if the first configuration and the second configuration are both content modification of the conflict configuration part, reserving the content modification of the conflict configuration part by the first configuration; and if either one of the first configuration and the second configuration is configured to delete the content of the conflict configuration part, and the other configuration is configured to modify the content of the conflict configuration part, keeping the content modification of the conflict configuration part.
The invention provides a method and a device for storing page metadata, wherein the method comprises the following steps: receiving a storage request, wherein the storage request is sent after a target user configures page metadata; judging whether other users have configured the page metadata in the process of configuring the page metadata by the target user, if so, merging the page metadata configured by the target user with the page metadata configured by the other users to obtain merged page metadata, and storing the merged page metadata. According to the technical scheme, after the storage request sent after the target user configures the page metadata is received, whether other users have over-configured the page metadata in the process of configuring the page metadata by the target user is judged, if yes, the page metadata after the target user configures and the page metadata after the other users configure are combined and stored, so that the configuration of the target user can be prevented from covering the configuration of the other users, the purpose of simultaneously reserving the configuration corresponding to the page metadata of each user is achieved, and the page collaborative development of multiple users is facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a diagram illustrating an exemplary configuration of a page metadata in the background art corresponding to a method and an apparatus for storing page metadata according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for saving page metadata according to an embodiment of the present invention;
fig. 3 is a specific implementation diagram of a method for storing page metadata according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for storing page metadata according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 2, a flowchart of a method for saving page metadata according to an embodiment of the present invention is shown, where the method includes the following steps:
s11: and receiving a storage request, wherein the storage request is sent after the page metadata is configured for the target user.
The target user may be any user currently sending the storage request, that is, after a user modifies the page metadata and other configurations, the target user may send the storage request to request the storage of the configured page metadata. Specifically, the page metadata may be stored in the database, and certainly, other storage manners may also be selected according to actual needs, in this embodiment, the page metadata is stored in the database as an example for explanation, and the target user may obtain the page metadata from the database, and then configure the page metadata.
S12: and judging whether other users have configured page metadata in the process of configuring the page metadata by the target user, if so, executing the step S13, and if not, executing the step S14.
When the page metadata after the target user is configured needs to be stored, corresponding verification needs to be performed first, and whether page metadata is over-configured by other users exists in the process of configuring the page metadata by the target user, that is, whether the page metadata acquired from the database before the target user is configured is modified by other users in the process of configuring the target user is checked.
S13: and merging the page metadata configured by the target user and the page metadata configured by other users to obtain merged page metadata, and storing the merged page metadata.
If there is page metadata over-configured by other users in the process of configuring the page metadata by the target user, in order to simultaneously retain the configuration of the page metadata by the target user and the configuration of the page metadata by the other users, the page metadata configured by the target user and the page metadata configured by the other users need to be merged, and then merged metadata obtained after merging is saved, wherein the other users refer to other users who configure the page metadata in the process of configuring the page metadata by the target user and have completed corresponding configuration.
S14: and saving the page metadata configured by the target user.
If the page metadata does not exist to be configured by other users in the process of configuring the page metadata by the target user, directly storing the page metadata configured by the target user.
According to the technical scheme, after the storage request sent after the target user configures the page metadata is received, whether other users have over-configured the page metadata in the process of configuring the page metadata by the target user is judged, if yes, the page metadata after the target user configures and the page metadata after the other users configure are combined and stored, so that the configuration of the target user can be prevented from covering the configuration of the other users, the configuration of simultaneously reserving each user for the page metadata is achieved, and the multi-user collaborative development of the page is facilitated.
The method for saving page metadata provided in the embodiment of the present invention is to determine whether page metadata is over-configured by other users in the process of configuring page metadata by a target user, and may include:
when a target user acquires page metadata to configure the page metadata, recording the latest configured time T0 of the page metadata from the current moment;
when receiving the saving request, recording the latest configured time T1 from the current time except the time configured by the target user;
and judging whether the T0 is equal to the T1, if so, determining that no other user over-configures the page metadata in the process of configuring the page metadata by the target user, and if not, determining that other user over-configures the page metadata in the process of configuring the page metadata by the target user.
When a target user needs to configure page metadata, the target user needs to acquire the page metadata, and at this time, the time T0 when the corresponding page metadata is configured for the latest time from the current time, that is, the time when the last page metadata corresponding to the current time is configured is recorded; when a storage request of a target user is received, recording the time T1 when corresponding page metadata is configured at the latest time from the current time, namely the time when the last page metadata corresponding to the current time is configured, if T0 and T1 are equal, it is indicated that the page metadata corresponding to T0 and T1 are the same, namely page metadata is not over-configured by other users in the process of configuring the page metadata by the target user, otherwise, it is indicated that the page metadata corresponding to T0 and T1 are different, namely page metadata is over-configured by other users in the process of configuring the page metadata by the target user. Therefore, whether other users have page metadata to be configured in the process of configuring the page metadata by the target user can be accurately and effectively judged based on the time records.
In addition, for the convenience of obtaining the above time, when the page metadata is stored each time, the storage time of the page metadata may be recorded, and the storage time is also the time when the page metadata is configured this time, so that the required configuration time of the page metadata is convenient to obtain.
The method for saving page metadata according to the embodiment of the present invention is a method for merging page metadata configured by a target user with page metadata configured by other users to obtain merged page metadata, and may include:
comparing the page metadata with page metadata configured by a target user to obtain a changed part as a first configuration, and comparing the page metadata with page metadata configured by other users to obtain a changed part as a second configuration;
and merging the first configuration and the second configuration to obtain merged configuration, and merging and configuring page metadata to obtain merged page metadata.
The method includes the steps that fragments configured by target users and other users for page metadata are obtained respectively, namely, the parts of the page metadata, which are different from the page metadata configured by the target users, are in a first configuration, and the parts of the page metadata, which are different from the page metadata configured by other users, are in a second configuration, wherein the compared page metadata, which are not configured, are all the page metadata obtained when the target users need to configure the page metadata, then the first configuration and the second configuration are combined to obtain a combined configuration, and the page metadata is combined and configured to obtain combined page metadata. Therefore, the merging of the configuration of the page metadata by different users is simply and quickly realized, the configuration of the page metadata by different users is guaranteed to be reserved and not lost.
It should be noted that, because each user submitting a storage request can be used as a target user, it can be understood that the configurations of adjacent page metadata every two times can be merged according to the above principle, and if a plurality of other users have configured page metadata in the process of configuring page metadata by a target user, a second user will merge with the configuration of a first user when submitting a storage request from early to late according to time, a third user will merge with the configuration after merging with the second user and the first user when submitting a storage request, and so on, the final configuration needs to be merged with the configuration of the target user into a final configuration after merging the configurations of the plurality of other users, so the final configuration can be regarded as a configuration corresponding to one user, and therefore, merging the configurations of the target user and the other users each time is actually merging the configurations of two users, as shown in fig. 3, when a target user initially loads and acquires page metadata, an initial copy P of the page metadata P may be first saved, only the page metadata P is modified in the process of configuring the page metadata, the P is kept unchanged, mutual exclusion checking is first performed when configuration is completed and storage is required, that is, it is determined whether there is any past configuration of the page metadata by other users in the process of configuring the page metadata by the target user, if yes, the latest page metadata P-a in the database is acquired, and compared with the initial copy P, a changed portion "configuration a" is obtained, a page metadata modified version P-b after configuration by the target user is compared with the initial copy P, a changed portion "configuration b" is obtained, the "configuration a" and the "configuration b" are merged, and the merged configuration is applied to the initial copy P, and acquiring the final page P-ab and storing the final page P-ab in a database. It should be noted that "configuration a" and "configuration b" are incremental contents, and mainly include contents such as controls, control attributes, page functions, page events, background functions, and multiple languages in page metadata configuration, and record the portions of addition, modification, and deletion of the contents.
The method for saving page metadata according to the embodiment of the present invention is a method for merging a first configuration and a second configuration to obtain a merged configuration, and may include:
if the first configuration and the second configuration have conflicting conflict configuration parts, reserving the conflicting configuration parts according to a preset principle by taking the first configuration and/or the second configuration as a criterion, and marking conflicts existing in the conflicting configuration parts to indicate an external boundary to solve the conflicts.
If the conflict configuration part with conflict exists between the first configuration and the second configuration, the conflict configuration part is reserved according to a preset principle, and then the conflict existing in the conflict configuration part is marked, so that a manager can solve the conflict.
Specifically, the reserving the conflict configuration part according to the preset principle by taking the first configuration and/or the second configuration as a criterion may include:
if the first configuration and the second configuration are both used for carrying out content addition on the conflict configuration part, simultaneously reserving the content addition of the first configuration and the second configuration on the conflict configuration part; if the first configuration and the second configuration are both used for modifying the content of the conflict configuration part, the content modification of the conflict configuration part by the first configuration is reserved; and if either one of the first configuration and the second configuration is configured to delete the content of the conflict configuration part, and the other configuration is configured to modify the content of the conflict configuration part, the content modification of the conflict configuration part is reserved.
Therefore, the conflict part is preliminarily solved through the principle, and the management personnel is indicated to save the conflict after the conflict is finally solved through a conflict marking mode, so that the validity of the page metadata is ensured.
It should be noted that, the combination of the first configuration and the second configuration can be performed according to the principles shown in table 1, and of course, other configurations can be performed according to actual needs, and all of them are within the protection scope of the present invention.
TABLE 1
Serial number First configuration Second configuration Treatment method
1 Increase of - Increase of
2 Modifying - Modifying
3 Deleting - Deleting
4 - Increase of Increase of
5 - Modifying Modifying
6 - Deleting Deleting
7 Increase of Increase of While retaining
8 Modifying Modifying Preserving content of a first configuration
9 Modifying Deleting Preserving content of a first configuration
10 Deleting Modifying Retaining the content of the second configuration
11 Deleting Deleting Deleting
An embodiment of the present invention further provides a device for storing page metadata, as shown in fig. 4, where the device may include:
the receiving module 11 is configured to receive a storage request, where the storage request is sent after the page metadata is configured by the target user;
the saving module 12 is configured to determine whether the page metadata is configured by other users in the process of configuring the page metadata by the target user, and if so, merge the page metadata configured by the target user with the page metadata configured by other users to obtain merged page metadata, and save the merged page metadata.
In an embodiment of the present invention, a storage module of a device for storing page metadata includes:
a determination unit configured to: when a target user acquires page metadata to configure the page metadata, recording the latest configured time T0 of the page metadata from the current moment; when receiving the saving request, recording the latest configured time T1 from the current time except the time configured by the target user; and judging whether the T0 is equal to the T1, if so, determining that no other user over-configures the page metadata in the process of configuring the page metadata by the target user, and if not, determining that other user over-configures the page metadata in the process of configuring the page metadata by the target user.
In an embodiment of the present invention, a storage module of a device for storing page metadata includes:
a saving unit configured to: comparing the page metadata with page metadata configured by a target user to obtain a changed part as a first configuration, and comparing the page metadata with page metadata configured by other users to obtain a changed part as a second configuration; and merging the first configuration and the second configuration to obtain merged configuration, and merging and configuring page metadata to obtain merged page metadata.
In an embodiment of the present invention, a storage unit of page metadata includes:
and the merging unit is used for reserving the conflict configuration part by taking the first configuration and/or the second configuration as a criterion according to a preset principle and marking the conflict existing in the conflict configuration part to indicate the outside world to solve the conflict if the conflict configuration part exists in the first configuration and the second configuration.
In the apparatus for saving metadata of a page provided in an embodiment of the present invention, the merging unit may include:
a merging subunit to: if the first configuration and the second configuration are both used for carrying out content addition on the conflict configuration part, simultaneously reserving the content addition of the first configuration and the second configuration on the conflict configuration part; if the first configuration and the second configuration are both used for modifying the content of the conflict configuration part, the content modification of the conflict configuration part by the first configuration is reserved; and if either one of the first configuration and the second configuration is configured to delete the content of the conflict configuration part, and the other configuration is configured to modify the content of the conflict configuration part, the content modification of the conflict configuration part is reserved.
For a description of a relevant part in the device for saving page metadata according to the embodiment of the present invention, please refer to a detailed description of a corresponding part in the method for saving page metadata according to the embodiment of the present invention, which is not described herein again.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A method for storing page metadata is characterized by comprising the following steps:
receiving a storage request, wherein the storage request is sent after a target user configures page metadata;
judging whether other users have configured the page metadata in the process of configuring the page metadata by the target user, if so, merging the page metadata configured by the target user with the page metadata configured by the other users to obtain merged page metadata, and storing the merged page metadata;
judging whether other users have configured the page metadata in the process of configuring the page metadata by the target user, wherein the judging comprises the following steps:
when the target user acquires the page metadata to configure the page metadata, recording the latest configured time T0 of the page metadata from the current moment;
when the saving request is received, recording the latest configured time T1 from the current time of the page metadata except the time configured by the target user;
judging whether T0 is equal to T1, if so, determining that no other user has configured the page metadata in the process of configuring the page metadata by the target user, and if not, determining that other user has configured the page metadata in the process of configuring the page metadata by the target user;
the method further comprises the following steps:
and when the page metadata is stored each time, storing the time for storing the page metadata as the configured time of the page metadata at this time for obtaining.
2. The method according to claim 1, wherein merging the configured page metadata of the target user with the configured page metadata of the other users to obtain merged page metadata comprises:
comparing the page metadata with the page metadata configured by the target user to obtain a changed part as a first configuration, and comparing the page metadata with the page metadata configured by other users to obtain a changed part as a second configuration;
and merging the first configuration and the second configuration to obtain merged configuration, and merging the page metadata to obtain the merged page metadata.
3. The method of claim 2, wherein merging the first configuration with the second configuration to obtain a merged configuration comprises:
if the first configuration and the second configuration have conflicting conflict configuration parts, reserving the conflicting configuration parts by taking the first configuration and/or the second configuration as a criterion according to a preset principle, and marking conflicts existing in the conflicting configuration parts to indicate an external boundary to solve the conflicts.
4. A method according to claim 3, wherein reserving the conflicting configuration part based on the first configuration and/or the second configuration according to a predetermined rule comprises:
if the first configuration and the second configuration are both used for adding the content of the conflict configuration part, simultaneously reserving the content addition of the first configuration and the second configuration on the conflict configuration part; if the first configuration and the second configuration are both content modification of the conflict configuration part, reserving the content modification of the conflict configuration part by the first configuration; and if either one of the first configuration and the second configuration is configured to delete the content of the conflict configuration part, and the other configuration is configured to modify the content of the conflict configuration part, keeping the content modification of the conflict configuration part.
5. An apparatus for storing page metadata, comprising:
the receiving module is used for receiving a storage request, wherein the storage request is sent after the page element data is configured by a target user;
the storage module is used for judging whether other users have configured the page metadata in the process of configuring the page metadata by the target user, if so, combining the page metadata configured by the target user with the page metadata configured by the other users to obtain combined page metadata, and storing the combined page metadata;
the saving module comprises:
a determination unit configured to: when the target user acquires the page metadata to configure the page metadata, recording the latest configured time T0 of the page metadata from the current moment; when the saving request is received, recording the latest configured time T1 from the current time of the page metadata except the time configured by the target user; judging whether T0 is equal to T1, if so, determining that no other user has configured the page metadata in the process of configuring the page metadata by the target user, and if not, determining that other user has configured the page metadata in the process of configuring the page metadata by the target user;
the apparatus is further configured to:
and when the page metadata is stored each time, storing the time for storing the page metadata as the configured time of the page metadata at this time for obtaining.
6. The apparatus of claim 5, wherein the saving module comprises:
a saving unit configured to: comparing the page metadata with the page metadata configured by the target user to obtain a changed part as a first configuration, and comparing the page metadata with the page metadata configured by other users to obtain a changed part as a second configuration; and merging the first configuration and the second configuration to obtain merged configuration, and merging the page metadata to obtain the merged page metadata.
7. The apparatus of claim 6, wherein the saving unit comprises:
a merging unit, configured to reserve a conflict configuration part according to a preset principle by taking the first configuration and/or the second configuration as a criterion if the conflict configuration part exists between the first configuration and the second configuration, and mark a conflict existing in the conflict configuration part to indicate an external boundary to resolve the conflict.
8. The apparatus of claim 7, wherein the merging unit comprises:
a merging subunit to: if the first configuration and the second configuration are both used for adding the content of the conflict configuration part, simultaneously reserving the content addition of the first configuration and the second configuration on the conflict configuration part; if the first configuration and the second configuration are both content modification of the conflict configuration part, reserving the content modification of the conflict configuration part by the first configuration; and if either one of the first configuration and the second configuration is configured to delete the content of the conflict configuration part, and the other configuration is configured to modify the content of the conflict configuration part, keeping the content modification of the conflict configuration part.
CN201611192637.0A 2016-12-21 2016-12-21 Method and device for storing page metadata Active CN106708521B (en)

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 CN106708521A (en) 2017-05-24
CN106708521B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
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 (4)

* Cited by examiner, † Cited by third party
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9606968B2 (en) * 2015-04-28 2017-03-28 Workiva Inc. Footnote formatting and layout of multi-section documents

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN106708521A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US10417186B2 (en) File migration method and apparatus, and storage device
US8965840B2 (en) Automatic synchronization conflict resolution
US11347933B1 (en) Distributed collaborative storage with operational transformation
US9652446B2 (en) Automatically adjusting spreadsheet formulas and/or formatting
US9756002B2 (en) Systems and methods for email attachments management
US11226932B2 (en) Collections for storage artifacts of a tree structured repository established via artifact metadata
CN107016047A (en) Document query, document storing method and device
CN103577483B (en) The method and system of date storage method and system and data access
JP6312330B2 (en) Document synchronization method, computer program, and recording medium therefor
CN108573019B (en) Data migration method and device, electronic equipment and readable storage medium
CN106874281A (en) Realize the method and apparatus that data base read-write is separate
US20140052734A1 (en) Computing device and method for creating data indexes for big data
CN106708521B (en) Method and device for storing page metadata
WO2020211233A1 (en) Method and device for batch data editing, computer device, and storage medium
CN107992763B (en) Power failure protection method and device for file system
CN108573015B (en) Method and device for changing table format, electronic equipment and readable storage medium
US9922035B1 (en) Data retention system for a distributed file system
CN111309799A (en) Method, device and system for realizing data merging and storage medium
JP4630691B2 (en) Database apparatus and processing method thereof
US20230195582A1 (en) Rolling back a database transaction
KR20170042956A (en) Mind map server, system and method for serving mind map of using the same
CN114238507A (en) Data synchronization method and device based on multiple databases
CN111125743B (en) Authority management method, system, computer device and computer readable storage medium
CN114817218A (en) Data verification method and system, electronic device and readable storage medium
CN116821232A (en) Data synchronization method and related device

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