CN108255434B - Label management method, management device and computer readable storage medium - Google Patents

Label management method, management device and computer readable storage medium Download PDF

Info

Publication number
CN108255434B
CN108255434B CN201810036305.6A CN201810036305A CN108255434B CN 108255434 B CN108255434 B CN 108255434B CN 201810036305 A CN201810036305 A CN 201810036305A CN 108255434 B CN108255434 B CN 108255434B
Authority
CN
China
Prior art keywords
tag
resource
label
data
storage space
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
CN201810036305.6A
Other languages
Chinese (zh)
Other versions
CN108255434A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing 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 Tencent Technology Shenzhen Co Ltd, Tencent Cloud Computing Beijing Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810036305.6A priority Critical patent/CN108255434B/en
Publication of CN108255434A publication Critical patent/CN108255434A/en
Application granted granted Critical
Publication of CN108255434B publication Critical patent/CN108255434B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a label management method, which comprises the steps of receiving a label data management instruction and determining a receiving port of the label data management instruction; if the receiving port is a uniform label port, executing a label data management instruction in the uniform label data storage space so as to manage the label data in the uniform label data storage space and obtain first label data management information; transmitting the first tag data management information to a service tag data storage space of a corresponding area; and according to the first label data management information, performing synchronous operation on the label data in the service label data storage space so as to output the label data after the synchronous operation from the corresponding service label interface. The invention also provides a label management device, which effectively improves the reading efficiency and the storage efficiency of the label data.

Description

