CN112084168A - Label storage method and device and server - Google Patents

Label storage method and device and server Download PDF

Info

Publication number
CN112084168A
CN112084168A CN201910517903.XA CN201910517903A CN112084168A CN 112084168 A CN112084168 A CN 112084168A CN 201910517903 A CN201910517903 A CN 201910517903A CN 112084168 A CN112084168 A CN 112084168A
Authority
CN
China
Prior art keywords
label
tag
record table
user
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910517903.XA
Other languages
Chinese (zh)
Other versions
CN112084168B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201910517903.XA priority Critical patent/CN112084168B/en
Publication of CN112084168A publication Critical patent/CN112084168A/en
Application granted granted Critical
Publication of CN112084168B publication Critical patent/CN112084168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/284Relational databases
    • G06F16/285Clustering or classification

Abstract

The invention provides a label storage method, a label storage device and a server. The label storing method comprises the steps of receiving a label storing instruction, wherein the label storing instruction comprises a label to be stored and a user identifier to which the label to be stored belongs; determining whether a label identical to the label to be stored exists in the original label record table; the original label record table comprises the information of all the stored labels; if the first label and the label to be stored are the same in the original label record table, adding the corresponding relation between the user identification to which the label to be stored belongs and the first label in the user label record table; the user tag recording table is used for recording the corresponding relation between the user identification and the tag of the user identified by the user identification. The method reduces the consumption of computing resources and storage resources.

Description

