CN109739910B - An open label management method and system - Google Patents
An open label management method and system Download PDFInfo
- Publication number
- CN109739910B CN109739910B CN201811398080.5A CN201811398080A CN109739910B CN 109739910 B CN109739910 B CN 109739910B CN 201811398080 A CN201811398080 A CN 201811398080A CN 109739910 B CN109739910 B CN 109739910B
- Authority
- CN
- China
- Prior art keywords
- label
- tag
- data
- resource
- target
- 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.)
- Expired - Fee Related
Links
- 238000007726 management method Methods 0.000 title claims abstract description 42
- 238000000034 method Methods 0.000 claims abstract description 38
- 238000012545 processing Methods 0.000 claims abstract description 29
- 238000004891 communication Methods 0.000 claims abstract description 20
- 238000012795 verification Methods 0.000 claims abstract description 16
- 230000007547 defect Effects 0.000 claims description 19
- 238000012423 maintenance Methods 0.000 claims description 19
- 238000007689 inspection Methods 0.000 claims description 16
- 230000008439 repair process Effects 0.000 claims description 6
- 238000011161 development Methods 0.000 claims description 5
- 230000008676 import Effects 0.000 claims description 5
- 230000003993 interaction Effects 0.000 claims description 3
- 238000010200 validation analysis Methods 0.000 claims description 2
- 239000000463 material Substances 0.000 abstract description 16
- 238000013508 migration Methods 0.000 abstract description 4
- 230000005012 migration Effects 0.000 abstract description 4
- 238000012216 screening Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 239000011435 rock Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002688 persistence Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Storage Device Security (AREA)
Abstract
本发明提供了一种开放性标签管理方法及相应的系统,通过为每个接入方配置一个唯一的通信密钥作为标签凭证,在通过有限性验证后方可对接入方赋予权限、以便创建标签数据,可以实现与第三方操作系统快速、稳定的连接;通过创建标签系统数据库并对标签数据进行存储和统一维护,可以实现对标签数据的集中管理、提高处理效率;另外,还可以将外部数据库的标签数据导入标签系统数据库中,并通过标签数据进行验证后对接入方的资源添加标签,支持对第三方进行数据迁移,实现标签信息的透明调用。通过上述方法,可以对视频、音乐、图片等在线素材资源进行标注和分类,从而便于对素材进行查找、检索和筛选。
The present invention provides an open label management method and a corresponding system. By configuring a unique communication key for each access party as a label credential, the access party can be given authority to create a Tag data can achieve fast and stable connection with third-party operating systems; by creating a tag system database and storing and maintaining tag data in a unified manner, centralized management of tag data can be achieved and processing efficiency can be improved; in addition, external The tag data of the database is imported into the tag system database, and tags are added to the resources of the access party after verification of the tag data, which supports data migration to third parties and realizes the transparent call of tag information. Through the above method, online material resources such as videos, music, and pictures can be marked and classified, so as to facilitate searching, retrieval and screening of materials.
Description
技术领域technical field
本发明属于标签信息管理技术领域,特别涉及一种开放性标签管理方法和系统。The invention belongs to the technical field of label information management, and particularly relates to an open label management method and system.
背景技术Background technique
随着网络的高速发展,信息传播方式的多样性开始呈现爆炸式增长。进入自媒体时代,人人都可以创作信息进行发布和传播,因此,人人都需要收集和利用大量的素材,而每个人制作或传播的信息也可以成为别人使用的素材。目前,以网络为平台进行素材资源的收集和使用已经成为最常规的素材获取途径,而通过关键词(标签)作为特征对素材进行分类和查找,也已成为素材管理的常规方式。因此,面对网络中的海量素材,需要一种高效、准确、兼容性强的方式,来支持对素材的管理。With the rapid development of the network, the diversity of information dissemination methods began to show explosive growth. In the era of self-media, everyone can create information for publication and dissemination. Therefore, everyone needs to collect and utilize a large amount of material, and the information produced or disseminated by each person can also become the material used by others. At present, the collection and use of material resources using the network as a platform has become the most conventional way to obtain materials, and the classification and search of materials by using keywords (tags) as features has also become a conventional way of material management. Therefore, in the face of massive materials in the network, an efficient, accurate and highly compatible method is required to support the management of materials.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题,本发明提供了一种开放性标签管理方法和系统。In order to solve the above technical problems, the present invention provides an open label management method and system.
本发明具体技术方案如下:The specific technical scheme of the present invention is as follows:
本发明一方面提供了一种开放性标签管理方法,包括如下步骤:One aspect of the present invention provides an open label management method, comprising the following steps:
S1:将请求调用标签数据的外部系统接入标签管理系统内,并分别为每个接入方配置一个唯一的通信密钥作为标签凭证;S1: Connect the external system that requests to call the tag data into the tag management system, and configure a unique communication key for each access party as the tag credential;
S2:根据所述标签凭证,分别为每个所述接入方创建标签集合的根节点,并在每个所述根节点内创建标签数据;S2: Create a root node of a label set for each of the access parties according to the label credentials, and create label data in each of the root nodes;
S3:将所述标签数据存储到标签系统数据库中,同时从外部数据库中获取标签数据、导入所述标签系统数据库中,并统一进行维护和层级管理;S3: store the label data in the label system database, obtain label data from an external database, import the label data into the label system database, and perform maintenance and hierarchical management in a unified manner;
S4:根据所述标签数据,分别为每个所述接入方的资源添加标签;S4: according to the label data, add labels to the resources of each of the access parties respectively;
S5:利用所述标签对所述资源进行查询、检索或筛选。S5: Use the tag to query, retrieve or filter the resource.
进一步地,步骤S2的具体方法如下:Further, the specific method of step S2 is as follows:
S2.1:对所述标签凭证进行有效性验证,验证通过即对所述标签进行管理,否则重新创建标签并进行管理;S2.1: Verify the validity of the label voucher, and if the verification is passed, the label is managed; otherwise, the label is re-created and managed;
S2.2:对所述标签的根标签进行标记,同时创建相应的子标签;S2.2: Mark the root tag of the tag, and create corresponding sub-tags at the same time;
S2.3:将所述子标签与标签系统数据库中事先存储的标签数据进行对比,判断是否存在所述子标签的父级标签,如存在,则据此创建新的标签并进行标记。S2.3: Compare the sub-tag with the pre-stored tag data in the tag system database to determine whether there is a parent tag of the sub-tag, and if so, create a new tag and mark it accordingly.
进一步地,判断是否存在所述子标签的父级标签的具体方法如下:Further, the specific method for judging whether there is a parent tag of the child tag is as follows:
从所述子标签以及所述标签系统数据库中事先存储的标签数据中分别提取标识字段,并进行对比,查找是否存在与所述子标签中的表示字段相同的标识字段,如存在,则将相应的所述标签数据作为所述子标签的父级标签。The identification fields are extracted from the sub-tags and the tag data stored in advance in the tag system database, and compared, to find out whether there is an identification field that is the same as the indicated field in the sub-tag, and if so, the corresponding The label data of the child label is used as the parent label of the child label.
进一步地,对所述标签数据进行统一维护的具体方法如下:Further, the specific method for uniformly maintaining the label data is as follows:
S3.1:对所述标签数据进行格式维护,检查所述标签数据是否存在错误、缺漏、冗余或有害数据,如检查结果为“存在”,则进行修复;如检查结果为“不存在”,则进入步骤S3.2;S3.1: Maintain the format of the label data, check whether the label data has errors, omissions, redundancy or harmful data, if the check result is "exist", repair it; if the check result is "absence" , then enter step S3.2;
S3.2:对所述标签数据进行逻辑维护,检查所述标签数据与其他标签数据之间是否存在逻辑性缺陷,如检查结果为“存在”,则进行更正;如检查结果为“不存在”,则进入步骤S3.3;S3.2: Perform logical maintenance on the tag data, check whether there are logical defects between the tag data and other tag data, if the inspection result is "exist", correct it; if the inspection result is "absence" , then enter step S3.3;
S3.3:根据步骤S1和步骤S2的信息,定期对所述标签数据进行更新,并对更新的标签数据返回步骤S3.1重新进行维护。S3.3: According to the information of step S1 and step S2, regularly update the label data, and return the updated label data to step S3.1 for re-maintenance.
进一步地,步骤S4的具体方法如下:Further, the specific method of step S4 is as follows:
S4.1:根据所述标签凭证从标签系统数据库获取所有存储的标签数据,并制成标签列表;S4.1: Obtain all stored label data from the label system database according to the label voucher, and make a label list;
S4.2:从所述标签列表中选择至少一个欲为所述接入方的资源添加的目标标签;S4.2: Select at least one target tag to be added to the resource of the access party from the tag list;
S4.3:对所述目标标签进行验证,判断所述资源是否允许添加所述目标标签,当判断结果为“是”时,为所述资源与所述目标标签进行匹配,并将匹配信息添加到所述标签系统数据库中;当判断结果为“否”时,取消将所述资源与所述目标标签进行匹配。S4.3: Verify the target tag, determine whether the resource is allowed to add the target tag, when the judgment result is "Yes", match the resource with the target tag, and add the matching information into the tag system database; when the judgment result is "No", cancel the matching of the resource with the target tag.
进一步地,判断所述资源是否允许添加所述目标标签的具体方法如下:Further, the specific method for judging whether the resource allows adding the target tag is as follows:
S4.3.1:判断所述目标标签是否存在形式缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤S4.3.2;S4.3.1: Determine whether the target label has a form defect, if so, the judgment result is "No"; if not, go to step S4.3.2;
S4.3.2.判断所述目标标签是否存在逻辑缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤S4.3.3;S4.3.2. Judging whether the target label has logical defects, if so, the judgment result is "No"; if not, then go to step S4.3.3;
S4.3.3.判断所述所述资源是否已经添加过标签,如未添加,则判定结果为“是”;如已添加,则进入步骤S4.3.4;S4.3.3. Determine whether the said resource has been tagged, if not, the determination result is "Yes"; if it has been added, then go to step S4.3.4;
S4.3.4.判断所述资源已添加过的标签中是否存在所述目标标签,如不存在,则判定结果为“是”;如存在,则判定结果为“否”。S4.3.4. Determine whether the target tag exists in the tags that have been added to the resource. If it does not exist, the determination result is "Yes"; if it exists, the determination result is "No".
本发明另一方面提供了一种开放性标签管理系统,包括如下部分:Another aspect of the present invention provides an open label management system, comprising the following parts:
配置模块,用于将请求调用标签数据的外部系统接入所述系统内,并分别为每个接入方配置一个唯一的通信密钥作为标签凭证;a configuration module, configured to connect an external system requesting invoking tag data into the system, and configure a unique communication key for each access party as a tag credential;
通信模块,用于处理所述系统内各个模块之间的信息交互;a communication module for processing information interaction between various modules in the system;
核心处理模块,用于根据所述标签凭证,分别为每个所述接入方创建标签数据,并进行统一维护;根据所述标签数据,分别为每个所述接入方的资源添加标签;a core processing module, configured to create tag data for each of the access parties according to the tag credentials, and perform unified maintenance; and add tags to the resources of each of the access parties according to the tag data;
数据处理模块,用于将所述标签数据进行统一封装、并统一存储到标签系统数据库中。The data processing module is used for uniformly encapsulating the label data and uniformly storing it in the label system database.
进一步地,所述配置模块包括如下部分:Further, the configuration module includes the following parts:
外部接口单元,用于为请求调用标签数据的外部系统提供接入所述系统的开发包,并与所述外部系统进行连接;an external interface unit, configured to provide a development kit for accessing the system for an external system requesting to call tag data, and connect with the external system;
配置管理单元,用于统一管理所述系统的配置信息,并分别为每个接入方配置一个唯一的通信密钥作为标签凭证;a configuration management unit, configured to manage the configuration information of the system uniformly, and configure a unique communication key for each access party as a label credential;
所述数据处理模块包括如下部分:The data processing module includes the following parts:
处理单元,用于对所述标签数据进行统一维护和统一封装;a processing unit for uniformly maintaining and uniformly encapsulating the label data;
存储单元,用于构建标签系统数据库,并将经过维护和封装的标签数据进行统一存储。The storage unit is used to build the label system database and store the maintained and packaged label data uniformly.
进一步地,所述核心处理模块创建标签数据的具体方法如下:Further, the specific method for the core processing module to create the label data is as follows:
对所述标签凭证进行有效性验证,验证通过即对所述标签进行管理,否则重新创建标签并进行管理;对所述标签的根标签进行标记,同时创建相应的子标签;将所述子标签与标签系统数据库中事先存储的标签数据进行对比,判断是否存在所述子标签的父级标签,如存在,则据此创建新的标签并进行标记;Validation of the label voucher is performed, and the label is managed if the verification is passed, otherwise the label is re-created and managed; the root label of the label is marked, and corresponding sub-labels are created at the same time; the sub-label Compare with the label data stored in advance in the label system database to determine whether there is a parent label of the sub-label, and if so, create a new label and mark it accordingly;
其中,判断是否存在所述子标签的父级标签的具体方法如下:The specific method for judging whether there is a parent tag of the child tag is as follows:
从所述子标签以及所述标签系统数据库中事先存储的标签数据中分别提取标识字段,并进行对比,查找是否存在与所述子标签中的表示字段相同的标识字段,如存在,则将相应的所述标签数据作为所述子标签的父级标签。The identification fields are extracted from the sub-tags and the tag data stored in advance in the tag system database, and compared, to find out whether there is an identification field that is the same as the indicated field in the sub-tag, and if so, the corresponding The label data of the child label is used as the parent label of the child label.
进一步地,所述核心处理模块对所述标签数据进行统一维护的方法如下:Further, the method for uniformly maintaining the label data by the core processing module is as follows:
①:对所述标签数据进行格式维护,检查所述标签数据是否存在错误、缺漏、冗余或有害数据,如检查结果为“存在”,则进行修复;如检查结果为“不存在”,则进入步骤②;①: Maintain the format of the label data, check whether the label data has errors, omissions, redundancy or harmful data, if the inspection result is "exist", then repair; if the inspection result is "absence", then Enter
②:对所述标签数据进行逻辑维护,检查所述标签数据与其他标签数据之间是否存在逻辑性缺陷,如检查结果为“存在”,则进行更正;如检查结果为“不存在”,则进入步骤③;②: Carry out logical maintenance on the label data, check whether there are logical defects between the label data and other label data, if the inspection result is "exist", then correct it; if the inspection result is "absence", then Enter
③:根据步骤S1和步骤S2的信息,定期对所述标签数据进行更新,并对更新的标签数据返回步骤①重新进行维护;③: According to the information in step S1 and step S2, regularly update the label data, and return the updated label data to
所述核心处理模块为所述资源添加标签的方法如下:The method for adding tags to the resources by the core processing module is as follows:
根据所述标签凭证从标签系统数据库获取所有存储的标签数据,并制成标签列表;从所述标签列表中选择至少一个欲为所述接入方的资源添加的目标标签;对所述目标标签进行验证,判断所述资源是否允许添加所述目标标签,当判断结果为“是”时,为所述资源与所述目标标签进行匹配,并将匹配信息添加到所述标签系统数据库中;当判断结果为“否”时,取消将所述资源与所述目标标签进行匹配。Obtain all stored tag data from the tag system database according to the tag credentials, and make a tag list; select at least one target tag to be added to the resource of the access party from the tag list; Verification is performed to determine whether the resource is allowed to add the target tag, and when the judgment result is "Yes", the resource is matched with the target tag, and the matching information is added to the tag system database; when When the judgment result is "No", the matching of the resource with the target tag is canceled.
其中,判断所述资源是否允许添加所述目标标签的具体方法如下:The specific method for judging whether the resource allows adding the target tag is as follows:
①.判断所述目标标签是否存在形式缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤②;①. Determine whether the target label has a form defect, if so, the judgment result is "No"; if it does not exist, enter
②.判断所述目标标签是否存在逻辑缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤③;②. Judging whether the target label has a logical defect, if so, the judgment result is "No"; if it does not exist, enter
③.判断所述资源是否已经添加过标签,如未添加,则判定结果为“是”;如已添加,则进入步骤④;③. Judging whether the resource has been added with a label, if not, the judgment result is "Yes"; if it has been added, enter
④.判断所述资源已添加过的标签中是否存在所述目标标签,如不存在,则判定结果为“是”;如存在,则判定结果为“否”。④. Judging whether the target tag exists in the tags that the resource has added, if not, the judgment result is "Yes"; if it exists, the judgment result is "No".
本发明的有益效果如下:本发明提供了一种开放性标签管理方法及相应的系统,通过为每个接入方配置一个唯一的通信密钥作为标签凭证,在通过有效性验证后方可对接入方赋予权限、以便创建标签数据,可以实现与第三方操作系统快速、稳定的连接;通过创建标签系统数据库并对标签数据进行存储和统一维护,可以实现对标签数据的集中管理、提高处理效率;另外,还可以将外部数据库的标签数据导入标签系统数据库中,并通过标签数据进行验证后对接入方的资源添加标签,支持对第三方进行数据迁移,实现标签信息的透明调用。通过上述方法,可以对视频、音乐、图片等在线素材资源进行标注和分类,从而便于对素材进行查找、检索和筛选。The beneficial effects of the present invention are as follows: the present invention provides an open label management method and a corresponding system. By configuring a unique communication key for each access party as a label certificate, the connection can be made only after passing the validity verification. The entry party grants permission to create tag data, which can achieve fast and stable connection with third-party operating systems; by creating a tag system database and storing and maintaining tag data in a unified manner, centralized management of tag data can be achieved and processing efficiency can be improved. In addition, it is also possible to import the tag data of the external database into the tag system database, and add tags to the resources of the access party after verification of the tag data, support data migration to third parties, and realize the transparent call of tag information. Through the above method, online material resources such as videos, music, and pictures can be marked and classified, so as to facilitate searching, retrieval and screening of materials.
附图说明Description of drawings
图1为实施例1所述的一种开放性标签管理方法的流程图;1 is a flowchart of an open label management method described in
图2为实施例1所述的一种开放性标签管理方法中创建标签的流程图;2 is a flowchart of creating a label in an open label management method described in
图3为实施例1所述的一种开放性标签管理方法中添加标签的流程图;3 is a flowchart of adding a label in an open label management method described in
图4为实施例2所述的一种开放性标签管理系统的结构示意图;4 is a schematic structural diagram of an open label management system according to
图5为实施例3所述的一种开放性标签管理系统的结构示意图。FIG. 5 is a schematic structural diagram of an open label management system according to
具体实施方式Detailed ways
下面结合附图和以下实施例对本发明作进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and the following examples.
实施例1Example 1
如图1所示,本发明实施例1提供了一种开放性标签管理方法,包括如下步骤:As shown in FIG. 1,
S1:将请求调用标签数据的外部系统接入标签管理系统内(提供用于接入系统的sdk开发包),并分别为每个接入方配置一个唯一的通信密钥作为标签凭证;S1: Connect the external system that requests to call the tag data into the tag management system (provide the SDK development kit for accessing the system), and configure a unique communication key for each access party as the tag credential;
S2:根据标签凭证,分别为每个接入方创建标签集合的根节点,并在每个根节点内创建标签数据;S2: According to the label credentials, create a root node of the label set for each access party, and create label data in each root node;
S3:将标签数据存储到标签系统数据库中,同时从外部数据库中获取标签数据、导入标签系统数据库中,并统一进行维护和层级管理;S3: Store the label data in the label system database, obtain label data from an external database, import it into the label system database, and conduct unified maintenance and hierarchical management;
S4:根据标签数据,分别为每个接入方的资源添加标签;S4: According to the label data, add labels to the resources of each access party respectively;
S5:利用标签对资源进行查询、检索或筛选。S5: Use tags to query, retrieve or filter resources.
具体实施时,步骤S2的具体方法如下:During specific implementation, the specific method of step S2 is as follows:
S2.1:对标签凭证进行有效性验证,验证通过即对标签进行管理,否则重新创建标签并进行管理;S2.1: Verify the validity of the label certificate, and manage the label after the verification, otherwise re-create the label and manage it;
有效性验证包括验证标签凭证(即通信密钥)的格式、时效性以及与接入方的匹配是否与记录信息相符,上述信息均合格才能认为验证通过;Validity verification includes verifying the format and timeliness of the label voucher (ie, the communication key), and whether the match with the access party is consistent with the recorded information, and only if the above information is qualified can the verification be considered passed;
S2.2:对标签的根标签进行标记,同时创建相应的子标签;S2.2: Mark the root tag of the tag, and create corresponding sub-tags at the same time;
S2.3:将子标签与标签系统数据库中事先存储的标签数据进行对比,判断是否存在子标签的父级标签,如存在,则据此创建新的标签并进行标记;如不存在,则不能以此进行标签的创建,需要重新创建子标签再进行对比。S2.3: Compare the sub-tag with the pre-stored tag data in the tag system database to determine whether there is a parent tag of the sub-tag, if so, create a new tag and mark it accordingly; if it does not exist, it cannot In order to create a label, it is necessary to recreate the sub-label for comparison.
其中,判断是否存在子标签的父级标签的具体方法如下:Among them, the specific method for judging whether there is a parent tag of a child tag is as follows:
从子标签以及标签系统数据库中事先存储的标签数据中分别提取标识字段,并进行对比,查找是否存在与子标签中的表示字段相同的标识字段,如存在,则将相应的标签数据作为子标签的父级标签;Extract the identification fields from the sub-tags and the tag data stored in the tag system database respectively, and compare them to find out whether there is an identification field that is the same as the indicated field in the sub-tag, if so, the corresponding tag data will be used as the sub-tag. the parent tag of ;
标识字段是在创建过程中直接添加的一串代码,当在标签数据库中找到具有与子标签相同的标识字段的标签数据时,既可以认为子标签与该标签数据存在父子关系(即相关性),否则认为该表示字段有误,需进行更正或重新添加,才能进行比对。The identification field is a string of codes added directly during the creation process. When the tag data with the same identification field as the sub-tag is found in the tag database, it can be considered that the sub-tag has a parent-child relationship (ie correlation) with the tag data. , otherwise, it is considered that the indicated field is wrong and needs to be corrected or re-added before the comparison can be performed.
在具体实施时,对标签数据进行统一维护的具体方法如下:In the specific implementation, the specific method for unified maintenance of label data is as follows:
S3.1:对标签数据进行格式维护,检查标签数据是否存在错误、缺漏、冗余或有害数据,如检查结果为“存在”,则进行修复;如检查结果为“不存在”,则进入步骤S3.2;S3.1: Maintain the format of the label data, check whether the label data has errors, omissions, redundant or harmful data, if the check result is "exist", repair it; if the check result is "absent", go to the step S3.2;
S3.2:对标签数据进行逻辑维护,检查标签数据与其他标签数据之间是否存在逻辑性缺陷,如检查结果为“存在”,则进行更正;如检查结果为“不存在”,则进入步骤S3.3;S3.2: Carry out logical maintenance on the label data, check whether there are logical defects between the label data and other label data, if the check result is "exist", correct it; if the check result is "absence", go to the step S3.3;
逻辑性指标签数据之间的层次关系、从属关系以及级别关系,例如,“音乐”、“视频”、“图片”默认是同级标签,“音乐”的下级标签包括“民谣”、“摇滚”、“蓝调”、“纯音乐”等;其中还可根据需要,自行设定同级的各标签的优先级,例如,纯音乐>民谣>蓝调>摇滚;当标签数据的实际信息与上述信息不符时,即认为存在逻辑性缺陷;Logic refers to the hierarchical relationship, subordinate relationship and level relationship between tag data. For example, "music", "video", and "picture" are the same level tags by default, and the subordinate tags of "music" include "folk", "rock" , "Blues", "Pure Music", etc.; among them, you can also set the priority of each label at the same level according to your needs, for example, pure music > folk music > blues > rock; when the actual information of the label data does not match the above information , it is considered that there is a logical defect;
S3.3:根据步骤S1和步骤S2的信息,定期对标签数据进行更新,并对更新的标签数据返回步骤S3.1重新进行维护。S3.3: According to the information of step S1 and step S2, regularly update the label data, and return the updated label data to step S3.1 for re-maintenance.
在具体实施时,步骤S4的具体方法如下:During specific implementation, the specific method of step S4 is as follows:
S4.1:根据标签凭证从标签系统数据库获取所有存储的标签数据,并制成标签列表;S4.1: Obtain all stored label data from the label system database according to the label voucher, and make a label list;
S4.2:从标签列表中选择至少一个欲为接入方的资源添加的目标标签;S4.2: Select at least one target tag to be added to the resource of the access party from the tag list;
S4.3:对目标标签进行验证,判断资源是否允许添加目标标签,当判断结果为“是”时,为资源与目标标签进行匹配,并将匹配信息添加到标签系统数据库中;当判断结果为“否”时,取消将资源与目标标签进行匹配。S4.3: Validate the target tag to determine whether the resource is allowed to add the target tag. When the judgment result is "Yes", match the resource with the target tag, and add the matching information to the tag system database; when the judgment result is When "No", cancels matching the resource to the target tag.
其中,判断资源是否允许添加目标标签的具体方法如下:Among them, the specific method of judging whether the resource allows adding target tags is as follows:
S4.3.1:判断目标标签是否存在形式缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤S4.3.2;S4.3.1: Determine whether the target label has form defects, if so, the judgment result is "No"; if not, go to step S4.3.2;
S4.3.2.判断目标标签是否存在逻辑缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤S4.3.3;S4.3.2. Judging whether the target label has logical defects, if so, the judgment result is "No"; if not, go to step S4.3.3;
S4.3.3.判断资源是否已经添加过标签,如未添加,则判定结果为“是”;如已添加,则进入步骤S4.3.4;S4.3.3. Judging whether the resource has been tagged, if not, the judgment result is "Yes"; if it has been added, go to step S4.3.4;
S4.3.4.判断资源已添加过的标签中是否存在目标标签,如不存在,则判定结果为“是”;如存在,则判定结果为“否”。S4.3.4. Determine whether there is a target tag in the tags that have been added to the resource. If it does not exist, the determination result is "Yes"; if it exists, the determination result is "No".
本实施例提供了一种开放性标签管理方法,通过为每个接入方配置一个唯一的通信密钥作为标签凭证,在通过有效性验证后方可对接入方赋予权限、以便创建标签数据,可以实现与第三方操作系统快速、稳定的连接;通过创建标签系统数据库并对标签数据进行存储和统一维护,可以实现对标签数据的集中管理、提高处理效率;另外,还可以将外部数据库的标签数据导入标签系统数据库中,并通过标签数据进行验证后对接入方的资源添加标签,支持对第三方进行数据迁移,实现标签信息的透明调用。通过上述方法,可以高效、准确地对视频、音乐、图片等在线素材资源进行标注和分类,从而便于对素材进行查找、检索和筛选。This embodiment provides an open label management method. By configuring a unique communication key for each access party as a label credential, the access party can be granted authority to create label data only after passing the validity verification. It can realize fast and stable connection with third-party operating systems; by creating a tag system database and storing and maintaining tag data in a unified manner, it can realize centralized management of tag data and improve processing efficiency; in addition, tags in external databases can also be The data is imported into the tag system database, and tags are added to the resources of the access party after verification of the tag data, which supports data migration to third parties and realizes the transparent call of tag information. Through the above method, online material resources such as videos, music, pictures, etc. can be marked and classified efficiently and accurately, so as to facilitate searching, retrieval and screening of materials.
实施例2Example 2
实施例2在实施例1的基础上公开了一种开放性标签管理系统,括如下部分:
配置模块1,用于将请求调用标签数据的外部系统接入系统内,并分别为每个接入方配置一个唯一的通信密钥作为标签凭证;The
通信模块2,用于处理系统内各个模块之间的信息交互;The
核心处理模块3,用于根据标签凭证,分别为每个接入方创建标签数据,并进行统一维护;根据标签数据,分别为每个接入方的资源添加标签;The
数据处理模块4,用于将标签数据进行统一封装、并统一存储到标签系统数据库中,同时从外部数据库中获取标签数据、导入标签系统数据库中。The
本实施例提供了一种开放性标签管理系统,配置模块1对整个系统的相关配置信息进行统一管理,通过为每个接入方配置一个唯一的通信密钥作为标签凭证,在通过有限性验证后方可对接入方赋予权限、以便创建标签数据,可以实现与第三方操作系统快速、稳定的连接;通信模块2统一处理网络通信,标准化处理各网络通信协议的支持;核心处理模块3通过创建标签系统数据库并对标签数据进行存储和统一维护,可以实现对标签数据的集中管理、提高处理效率;数据处理模块4对数据进行统一封装操作,透明处理数据缓存与持久化;还可以将外部数据库的标签数据导入标签系统数据库中,并通过标签数据进行验证后对接入方的资源添加标签,支持对第三方进行数据迁移,实现标签信息的透明调用。通过上述系统,可以高效、准确地对视频、音乐、图片等在线素材资源进行标注和分类,从而便于对素材进行查找、检索和筛选。This embodiment provides an open label management system. The
实施例3Example 3
实施例3在实施例2的基础上公开了一种开放性标签管理系统,该实施例3进一步限定了配置模块1包括如下部分:
外部接口单元11,用于为请求调用标签数据的外部系统提供接入系统的sdk开发包,并与外部系统进行连接;The
配置管理单元12,用于统一管理系统的配置信息,配置管控后台并提供操作界面,并分别为每个接入方配置一个唯一的通信密钥作为标签凭证;The
数据处理模块4包括如下部分:The
处理单元41,用于对标签数据进行统一维护和统一封装,同时从外部数据库中获取标签数据;The
存储单元42,用于构建标签系统数据库,并将经过维护和封装或从外部调用的标签数据进行统一存储。The
实施例4Example 4
实施例4在实施例2的基础上公开了一种开放性标签管理系统,该实施例4进一步限定了核心处理模块(3)创建标签数据的具体方法如下:
对标签凭证进行有效性验证,验证通过即对标签进行管理,否则重新创建标签并进行管理;对标签的根标签进行标记,同时创建相应的子标签;将子标签与标签系统数据库中事先存储的标签数据进行对比,判断是否存在子标签的父级标签,如存在,则据此创建新的标签并进行标记;Verify the validity of the label voucher, and manage the label if the verification is passed, otherwise re-create the label and manage it; label the root label of the label, and create corresponding sub-labels at the same time; Compare the tag data to determine whether there is a parent tag of the child tag, if so, create a new tag and mark it accordingly;
其中,判断是否存在子标签的父级标签的具体方法如下:Among them, the specific method for judging whether there is a parent tag of a child tag is as follows:
从子标签以及标签系统数据库中事先存储的标签数据中分别提取标识字段,并进行对比,查找是否存在与子标签中的表示字段相同的标识字段,如存在,则将相应的标签数据作为子标签的父级标签。Extract the identification fields from the sub-tags and the tag data stored in the tag system database respectively, and compare them to find out whether there is an identification field that is the same as the indicated field in the sub-tag, if so, the corresponding tag data will be used as the sub-tag. parent tag.
核心处理模块(3)对标签数据进行统一维护的方法如下:The method for uniformly maintaining the label data by the core processing module (3) is as follows:
①:对标签数据进行格式维护,检查标签数据是否存在错误、缺漏、冗余或有害数据,如检查结果为“存在”,则进行修复;如检查结果为“不存在”,则进入步骤②;①: Maintain the format of the label data, check whether there are errors, omissions, redundant or harmful data in the label data, if the inspection result is "exist", repair it; if the inspection result is "absent", go to
②:对标签数据进行逻辑维护,检查标签数据与其他标签数据之间是否存在逻辑性缺陷,如检查结果为“存在”,则进行更正;如检查结果为“不存在”,则进入步骤③;②: Carry out logical maintenance on the tag data, check whether there are logical defects between the tag data and other tag data, if the inspection result is "exist", correct it; if the inspection result is "absent", go to
③:根据步骤S1和步骤S2的信息,定期对标签数据进行更新,并对更新的标签数据返回步骤①重新进行维护;③: According to the information of step S1 and step S2, regularly update the label data, and return the updated label data to step ① for re-maintenance;
核心处理模块(3)为资源添加标签的方法如下:The method for adding tags to resources by the core processing module (3) is as follows:
根据标签凭证从标签系统数据库获取所有存储的标签数据,并制成标签列表;从标签列表中选择至少一个欲为接入方的资源添加的目标标签;对目标标签进行验证,判断资源是否允许添加目标标签,当判断结果为“是”时,为资源与目标标签进行匹配,并将匹配信息添加到标签系统数据库中;当判断结果为“否”时,取消将资源与目标标签进行匹配。Obtain all stored tag data from the tag system database according to the tag credentials, and make a tag list; select at least one target tag to be added to the resource of the access party from the tag list; verify the target tag to determine whether the resource is allowed to be added Target tag, when the judgment result is "Yes", the resource is matched with the target tag, and the matching information is added to the tag system database; when the judgment result is "No", the matching of the resource with the target tag is canceled.
其中,判断资源是否允许添加目标标签的具体方法如下:Among them, the specific method of judging whether the resource allows adding target tags is as follows:
①.判断目标标签是否存在形式缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤②;①. Determine whether the target label has formal defects, if so, the judgment result is "No"; if not, go to
②.判断目标标签是否存在逻辑缺陷,如存在,则判定结果为“否”;如不存在,则进入步骤③;②. Judging whether the target label has logical defects, if so, the judgment result is "No"; if it does not exist, go to
③.判断资源是否已经添加过标签,如未添加,则判定结果为“是”;如已添加,则进入步骤④;③. Judging whether the resource has been added with a tag, if not, the judgment result is "Yes"; if it has been added, go to
④.判断资源已添加过的标签中是否存在目标标签,如不存在,则判定结果为“是”;如存在,则判定结果为“否”。④. Determine whether there is a target tag in the tags that the resource has added. If it does not exist, the judgment result is "Yes"; if it exists, the judgment result is "No".
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as limiting the scope of the patent of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the appended claims.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811398080.5A CN109739910B (en) | 2018-11-22 | 2018-11-22 | An open label management method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811398080.5A CN109739910B (en) | 2018-11-22 | 2018-11-22 | An open label management method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109739910A CN109739910A (en) | 2019-05-10 |
CN109739910B true CN109739910B (en) | 2020-12-04 |
Family
ID=66357028
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811398080.5A Expired - Fee Related CN109739910B (en) | 2018-11-22 | 2018-11-22 | An open label management method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109739910B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489377B (en) * | 2019-08-15 | 2022-01-07 | 陈征 | Information management system and method based on label, memory and electronic equipment |
CN110457538A (en) * | 2019-08-20 | 2019-11-15 | 北京明略软件系统有限公司 | A kind of label data sharing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192220A (en) * | 2006-11-21 | 2008-06-04 | 财团法人资讯工业策进会 | Tag construction method and system |
CN102110101A (en) * | 2009-12-29 | 2011-06-29 | 北大方正集团有限公司 | Method and device used for indexing digital content |
CN107222483A (en) * | 2017-06-07 | 2017-09-29 | 中山大学 | A kind of method of the electronic document network memory management of many access levels |
CN107894974A (en) * | 2017-11-02 | 2018-04-10 | 华南农业大学 | Webpage context extraction method based on tag path and text punctuate than Fusion Features |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7831913B2 (en) * | 2005-07-29 | 2010-11-09 | Microsoft Corporation | Selection-based item tagging |
US20130332462A1 (en) * | 2012-06-12 | 2013-12-12 | David Paul Billmaier | Generating content recommendations |
CN104113572B (en) * | 2013-04-19 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Dissemination method, system and the fore device of user-generated content |
CN103699572B (en) * | 2013-11-26 | 2017-09-01 | 北京航空航天大学 | A method for integrating and sharing digital media content resources in a cloud environment |
CN106156060B (en) * | 2015-03-30 | 2019-11-01 | 富士施乐实业发展(中国)有限公司 | Tag control system and terminal, label application method and label method for sorting |
CN106611008B (en) * | 2015-10-26 | 2020-06-12 | 中国移动通信集团公司 | A kind of management method and device of Internet content label |
CN106776703A (en) * | 2016-11-15 | 2017-05-31 | 上海汉邦京泰数码技术有限公司 | A kind of multivariate data cleaning technique under virtualized environment |
-
2018
- 2018-11-22 CN CN201811398080.5A patent/CN109739910B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101192220A (en) * | 2006-11-21 | 2008-06-04 | 财团法人资讯工业策进会 | Tag construction method and system |
CN102110101A (en) * | 2009-12-29 | 2011-06-29 | 北大方正集团有限公司 | Method and device used for indexing digital content |
CN107222483A (en) * | 2017-06-07 | 2017-09-29 | 中山大学 | A kind of method of the electronic document network memory management of many access levels |
CN107894974A (en) * | 2017-11-02 | 2018-04-10 | 华南农业大学 | Webpage context extraction method based on tag path and text punctuate than Fusion Features |
Also Published As
Publication number | Publication date |
---|---|
CN109739910A (en) | 2019-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11755628B2 (en) | Data relationships storage platform | |
CN111259006B (en) | A general integrated physical aggregation, organization, release and service method and system for distributed heterogeneous data | |
US8954479B2 (en) | End-to-end interoperability and workflows from building architecture design to one or more simulations | |
CN105868369B (en) | A kind of data model verifying System and method for based on Merkle tree construction | |
CN112434059A (en) | Data processing method, data processing device, computer equipment and storage medium | |
US20200334244A1 (en) | Bidirectional mapping of hierarchical data to database object types | |
CN111274294A (en) | Universal distributed heterogeneous data integrated logic convergence organization, release and service method and system | |
CN103744960A (en) | Metadata indexing module and method based on cloud platform | |
CN111582885B (en) | Vaccine management method based on blockchain and storage medium | |
CN109739910B (en) | An open label management method and system | |
US11232190B2 (en) | Device attestation techniques | |
CN104573053B (en) | An XML-based method for dynamic customization of configuration item templates | |
BR102013001760A2 (en) | project management system based on associative memory. | |
CN118779382A (en) | Distributed knowledge tag management system based on blockchain | |
CN106445824A (en) | Interface comprehensiveness management system based on character | |
CN101464902A (en) | Verification method and system for outsourced database query result | |
CN116580486A (en) | Door lock password update method, device, smart door lock and storage medium | |
CN105808212B (en) | The extended method and system of product support tool | |
CN115967627A (en) | Automatic detection and resolution of network-like misconfigurations | |
CN108846634B (en) | A kind of case automatic authorization method and system | |
CN111708996A (en) | An Internet-based Enterprise Internal Management Consulting Information Sharing System | |
CN110489608A (en) | A kind of electronics license directory management system and method | |
CN112183787B (en) | Auxiliary decision-making system based on operating equipment maintenance | |
Precht et al. | Transparency Disclosure for End Consumers in Private Food Supply Chains | |
Sonawane et al. | Enriching Trustworthy trade in Decentralized system using Blockchain |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20201204 |
|
CF01 | Termination of patent right due to non-payment of annual fee |