Label management method, management device and computer readable storage medium
Technical Field
The present invention relates to the field of internet, and in particular, to a tag management method, a tag management apparatus, and a computer-readable storage medium.
Background
At present, in Cloud products, such as a Cloud server of the aristoloc or a VPC (Virtual Private Cloud), the amazon Cloud supports a function of storing a corresponding tag. The usage scenarios of the tag include a resource authentication based on the tag, a life cycle management based on the tag, a log management based on the tag, and the like.
However, the existing tag data is stored uniformly by the uniform tag storage server, and the specific services corresponding to the tag data are distributed on the service tag storage servers in many areas, so the tag data stored by the uniform tag storage server needs to be synchronized to the service tag storage servers in each area at regular time.
However, the management page of the unified tag storage server is generally a direct storage operation and a direct reading operation, that is, the tag data stored on the unified tag storage server can be immediately reflected from the management console of the unified tag storage server. However, a certain time is required for synchronizing the tag data on the uniform tag storage server to the service tag storage servers in each area, which causes a phenomenon that a user accesses the tag data to the service tag storage server in the corresponding area immediately after setting the tag data on the uniform tag storage server, and thus the tag data access fails. Therefore, the conventional tag management method and management apparatus are inefficient in reading and storing tag data.
Disclosure of Invention
The embodiment of the invention provides a tag management method and a tag management device with high tag data reading efficiency and storage efficiency, and aims to solve the technical problem that the tag data reading efficiency and the storage efficiency are low in the conventional tag management method and the conventional tag management device.
The embodiment of the invention provides a label management method, which comprises the following steps:
receiving a tag data management instruction, and determining a receiving port of the tag data management instruction;
if the receiving port is a uniform label port, executing the label data management instruction in a uniform label data storage space so as to manage the label data in the uniform label data storage space and obtain first label data management information;
transmitting the first tag data management information to a service tag data storage space of a corresponding area; and
and performing synchronous operation on the tag data in the service tag data storage space according to the first tag data management information so as to output the tag data after the synchronous operation from the corresponding service tag interface.
An embodiment of the present invention further provides a tag management apparatus, which includes:
the receiving port determining module is used for receiving the label data management instruction and determining a receiving port of the label data management instruction;
the first management operation module is used for executing the label data management instruction in a unified label data storage space if the receiving port is a unified label port so as to perform management operation on the label data in the unified label data storage space and obtain first label data management information;
the first transmission module is used for transmitting the first label data management information to a service label data storage space of a corresponding area; and
and the first synchronization module is used for performing synchronization operation on the tag data in the service tag data storage space according to the first tag data management information so as to output the tag data after the synchronization operation from the corresponding service tag interface.
In the tag management apparatus according to the embodiment of the present invention, a resource-tag association table is stored in the uniform tag data storage space;
the first read-write module comprises:
a first tag data reading unit, configured to, when performing a read operation on tag data in the unified tag data storage space, use the first tag resource to search a location of corresponding tag data in the resource-tag association table, and perform a read operation on the tag data; and
and the first tag data writing unit is used for setting corresponding tag data by using the first tag resource and setting corresponding resource-tag association information in the resource-tag association table when writing operation is performed on the tag data in the unified tag data storage space.
In the tag management apparatus according to the embodiment of the present invention, a resource-resource number association table, a resource number-tag number association table, and a tag number-tag association table are stored in the service tag data storage space;
the second read-write module includes:
a resource number searching unit, configured to search, when performing a read operation on the tag data in the service tag data storage space, a corresponding resource number in the resource-resource number association table by using the second tag resource;
a tag number searching unit, configured to search, by using the resource number, a corresponding tag number in the resource number-tag number association table;
a second tag data reading unit, configured to search, by using a tag number, a position of corresponding tag data in the tag number-tag association table, and perform a reading operation on the tag data;
a second tag data writing unit, configured to set, when performing a write operation on tag data in the service tag data storage space, corresponding tag data using the second tag resource;
a resource-resource number association information setting unit, configured to perform a coding operation on the second tag resource by using a first setting algorithm to obtain a resource number corresponding to the second tag resource, and set corresponding resource-resource number association information in the resource-resource number association table;
a tag number-tag association information setting unit, configured to perform an encoding operation on the tag data by using a second setting algorithm to obtain a tag number corresponding to the tag data, and set corresponding tag number-tag association information in the tag number-tag association table; and
and the resource number-label number association information setting unit is used for setting corresponding resource number-label number association information in the resource number-label number association table by using the resource number and the label number.
In the tag management apparatus according to the embodiment of the present invention, a resource-tag conflict table for storing the second tag resource and corresponding tag data is further stored in the service tag data storage space;
the second read-write module includes:
a first tag conflict searching unit, configured to search, when performing a read operation on tag data in the service tag data storage space, a location of corresponding tag data in the resource-tag conflict table by using the second tag resource;
a conflict tag data reading unit, configured to, if the corresponding tag data is found in the resource-tag conflict table, perform a read operation on the tag data;
a resource number searching unit, configured to search, if no corresponding tag data is found in the resource-tag conflict table, a corresponding resource number in the resource-resource number association table by using the second tag resource;
a tag number searching unit, configured to search, by using the resource number, a corresponding tag number in the resource number-tag number association table;
a second tag data reading unit, configured to search, by using a tag number, a position of corresponding tag data in the tag number-tag association table, and perform a reading operation on the tag data;
a second tag data writing unit, configured to set, when performing a write operation on tag data in the service tag data storage space, corresponding tag data using the second tag resource;
a resource-tag association information setting unit, configured to perform a coding operation on the second tag resource by using a first setting algorithm to obtain a resource number corresponding to the second tag resource, and search the resource number in the resource-resource number association table; if the resource number is found in the resource-resource number association table, setting corresponding resource-label association information in the resource-label conflict table;
a resource-resource number association information setting unit, configured to perform a coding operation on the second tag resource by using a first setting algorithm to obtain a resource number corresponding to the second tag resource, and search the resource number in the resource-resource number association table; if the resource number is not found in the resource-resource number association table, setting corresponding resource-resource number association information in the resource-resource number association table;
a tag number-tag association information setting unit, configured to perform an encoding operation on the tag data by using a second setting algorithm to obtain a tag number corresponding to the tag data, and set corresponding tag number-tag association information in the tag number-tag association table; and
and the resource number-label number association information setting unit is used for setting corresponding resource number-label number association information in the resource number-label number association table by using the resource number and the label number.
Embodiments of the present invention also provide a computer-readable storage medium having stored therein processor-executable instructions, which are loaded by one or more processors to perform the above-mentioned tag management method.
Compared with the prior art, the label management method, the management device and the computer readable storage medium provided by the invention have the advantages that the label data storage space is divided into the uniform label data storage space and the service label data storage space, and the uniform label data storage space and the service label data storage space adopt different label data management modes and label data read-write operation modes, so that the reading efficiency and the storage efficiency of label data are effectively improved; the technical problems that the reading efficiency and the storage efficiency of label data in the conventional label management method and the conventional label management device are low are solved.
Drawings
Fig. 1 is a schematic structural diagram of a tag storage server system corresponding to a tag management method and a tag management apparatus according to the present invention;
FIG. 2 is a flow chart of a first embodiment of a tag management method of the present invention;
FIG. 3 is a flow chart of a second embodiment of a tag management method of the present invention;
fig. 4 is a flowchart of performing read/write operations on tag data in the uniform tag data storage space in the tag management method according to the present invention;
fig. 5 is a flowchart of a read operation performed on tag data in a service tag data storage space in the tag management method according to the present invention;
fig. 6 is a flowchart of a write operation performed on tag data in a service tag data storage space in the tag management method according to the present invention;
fig. 7 is another flowchart of a read operation performed on tag data in a service tag data storage space in the tag management method according to the present invention;
fig. 8 is another flowchart of the write operation performed on the tag data in the service tag data storage space in the tag management method according to the present invention;
FIG. 9 is a schematic structural diagram of a first embodiment of a label management device according to the present invention;
FIG. 10 is a schematic structural diagram of a second embodiment of a label management device according to the present invention;
FIG. 11 is a schematic structural diagram of a first read/write module of the tag management apparatus according to the present invention;
FIG. 12 is a diagram illustrating a second read/write module of the tag management apparatus according to the present invention;
FIG. 13 is a schematic diagram of another structure of a second read/write module of the tag management apparatus of the present invention;
fig. 14 is a schematic structural diagram of a tag storage server system corresponding to the tag management method and the tag management apparatus of the present invention;
fig. 15 is a schematic view of a working environment structure of an electronic device in which the tag management apparatus of the present invention is located.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
In the description that follows, embodiments of the invention are described with reference to steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that those steps and operations, which are referred to herein several times as being computer-executed, include being manipulated by a computer processing unit in the form of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific details shown, since one skilled in the art will recognize that various steps and operations described below may be implemented in hardware.
The label management method and the label management device can be arranged in any electronic equipment and are used for carrying out management operation and read-write operation on label data. The electronic devices include, but are not limited to, wearable devices, head-worn devices, medical health platforms, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The electronic device is preferably a tag data storage server system so that a user can perform efficient reading and storing operations of tag data.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a tag storage server system corresponding to a tag management method and a tag management apparatus according to the present invention. The tag storage server system 10 includes at least one unified tag storage server 11 having a unified tag data storage space provided in a main machine room and a plurality of service tag storage servers 12 having a service tag storage space provided in a cloud machine room. Wherein the unified tag storage server 11 has a unified tag interface 111 for receiving and sending tag data management instructions, the service tag storage server 12 has a service tag interface 121 for receiving and sending tag data management instructions, and the unified tag storage server 11 is connected with all the service tag storage servers 12.
The label data on all the service label storage servers 12 are synchronized to the uniform label storage server 11, so that an administrator of the uniform label storage server 11 can uniformly manage the label data through the uniform label interface 111; the tag data on the uniform tag storage server 11 will also be synchronized to the corresponding service tag storage server 12, so that the user of the service tag storage server 12 can conveniently and quickly find the corresponding tag data through the service tag interface 121. The label data in the uniform label storage server 11 is usually used by an administrator to manage the label data, and the use frequency and the failure rate are low; the tag data in the service tag storage server 12 is usually used by the user to search the corresponding tag data by using the resource data, and the use frequency and the failure rate are high.
Referring to fig. 2, fig. 2 is a flowchart illustrating a tag management method according to a first embodiment of the present invention. The tag management method of this embodiment may be implemented using the electronic device, and is preferably implemented using a tag data storage server system, where the tag management method of this embodiment includes:
step S201, receiving a tag data management instruction, and determining a receiving port of the tag data management instruction;
step S202, if the receiving port is a uniform label port, executing a label data management instruction in the uniform label data storage space to manage the label data in the uniform label data storage space and obtain first label data management information;
step S203, transmitting the first label data management information to a service label data storage space of a corresponding area;
step S204, according to the first label data management information, the label data in the service label data storage space is synchronized, so that the label data after the synchronization operation is output from the corresponding service label interface.
The following describes in detail the tag management process of the tag management method of the embodiment of the present invention.
In step S201, a tag management apparatus (e.g., a tag data storage server system) receives a tag data management instruction. The tag data management instruction is an instruction for performing management operation on tag data stored in the tag management device, wherein the management operation includes, but is not limited to, creation of the tag data, association of the tag data and resource data, life cycle management of the tag data, authority management of the tag data, display of the tag data, and the like.
Creation of tag data herein refers to definition of data of a tag, e.g., tag data may include two parts, key and value. The association of the tag data and the resource data refers to setting corresponding tag data for the resource data so that a user can quickly know the attribute of the resource data through the tag data. The life cycle management of the tag data refers to a time when the tag data manages the corresponding resource data. The authority management of the tag data refers to access authority management of the tag data. The display of the tag data refers to a display mode of the tag data, such as hiding certain parameters of the tag data.
And then the label management device determines a receiving port for receiving the label data management instruction, such as a uniform label interface of the uniform label storage server or a service label interface of the service label storage server.
In step S202, if the receiving port of the tag data management instruction is a unified tag port, the tag management apparatus executes the tag data management instruction in the unified tag data storage space to perform a management operation on the tag data in the unified tag data storage space, such as creating the tag data.
And then the label management device acquires first label data management information according to the change condition of the label data in the unified label data storage space. The first tag data management information is information for recording a change situation of the tag data before and after executing the tag data management command in the unified tag data storage space.
In step S203, the tag management apparatus transmits the first tag data management information acquired in step S202 to the service tag data storage space of the corresponding area, so as to synchronize the change condition of the tag data in the uniform tag data storage space to the service tag data storage space of the corresponding area.
Specifically, the first tag data management information may be transmitted to the service tag data storage space of the corresponding area through the synchronization message queue.
In step S204, the tag management apparatus performs a synchronization operation on the tag data in the service tag data storage space according to the first tag data management information obtained in step S203, so as to output the tag data after the synchronization operation from the corresponding service tag interface, so that the user can use the resource data to find the corresponding tag data in the service tag data storage space in time.
This completes the tag data management process of the tag management method of the present embodiment.
Referring to fig. 3, fig. 3 is a flowchart illustrating a tag management method according to a second embodiment of the present invention. The tag management method of this embodiment may be implemented using the electronic device, and is preferably implemented using a tag data storage server system, where the tag management method of this embodiment includes:
step S301, receiving a tag data management instruction, and determining a receiving port of the tag data management instruction;
step S302, if the receiving port is a service label interface, executing a label data management instruction in the service label data storage space to perform management operation on the label data in the uniform label data storage space and obtain second label data management information;
step S303, transmitting the second label data management information to the unified label data storage space;
and step S304, according to the second label data management information, performing synchronous operation on the label data in the unified label data storage space so as to output the label data after the synchronous operation from the unified label port.
The following describes in detail the tag management process of the tag management method of the embodiment of the present invention.
In step S301, a tag management apparatus (e.g., a tag data storage server system) receives a tag data management instruction. The tag data management instruction is an instruction for performing management operation on tag data stored in the tag management device, wherein the management operation includes, but is not limited to, creation of the tag data, association of the tag data and resource data, life cycle management of the tag data, authority management of the tag data, display of the tag data, and the like.
Creation of tag data herein refers to definition of data of a tag, e.g., tag data may include two parts, key and value. The association of the tag data and the resource data refers to setting corresponding tag data for the resource data so that a user can quickly know the attribute of the resource data through the tag data. The life cycle management of the tag data refers to a time when the tag data manages the corresponding resource data. The authority management of the tag data refers to access authority management of the tag data. The display of the tag data refers to a display mode of the tag data, such as hiding certain parameters of the tag data.
And then the label management device determines a receiving port for receiving the label data management instruction, such as a uniform label interface of the uniform label storage server or a service label interface of the service label storage server.
In step S302, if the receiving port of the tag data management instruction is a service tag interface, the tag management apparatus executes the tag data management instruction in the service tag data storage space to perform a management operation on the tag data in the service tag data storage space, such as creating the tag data.
And then the label management device acquires second label data management information according to the change condition of the label data in the service label data storage space. The second tag data management information is information recording a change situation of the tag data before and after executing the tag data management command in the service tag data storage space.
In step S303, the tag management apparatus transmits the second tag data management information acquired in step S302 to the unified tag data storage space so as to synchronize the change condition of the tag data in the service tag data storage space to the unified tag data storage space.
Specifically, the second tag data management information may be transmitted to the unified tag data storage space through a synchronization message queue.
In step S304, the tag management apparatus performs a synchronization operation on the tag data in the uniform tag data storage space according to the second tag data management information obtained in step S303, so as to output the tag data after the synchronization operation from the corresponding uniform tag port, so that an administrator can conveniently perform a management operation on the tag data in the uniform tag data storage space using the resource data.
This completes the tag data management process of the tag management method of the present embodiment.
Through the above tag data management process, the tag management method of this embodiment may perform read-write operation on the tag data in the unified tag data storage space through the unified tag port by using the first tag resource (resource data), for example, setting the tag data corresponding to the first tag resource. Or, through the service tag interface, the second tag resource (resource data) is used to perform read-write operation on the tag data in the service tag data storage space, for example, tag data corresponding to the second tag resource is set. The first tag resource is resource data for performing tag data read-write operation through the uniform tag port, and the second tag resource is resource data for performing tag data read-write operation through the service tag interface.
In the tag management method of this embodiment, the tag data storage space is divided into the uniform tag data storage space and the service tag data storage space, and a user can select to perform a tag data reading operation from the uniform tag data storage space or the service tag data storage space nearby, so that the reading efficiency and the storage efficiency of the tag data in the uniform tag data storage space or the service tag data storage space are ensured for the user.
Meanwhile, label data management information is transmitted between the unified label data storage space and the service label data storage space through a synchronous message queue, so that the label data in the unified label data storage space and the service label data storage space are synchronized, and the final consistency of the label data in the unified label data storage space and the service label data storage space is ensured.
Referring to fig. 4, fig. 4 is a flowchart illustrating a read/write operation performed on tag data in a uniform tag data storage space according to a tag management method of the present invention. The read-write operation flow of this embodiment is preferably implemented by using a uniform tag storage server of the tag data storage server system, and a resource-tag association table is stored in a uniform tag data storage space of the tag data storage server system of this embodiment, where the resource-tag association table is an association data table that records a first tag resource and a position corresponding to tag data.
The read-write operation flow of this embodiment includes:
step S401, when reading the tag data in the uniform tag data storage space, firstly, the tag management device obtains a tag data management instruction with a first tag resource through a uniform tag port; and then the label management device uses the first label resource to look up the position of the corresponding label data in the resource-label association table, and reads the label data.
Step S402, when writing operation is carried out on the label data in the uniform label data storage space, firstly, a label management device obtains a label data management instruction with a first label resource and corresponding label data through a uniform label port; and then the label management device sets corresponding label data by using the first label resource and sets corresponding resource-label association information in the resource-label association table.
Thus, the read-write operation of the tag data in the unified tag data storage space of the embodiment is completed
The unified tag storage server of the tag data storage server system has higher stability of reading operation of tag data under the condition of low-frequency reading operation of the tag data, and is suitable for an administrator to manage and operate the tag data in the unified tag storage server.
Referring to fig. 5 and fig. 6, fig. 5 is a flowchart illustrating a read operation performed on tag data in a service tag data storage space in a tag management method according to the present invention, and fig. 6 is a flowchart illustrating a write operation performed on tag data in a service tag data storage space in a tag management method according to the present invention. The read-write operation flow of this embodiment is preferably implemented by using a service tag storage server of a tag data storage server system, and a resource-resource number association table, a resource number-tag number association table, and a tag number-tag association table are stored in a service tag data storage space of the tag data storage server system of this embodiment.
The resource-resource number association table is used for recording the association data table of the second label resource and the second label resource number. The second label resource can be encoded by using a first setting algorithm, such as md5 algorithm or sha algorithm, to obtain a second label resource number with a fixed length. The second label resource may include information such as a resource service name, a resource service type, a resource location area, and a resource identifier.
The tag number-tag association table is used for recording tag data corresponding to the second tag resource and an association data table of the corresponding tag number. The tag data may be encoded using a second set algorithm, such as md5 algorithm or sha algorithm, to obtain a fixed-length tag number. Wherein the tag data includes two parts of key and value.
The resource number-tag number association table is used for recording the association data table of the second tag resource number and the corresponding tag number.
The read operation flow of this embodiment includes:
step S501, when reading the tag data in the service tag data storage space, firstly, the tag management device obtains a tag data management instruction with a second tag resource through a service tag interface; then the label management device uses the second label resource to search the corresponding resource number in the resource-resource number association table, so as to obtain the fixed-length resource number corresponding to the second label resource;
step S502, the label management device uses the resource number obtained in step S501 to search the corresponding label number in the resource number-label number association table, so as to obtain the fixed-length label number corresponding to the second label resource;
in step S503, the tag management apparatus searches the tag number-tag association table for the corresponding location of the tag data using the tag number acquired in step S502, and performs a read operation on the tag data.
The write operation flow of the embodiment includes:
step S601, when writing operation is carried out on the tag data in the service tag data storage space, firstly, a tag management device obtains a tag data management instruction with a second tag resource and corresponding tag data through a service tag interface; then the label management device uses the second label resource to set the corresponding label data;
step S602, the tag management device uses a first setting algorithm to perform coding operation on the second tag resource obtained in step S601 so as to obtain a resource number corresponding to the second tag resource, and sets corresponding resource-resource number association information in a resource-resource number association table;
step S603, the tag management apparatus performs an encoding operation on the tag data obtained in step S601 using a second setting algorithm to obtain a tag number corresponding to the tag data, and sets corresponding tag number-tag association information in a tag number-tag association table;
in step S604, the tag management apparatus sets the corresponding resource number-tag number association information in the resource number-tag number association table using the resource number acquired in step S602 and the tag number acquired in step S603.
Thus, the reading and writing operations of the tag data in the service tag data storage space of the embodiment are completed.
The service label storage server of the label data storage server system associates the corresponding second label resource and the corresponding label data by setting the label number and the resource number with fixed lengths, and since one label number can correspond to a plurality of resource numbers and one resource number can also correspond to a plurality of label numbers, the setting amount of the second label resource and the label data can be reduced by setting a plurality of label numbers and resource numbers, so that under the condition of improving the reading operation of the label data with high frequency, the reading efficiency and the storage efficiency of the label data in the service label data storage space are improved, and the user is used for managing the label data in the service label storage server.
Referring to fig. 7 and 8, fig. 7 is another flowchart illustrating a read operation performed on tag data in a service tag data storage space in the tag management method of the present invention, and fig. 8 is another flowchart illustrating a write operation performed on tag data in a service tag data storage space in the tag management method of the present invention. The read-write operation flow of this embodiment is preferably implemented by using a service tag storage server of a tag data storage server system, and a resource-resource number association table, a resource number-tag number association table, a tag number-tag association table, and a resource-tag conflict table are stored in a service tag data storage space of the tag data storage server system of this embodiment.
The resource-resource number association table is used for recording the association data table of the second label resource and the second label resource number. The tag number-tag association table is used for recording tag data corresponding to the second tag resource and an association data table of the corresponding tag number. The resource number-tag number association table is used for recording the association data table of the second tag resource number and the corresponding tag number. The resource-label conflict table is used for recording conflict resources in the second label resources and an associated data table of corresponding label data. The conflicted resource in the second tagged resource herein refers to the second tagged resource having the same resource number.
The read operation flow of this embodiment includes:
step S701, when reading the tag data in the service tag data storage space, firstly, the tag management device obtains a tag data management instruction with a second tag resource through a service tag interface; then the label management device uses the second label resource to search corresponding label data in the resource-label conflict table;
step S702, judging whether corresponding label data is found in the resource-label conflict table; if the corresponding tag data is found in the resource-tag conflict table, go to step S703; if the corresponding tag data is not found in the resource-tag conflict table, go to step S704;
step S703, since the tag data corresponding to the second tag resource exists in the resource-tag conflict table, it indicates that the second tag resource may have the same resource number as other second tag resources, and therefore the tag management device directly performs a read operation on the tag data according to the position of the tag data in the resource-tag conflict table;
step S704, since there is no tag data corresponding to the second tag resource in the resource-tag conflict table, it indicates that the resource number of the second tag resource is unique in the resource-resource number association table, and therefore the tag management device uses the second tag resource to search for the corresponding resource number in the resource-resource number association table, thereby obtaining the fixed-length resource number corresponding to the second tag resource;
step S705, the tag management apparatus uses the resource number obtained in step S704 to search a corresponding tag number in the resource number-tag number association table, so as to obtain a fixed-length tag number corresponding to the second tag resource;
in step S706, the tag management apparatus searches the corresponding tag data location in the tag number-tag association table using the tag number acquired in step S705, and performs a read operation on the tag data.
The write operation flow of the embodiment includes:
step S801, when writing operation is carried out on the tag data in the service tag data storage space, firstly, a tag management device obtains a tag data management instruction with a second tag resource and corresponding tag data through a service tag interface; then the label management device uses the second label resource to set the corresponding label data;
step S802, the label management device uses a first setting algorithm to perform coding operation on the second label resource obtained in step S801 so as to obtain a resource number corresponding to the second label resource, and searches the resource number in a resource-resource number association table;
step S803, judge whether find out the resource number in the resource-resource number association table; if the corresponding label data is found in the resource-resource number association table, go to step S804; if the corresponding tag data is not found in the resource-resource number association table, go to step S805;
step S804, since the resource-resource number association table already has corresponding tag data, it indicates that the second tag resource conflicts with the resource numbers of other second tag resources, and therefore the tag management apparatus directly sets the resource-tag association information of the second tag resource and the corresponding tag in the resource-tag conflict table;
step S805, since there is no corresponding tag data in the resource-resource number association table, it indicates that the resource number of the second tagged resource is unique in the resource-resource number association table, and therefore the tag management device sets corresponding resource-resource number association information in the resource-resource number association table;
step S806, the tag management apparatus performs an encoding operation on the tag data obtained in step S801 by using a second setting algorithm to obtain a tag number corresponding to the tag data, and sets corresponding tag number-tag association information in a tag number-tag association table;
in step S807, the tag management apparatus sets the corresponding resource number-tag number association information in the resource number-tag number association table using the resource number acquired in step S802 and the tag number acquired in step S806.
Thus, the reading and writing operations of the tag data in the service tag data storage space of the embodiment are completed.
The resource-tag conflict table in this embodiment is configured to solve a problem that tag data of a second tag resource may be in error when a resource number corresponding to the second tag resource is repeated, and further improve reading efficiency and storage efficiency of the tag data in the service tag data storage space.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a tag management apparatus according to a first embodiment of the present invention. The tag management apparatus of this embodiment can be implemented by using the first embodiment of the tag management method, and the tag management apparatus 90 of this embodiment includes a receiving port determining module 91, a first management operating module 92, a first transmitting module 93, a first synchronizing module 94, and a first reading/writing module 95.
The receiving port determining module 91 is configured to receive a tag data management instruction and determine a receiving port of the tag data management instruction; the first management operation module 92 is configured to execute a tag data management instruction in the unified tag data storage space if the receiving port is a unified tag port, so as to perform management operation on tag data in the unified tag data storage space and obtain first tag data management information; the first transmission module 93 is configured to transmit the first tag data management information to a service tag data storage space of a corresponding area; the first synchronization module 94 is configured to perform synchronization operation on the tag data in the service tag data storage space according to the first tag data management information, so as to output the tag data after the synchronization operation from the corresponding service tag interface; the first read/write module 95 is configured to perform read/write operations on the tag data in the uniform tag data storage space through the uniform tag port by using the first tag resource.
The process of performing label management by the label management apparatus 90 of the present embodiment includes:
first, the receiving port determination module 91 receives a tag data management instruction. The tag data management instruction is an instruction for performing management operation on tag data stored in the tag management device, wherein the management operation includes, but is not limited to, creation of the tag data, association of the tag data and resource data, life cycle management of the tag data, authority management of the tag data, display of the tag data, and the like.
The receiving port determining module 91 then determines the receiving port that receives the tag data management instruction, such as a uniform tag interface of a uniform tag storage server or a service tag interface of a service tag storage server.
Then, if the receiving port of the tag data management instruction is a unified tag port, the first management operation module 92 executes the tag data management instruction in the unified tag data storage space to perform a management operation on the tag data in the unified tag data storage space, such as creating the tag data.
Then, the first management operation module 92 acquires the first tag data management information according to the change condition of the tag data in the unified tag data storage space. The first tag data management information is information for recording a change situation of the tag data before and after executing the tag data management command in the unified tag data storage space.
Then, the first transmission module 93 transmits the first tag data management information acquired by the first management operation module 92 to the service tag data storage space of the corresponding area, so as to synchronize the change condition of the tag data in the uniform tag data storage space to the service tag data storage space of the corresponding area.
Specifically, here, the first transmission module 93 may transmit the first tag data management information to the service tag data storage space of the corresponding area through the synchronization message queue.
Finally, the first synchronization module 94 performs synchronization operation on the tag data in the service tag data storage space according to the first tag data management information acquired by the first transmission module 93, so as to output the tag data after the synchronization operation from the corresponding service tag interface, so that the user can use the resource data to search the corresponding tag data in the service tag data storage space in time.
This completes the tag data management process of the tag management apparatus 90 of the present embodiment.
Through the above tag data management process, the first read/write module 95 of the tag management apparatus 90 of this embodiment can perform read/write operation on the tag data in the unified tag data storage space through the unified tag port by using the first tag resource (resource data), for example, setting the tag data corresponding to the first tag resource. The first tag resource is resource data for performing tag data read-write operation through the uniform tag port.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a label management device according to a second embodiment of the present invention. The tag management apparatus of this embodiment may be implemented using the second embodiment of the tag management method, and the tag management apparatus 100 of this embodiment includes a receiving port determining module 101, a second management operating module 102, a second transmitting module 103, a second synchronizing module 104, and a second reading/writing module 105.
The receiving port determining module 101 is configured to receive a tag data management instruction and determine a receiving port of the tag data management instruction; the first management operation module 102 is configured to execute a tag management instruction in the service tag data storage space if the receiving port is a service tag interface, so as to perform management operation on tag data in the service tag data storage space and obtain second tag data management information; the second transmission module 103 is configured to transmit the second tag data management information to the unified tag data storage space; the second synchronization module 104 is configured to perform a synchronization operation on the tag data in the uniform tag data storage space according to the second tag data management information, so as to output the tag data after the synchronization operation from the uniform tag port; the second read/write module 105 is configured to perform, through the service tag interface, a read/write operation on the tag data in the service tag data storage space by using a second tag resource.
The process of performing label management by the label management apparatus 100 of the present embodiment includes:
first, the receiving port determination module 101 receives a tag data management instruction. The tag data management instruction is an instruction for performing management operation on tag data stored in the tag management device, wherein the management operation includes, but is not limited to, creation of the tag data, association of the tag data and resource data, life cycle management of the tag data, authority management of the tag data, display of the tag data, and the like.
Subsequently, the receiving port determining module 101 determines a receiving port, such as a uniform tag interface of a uniform tag storage server or a service tag interface of a service tag storage server, which receives the tag data management instruction.
Then, if the receiving port of the tag data management instruction is a service tag interface, the second management operation module 102 executes the tag data management instruction in the service tag data storage space, so as to perform management operation on the tag data in the service tag data storage space, such as creating tag data.
Then, the second management operation module 102 obtains second tag data management information according to a change condition of the tag data in the service tag data storage space. The second tag data management information is information recording a change situation of the tag data before and after executing the tag data management command in the service tag data storage space.
Then, the second transmission module 103 transmits the second label data management information acquired by the second management operation module 102 to the unified label data storage space, so as to synchronize the change condition of the label data in the service label data storage space to the unified label data storage space.
Specifically, here, the second transmission module 103 may transmit the second tag data management information to the unified tag data storage space through the synchronization message queue.
Finally, the second synchronization module 104 performs a synchronization operation on the tag data in the uniform tag data storage space according to the second tag data management information acquired by the second transmission module 103, so as to output the tag data after the synchronization operation from the corresponding uniform tag port, and thus, an administrator can use the resource data to perform a management operation on the tag data in the uniform tag data storage space conveniently.
This completes the tag data management process of the tag management apparatus 100 of the present embodiment.
Through the above tag data management process, the first read-write module 105 of the tag management apparatus 100 of this embodiment can perform read-write operation on the tag data in the service tag data storage space by using the second tag resource (resource data) through the service tag interface, for example, setting the tag data corresponding to the second tag resource. The second label resource is resource data for performing label data read-write operation through the service label interface.
The tag management device of this embodiment divides the tag data storage space into the uniform tag data storage space and the service tag data storage space, so that the user can select to read the tag data from the uniform tag data storage space or the service tag data storage space nearby, thereby ensuring the reading efficiency and the storage efficiency of the tag data in the uniform tag data storage space or the service tag data storage space.
Meanwhile, label data management information is transmitted between the unified label data storage space and the service label data storage space through a synchronous message queue, so that the label data in the unified label data storage space and the service label data storage space are synchronized, and the final consistency of the label data in the unified label data storage space and the service label data storage space is ensured.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a first read/write module of the tag management apparatus of the present invention. The first read/write module 110 of the present embodiment includes a first tag data reading unit 111 and a first tag data writing unit 112.
The first tag data reading unit 111 is configured to, when performing a read operation on tag data in the unified tag data storage space, use a first tag resource to search a location of corresponding tag data in the resource-tag association table, and perform a read operation on the tag data; the first tag data writing unit 112 is configured to set, when performing a write operation on tag data in the unified tag data storage space, corresponding tag data using the first tag resource, and set corresponding resource-tag association information in the resource-tag association table.
The read-write operation flow of the tag data in the first read-write module 110 of this embodiment is preferably implemented by using a unified tag storage server of a tag data storage server system, where a resource-tag association table is stored in a unified tag data storage space of the tag data storage server system of this embodiment, and the resource-tag association table is an association data table recording the first tag resource and the position of the corresponding tag data.
The read-write operation flow of the first read-write module 110 of this embodiment includes:
when reading the tag data in the uniform tag data storage space, first, the first tag data reading unit 111 of the first read-write module 95 obtains a tag data management instruction with a first tag resource through the uniform tag port; subsequently, the first tag data reading unit 111 uses the first tag resource to look up the location of the corresponding tag data in the resource-tag association table, and performs a reading operation on the tag data.
When writing the tag data in the uniform tag data storage space, first, the first tag data writing unit 112 of the first read-write module 95 obtains a tag data management instruction having a first tag resource and corresponding tag data through the uniform tag port; subsequently, the first tag data writing unit 112 sets corresponding tag data using the first tag resource, and sets corresponding resource-tag association information in the resource-tag association table.
Thus, the first read-write module 110 of the present embodiment performs the read-write operation on the tag data in the unified tag data storage space
The unified tag storage server of the tag data storage server system has higher stability of reading operation of tag data under the condition of low-frequency reading operation of the tag data, and is suitable for an administrator to manage and operate the tag data in the unified tag storage server.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a second read/write module of the tag management device of the present invention. The second read/write module 120 of this embodiment includes a resource number search unit 121, a tag number search unit 122, a second tag data read unit 123, a second tag data write unit 124, a resource-resource number associated information setting unit 125, a tag number-tag associated information setting unit 126, and a resource number-tag number associated information setting unit 127.
The resource number searching unit 121 is configured to search, when performing a read operation on tag data in the service tag data storage space, a corresponding resource number in the resource-resource number association table by using a second tag resource; the tag number searching unit 122 is configured to search a corresponding tag number in the resource number-tag number association table by using the resource number; the second tag data reading unit 123 is configured to search a position of corresponding tag data in the tag number-tag association table by using the tag number, and perform a reading operation on the tag data; the second tag data writing unit 124 is configured to set corresponding tag data using a second tag resource when performing a write operation on the tag data in the service tag data storage space; the resource-resource number association information setting unit 125 is configured to perform an encoding operation on the second tag resource by using a first setting algorithm to obtain a resource number corresponding to the second tag resource, and set corresponding resource-resource number association information in the resource-resource number association table; the tag number-tag association information setting unit 126 is configured to perform an encoding operation on the tag data by using a second setting algorithm to obtain a tag number corresponding to the tag data, and set corresponding tag number-tag association information in the tag number-tag association table; the resource number-tag number association information setting unit 127 is configured to set the corresponding resource number-tag number association information in the resource number-tag number association table using the resource number and the tag number.
The read-write operation flow of the tag data in the second read-write module 120 of this embodiment is preferably implemented by using a service tag storage server of a tag data storage server system, and a resource-resource number association table, a resource number-tag number association table, and a tag number-tag association table are stored in a service tag data storage space of the tag data storage server system of this embodiment.
The resource-resource number association table is used for recording the association data table of the second label resource and the second label resource number. The second label resource can be encoded by using a first setting algorithm, such as md5 algorithm or sha algorithm, to obtain a second label resource number with a fixed length. The second label resource may include information such as a resource service name, a resource service type, a resource location area, and a resource identifier.
The tag number-tag association table is used for recording tag data corresponding to the second tag resource and an association data table of the corresponding tag number. The tag data may be encoded using a second set algorithm, such as md5 algorithm or sha algorithm, to obtain a fixed-length tag number. Wherein the tag data includes two parts of key and value.
The resource number-tag number association table is used for recording the association data table of the second tag resource number and the corresponding tag number.
The read operation flow of the second read/write module 120 of this embodiment includes:
firstly, when reading the tag data in the service tag data storage space, the resource number searching unit 121 obtains a tag data management instruction with a second tag resource through the service tag interface;
then, the resource number searching unit 121 uses the second tag resource to search a corresponding resource number in the resource-resource number association table, so as to obtain a fixed-length resource number corresponding to the second tag resource;
then, the tag number searching unit 122 searches a corresponding tag number in the resource number-tag number association table by using the resource number acquired by the resource number searching unit 121, thereby acquiring a fixed-length tag number corresponding to the second tag resource;
finally, the second tag data reading unit 123 searches the corresponding location of the tag data in the tag number-tag association table by using the tag number acquired by the tag number searching unit 122, and performs a reading operation on the tag data.
The write operation flow of the second read/write module 120 of this embodiment includes:
firstly, when writing operation is performed on tag data in a service tag data storage space, firstly, the second tag data writing unit 124 acquires a tag data management instruction having a second tag resource and corresponding tag data through a service tag interface; subsequently, the second tag data writing unit 124 sets the corresponding tag data using the second tag resource;
then, the resource-resource number association information setting unit 125 performs encoding operation on the second tag resource acquired by the second tag data writing unit by using a first setting algorithm to acquire a resource number corresponding to the second tag resource, and sets corresponding resource-resource number association information in the resource-resource number association table;
then, the tag number-tag association information setting unit 126 performs encoding operation on the tag data acquired by the second tag data writing unit by using a second setting algorithm to acquire a tag number corresponding to the tag data, and sets corresponding tag number-tag association information in the tag number-tag association table;
finally, the resource number-tag number association information setting unit 127 sets the corresponding resource number-tag number association information in the resource number-tag number association table using the resource number acquired by the resource-resource number association information setting unit 125 and the tag number acquired by the tag number-tag association information setting unit 126.
Thus, the reading and writing operations of the tag data in the service tag data storage space of the second reading and writing module 120 of the embodiment are completed.
The service label storage server of the label data storage server system associates the corresponding second label resource and the corresponding label data by setting the label number and the resource number with fixed lengths, and since one label number can correspond to a plurality of resource numbers and one resource number can also correspond to a plurality of label numbers, the setting amount of the second label resource and the label data can be reduced by setting a plurality of label numbers and resource numbers, so that under the condition of improving the reading operation of the label data with high frequency, the reading efficiency and the storage efficiency of the label data in the service label data storage space are improved, and the user is used for managing the label data in the service label storage server.
Referring to fig. 13, fig. 13 is another structural schematic diagram of a second read/write module of the tag management device of the present invention. The second read/write module 130 of this embodiment includes a first tag conflict search unit 131, a conflict tag data read unit 132, a resource number search unit 133, a tag number search unit 134, a second tag data read unit 135, a second tag data write unit 136, a resource-tag association information setting unit 137, a resource-resource number association information setting unit 138, a tag number-tag association information setting unit 139, and a resource number-tag association information setting unit 13A.
The first tag conflict search unit 131 is configured to search, when performing a read operation on tag data in the service tag data storage space, a location of corresponding tag data in the resource-tag conflict table by using a second tag resource; the conflict tag data reading unit 132 is configured to, if the corresponding tag data is found in the resource-tag conflict table, perform a reading operation on the tag data; the resource number searching unit 133 is configured to, if the corresponding tag data is not found in the resource-tag conflict table, use the second tag resource to search the corresponding resource number in the resource-resource number association table; the tag number searching unit 134 is configured to search a corresponding tag number in the resource number-tag number association table by using the resource number; the second tag data reading unit 135 is configured to search a position of corresponding tag data in the tag number-tag association table using the tag number, and perform a reading operation on the tag data; the second tag data writing unit 136 is configured to set, when performing a write operation on tag data in the service tag data storage space, corresponding tag data using a second tag resource; the resource-tag association information setting unit 137 is configured to perform encoding operation on the second tag resource by using a first setting algorithm to obtain a resource number corresponding to the second tag resource, and search the resource number in the resource-resource number association table; if the resource number is found in the resource-resource number association table, setting corresponding resource-label association information in a resource-label conflict table; the resource-resource number association information setting unit 138 is configured to perform an encoding operation on the second tag resource by using a first setting algorithm to obtain a resource number corresponding to the second tag resource, and search the resource number in the resource-resource number association table; if the resource number is not found in the resource-resource number association table, setting corresponding resource-resource number association information in the resource-resource number association table; the tag number-tag association information setting unit 139 is configured to perform encoding operation on the tag data by using a second setting algorithm to obtain a tag number corresponding to the tag data, and set corresponding tag number-tag association information in a tag number-tag association table; the resource number-tag number association information setting unit 13A is configured to set corresponding resource number-tag number association information in the resource number-tag number association table using the resource number and the tag number.
The read-write operation flow of the tag data in the second read-write module 130 of this embodiment is preferably implemented by using a service tag storage server of a tag data storage server system, and a resource-resource number association table, a resource number-tag number association table, a tag number-tag association table, and a resource-tag conflict table are stored in a service tag data storage space of the tag data storage server system of this embodiment.
The resource-resource number association table is used for recording the association data table of the second label resource and the second label resource number. The tag number-tag association table is used for recording tag data corresponding to the second tag resource and an association data table of the corresponding tag number. The resource number-tag number association table is used for recording the association data table of the second tag resource number and the corresponding tag number. The resource-label conflict table is used for recording conflict resources in the second label resources and an associated data table of corresponding label data. The conflicted resource in the second tagged resource herein refers to the second tagged resource having the same resource number.
The read operation flow of the second read/write module 130 of this embodiment includes:
when reading the tag data in the service tag data storage space, first, the first tag conflict search unit 131 obtains a tag data management instruction with a second tag resource through the service tag interface; then the first label conflict searching unit uses the second label resource to search corresponding label data in the resource-label conflict table;
subsequently, the first tag conflict searching unit 131 determines whether to find corresponding tag data in the resource-tag conflict table;
if the corresponding tag data is found in the resource-tag conflict table, it indicates that the second tag resource may have the same resource number as other second tag resources, so that the conflict tag data reading unit 132 directly reads the tag data according to the location of the tag data in the resource-tag conflict table;
if the corresponding tag data is not found in the resource-tag conflict table, it indicates that the resource number of the second tag resource is unique in the resource-resource number association table, so that the resource number searching unit 133 uses the second tag resource to search the corresponding resource number in the resource-resource number association table, thereby obtaining the fixed-length resource number corresponding to the second tag resource;
then, the tag number searching unit 134 searches a corresponding tag number in the resource number-tag number association table by using the resource number acquired by the resource number searching unit 133, thereby acquiring a fixed-length tag number corresponding to the second tag resource;
subsequently, the second tag data reading unit 135 searches the position of the corresponding tag data in the tag number-tag association table using the tag number acquired by the tag number search unit 134, and performs a reading operation on the tag data.
The write operation flow of the second read/write module 130 of this embodiment includes:
when writing the tag data in the service tag data storage space, first, the second tag data writing unit 136 obtains a tag data management instruction having a second tag resource and corresponding tag data through the service tag interface; subsequently, the second tag data writing unit 136 sets the corresponding tag data using the second tag resource;
then, the resource-tag association information setting unit 137 performs encoding operation on the second tag resource acquired by the second tag data writing unit by using a first setting algorithm to acquire a resource number corresponding to the second tag resource, and searches the resource number in the resource-resource number association table;
then, the resource-tag association information setting unit 137 determines whether the resource number is found in the resource-resource number association table;
if the corresponding tag data is found in the resource-resource number association table, it indicates that the second tag resource conflicts with the resource numbers of other second tag resources, so the resource-tag association information setting unit 137 directly sets the resource-tag association information of the second tag resource and the corresponding tag in the resource-tag conflict table;
if the corresponding tag data is not found in the resource-resource number association table, it indicates that the resource number of the second tag resource is unique in the resource-resource number association table, and therefore the resource-resource number association information setting unit 138 sets the corresponding resource-resource number association information in the resource-resource number association table;
then, the tag number-tag association information setting unit 139 performs encoding operation on the tag data acquired by the second tag data writing unit by using a second setting algorithm to acquire a tag number corresponding to the tag data, and sets corresponding tag number-tag association information in the tag number-tag association table;
finally, the resource number-tag number association information setting unit 13A sets the corresponding resource number-tag number association information in the resource number-tag number association table using the resource number acquired by the resource-tag association information setting unit 137 and the tag number acquired by the tag number-tag association information setting unit 139.
Thus, the reading and writing operations of the tag data in the service tag data storage space of the second reading and writing module 130 of the embodiment are completed.
The resource-tag conflict table in the second read/write module of this embodiment solves the problem that tag data of the second tag resource may be in error when the resource number corresponding to the second tag resource is repeated, and further improves the reading efficiency and the storage efficiency of the tag data in the service tag data storage space.
The following describes a specific label management process of the label management method and the label management apparatus according to the present invention by using a specific embodiment. Referring to fig. 14, fig. 14 is a schematic structural diagram of a tag storage server system corresponding to the tag management method and the tag management apparatus of the present invention. Wherein the tag storage server system 140 includes a unified tag storage server 141 and a plurality of service tag storage servers 142. Wherein the uniform label storage server 141 has a uniform label interface for receiving and transmitting a label data management command, the service label storage server 142 has a service label interface for receiving and transmitting a label data management command, and the uniform label storage server 141 is connected to all service label storage servers 142 through a synchronization message queue.
Wherein the tag data on the unified tag storage server 141 is stored in the form of a resource-tag association table 143 of the first tag resource-tag data. The tag data on the service tag storage server 142 is stored in the form of a second tag resource-resource number association table 144, a resource number-tag number association table 145, a tag number-tag number association table 146, and a resource-tag collision table 147 of the second tag resource-tag data.
In the tag storage server system of the present embodiment, the tag data management instructions corresponding to the service tag storage servers are all processed through the service tag interfaces, and the tag data management instructions corresponding to the unified tag storage servers are all processed through the unified tag interfaces.
The tag data reading operation flow of the unified tag storage server 141 of the tag storage server system 140 of this embodiment includes:
first, the uniform tag storage server 141 obtains a tag data management instruction with a first tag resource through the uniform tag port.
Secondly, the uniform tag storage server 141 uses the first tag resource to search the corresponding location of the tag data in the resource-tag association table 143, thereby completing the read operation of the tag data.
The tag data writing operation flow of the unified tag storage server 141 of the tag storage server system 140 of this embodiment includes:
first, the uniform tag storage server 141 obtains a tag data management instruction having a first tag resource and corresponding tag data through the uniform tag port.
Secondly, the uniform tag storage server 141 sets corresponding tag data using the first tag resource, and sets corresponding resource-tag association information in the resource-tag association table 143.
Thirdly, the uniform tag storage server 141 synchronizes the corresponding tag data change information to the corresponding service tag storage server 142 through the message queue, so that the user can output the tag data after the synchronization operation from the service tag interface of the service tag storage server 142.
The tag data reading operation flow of the service tag storage server 142 of the tag storage server system 140 of the present embodiment includes:
firstly, the service tag storage server 142 acquires a tag data management instruction with a second tag resource through the service tag interface.
Secondly, the service tag storage server 142 uses the second tag resource to search the corresponding tag data in the resource-tag collision table 147.
Thirdly, the service tag storage server 142 judges whether the corresponding tag data is found in the resource-tag conflict table 147; if the corresponding tag data is found in the resource-tag conflict table 147, the service tag storage server 142 directly performs a read operation on the tag data according to the location of the tag data in the resource-tag conflict table 147; if the corresponding tag data is not found in the resource-tag conflict table 147, the service tag storage server 142 uses the second tag resource to find the corresponding resource number in the resource-resource number association table 144, so as to obtain the fixed-length resource number corresponding to the second tag resource;
fourthly, the service tag storage server 142 uses the resource number to search a corresponding tag number in the resource number-tag number association table 145, so as to obtain a fixed-length tag number corresponding to the second tag resource;
fifthly, the service tag storage server 142 searches the corresponding tag data position in the tag number-tag association table 146 by using the tag number, and performs a read operation on the tag data.
The tag data writing operation flow of the service tag storage server 142 of the tag storage server system 140 of the present embodiment includes:
first, the service tag storage server 142 obtains a tag data management instruction having a second tag resource and corresponding tag data through the service tag interface.
Secondly, the service tag storage server 142 sets corresponding tag data using the second tag resource.
Thirdly, the service tag storage server 142 uses the first setting algorithm to perform encoding operation on the second tag resource so as to obtain the resource number corresponding to the second tag resource, and searches the resource number in the resource-resource number association table 144.
Fourthly, the service tag storage server 142 judges whether the resource number is found in the resource-resource number association table 144; if the corresponding tag data is found in the resource-resource number association table 144, the service tag storage server 142 directly sets the resource-tag association information of the second tag resource and the corresponding tag in the resource-tag conflict table 147; if the corresponding tag data is not found in the resource-resource number association table 144, the service tag storage server 142 sets corresponding resource-resource number association information in the resource-resource number association table 144.
Fifthly, the service tag storage server 142 performs encoding operation on the tag data by using a second setting algorithm to obtain a tag number corresponding to the tag data, and sets corresponding tag number-tag association information in the tag number-tag association table 146.
Sixthly, the service tag storage server 142 uses the resource number and the tag number, and sets corresponding resource number-tag number association information in the resource number-tag number association table 145.
And seventhly, the service tag storage server 142 synchronizes the corresponding tag data change information to the unified tag storage server 141 through the message queue, so that a user can output the tag data after the synchronization operation from the unified tag port of the unified tag storage server 141.
Further, the tag data here may be a k (key) v (value) value of the instance data or management authority control of the instance data, or the like.
Since the KV value of the example data is approximately used in the corresponding service tag storage server 142, the modification of the KV value of the example data does not require strong consistency synchronization, and therefore the service tag storage server 142 can synchronize the change information of the KV value of the example data to the uniform tag storage server 141 according to a timing policy.
Since the general management authority control rate of the instance data is used in the corresponding service tag storage server 142 and the same tag storage server 141 at the same time, the modification of the management authority control of the instance data requires strong consistency synchronization, and therefore the service tag storage server 142 can add the change information of the management authority control of the instance data to the message queue immediately to synchronize the change information to the uniform tag storage server 141.
Therefore, the label data of KV value of the instance data and the label data of the management authority control of the instance data can be read instantly on the unified label storage server 141, and the label data of KV value of the instance data cannot be read instantly on the unified label storage server 141. Therefore, the tag management method and management apparatus of the present invention mainly optimize the reading efficiency and storage efficiency of the tag data in the service tag storage server 142, and ensure the reading efficiency and storage efficiency of the important tag data (such as the tag data requiring strong consistency synchronization) in the uniform tag storage server 141.
The label management method, the management device and the computer readable storage medium divide the label data storage space into the uniform label data storage space and the service label data storage space, and the uniform label data storage space and the service label data storage space adopt different label data management modes and label data read-write operation modes, so that the reading efficiency and the storage efficiency of the label data are effectively improved; the technical problems that the reading efficiency and the storage efficiency of label data in the conventional label management method and the conventional label management device are low are solved.
As used herein, the terms "component," "module," "system," "interface," "process," and the like are generally intended to refer to a computer-related entity: hardware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a controller and the controller can be a component. One or more components can reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
FIG. 15 and the following discussion provide a brief, general description of an operating environment of an electronic device in which the tag management apparatus of the present invention may be implemented. The operating environment of FIG. 15 is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the operating environment. Example electronic devices 1512 include, but are not limited to, wearable devices, head-mounted devices, medical health platforms, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Although not required, embodiments are described in the general context of "computer readable instructions" being executed by one or more electronic devices. Computer readable instructions may be distributed via computer readable media (discussed below). Computer readable instructions may be implemented as program modules, such as functions, objects, Application Programming Interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types. Typically, the functionality of the computer readable instructions may be combined or distributed as desired in various environments.
FIG. 15 illustrates an example of an electronic device 1512 that includes one or more embodiments of the label management apparatus of the present invention. In one configuration, the electronic device 1512 includes at least one processing unit 1516 and memory 1518. Depending on the exact configuration and type of electronic device, memory 1518 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in fig. 15 by dashed line 1514.
In other embodiments, the electronic device 1512 may include additional features and/or functionality. For example, device 1512 may also include additional storage (e.g., removable and/or non-removable) including, but not limited to, magnetic storage, optical storage, and the like. Such additional storage is illustrated in FIG. 15 by storage 1520. In one embodiment, computer readable instructions to implement one or more embodiments provided herein may be in storage 1520. Storage 1520 may also store other computer readable instructions to implement an operating system, an application program, and the like. Computer readable instructions may be loaded in memory 1518 for execution by processing unit 1516, for example.
The term "computer readable media" as used herein includes computer storage media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data. Memory 1518 and storage 1520 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by electronic device 1512. Any such computer storage media may be part of electronic device 1512.
The electronic device 1512 may also include communication connections 1526 that allow the electronic device 1512 to communicate with other devices. Communication connection 1526 may include, but is not limited to, a modem, a Network Interface Card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB connection, or other interfaces for connecting electronic device 1512 to other electronic devices. Communication connection 1526 may include a wired connection or a wireless connection. Communication connection 1526 may transmit and/or receive communication media.
The term "computer readable media" may include communication media. Communication media typically embodies computer readable instructions or other data in a "modulated data signal" such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" may include signals that: one or more of the signal characteristics may be set or changed in such a manner as to encode information in the signal.
The electronic device 1512 may include input devices 1524 such as a keyboard, a mouse, a pen, a voice input device, a touch input device, an infrared camera, a video input device, and/or any other input device. Output device(s) 1522 such as one or more displays, speakers, printers, and/or any other output device may also be included in devices 1512. The input device 1524 and the output device 1522 may be connected to the electronic device 1512 via a wired connection, wireless connection, or any combination thereof. In one embodiment, an input device or an output device from another electronic device may be used as the input device 1524 or the output device 1522 of the electronic device 1512.
The components of the electronic device 1512 may be connected by various interconnects, such as a bus. Such interconnects may include Peripheral Component Interconnect (PCI), such as PCI express, Universal Serial Bus (USB), firewire (IEEE1394), optical bus structures, and the like. In another embodiment, the components of the electronic device 1512 may be interconnected by a network. For example, memory 1518 may be comprised of multiple physical memory units located in different physical locations interconnected by a network.
Those skilled in the art will realize that storage devices utilized to store computer readable instructions may be distributed across a network. For example, an electronic device 1530 accessible via network 1528 may store computer readable instructions to implement one or more embodiments provided by the present invention. The electronic device 1512 may access the electronic device 1530 and download a part or all of the computer readable instructions for execution. Alternatively, the electronic device 1512 may download pieces of the computer readable instructions, as needed, or some instructions may be executed at the electronic device 1512 and some at the electronic device 1530.
Various operations of embodiments are provided herein. In one embodiment, the one or more operations may constitute computer readable instructions stored on one or more computer readable media, which when executed by an electronic device, will cause the computing device to perform the operations. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided herein.
Also, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations, and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. In addition, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Each apparatus or system described above may perform the method in the corresponding method embodiment.
In summary, although the present invention has been disclosed in the foregoing embodiments, the serial numbers before the embodiments are used for convenience of description only, and the sequence of the embodiments of the present invention is not limited. Furthermore, the above embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be limited by the appended claims.