Label storage method and device and server
Technical Field
The present invention relates to data processing technologies, and in particular, to a tag storage method, an apparatus, and a server.
Background
In the big data age, data presents the characteristics of quantification and diversification, a large number of marketing strategies and service modes are based on tagged data, one tag usually points to one type of attributes or behaviors, and how to acquire needed tagged data from massive data becomes an important problem.
The label engine system is used for calculating result data of corresponding labels aiming at the label tasks, so that the result data is applied to subsequent behaviors such as management decision, data analysis and the like.
However, in the current tag engine system, a piece of tag information is maintained for each user, that is, a tag of each user is independently stored, where each tag is a tag calculation task, and therefore, calculation of the tag of each user and storage of a calculation result are also independent from each other, so that consumption of calculation resources and storage resources is huge.
Disclosure of Invention
The invention provides a label storage method, a label storage device and a server, which are used for reducing consumption of computing resources and storage resources.
The invention provides a label storage method, which comprises the following steps:
receiving a label storage instruction, wherein the label storage instruction comprises a label to be stored and a user identifier to which the label to be stored belongs;
determining whether a label identical to the label to be stored exists in the original label record table; the original label record table comprises the information of all the stored labels;
if the first label and the label to be stored are the same in the original label record table, adding the corresponding relation between the user identification to which the label to be stored belongs and the first label in the user label record table; the user tag recording table is used for recording the corresponding relation between the user identification and the tag of the user identified by the user identification.
Optionally, the method further includes:
if the label same as the label to be stored does not exist in the original label record table, the label to be stored is stored in the original label record table to form a second label, and the corresponding relation between the user identification to which the label to be stored belongs and the second label is added in the user label record table.
Optionally, determining whether a tag identical to the tag to be saved exists in the original tag record table includes:
determining whether the label replacing parameter in the label to be stored is the same as the label replacing parameter of any label in the original label record table;
if the label replacing parameter in the label to be stored is the same as the label replacing parameter of the first label in the original label record table, determining that the label to be stored is the same as the first label;
and if the label replacing parameters in the labels to be stored are different from the label replacing parameters of each label in the original label record table, determining that the labels which are the same as the labels to be stored do not exist in the original label record table.
Optionally, before receiving the tag saving instruction, the method further includes:
and establishing the user label record table and the label original record table.
Optionally, the method further includes:
receiving a tag sharing instruction, wherein the tag sharing instruction comprises a tag to be shared and a user identifier to which the tag to be shared belongs; the label to be shared is a label in the user label record table;
and storing the tags to be shared and the user identifications to which the tags to be shared belong into a tag sharing record table so that all users use the tags to be shared.
Optionally, before receiving the tag sharing instruction, the method further includes:
establishing a label sharing record table; the tag sharing record table is used for recording sharing tags and user identifications to which each sharing tag belongs.
Optionally, the to-be-saved label is one of a system preset label, a user shared label and a template construction label;
wherein the user sharing tag is a tag generated through an interface generating a new type of tag; the template building label is a label generated by modifying parameters in the system preset label or the user sharing label.
The present invention provides a label holding apparatus, comprising:
the receiving module is used for receiving a label storage instruction, wherein the label storage instruction comprises a label to be stored and a user identifier to which the label to be stored belongs;
the processing module is used for determining whether the label same as the label to be stored exists in the original label record table or not; the original label record table comprises the information of all the stored labels; if the first label and the label to be stored are the same in the original label record table, adding the corresponding relation between the user identification to which the label to be stored belongs and the first label in the user label record table; the user tag recording table is used for recording the corresponding relation between the user identification and the tag of the user identified by the user identification.
The processing module is further configured to, if a tag that is the same as the tag to be stored does not exist in the original tag record table, store the tag to be stored in the original tag record table to form a second tag, and add, in the user tag record table, a correspondence between a user identifier to which the tag to be stored belongs and the second tag.
Optionally, the processing module is specifically configured to:
determining whether the label replacing parameter in the label to be stored is the same as the label replacing parameter of any label in the original label record table; if the label replacing parameter in the label to be stored is the same as the label replacing parameter of the first label in the original label record table, determining that the label to be stored is the same as the first label; and if the label replacing parameters in the labels to be stored are different from the label replacing parameters of each label in the original label record table, determining that the labels which are the same as the labels to be stored do not exist in the original label record table.
Optionally, the apparatus further comprises:
and the establishing module is used for establishing the user label record table and the label original record table.
Optionally, the receiving module is further configured to:
receiving a tag sharing instruction, wherein the tag sharing instruction comprises a tag to be shared and a user identifier to which the tag to be shared belongs; the label to be shared is a label in the user label record table; and storing the tags to be shared and the user identifications to which the tags to be shared belong into a tag sharing record table so that all users use the tags to be shared.
Optionally, the establishing module is further configured to:
establishing a label sharing record table; the tag sharing record table is used for recording sharing tags and user identifications to which each sharing tag belongs.
Optionally, the to-be-saved label is one of a system preset label, a user shared label and a template construction label;
wherein the user sharing tag is a tag generated through an interface generating a new type of tag; the template building label is a label generated by modifying parameters in the system preset label or the user sharing label.
The invention provides a server, comprising a memory and a processor; the memory is connected with the processor;
the memory for storing a computer program;
the processor, when executed by a computer program, is configured to implement a tag preservation method as in any of the above.
The present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements a tag preservation method as in any one of the above.
The invention provides a label storage method, a device and a server, wherein a label storage instruction is received, and the label storage instruction comprises a label to be stored and a user identifier to which the label to be stored belongs; further determining whether a label identical to the label to be stored exists in the original label record table; the original label record table comprises the information of all the stored labels; if the first label and the label to be stored are the same in the original label record table, adding the corresponding relation between the user identification to which the label to be stored belongs and the first label in the user label record table; the user tag recording table is used for recording the corresponding relation between the user identification and the tag of the user identified by the user identification. The method compares the label to be saved with all labels saved in the original label record table when the label is saved, and only saves the corresponding relation between the label to be saved and the user label to which the label to be saved belongs in the user label record table when the label to be saved exists in the original label record table, without saving the label to be saved again, thereby avoiding repeated storage and repeated calculation of the label to be saved, and reducing the consumption of calculation resources and storage resources.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a first schematic flow chart of a tag storage method according to the present invention;
fig. 2 is a schematic flow chart of a tag storage method according to the present invention;
fig. 3 is a schematic structural diagram of a label holding apparatus according to the present invention;
fig. 4 is a schematic structural diagram of a server according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In big data application, the acquisition of required tagged data from massive data is the basis of numerous application services, and a tag engine system is used for calculating result data of different tags to be applied to subsequent scenes such as management decision, data analysis and the like. However, the existing label engine system has the problems of label repeated storage and repeated calculation, which causes huge consumption of computing resources and storage resources.
Fig. 1 is a first schematic flow chart of a tag storage method provided by the present invention. The execution subject of the tag saving method is a tag saving device, which may be implemented in a software and/or hardware manner, and in this embodiment, the device may be integrated in a server. As shown in fig. 1, the method of this embodiment may include:
s101, receiving a label storage instruction, wherein the label storage instruction comprises a label to be stored and a user identifier to which the label to be stored belongs.
The tag save instruction is an instruction generated by the user when saving the tag, and the user can perform an operation of saving the tag on the client, for example, and transmit the generated tag save instruction to the tag saving apparatus. The tag saving instruction carries a tag to be saved, that is, a tag to be saved selected or set by a user during the tag saving operation, and also carries a user identifier of the user.
S102, whether the label same as the label to be stored exists in the original label record table or not is determined.
Wherein, the original label record table includes the information of all the labels that have been saved.
The tag raw record table may be stored in a database in the tag holding device, or may also be stored in a database on a network accessible to the tag holding device. After receiving the tag storage instruction, the tag storage device first determines whether a tag identical to the tag to be stored carried by the tag storage instruction exists in the tag original record table, and specifically may compare the information of the tag to be stored with the tag information stored in the tag original record table one by one to determine whether the identical tag exists.
S103, if the first label and the label to be saved exist in the original label record table, adding the corresponding relation between the user identification to which the label to be saved belongs and the first label in the user label record table.
The user label record table is used for recording the corresponding relation between the user identification and the label of the user identified by the user identification.
After determining whether the tag identical to the tag to be saved exists in the original tag record table in S102, if the first tag and the tag to be saved are identical in the original tag record table, that is, the record of the tag to be saved already exists in the original tag record table, it is not necessary to store the tag to be saved again, but only the corresponding relationship between the tag to be saved and the user identifier to which the tag to be saved belongs is required to be recorded, that is, the corresponding relationship between the user identifier to which the tag to be saved belongs and the first tag is added in the user tag record table. Therefore, the corresponding relation between each user identification and the label of the user identified by each user identification can be obtained through the user label record table.
The tag saving method provided by the embodiment comprises the steps of receiving a tag saving instruction, wherein the tag saving instruction comprises a tag to be saved and a user identifier to which the tag to be saved belongs; determining whether a label identical to the label to be stored exists in the original label record table; the original label record table comprises the information of all the stored labels; if the first label and the label to be stored are the same in the original label record table, adding the corresponding relation between the user identification to which the label to be stored belongs and the first label in the user label record table; the user tag recording table is used for recording the corresponding relation between the user identification and the tag of the user identified by the user identification. Therefore, the method compares the label to be saved with all the labels saved in the original label record table when the label is saved, and only saves the corresponding relation between the label to be saved and the user label to which the label to be saved belongs in the user label record table when the label to be saved exists in the original label record table, without saving the label to be saved again, thereby avoiding the repeated storage of the label to be saved. Meanwhile, the information of the stored labels in the method is stored in the original label record table, the corresponding relation between the labels and the users is stored in the user label record table, and even if different users have the same label, the information of the same label is only stored in the global range, so that the same label only needs to be calculated once, the calculation result is only one, and the consumption of calculation resources and storage resources is reduced.
On the basis of the above embodiment, the method further includes: if the label same as the label to be stored does not exist in the original label record table, the label to be stored is stored in the original label record table to form a second label, and the corresponding relation between the user identification to which the label to be stored belongs and the second label is added in the user label record table.
Specifically, after determining whether the tag identical to the tag to be saved exists in the original tag record table in S102, if the tag identical to the tag to be saved does not exist in the original tag record table, it indicates that the tag to be saved has never been saved, so that the tag to be saved needs to be saved in the original tag record table to form a record of the second tag, and meanwhile, a corresponding relationship between the tag to be saved and the user identifier to which the tag to be saved belongs needs to be recorded, that is, a corresponding relationship between the user identifier to which the tag to be saved belongs and the second tag is added in the user tag record table.
Optionally, the tag to be saved may be one of a system preset tag, a user shared tag, and a template construction tag.
The system preset label is a template label with preset parameters during initialization, the system preset label can be a label with high user utilization rate, a user can store the system preset label through a label storage operation, and the system preset label is a label which can be used by all users.
The user sharing label is a label generated through an interface for generating a new type of label; i.e. a label different from the system preset label generated by the user through the operation of generating a new type of label.
The template building label is a label generated by modifying parameters in the system preset label or the user sharing label.
Further, determining whether the same tag as the tag to be saved exists in the original tag record table in S102 includes:
determining whether the label replacing parameter in the label to be stored is the same as the label replacing parameter of any label in the original label record table;
if the label replacing parameter in the label to be stored is the same as the label replacing parameter of the first label in the original label record table, determining that the label to be stored is the same as the first label;
and if the label replacing parameters in the labels to be stored are different from the label replacing parameters of each label in the original label record table, determining that the labels which are the same as the labels to be stored do not exist in the original label record table.
The label comprises at least one parameter which can be modified and is called a label replacing parameter, and when a user carries out label storage operation, the label replacing parameter can be modified to obtain a required label to be stored, so that whether the label identical to the label to be stored exists in the original label record table can be determined through whether the label replacing parameter in the label to be stored is identical to the label replacing parameter of any label in the original label record table.
Optionally, before receiving the tag saving instruction at S101, the method further includes:
and establishing the user label record table and the label original record table.
The user tag record table includes a user identifier and an identifier of a tag that a user identified by the user identifier has, and in addition, the user tag record table may further include information such as a user tag record identifier, time for adding a record, a tag identifier, a user identifier, whether the tag is shared, a shared record identifier, a user state running state of the tag, a tag use state, and a tag type.
The tag raw record table may include information such as tag raw record identifier, tag type, tag identifier, tag description, tag level, tag input column, tag dependency rule, tag name, tag output column, tag rule, tag sensitivity, tag usage status, template coding, start time, end time, Extensible Markup Language (XML) path, and the like. The system preset tag is written into the original record table of the tag at the time of initialization. The user label record table is associated with the label original record table through label identification.
On the basis of the above embodiment, the present invention may also provide a label saving method. Fig. 2 is a schematic flow chart of a tag storage method according to the present invention. As shown in fig. 2, on the basis of the embodiment shown in fig. 1, the method may further include:
s201, receiving a tag sharing instruction, wherein the tag sharing instruction comprises a tag to be shared and a user identifier to which the tag to be shared belongs.
Wherein, the label to be shared is the label in the user label record table.
S202, storing the to-be-shared label and the user identification of the to-be-shared label into a label sharing record table so that all users can use the to-be-shared label.
The tag sharing record table is used for recording sharing tags and user identifications to which each sharing tag belongs.
A user can share a tag of the user through a sharing operation, for example, a button for sharing the tag can be set on a client operated by the user side; specifically, a user sends a tag sharing instruction to a tag storage device through a sharing operation, the tag sharing instruction comprises a tag to be shared and a user identifier to which the tag to be shared belongs, and the tag storage device stores the tag to be shared and the user identifier to which the tag to be shared belongs into a tag sharing record table; each shared label and the user identifier to which each shared label belongs are recorded in the label sharing record table, and the labels in the label sharing record table can be used by all users.
In the tag storing method provided by this embodiment, tags to be shared in a tag sharing instruction are stored in a tag sharing record table; the label to be shared and the user identification to which the label to be shared belongs are stored in the label sharing record table, so that different users can use the same shared label, only one calculation is needed when different users use the same shared label, and only one part of calculation result is stored, thereby reducing the consumption of storage resources and calculation resources.
The tags to be shared in the above embodiments may be user sharing tags or template building tags.
The user sharing label is generated by a user through an interface for generating a new type of label, the generated user sharing label is saved through a saving operation, and then the user can add the generated user sharing label to a label sharing record table through the sharing operation, so that all users can use the label. Specifically, other users may add the corresponding relationship between the user identifier of the other user and the user sharing tag in the user tag record table through the operation of saving the tag, but the other users cannot perform the sharing operation on the user sharing tag again, so as to avoid repeated records in the tag sharing record.
Similarly, the user generates a template building label by modifying parameters of a system preset label or a user sharing label, saves the generated template building label through a saving operation, and then the user can add the generated template building label to the label sharing record table through the sharing operation, so that all users can use the label. Specifically, other users may add the corresponding relationship between the user identifier of the other user and the template building tag in the user tag record table through the operation of saving the tag, but the other users cannot share the template building tag again, so as to avoid repeated records in the tag sharing record.
For the system preset label, since the system preset label can be used by all users, the users cannot share the system preset label after the system preset label is stored, so as to avoid repeated records in the label sharing record.
Optionally, before receiving the tag sharing instruction in S201, the method further includes:
and establishing a label sharing record table.
The tag sharing record table may include information such as a sharing record identifier, a user identifier, a tag identifier, creation time, a tag type, and the number of users. The label sharing record is associated with the label original record table through label identification. The tag sharing record is also associated with the user tag record table by a sharing record identification. The system preset tag is written into the tag sharing record table at the time of initialization.
Fig. 3 is a schematic structural diagram of a label holding apparatus according to the present invention. As shown in fig. 3, the label holding apparatus 30 includes:
a receiving module 301, configured to receive a tag saving instruction, where the tag saving instruction includes a tag to be saved and a user identifier to which the tag to be saved belongs;
a processing module 302, configured to determine whether a tag that is the same as the tag to be saved exists in the original tag record table; the original label record table comprises the information of all the stored labels; if the first label and the label to be stored are the same in the original label record table, adding the corresponding relation between the user identification to which the label to be stored belongs and the first label in the user label record table; the user tag recording table is used for recording the corresponding relation between the user identification and the tag of the user identified by the user identification.
The processing module 302 is further configured to, if a tag that is the same as the tag to be saved does not exist in the original tag record table, store the tag to be saved in the original tag record table to form a second tag, and add, in the user tag record table, a corresponding relationship between the user identifier to which the tag to be saved belongs and the second tag.
Optionally, the processing module 302 is specifically configured to:
determining whether the label replacing parameter in the label to be stored is the same as the label replacing parameter of any label in the original label record table; if the label replacing parameter in the label to be stored is the same as the label replacing parameter of the first label in the original label record table, determining that the label to be stored is the same as the first label; and if the label replacing parameters in the labels to be stored are different from the label replacing parameters of each label in the original label record table, determining that the labels which are the same as the labels to be stored do not exist in the original label record table.
Optionally, the label holding device 30 further includes:
the creating module 303 is configured to create the user tag record table and the tag original record table.
Optionally, the receiving module 301 is further configured to:
receiving a tag sharing instruction, wherein the tag sharing instruction comprises a tag to be shared and a user identifier to which the tag to be shared belongs; the label to be shared is a label in the user label record table; and storing the tags to be shared and the user identifications to which the tags to be shared belong into a tag sharing record table so that all users use the tags to be shared.
Correspondingly, the establishing module 303 is further configured to:
establishing a label sharing record table; the tag sharing record table is used for recording sharing tags and user identifications to which each sharing tag belongs.
Optionally, the to-be-saved label is one of a system preset label, a user shared label and a template construction label;
wherein the user sharing tag is a tag generated through an interface generating a new type of tag; the template building label is a label generated by modifying parameters in the system preset label or the user sharing label.
The tag storage apparatus provided in this embodiment may be used to execute the technical solution of the method embodiment shown in fig. 1 or fig. 2, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 4 is a schematic structural diagram of a server according to the present invention. As shown in fig. 4, the server 40 includes a memory 401 and a processor 402; the memory 401 is connected to the processor 402.
A memory 401 for storing a computer program.
A processor 402 for implementing the tag preservation method as in any of the above embodiments when the computer program is executed.
The present invention provides a storage medium having stored thereon a computer program which, when executed by a processor, implements a tag saving method as in any of the above embodiments.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for preserving a tag, comprising:
receiving a label storage instruction, wherein the label storage instruction comprises a label to be stored and a user identifier to which the label to be stored belongs;
determining whether a label identical to the label to be stored exists in a label original record table or not; the original label record table comprises the information of all the stored labels;
if the first label and the label to be saved exist in the original label record table, adding a corresponding relation between a user identifier to which the label to be saved belongs and the first label in a user label record table; the user label record table is used for recording the corresponding relation between the user identification and the label of the user identified by the user identification.
2. The method of claim 1, further comprising:
if the label same as the label to be stored does not exist in the original label record table, the label to be stored is stored in the original label record table to form a second label, and the corresponding relation between the user identification to which the label to be stored belongs and the second label is added in the user label record table.
3. The method of claim 1, wherein the determining whether the same tag as the tag to be saved exists in the original tag record table comprises:
determining whether the label replacement parameter in the label to be saved is the same as the label replacement parameter of any label in the original label record table;
if the label replacing parameter in the label to be saved is the same as the label replacing parameter of the first label in the original label record table, determining that the label to be saved is the same as the first label;
and if the label replacing parameters in the labels to be stored are different from the label replacing parameters of each label in the original label record table, determining that the labels which are the same as the labels to be stored do not exist in the original label record table.
4. The method of claim 1, wherein prior to receiving the tag save instruction, the method further comprises:
and establishing the user label record table and the label original record table.
5. The method according to any one of claims 1-4, further comprising:
receiving a label sharing instruction, wherein the label sharing instruction comprises a label to be shared and a user identifier to which the label to be shared belongs; the label to be shared is a label in the user label record table;
and storing the tags to be shared and the user identifications to which the tags to be shared belong into a tag sharing record table so that all users use the tags to be shared, wherein the tag sharing record table is used for recording the sharing tags and the user identifications to which each sharing tag belongs.
6. The method of claim 5, wherein prior to receiving the tag sharing instruction, the method further comprises:
and establishing the label sharing record table.
7. The method according to any one of claims 1-4, wherein the tag to be saved is one of a system preset tag, a user shared tag, and a template construction tag;
wherein the user sharing tag is a tag generated through an interface generating a new type of tag; the template building label is a label generated by modifying parameters in the system preset label or the user sharing label.
8. A label holding apparatus, comprising:
the receiving module is used for receiving a label storage instruction, wherein the label storage instruction comprises a label to be stored and a user identifier to which the label to be stored belongs;
the processing module is used for determining whether a label identical to the label to be stored exists in the original label record table or not; the original label record table comprises the information of all the stored labels; if the first label and the label to be saved exist in the original label record table, adding a corresponding relation between a user identifier to which the label to be saved belongs and the first label in a user label record table; the user label record table is used for recording the corresponding relation between the user identification and the label of the user identified by the user identification.
9. A server, comprising a memory and a processor; the memory is connected with the processor;
the memory for storing a computer program;
the processor, when being executed by a computer program, is configured to implement the tag preservation method according to any one of claims 1 to 7.
10. A storage medium having stored thereon a computer program for implementing a label preservation method according to any of claims 1-7 when executed by a processor.
CN201910517903.XA 2019-06-14 2019-06-14 Label preservation method, device and server Active CN112084168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910517903.XA CN112084168B (en) 2019-06-14 2019-06-14 Label preservation method, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910517903.XA CN112084168B (en) 2019-06-14 2019-06-14 Label preservation method, device and server

