Information processing method, device, equipment and medium
By building a resource query table, using abstract identifiers and underlying tag fields collections, the problems of low accuracy of resource information query and large storage space in tag fields are solved, and efficient resource information query and storage space are achieved.
Patent Information
- Application Number
- CN202210019247.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-07
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2042-01-07
AI Technical Summary
During the query process of resource information, the query accuracy is low, and the storage space of the tag field of resource information occupies a large amount of storage space.
By determining the abstract identity of each resource information, a collection of underlying label fields and abstract identity collections are constructed, and stored as resource query tables according to preset hierarchical rules to achieve efficient query of resource information.
It improves the accuracy of resource information query, saves the storage space of tag fields, and avoids duplicate storage of tag fields.
Smart Images

Figure CN114372057B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of artificial intelligence technology, and in particular to an information processing method, device, equipment, medium and program product. Background Art
[0002] With the rapid development of artificial intelligence technologies such as machine learning and neural networks, a massive amount of resource information is needed to train algorithm models built based on artificial intelligence technology. Different resource information can have different levels, and the hierarchical relationship of different resource information can be represented by the level of resource information. For example, video information can be resource information with the first level, and video frame information can be resource information with the second level. Each resource information can have a label field. Relevant personnel can train the algorithm model based on the hierarchical information of the resource information, using the resource information and the label field corresponding to the resource information to obtain an artificial intelligence model that can be applied to actual application scenarios.
[0003] In the process of implementing the inventive concept of the present disclosure, the inventors found that in the process of querying resource information, the query accuracy is low and the tag field storage space for the resource information is relatively large. Summary of the invention
[0004] In view of the above problems, the present disclosure provides methods, devices, equipment, media and program products for improving information processing.
[0005] According to a first aspect of the present disclosure, there is provided an information processing method, comprising:
[0006] For multiple resource information with a hierarchical relationship, determine an abstract identifier for each of the resource information, wherein the abstract identifier represents a tag field of the resource information;
[0007] According to the resource association table, construct a bottom-level label field set, wherein the resource association table records the hierarchical information and the association relationship of the resource information, the bottom-level label field set includes the label field of the bottom-level resource information and the label field of different resource information having an association relationship with the bottom-level resource information, the hierarchical information of the bottom-level resource information is the bottom level, and the bottom-level label field set has the same abstract identifier as the bottom-level resource information;
[0008] According to the resource association table, construct an abstract identifier set corresponding to each of the resource information, wherein the abstract identifier set has the same abstract identifier as the corresponding resource information, and the abstract identifier set includes the abstract identifier of the next-level resource information that has an association relationship with the corresponding resource information;
[0009] According to preset hierarchical rules, the above abstract identifier set and the above underlying tag field set are stored as a resource query table.
[0010] According to an embodiment of the present disclosure, constructing an underlying tag field set according to a resource association table includes:
[0011] For the underlying resource information, using the resource association table to determine different resource information associated with the underlying resource information, to obtain associated resource information;
[0012] Based on the underlying tag field of the underlying resource information and the tag field of the associated resource information, the underlying tag field set is constructed.
[0013] According to an embodiment of the present disclosure, the above information processing method further includes:
[0014] In response to detecting a query operation for target resource information, the target resource information is queried using the resource query table.
[0015] According to an embodiment of the present disclosure, wherein the above-mentioned underlying tag field set includes a plurality of tags, the above-mentioned query operation includes querying the tag field;
[0016] In response to detecting a query operation for target resource information, querying the target resource information using the resource query table includes:
[0017] In response to detecting a query operation for target resource information, according to the query tag field in the query operation, determining an underlying target tag field set including the query tag field from the plurality of underlying tag field sets in the resource query table;
[0018] Using the resource association table, according to the underlying target abstract identifier of the underlying target label field set, query the abstract identifier set associated with the underlying target abstract identifier in the previous level of the underlying target label field set to obtain the target abstract identifier;
[0019] According to the underlying target abstract identifier and the target abstract identifier, the target resource information having the underlying target abstract identifier and the target abstract identifier is determined.
[0020] According to an embodiment of the present disclosure, storing the above-mentioned abstract identifier set and the above-mentioned underlying tag field set as a resource query table according to a preset hierarchical rule includes:
[0021] According to the preset hierarchical rules, the above-mentioned bottom-level tag field set is stored as the bottom level of the above-mentioned resource query table;
[0022] According to the hierarchical information of the resource information, the abstract identification set corresponding to each resource information is stored to obtain the resource query table, wherein the abstract identification set in the resource query table has the same hierarchical information as the corresponding resource information.
[0023] According to an embodiment of the present disclosure, the plurality of resource information includes: video information, video frame information and target frame image information.
[0024] A second aspect of the present disclosure provides an information processing device, including:
[0025] An abstract identifier determination module, used to determine the abstract identifier of each of the plurality of resource information having a hierarchical relationship, wherein the abstract identifier represents a tag field of the resource information;
[0026] A first construction module is used to construct a bottom-level label field set according to a resource association table, wherein the resource association table records the hierarchical information and the association relationship of the resource information, the bottom-level label field set includes the label field of the bottom-level resource information and the label field of different resource information having an association relationship with the bottom-level resource information, the hierarchical information of the bottom-level resource information is the bottom level, and the bottom-level label field set has the same abstract identifier as the bottom-level resource information;
[0027] A second construction module is used to construct an abstract identifier set corresponding to each of the resource information according to the resource association table, wherein the abstract identifier set has the same abstract identifier as the corresponding resource information, and the abstract identifier set includes the abstract identifier of the next-level resource information that has an association relationship with the corresponding resource information;
[0028] The resource query table generation module is used to store the above-mentioned abstract identification set and the above-mentioned underlying label field set as a resource query table according to a preset hierarchical rule.
[0029] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above-mentioned information processing method.
[0030] The fourth aspect of the present disclosure further provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above-mentioned information processing method.
[0031] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above-mentioned information processing method when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0033] Figure 1 The application scenario diagram of the information processing method and device according to the embodiment of the present disclosure is schematically shown;
[0034] Figure 2 The flowchart of the information processing method according to the embodiment of the present disclosure is schematically shown;
[0035] Figure 3 A schematic diagram schematically shows a plurality of resource information according to an embodiment of the present disclosure;
[0036] Figure 4 A flowchart of constructing an underlying tag field set according to a resource association table according to an embodiment of the present disclosure is schematically shown;
[0037] Figure 5 A flowchart schematically illustrates a method of querying target resource information using a resource query table in response to detecting a query operation for target resource information according to an embodiment of the present disclosure;
[0038] Figure 6 A block diagram schematically shows a structure of an information processing device according to an embodiment of the present disclosure; and
[0039] Figure 7 A block diagram of an electronic device suitable for implementing an information processing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0040] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0041] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0042] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0043] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0044] The inventors have discovered that in the process of querying resource information, the query accuracy is low and the tag field storage space for the resource information occupies a large amount of space.
[0045] In view of the above problems, an embodiment of the present disclosure provides an information processing method, including:
[0046] For multiple resource information with a hierarchical relationship, an abstract identifier of each resource information is determined, wherein the abstract identifier represents a label field of the resource information; according to a resource association table, an underlying label field set is constructed, wherein the resource association table records the hierarchical information and the association relationship of the resource information, the underlying label field set includes the label field of the underlying resource information and the label field of different resource information that has an association relationship with the underlying resource information, the hierarchical information of the underlying resource information is the bottom layer, and the underlying label field set has the same abstract identifier as the underlying resource information; according to the resource association table, an abstract identifier set corresponding to each resource information is constructed, wherein the abstract identifier set has the same abstract identifier as the corresponding resource information, and the abstract identifier set includes the abstract identifier of the next-level resource information that has an association relationship with the corresponding resource information; according to a preset hierarchical rule, the abstract identifier set and the underlying label field set are stored as a resource query table.
[0047] According to an embodiment of the present disclosure, for multiple resource information with a hierarchical relationship, the label field of the resource information is represented by an abstract identifier, and the label field of the underlying resource information and the label field of different resource information that has an association relationship with the underlying resource information can be obtained through the underlying label field set constructed by the resource association table. At the same time, by constructing an abstract identifier set corresponding to each resource information, the abstract identifier of the next level of resource information that has an association relationship with the resource information is obtained, and the abstract identifier set and the underlying label field set are stored as a resource query table according to the preset hierarchical rules. It can be achieved that the label field of each resource information is only stored in the underlying label field set to save data storage space, and at the same time, the resource query table can be used to achieve accurate query of resource information.
[0048] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0049] In the technical solution of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.
[0050] Figure 1 The application scenario diagram of the information processing method and device according to the embodiments of the present disclosure is schematically shown.
[0051] like Figure 1 As shown, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0052] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).
[0053] The terminal devices 101 , 102 , and 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
[0054] The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for websites browsed by users using the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0055] It should be noted that the information processing method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the information processing device provided in the embodiment of the present disclosure can generally be set in the server 105. The information processing method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105. Accordingly, the information processing device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal devices 101, 102, 103 and / or the server 105.
[0056] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0057] The following will be based on Figure 1 The scene described by Figure 2 to Figure 5 The information processing method of the disclosed embodiment is described in detail.
[0058] Figure 2 The flowchart of the information processing method according to the embodiment of the present disclosure is schematically shown.
[0059] like Figure 2 As shown, the information processing method may include operations S210 to S240.
[0060] In operation S210, for a plurality of resource information having a hierarchical relationship, an abstract identifier of each resource information is determined, wherein the abstract identifier represents a tag field of the resource information.
[0061] According to an embodiment of the present disclosure, a plurality of resource information with a hierarchical relationship may include resource information with a hierarchical affiliation, and a plurality of resource information with a hierarchical relationship may include, for example, text resource information "xx University", "Zhou ab" (student name). The hierarchical relationship between the text resource information "xx University" and "Zhou ab" may be that "xx University" is the upper level of "Zhou ab".
[0062] It should be understood that multiple resource information with a hierarchical relationship may also include other types of resource information. For example, it may include file text resource information released by departments at different levels in a company, etc. The embodiments of the present disclosure do not limit the specific types of resource information.
[0063] It should be noted that the resource information at the current level may have an association relationship with one or more resource information at the next level. The label fields of different resource information may be different or the same. In the case where the resource information has multiple label fields, the label fields of different resource information may be partially the same. For example, the text resource information "Zhou ab" has label fields "male" and "class monitor". The text resource information "Zhang cd" at the same level as the text resource information "Zhou ab" has label fields "male" and "study committee member". The label fields of the text resource information "Zhou ab" and "Zhang cd" may be partially the same.
[0064] According to the embodiments of the present disclosure, the resource information may have one or more label fields. For example, the text resource information "XX University" may have label fields "XX City", "teacher training", etc. Therefore, the abstract identifier may represent one or more label fields of the resource information. In the case where the resource information has multiple label fields, the resource information with the label field can be queried by querying the label field.
[0065] It should be noted that the resource information may be used as a training sample for training an artificial neural network model, and the label fields of the resource information may be used as labels corresponding to the training sample.
[0066] In operation S220, according to the resource association table, a set of bottom-layer label fields is constructed. The resource association table records the hierarchical information and association relationship of the resource information. The set of bottom-layer label fields includes the label fields of the bottom-layer resource information and the label fields of different resource information associated with the bottom-layer resource information. The hierarchical information of the bottom-layer resource information is the bottom layer, and the set of bottom-layer label fields has the same abstract identifier as the bottom-layer resource information.
[0067] According to the embodiments of the present disclosure, the hierarchical information of the resource information may represent the hierarchical relationship between the resource information and other resource information. In the case where the resource information includes text resource information "XX University" and "Zhou ab", the hierarchical information of "Zhou ab" is the bottom layer, and the hierarchical information of "XX University" may represent the upper layer of the bottom layer.
[0068] According to an embodiment of the present disclosure, the association relationship of resource information can represent the direct relationship between different resource information. For example, when the resource information includes the text resource information "xx University", "Zhou ab", and "dd Technical College", the text resource information "xx University" has an association relationship with "Zhou ab", and the text resource information "dd Technical College" has no association relationship with "xx University" and "Zhou ab". However, it should be understood that when the hierarchical information of the text resource information "Zhou ab" is the bottom layer, the hierarchical information of the text resource information "dd Technical College" can represent the upper layer of the bottom layer. Accordingly, the bottom layer label field set can include the label field of the text resource information "Zhou ab" and the label field of "xx University".
[0069] In operation S230, an abstract identifier set corresponding to each resource information is constructed according to the resource association table, wherein the abstract identifier set has the same abstract identifier as the corresponding resource information, and the abstract identifier set includes the abstract identifier of the next level resource information associated with the corresponding resource information.
[0070] According to an embodiment of the present disclosure, when resource information includes text resource information "xx University", "English Major", and "Zhou ab", the text resource information "Zhou ab" is the underlying resource information, the hierarchical information of the text resource information "English Major" represents the upper level of the underlying resource information, and the hierarchical information of the text resource information "xx University" represents the upper level of the text resource information "English Major". An abstract identifier E1-1 can be determined for the text resource information "xx University", an abstract identifier E2-1 can be determined for the text resource information "English Major", an abstract identifier E3-1 can be determined for the underlying resource information "Zhou ab", and the underlying tag field set can have the same abstract identifier E3-1 as the underlying resource information "Zhou ab". The abstract identifier set corresponding to the text resource information "English Major" can include the abstract identifier E3-1, and the abstract identifier set corresponding to the text resource information "English Major" can have the abstract identifier E2-1. Accordingly, the abstract identifier set corresponding to the text resource information "xx University" can include the abstract identifier E2-1, and the abstract identifier set corresponding to the text resource information "xx University" can have the abstract identifier E1-1.
[0071] In operation S240, according to a preset hierarchical rule, the abstract identifier set and the underlying tag field set are stored as a resource query table.
[0072] According to an embodiment of the present disclosure, the bottom layer tag field set can be stored as the bottom layer of the resource query table. According to the hierarchical relationship of resource information, the abstract identifier set corresponding to the resource information is sequentially stored at the upper level of the bottom layer tag field set to obtain the resource query table.
[0073] It should be understood that in the resource query table, the tag fields possessed by multiple resource information are only stored in the underlying tag field set, thereby avoiding repeated storage of tag fields in related technologies and occupying too much storage space.
[0074] According to an embodiment of the present disclosure, the plurality of resource information includes: video information, video frame information and target frame image information.
[0075] According to an embodiment of the present disclosure, the video frame information may include a video frame in the video information, and the target frame image information may include image information selected from the video frame information by the target frame in the video frame information.
[0076] It should be understood that, when multiple resource information include video information, video frame information and target frame image information, the target frame image information may be the underlying resource information, the video frame information may be the resource information of one level above the underlying resource information, and the video information may be the resource information of one level above the video frame information.
[0077] Figure 3 The diagram schematically shows a plurality of resource information according to an embodiment of the present disclosure.
[0078] like Figure 3 As shown, multiple resource information with a hierarchical relationship may include: video information T1-1, T1-2, video frame information T2-1, T2-2 and target frame image information T3-1, T3-2, T3-3, T3-4. The hierarchical information of the target frame image information T3-1, T3-2, T3-3, T3-4 may be the bottom layer, the hierarchical information of the video frame information T2-1, T2-2 may be the upper layer of the target frame image information T3-1, T3-2, T3-3, T3-4, and the video information T1-1, T1-2 may be the upper layer of the video frame information T2-1, T2-2.
[0079] The video information T1 - 1 may have a tag field 3001 : “Sunny”, “Road”.
[0080] The video information T1-2 may have a tag field 3002: "cloudy", "school".
[0081] The video frame information T2 - 1 may have a tag field 3101 : “afternoon”, “collector 1”.
[0082] The video frame information T2-2 may have a tag field 3201: "Evening", "Collector 2".
[0083] The target frame image information T3 - 1 may have a label field 3111 : “red”, “motorcycle”, “right turn”.
[0084] The target frame image information T3 - 2 may have a label field 3121 : “red”, “motorcycle”, “disappeared”.
[0085] The target frame image information T3 - 3 may have a label field 3211 : “blue”, “motorcycle”, “right turn”.
[0086] The target frame image information T3 - 4 may have a tag field 3221 : “blue”, “bicycle”, “disappeared”.
[0087] Video information T1-1 and video information T1-2 are different video information, video frame information T2-1, target frame image information T3-1, T3-2 may be subordinate to video information T1-1, video frame information T2-2, target frame image information T3-3, T3-4 may be subordinate to video information T1-2.
[0088] Therefore, it can be determined that the next level resource information associated with the video information T1-1 may be the video frame information T2-1, and the next level resource information associated with the video frame information T2-1 may be the target frame image information T3-1, T3-2.
[0089] Accordingly, it can be determined that the next level resource information associated with the video information T1-2 may be the video frame information T2-2, and the next level resource information associated with the video frame information T2-2 may be the target frame image information T3-3, T3-4.
[0090] According to an embodiment of the present disclosure, in the case where a plurality of resource information having a hierarchical relationship includes video information, video frame information, and target frame image information, the resource association table may be represented by Table 1.
[0091] Table 1
[0092]
[0093] It should be noted that the resource information identifier may include identification information used to characterize the resource information, and the resource information identifier of each resource information may be unique.
[0094] It should be understood that the abstract identifier in Table 1 may be added after step S210, that is, after determining the abstract identifier of each resource information, the abstract identifier may be added to Table 1. The tag field in Table 1 is only for illustrative purposes to facilitate understanding by those skilled in the art. In actual application scenarios, the tag field in Table 1 may not be stored in the resource association table to save system storage space.
[0095] Figure 4The flowchart of constructing an underlying tag field set according to a resource association table according to an embodiment of the present disclosure is schematically shown.
[0096] like Figure 4 As shown, operation S220, constructing a bottom-level tag field set according to the resource association table may include operations S410 to S420.
[0097] In operation S410, with respect to the underlying resource information, different resource information having an association relationship with the underlying resource information is determined using a resource association table to obtain associated resource information.
[0098] In operation S420, a bottom-level tag field set is constructed based on the bottom-level tag field of the bottom-level resource information and the tag field of the associated resource information.
[0099] According to an embodiment of the present disclosure, for example, when the resource association table can be represented by Table 1, the underlying resource information can be the target frame image information T3-1, and Table 1 can be used to determine that the resource information associated with the target frame image information T3-1 includes video information T1-1 and video frame information T2-1, that is, it can be determined that the associated resource information can include video information T1-1 and video frame information T2-1.
[0100] Based on the underlying label fields of the underlying resource information and the label fields of the associated resource information, that is, based on the label fields of the target frame image information T3-1 and the label fields of the video information T1-1 and the video frame information T2-1, the underlying label field set constructed may include: {"red", "motorcycle", "right turn", "sunny", "road", "afternoon", "collector 1"}. The underlying label field set corresponding to the target frame image information T3-1 has the same abstract identifier Z3-1 as the target frame image information T3-1.
[0101] According to the embodiments of the present disclosure, the same or similar method can be used to determine the underlying resource information T3-2, T3-3, and T3-4, and to construct the underlying label field sets corresponding to the underlying resource information T3-2, T3-3, and T3-4, respectively. Thus, it can be obtained that the underlying label field sets corresponding to the underlying resource information T3-2, T3-3, and T3-4 can have abstract identifiers Z3-2, Z3-3, and Z3-4, respectively.
[0102] According to an embodiment of the present disclosure, for each resource information, the resource information associated with the resource information in the next level of the resource information can be determined according to the resource association table. For example, when the resource association table is Table 1, for the video frame information T2-1, it can be determined that in the next level of the video frame information T2-1, the resource information associated with the video frame information T2-1 is the target frame image information T3-1 and T3-2. It can thus be determined that the abstract identifier set corresponding to the video frame information T2-1 may include abstract identifiers Z3-1 and Z3-2, that is, the abstract identifier set corresponding to the video frame information T2-1 may be expressed as {Z3-1, Z3-2}. The abstract identifier set {Z3-1, Z3-2} may have the same abstract identifier Z2-1 as the video frame information T2-1.
[0103] Therefore, the same or similar method can be used to construct an abstract identification set corresponding to each resource information.
[0104] According to an embodiment of the present disclosure, operation S240, storing the abstract identifier set and the underlying tag field set as a resource query table according to a preset hierarchical rule, may include the following operations.
[0105] According to the preset hierarchical rules, the bottom-level tag field set is stored as the bottom level of the resource query table; according to the hierarchical information of the resource information, the abstract identifier set corresponding to each resource information is stored to obtain the resource query table, wherein the abstract identifier set in the resource query table has the same hierarchical information as the corresponding resource information.
[0106] According to an embodiment of the present disclosure, the resource query table can be represented by Table 2.
[0107] Table 2
[0108]
[0109] According to an embodiment of the present disclosure, in a resource query table (for example, Table 2), the tag field of the resource information is only stored in the underlying tag field set, and the tag fields of different resource information are represented by an abstract identifier set, thereby avoiding repeated storage of tag fields of the same resource information, reducing the space occupied by the tag field storage, and meeting the actual needs of querying resource information through tag fields.
[0110] According to an embodiment of the present disclosure, the information processing method may further include the following operations.
[0111] In response to detecting a query operation for target resource information, the target resource information is queried using a resource query table.
[0112] According to an embodiment of the present disclosure, the target resource information may include the resource information that the relevant personnel need to query in order to obtain the training sample. It should be understood that the training sample may include the target resource information and the label field of the target resource information, and the multiple resource information have a hierarchical relationship, and the label field of the resource information may be one or more. The resource query table records the association relationship between the resource information through an abstract label set, so the resource query table queries the target resource information, which can avoid confusion in the association relationship of the resource information in the queried target resource information.
[0113] According to an embodiment of the present disclosure, the underlying tag field set includes multiple tags, and the query operation includes querying the tag field.
[0114] Figure 5 The flowchart of querying target resource information by using a resource query table in response to detecting a query operation for target resource information according to an embodiment of the present disclosure is schematically shown.
[0115] like Figure 5 As shown, operation S410, in response to detecting a query operation for target resource information, querying the target resource information using a resource query table may include operations S510 to S530.
[0116] In operation S510, in response to detecting a query operation for target resource information, an underlying target tag field set including the query tag field is determined from a plurality of underlying tag field sets of a resource query table according to a query tag field in the query operation.
[0117] In operation S520, the resource association table is used to query the abstract identifier set associated with the underlying target abstract identifier in the upper level of the underlying target label field set according to the underlying target abstract identifier of the underlying target label field set, and obtain the target abstract identifier.
[0118] In operation S530, target resource information having the underlying target abstract identifier and the target abstract identifier is determined according to the underlying target abstract identifier and the target abstract identifier.
[0119] According to an embodiment of the present disclosure, the query operation may include an operation of querying a tag field. The query tag field may include one or more tag fields. When the query tag field includes multiple tag fields, the relationship between the multiple tag fields may include "and" and "or".
[0120] When the resource query table is Table 2, for example, when the query tag fields include "blue" and "disappeared" and "school", the underlying target tag field set including the query tag fields "blue" and "disappeared" and "school" can be determined from the multiple underlying tag field sets of Table 1, and the underlying target tag field set has an underlying target abstract identifier of Z3-4.
[0121] By using the resource association table (e.g., Table 1), the resource information associated with the underlying target abstract identifier Z3-4 can be queried at the upper level of the underlying target tag field set, and the video frame information T2-2 can be found. It can be determined that the target abstract identifier includes the abstract identifier Z2-2. Using the same or similar method, it can be further queried that the target abstract identifier includes the abstract identifiers Z1-2 and Z2-2.
[0122] According to the underlying target abstract identifier Z3-4 and the target abstract identifiers Z1-2 and Z2-2, it can be determined that the target resource information having the underlying target abstract identifier and the target abstract identifier is the video information T1-2, the video frame information T2-2 and the target frame image information T3-4.
[0123] According to the embodiments of the present disclosure, by querying the target resource information using the resource query table, the queried target resource information can have an associated relationship, thereby avoiding the situation where the underlying resource information in the queried target resource information has no associated relationship with the resource information of the previous level, thereby improving the accuracy of the resource information query.
[0124] Based on the above information processing method, the present disclosure also provides an information processing device. Figure 6 The device is described in detail.
[0125] Figure 6 The structure block diagram of the information processing device according to the embodiment of the present disclosure is schematically shown.
[0126] like Figure 6 As shown, the information processing device 600 may include an abstract identifier determination module 610 , a first construction module 620 , a second construction module 630 and a resource query table generation module 640 .
[0127] The abstract identifier determination module 610 is used to determine the abstract identifier of each resource information with a plurality of resource information having a hierarchical relationship, wherein the abstract identifier represents a tag field of the resource information.
[0128] The first construction module 620 is used to construct an underlying label field set according to a resource association table, wherein the resource association table records the hierarchical information and association relationship of the resource information, the underlying label field set includes the label field of the underlying resource information and the label field of different resource information that has an association relationship with the underlying resource information, the hierarchical information of the underlying resource information is the bottom layer, and the underlying label field set has the same abstract identifier as the underlying resource information.
[0129] The second construction module 630 is used to construct an abstract identifier set corresponding to each resource information according to the resource association table, wherein the abstract identifier set has the same abstract identifier as the corresponding resource information, and the abstract identifier set includes the abstract identifier of the next level resource information that has an association relationship with the corresponding resource information.
[0130] The resource query table generation module 640 is used to store the abstract identifier set and the underlying tag field set as a resource query table according to a preset hierarchical rule.
[0131] According to an embodiment of the present disclosure, the first building module includes: a first determining unit and a first building unit.
[0132] The first determining unit is used to determine different resource information having an association relationship with the underlying resource information by using the resource association table, and obtain the associated resource information.
[0133] The first construction unit is used to construct an underlying label field set based on the underlying label field of the underlying resource information and the label field of the associated resource information.
[0134] According to an embodiment of the present disclosure, the information processing device may further include: a query module.
[0135] The query module is used to query the target resource information using the resource query table in response to detecting a query operation for the target resource information.
[0136] According to an embodiment of the present disclosure, the underlying tag field set includes multiple tags, and the query operation includes querying the tag field.
[0137] The query module may include: a second determining unit, a query unit, and a third determining unit.
[0138] The second determination unit is used to determine, in response to detecting a query operation for target resource information, an underlying target tag field set including a query tag field from multiple underlying tag field sets of the resource query table according to the query tag field in the query operation.
[0139] The query unit is used to use the resource association table to query the abstract identifier set associated with the underlying target abstract identifier in the underlying target label field set in turn to the upper level of the underlying target label field set to obtain the target abstract identifier.
[0140] The third determining unit is used to determine the target resource information having the underlying target abstract identifier and the target abstract identifier according to the underlying target abstract identifier and the target abstract identifier.
[0141] According to an embodiment of the present disclosure, a resource query table generating module may include: a storage unit and a generating unit.
[0142] The storage unit is used to store the bottom-level tag field set as the bottom level of the resource query table according to a preset hierarchical rule.
[0143] The generating unit is used to store the abstract identification set corresponding to each resource information according to the level information of the resource information to obtain a resource query table, wherein the abstract identification set in the resource query table has the same level information as the corresponding resource information.
[0144] According to an embodiment of the present disclosure, the plurality of resource information may include: video information, video frame information and target frame image information.
[0145] According to an embodiment of the present disclosure, any multiple modules among the abstract identification determination module 610, the first construction module 620, the second construction module 630 and the resource query table generation module 640 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the abstract identification determination module 610, the first construction module 620, the second construction module 630 and the resource query table generation module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the abstract identifier determination module 610, the first construction module 620, the second construction module 630 and the resource query table generation module 640 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0146] Figure 7A block diagram of an electronic device suitable for implementing an information processing method according to an embodiment of the present disclosure is schematically shown.
[0147] like Figure 7 As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 into a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0148] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0149] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the I / O interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.
[0150] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0151] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.
[0152] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the information processing method provided by the embodiment of the present disclosure.
[0153] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0154] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0155] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0156] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0157] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0158] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0159] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. An information processing method, comprising: For multiple resource information having a hierarchical relationship, determine an abstract identifier for each resource information, wherein the abstract identifier represents a tag field of the resource information; According to the resource association table, construct a bottom-level label field set, wherein the resource association table records the hierarchical information and the association relationship of the resource information, the bottom-level label field set includes the label field of the bottom-level resource information and the label field of different resource information having an association relationship with the bottom-level resource information, the hierarchical information of the bottom-level resource information is the bottom level, and the bottom-level label field set has the same abstract identifier as the bottom-level resource information; According to the resource association table, construct an abstract identifier set corresponding to each resource information, wherein the abstract identifier set has the same abstract identifier as the corresponding resource information, and the abstract identifier set includes the abstract identifier of the next-level resource information that has an association relationship with the corresponding resource information; According to a preset hierarchical rule, the abstract identifier set and the underlying tag field set are stored as a resource query table; The method further comprises: In response to detecting a query operation for target resource information, determining, according to a query tag field in the query operation, from a plurality of the underlying tag field sets of the resource query table, an underlying target tag field set including the query tag field; Using the resource association table, according to the underlying target abstract identifier of the underlying target label field set, querying the abstract identifier set associated with the underlying target abstract identifier in the previous level of the underlying target label field set in turn, to obtain the target abstract identifier; According to the underlying target abstract identifier and the target abstract identifier, the target resource information having the underlying target abstract identifier and the target abstract identifier is determined.
2. The method according to claim 1, wherein: According to the resource association table, the underlying tag field set is constructed including: For the underlying resource information, using the resource association table to determine different resource information associated with the underlying resource information, to obtain associated resource information; The underlying label field set is constructed based on the underlying label field of the underlying resource information and the label field of the associated resource information.
3. The method according to claim 1, wherein: According to a preset hierarchical rule, storing the abstract identifier set and the underlying tag field set as a resource query table includes: According to a preset hierarchical rule, the bottom-level tag field set is stored as the bottom level of the resource query table; According to the level information of the resource information, the abstract identification set corresponding to each resource information is stored to obtain the resource query table, wherein the abstract identification set in the resource query table has the same level information as the corresponding resource information.
4. The method according to claim 1, wherein: The plurality of resource information includes: video information, video frame information and target frame image information.
5. An information processing device, comprising: An abstract identifier determination module, used to determine the abstract identifier of each resource information with a hierarchical relationship, wherein the abstract identifier represents a tag field of the resource information; A first construction module is used to construct a bottom-level label field set according to a resource association table, wherein the resource association table records the hierarchical information and the association relationship of the resource information, the bottom-level label field set includes the label field of the bottom-level resource information and the label field of different resource information having an association relationship with the bottom-level resource information, the hierarchical information of the bottom-level resource information is the bottom level, and the bottom-level label field set has the same abstract identifier as the bottom-level resource information; A second construction module is used to construct an abstract identifier set corresponding to each resource information according to the resource association table, wherein the abstract identifier set has the same abstract identifier as the corresponding resource information, and the abstract identifier set includes the abstract identifier of the next-level resource information that has an association relationship with the corresponding resource information; A resource query table generation module, used to store the abstract identifier set and the underlying tag field set as a resource query table according to a preset hierarchical rule; The device also includes: A second determining unit is configured to, in response to detecting a query operation for target resource information, determine, according to a query tag field in the query operation, from a plurality of the underlying tag field sets of the resource query table, an underlying target tag field set including the query tag field; A query unit, configured to use the resource association table to query, according to the underlying target abstract identifier of the underlying target label field set, the abstract identifier set associated with the underlying target abstract identifier in the previous level of the underlying target label field set, to obtain the target abstract identifier; The third determining unit is used to determine the target resource information having the underlying target abstract identifier and the target abstract identifier according to the underlying target abstract identifier and the target abstract identifier.
6. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 4.
8. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Data processing method and device, electronic device and computer-readable storage medium
CN108984618A
Resource scheduling method and device for cloud computing platform and storage medium
CN113867937A