Claims (13)

1. A tag management method, comprising:
receiving a tag data management instruction, and determining a receiving port of the tag data management instruction;
if the receiving port is a uniform label port, executing the label data management instruction in a uniform label data storage space so as to manage the label data in the uniform label data storage space and obtain first label data management information; wherein a resource-tag association table is stored in the uniform tag data storage space;
transmitting the first tag data management information to a service tag data storage space of a corresponding area; and
according to the first label data management information, performing synchronous operation on the label data in the service label data storage space so as to output the label data after the synchronous operation from a corresponding service label interface;
when reading the tag data in the uniform tag data storage space, searching the position of the corresponding tag data in the resource-tag association table by using the first tag resource, and reading the tag data;
when the label data in the uniform label data storage space is subjected to write operation, the corresponding label data is set by using the first label resource, and the corresponding resource-label association information is set in the resource-label association table.
2. The tag management method according to claim 1, further comprising:
if the receiving port is a service tag interface, executing the tag management instruction in the service tag data storage space to perform management operation on the tag data in the service tag data storage space and obtain second tag data management information;
transmitting the second tag data management information to a unified tag data storage space; and
and performing synchronous operation on the tag data in the unified tag data storage space according to the second tag data management information so as to output the tag data after the synchronous operation from the unified tag port.
3. The tag management method according to claim 1, wherein the tag management method further comprises the steps of:
and performing read-write operation on the tag data in the service tag data storage space by using a second tag resource through the service tag interface.
4. The tag management method according to claim 2,
the step of transmitting the first tag data management information to the service tag data storage space of the corresponding area is as follows:
transmitting the first tag data management information to a service tag data storage space of a corresponding area through a synchronization message queue;
the step of transmitting the second tag data management information to a unified tag data storage space is:
and transmitting the second label data management information to a unified label data storage space through a synchronous message queue.
5. The tag management method according to claim 3, wherein the service tag data storage space stores a resource-resource number association table, a resource number-tag number association table, and a tag number-tag association table;
the step of performing read-write operation on the tag data in the service tag data storage space by using a second tag resource through the service tag interface includes:
when reading the tag data in the service tag data storage space, searching the corresponding resource number in the resource-resource number association table by using the second tag resource;
searching a corresponding label number in the resource number-label number association table by using the resource number; and
and searching the position of the corresponding label data in the label number-label association table by using the label number, and reading the label data.
6. The tag management method according to claim 5, wherein the service tag data storage space further stores a resource-tag conflict table for storing the second tag resource and corresponding tag data;
the step of performing read-write operation on the tag data in the service tag data storage space by using a second tag resource through the service tag interface includes:
when reading the tag data in the service tag data storage space, searching the position of the corresponding tag data in the resource-tag conflict table by using the second tag resource;
if the corresponding label data is found in the resource-label conflict table, performing reading operation on the label data;
if the corresponding label data is not found in the resource-label conflict table, using the second label resource to find the corresponding resource number in the resource-resource number association table;
searching a corresponding label number in the resource number-label number association table by using the resource number; and
and searching the position of the corresponding label data in the label number-label association table by using the label number, and reading the label data.
7. The tag management method according to claim 3, wherein the service tag data storage space stores a resource-resource number association table, a resource number-tag number association table, and a tag number-tag association table;
the step of performing read-write operation on the tag data in the service tag data storage space by using a second tag resource through the service tag interface includes:
when the label data in the service label data storage space is subjected to write operation, setting corresponding label data by using the second label resource;
coding the second label resource by using a first setting algorithm to obtain a resource number corresponding to the second label resource, and setting corresponding resource-resource number association information in the resource-resource number association table;
encoding the tag data by using a second setting algorithm to obtain a tag number corresponding to the tag data, and setting corresponding tag number-tag association information in the tag number-tag association table; and
and setting corresponding resource number-label number association information in the resource number-label number association table by using the resource number and the label number.
8. The tag management method according to claim 7, wherein the service tag data storage space further stores a resource-tag conflict table for storing the second tag resource and corresponding tag data;
the step of performing read-write operation on the tag data in the service tag data storage space by using a second tag resource through the service tag interface includes:
when the label data in the service label data storage space is subjected to write operation, setting corresponding label data by using the second label resource;
using a first setting algorithm to perform coding operation on the second label resource so as to obtain a resource number corresponding to the second label resource, and searching the resource number in the resource-resource number association table;
if the resource number is found in the resource-resource number association table, setting corresponding resource-label association information in the resource-label conflict table;
if the resource number is not found in the resource-resource number association table, setting corresponding resource-resource number association information in the resource-resource number association table;
encoding the tag data by using a second setting algorithm to obtain a tag number corresponding to the tag data, and setting corresponding tag number-tag association information in the tag number-tag association table;
and setting corresponding resource number-label number association information in the resource number-label number association table by using the resource number and the label number.
9. A label management apparatus, comprising:
the receiving port determining module is used for receiving the label data management instruction and determining a receiving port of the label data management instruction;
the first management operation module is used for executing the label data management instruction in a unified label data storage space if the receiving port is a unified label port so as to perform management operation on the label data in the unified label data storage space and obtain first label data management information; wherein a resource-tag association table is stored in the uniform tag data storage space;
the first transmission module is used for transmitting the first label data management information to a service label data storage space of a corresponding area;
the first synchronization module is used for performing synchronization operation on the tag data in the service tag data storage space according to the first tag data management information so as to output the tag data after the synchronization operation from the corresponding service tag interface; and
the first reading and writing module is used for searching the position of corresponding label data in the resource-label association table by using the first label resource when reading the label data in the uniform label data storage space, and reading the label data;
when the label data in the uniform label data storage space is subjected to write operation, the corresponding label data is set by using the first label resource, and the corresponding resource-label association information is set in the resource-label association table.
10. The tag management apparatus according to claim 9, wherein the tag management apparatus comprises:
the second management operation module is used for executing the label management instruction in the service label data storage space if the receiving port is a service label interface so as to perform management operation on the label data in the service label data storage space and obtain second label data management information;
the second transmission module is used for transmitting the second label data management information to the unified label data storage space; and
and the second synchronization module is used for performing synchronization operation on the label data in the unified label data storage space according to the second label data management information so as to output the label data after the synchronization operation from the unified label port.
11. The tag management apparatus according to claim 9, wherein the tag management apparatus comprises:
and the second reading and writing module is used for performing reading and writing operation on the tag data in the service tag data storage space by using a second tag resource through the service tag interface.
12. The label management device according to claim 10,
the first transmission module is used for transmitting the first label data management information to a service label data storage space of a corresponding area through a synchronous message queue;
and the second transmission module is used for transmitting the second label data management information to the unified label data storage space through the synchronous message queue.
13. A computer-readable storage medium having stored therein processor-executable instructions, the instructions being loaded by one or more processors to perform the tag management method of any of claims 1-8.
CN201810036305.6A 2018-01-15 2018-01-15 Label management method, management device and computer readable storage medium Active CN108255434B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810036305.6A CN108255434B (en) 2018-01-15 2018-01-15 Label management method, management device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810036305.6A CN108255434B (en) 2018-01-15 2018-01-15 Label management method, management device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108255434A CN108255434A (en) 2018-07-06
CN108255434B true CN108255434B (en) 2021-11-02