Publications (2)

Publication Number Publication Date
CN112084168A true CN112084168A (en) 2020-12-15
CN112084168B CN112084168B (en) 2023-07-18

Family

ID=73734393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910517903.XA Active CN112084168B (en) 2019-06-14 2019-06-14 Label preservation method, device and server

Country Status (1)

Country Link
CN (1) CN112084168B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100623063B1 (en) * 2005-05-04 2006-09-13 인하대학교 산학협력단 Rfid tag and rfid system that having a forced collision function and method for protect a information of rfid tag
CN102024165A (en) * 2010-12-08 2011-04-20 中兴通讯股份有限公司 Method and device for processing tag data
WO2013052900A1 (en) * 2011-10-07 2013-04-11 Divringi Murat Systems, methods, and apparatuses for associating flexible internet based information with physical objects
CN107193886A (en) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 File memory method and device
WO2018045947A1 (en) * 2016-09-08 2018-03-15 广州市动景计算机科技有限公司 Browser bookmark setting method and apparatus, and computing device
CN108415978A (en) * 2018-02-09 2018-08-17 北京腾云天下科技有限公司 User tag storage method, user's portrait computational methods and computing device
CN109062970A (en) * 2018-06-28 2018-12-21 深圳市彬讯科技有限公司 Generation method, generating device and the computer readable storage medium of user's portrait
CN109191158A (en) * 2018-06-28 2019-01-11 深圳市彬讯科技有限公司 The processing method and processing equipment of user's portrait label data

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100623063B1 (en) * 2005-05-04 2006-09-13 인하대학교 산학협력단 Rfid tag and rfid system that having a forced collision function and method for protect a information of rfid tag
CN102024165A (en) * 2010-12-08 2011-04-20 中兴通讯股份有限公司 Method and device for processing tag data
WO2013052900A1 (en) * 2011-10-07 2013-04-11 Divringi Murat Systems, methods, and apparatuses for associating flexible internet based information with physical objects
WO2018045947A1 (en) * 2016-09-08 2018-03-15 广州市动景计算机科技有限公司 Browser bookmark setting method and apparatus, and computing device
CN107193886A (en) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 File memory method and device
CN108415978A (en) * 2018-02-09 2018-08-17 北京腾云天下科技有限公司 User tag storage method, user's portrait computational methods and computing device
CN109062970A (en) * 2018-06-28 2018-12-21 深圳市彬讯科技有限公司 Generation method, generating device and the computer readable storage medium of user's portrait
CN109191158A (en) * 2018-06-28 2019-01-11 深圳市彬讯科技有限公司 The processing method and processing equipment of user's portrait label data

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ALEJANDRO RIVERO-RODRIGUEZ 等: "Semantic labeling of places based on phone usage features using supervised learning", 《2014 UBIQUITOUS POSITIONING INDOOR NAVIGATION AND LOCATION BASED SERVICE (UPINLBS)》 *
刘健;张琨;陈旋;: "基于标签和协同过滤的个性化推荐算法", 计算机与现代化, no. 02 *
李营那;吴松洋;张涛;李勋;: "基于动态标签技术的信息发布系统设计与实现", 计算机应用与软件, no. 01 *