Family

ID=62740680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810036305.6A Active CN108255434B (en) 2018-01-15 2018-01-15 Label management method, management device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108255434B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359171A (en) * 2018-08-21 2019-02-19 中国平安人寿保险股份有限公司 Management-control method, device, computer equipment and the storage medium of label
CN113099513B (en) * 2021-03-29 2023-12-08 深圳市中兴移动软件有限公司 Base station selection method, electronic terminal and computer readable storage medium
CN116456449B (en) * 2023-06-06 2023-10-17 汉朔科技股份有限公司 Price tag communication method, price tag system and computer equipment based on synchronous network

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000619A (en) * 2006-12-25 2007-07-18 华为技术有限公司 Data synchronous method and device based on SQL
CN101160903A (en) * 2005-10-27 2008-04-09 华为技术有限公司 Method, system, client terminal and server for implementing data synchronization
CN103647669A (en) * 2013-12-16 2014-03-19 上海证券交易所 System and method for guaranteeing distributed data processing consistency
CN103729470A (en) * 2014-01-20 2014-04-16 刘强 Secure storage method based on different cloud storage ends
CN103856450A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 System for actively releasing data labels established by clients and method thereof
CN104426994A (en) * 2013-09-11 2015-03-18 北京大学 Terminal, server, electronic book synchronization system and electronic book synchronization method
CN104820701A (en) * 2015-05-11 2015-08-05 北京瑞星信息技术有限公司 Method and system for recording and synchronizing data
CN105450682A (en) * 2014-08-08 2016-03-30 阿里巴巴集团控股有限公司 Method, device, and system for data synchronous storage and synchronizing data to client
CN106487869A (en) * 2015-08-25 2017-03-08 埃森哲环球服务有限公司 For being controlled to labeling data and standardized cloudy network agent

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130067115A1 (en) * 2011-09-12 2013-03-14 Isaac Omar Lapanc Method And System For Mapping Domain Prefixes To Qualified URLs

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101160903A (en) * 2005-10-27 2008-04-09 华为技术有限公司 Method, system, client terminal and server for implementing data synchronization
CN101000619A (en) * 2006-12-25 2007-07-18 华为技术有限公司 Data synchronous method and device based on SQL
CN103856450A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 System for actively releasing data labels established by clients and method thereof
CN104426994A (en) * 2013-09-11 2015-03-18 北京大学 Terminal, server, electronic book synchronization system and electronic book synchronization method
CN103647669A (en) * 2013-12-16 2014-03-19 上海证券交易所 System and method for guaranteeing distributed data processing consistency
CN103729470A (en) * 2014-01-20 2014-04-16 刘强 Secure storage method based on different cloud storage ends
CN105450682A (en) * 2014-08-08 2016-03-30 阿里巴巴集团控股有限公司 Method, device, and system for data synchronous storage and synchronizing data to client
CN104820701A (en) * 2015-05-11 2015-08-05 北京瑞星信息技术有限公司 Method and system for recording and synchronizing data
CN106487869A (en) * 2015-08-25 2017-03-08 埃森哲环球服务有限公司 For being controlled to labeling data and standardized cloudy network agent

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MySQL主从服务器数据库同步的实现;方丹辉 等;《计算机应用》;20040108;第22卷(第7期);第116-117页 *