Also Published As

Publication number Publication date
CN112084168B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US20120330700A1 (en) Application placement among a set of consolidation servers utilizing license cost and application workload profiles as factors
JP2010140357A (en) Stream data processing method, and system
CN104113576A (en) Method and device for updating client
US20190278590A1 (en) Automated generation of service definitions for message queue application clients
EP3798930A2 (en) Machine learning training resource management
CN111143039B (en) Scheduling method and device of virtual machine and computer storage medium
US10951540B1 (en) Capture and execution of provider network tasks
US20090094174A1 (en) Method, system and program product for on demand data mining server with dynamic mining models
EP3798931A1 (en) Machine learning training resource management
CN108494589B (en) Management method and system of distributed Nginx server
CN112084168B (en) Label preservation method, device and server
CN114168119B (en) Code file editing method, device, electronic equipment and storage medium
CN114185938B (en) Project traceability analysis method and system based on digital finance and big data traceability
CN113595762B (en) Network card configuration storage method and device
CN113722007B (en) Configuration method, device and system of VPN branch equipment
US20220365812A1 (en) Method and system for sustainability measurement
US8825589B2 (en) Rule correlation to rules input attributes according to disparate distribution analysis
CN112181407B (en) Service realization processing method, device, system, electronic equipment and storage medium
CN110647527B (en) Big data-based invalid label clearing method and device, equipment and readable medium
CN110399296B (en) Method, system and medium for testing interactive interface between client and server
CN112418796A (en) Sub-process node activation method and device, electronic equipment and storage medium
US11900047B1 (en) Systems, methods and software for improving the energy footprint of an electronic document
CN115484149B (en) Network switching method, network switching device, electronic equipment and storage medium
CN111143302B (en) Method and device for tracking Office document content change
CN111460269B (en) Information pushing method and device

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