Also Published As

Publication number Publication date
CN108255434A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN109254733B (en) Method, device and system for storing data
CN109062512B (en) Distributed storage cluster, data read-write method, system and related device
US11068441B2 (en) Caseless file lookup in a distributed file system
US11296940B2 (en) Centralized configuration data in a distributed file system
KR102128139B1 (en) File management with placeholders
CN101650660B (en) Booting a computer system from central storage
US10649905B2 (en) Method and apparatus for storing data
CN105787077A (en) Data synchronizing method and device
CN108255434B (en) Label management method, management device and computer readable storage medium
JP7397094B2 (en) Resource configuration method, resource configuration device, computer equipment, and computer program
MX2007014899A (en) Back-off mechanism for search.
US7895376B2 (en) Hardware configuration information system, method, and computer program product
CN104268229A (en) Resource obtaining method and device based on multi-process browser
CN111651424B (en) Data processing method, device, data node and storage medium
CN114422537B (en) Multi-cloud storage system, multi-cloud data reading and writing method and electronic equipment
CN109347899B (en) Method for writing log data in distributed storage system
WO2014190700A1 (en) Method of memory access, buffer scheduler and memory module
CN113127430B (en) Mirror image information processing method, mirror image information processing device, computer readable medium and electronic equipment
CN112559913A (en) Data processing method and device, computing equipment and readable storage medium
CN109308288B (en) Data processing method and device
US11507320B2 (en) USB based cloud disk and disk segment management system
CN115729463A (en) Data migration method, system and related device
CN109857719B (en) Distributed file processing method, device, computer equipment and storage medium
CN110089076A (en) The method and apparatus for realizing information interaction
CN112084141A (en) Full-text retrieval system capacity expansion method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant