CN117931876B - Data resource transmission method, device, electronic device and computer readable medium - Google Patents
Data resource transmission method, device, electronic device and computer readable medium Download PDFInfo
- Publication number
- CN117931876B CN117931876B CN202410077969.2A CN202410077969A CN117931876B CN 117931876 B CN117931876 B CN 117931876B CN 202410077969 A CN202410077969 A CN 202410077969A CN 117931876 B CN117931876 B CN 117931876B
- Authority
- CN
- China
- Prior art keywords
- data
- information
- resource
- tenant
- group
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
- G06F16/2433—Query languages
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the disclosure discloses a data resource sending method, a data resource sending device, electronic equipment and a computer readable medium. The method comprises the steps of responding to at least one data resource request, carrying out request analysis on the data resource request to generate a resource identifier and a resource acquisition time period, determining a data common resource identifier set, determining whether the resource identifier exists in the data common resource identifier set, responding to the determination, acquiring a database query statement template, carrying out resource field processing on the database query statement template to generate a processed database query statement, executing the processed database query statement, generating value collection request information, responding to the received value collection completion information, and sending the data resource to a tenant user terminal. According to the embodiment, the data resources required by the tenant can be quickly and efficiently sent to the corresponding tenant using terminal.
Description
Technical Field
Embodiments of the present disclosure relate to the field of computer technology, and in particular, to a data resource transmission method, apparatus, electronic device, and computer readable medium.
Background
At present, in the current big data age, data resources become important assets of various enterprises, and how to acquire required data resources becomes a current main research direction. For the acquisition of data resources, a method is generally adopted, wherein first, the required data resource information is acquired. Then, the data resources corresponding to the data resource information are acquired in the database by writing a query statement for the data resource information.
However, in practice, it is found that when the data resources are obtained in the above manner, there is often a technical problem that the writing of the corresponding query statement requires knowledge of the relevant storage condition of the data resources stored in the database. For related personnel without a programming foundation, the acquisition of the data resource cannot be realized quickly and effectively.
In the process of solving the first technical problem by adopting the technical scheme, the second technical problem of how to accurately generate semantic information capable of representing common label semantics among all labels in the label group aiming at the data label group is often accompanied, so that the tenant information is divided according to the semantic information. Aiming at the second technical problem, the conventional solution is generally to directly input each data tag in the data tag group into a semantic information generation model to generate first data resource call semantic information, wherein the semantic information generation model can be a multilayer serial connection LSTM model. However, the conventional solution still has the problem that the semantic information generated for the data tag group is not accurate enough, resulting in an insufficient accuracy of the tenant information group set divided later.
The above information disclosed in this background section is only for enhancement of understanding of the background of the inventive concept and, therefore, may contain information that does not form the prior art that is already known to those of ordinary skill in the art in this country.
Disclosure of Invention
The disclosure is in part intended to introduce concepts in a simplified form that are further described below in the detailed description. The disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a data resource transmission method, apparatus, electronic device, and computer readable medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a data resource transmission method, including performing, in response to receiving at least one data resource request for at least one tenant information, a transmission step of performing, for each of the at least one tenant information, a request parsing of the data resource request corresponding to the tenant information to generate a resource identifier and a resource acquisition time period, wherein the at least one tenant information is processed by a tenant mode, determining a set of data common resource identifiers corresponding to the tenant information, determining whether the resource identifier is present in the set of data common resource identifiers, acquiring a database query statement template corresponding to the set of data common resource identifiers in response to determining that the resource identifier is present, performing a resource field processing of the database query statement template in accordance with the resource identifier and the resource acquisition time period to generate a processed database query statement, performing the processed database query statement to acquire the data resource corresponding to the resource identifier and the resource acquisition time period, generating value-receiving request information for the data resource, and receiving value-receiving the corresponding data resource for the data resource in response to the request, and receiving value-receiving the value-receiving information for the corresponding to the tenant information.
In a second aspect, some embodiments of the present disclosure provide a data resource transmitting apparatus, including an execution unit configured to perform, in response to receiving at least one data resource request for at least one tenant information, a transmission step of performing, for each of the at least one tenant information, a request parsing of the data resource request corresponding to the tenant information to generate a resource identifier and a resource acquisition period, wherein the at least one tenant information is processed by a tenant mode, determining a set of data common resource identifiers corresponding to the tenant information, determining whether the resource identifier is present in the set of data common resource identifiers, acquiring a database query statement template corresponding to the set of data common resource identifiers in response to determining that the resource identifier is present, performing a resource field processing of the database query statement template according to the resource identifier and the resource acquisition period to generate a processed database query statement, performing the processing of the database query statement to acquire the data resource corresponding to the resource identifier and the resource acquisition period, generating a value for the data resource corresponding to the tenant information, and receiving the value for the data resource corresponding to the request, in response to the request, and transmitting the value for the received value for the tenant information.
In a third aspect, some embodiments of the present disclosure provide an electronic device comprising one or more processors, a storage device having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement a method as described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium having a computer program stored thereon, wherein the program when executed by a processor implements a method as described in any of the implementations of the first aspect.
The data resource sending method has the advantage that data resources required by the tenant can be quickly and efficiently sent to the corresponding tenant using terminal through the data resource sending method of some embodiments of the disclosure. Specifically, the reason why the related acquired data resources are not fast and efficient is that the related storage condition of the data resources stored in the database needs to be known when the corresponding query statement is written. For related personnel without a programming foundation, the acquisition of the data resource cannot be realized quickly and effectively. Based on this, the data resource transmitting method of some embodiments of the present disclosure firstly, in response to receiving at least one data resource request for at least one tenant information, for each tenant information in the at least one tenant information, performing a transmitting step of performing a request parsing on the data resource request corresponding to the tenant information to accurately generate a resource identifier and a resource acquisition time period. Wherein, the at least one piece of tenant information is processed by a tenant mode. Here, by performing request parsing on the data resource request, the obtained resource identifier and the resource acquisition time period are used for subsequently acquiring the required data resource. And secondly, determining a data common resource identification set corresponding to the tenant information so as to facilitate the subsequent locking of the storage position of the required data resource in the database and facilitate the subsequent and rapid acquisition of the required data resource. And thirdly, determining whether the resource identifier exists in the common data resource identifier set or not, and locking the storage position of the required data resource in the database later. And fourthly, acquiring a database query statement template corresponding to the data common resource identification set in response to the determination of existence, so as to conveniently and efficiently generate a query statement for the required data resource. And fifthly, carrying out resource field processing on the database query statement template according to the resource identifier and the resource acquisition time period so as to quickly and accurately generate a processed database query statement. And sixthly, executing the processed database query statement to rapidly and effectively acquire the resource identifier and the data resource corresponding to the resource acquisition time period. And seventh, generating value collection request information aiming at the data resources so as to facilitate subsequent renters to pay corresponding value information to acquire the data resources. And eighth, in response to receiving the value receiving completion information for the value receiving request information, sending the data resource to the tenant using terminal corresponding to the tenant information, so that the corresponding tenant obtains the required data resource.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of some embodiments of a data resource transmission method according to the present disclosure;
fig. 2 is a schematic structural diagram of some embodiments of a data resource transmitting device according to the present disclosure;
Fig. 3 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Referring to fig. 1, a flow 100 of some embodiments of a data resource transmission method according to the present disclosure is shown. The data resource sending method comprises the following steps:
step 101, in response to receiving at least one data resource request for at least one tenant information, for each of the at least one tenant information, performing the following sending steps:
step 1011, performing request analysis on the data resource request corresponding to the tenant information, so as to generate a resource identifier and a resource acquisition time period.
In some embodiments, the execution body of the data resource sending method may perform request analysis on a data resource request corresponding to the tenant information, so as to generate a resource identifier and a resource acquisition time period. The at least one piece of tenant information may be at least one piece of object information to be called for data resources. In practice, tenant information may be user information. The tenant information in the at least one tenant information has a one-to-one correspondence with the data resource request in the at least one data resource request. The data resource request may be a request to acquire a data resource. The data resources may be various forms of data sets in various fields. For example, the data resource may be "acquire an image of a region". The resource identifier may be an overall data identifier corresponding to the data set. The resource acquisition period may be an acquisition period corresponding to the data set. For example, the dataset corresponds to a period of time of "2019-2021". The resource acquisition period may be "1 month in 2020-12 months in 2020". Wherein, the at least one piece of tenant information is processed by a tenant mode.
As an example, the execution body uses a related regularization formula to perform request analysis on the data resource request corresponding to the tenant information, so as to generate a resource identifier and a resource acquisition time period.
Step 1012, determining a data common resource identifier set corresponding to the tenant information.
In some embodiments, the executing entity may determine a set of data common resource identifiers corresponding to the tenant information. The data common resource identification set may represent a data set that corresponds to tenant information and is common to the tenant.
In some alternative implementations of some embodiments, the set of data common resource identifiers is a resource identifier sub-tree of a tree structure. The larger the range of the domain information related to the data corresponding to the tree node representation of the upper layer corresponding to the resource identification subtree is, the larger the corresponding data quantity is. The lower the tree node corresponding to the resource identification subtree is, the smaller the range of the domain information related to the data corresponding to the characterization of the tree node is, and the smaller the corresponding data quantity is. The tree nodes in the resource identification subtree may be data field information corresponding to the data set.
Optionally, the determining the data common resource identifier set corresponding to the tenant information may include the following steps:
First, determining tenant group information corresponding to the tenant information. The tenant group information may be group information corresponding to a tenant group. In practice, the group information may be a group name. The tenant group comprises at least one tenant. The types of resources of frequently acquired data resources corresponding to tenants in the same tenant group are similar.
And secondly, determining the resource identification subtree corresponding to the tenant group information. Wherein the resource identification subtree is a subtree in the resource identification tree. The resource identification tree is a tree model created for the tenant information set that characterizes the data resource domain distribution. The resource identification tree may be an identification tree established in the case of all data resources corresponding to all tenant information. The domain of the data resource corresponding to the resource identification subtree is a sub-domain of the data resource corresponding to the resource identification tree.
And thirdly, determining the data common resource identification set corresponding to the resource identification subtree.
As an example, the execution body may determine each tree node in the resource identification subtree as the data common resource identification set.
In some optional implementations of some embodiments, the determining tenant group information corresponding to the tenant information may include the following steps:
first, determining tenant group information corresponding to the tenant information by utilizing a pre-generated tenant group table. The tenant group table may characterize an association relationship between tenant group information and tenant information.
The tenant group table is generated through the following steps:
First, acquiring a tenant information set at the current time. The tenant information set may be tenant information corresponding to a full tenant set. Wherein the full tenant set may be all tenants registered. That is, the tenants in the full tenant set may be tenants that have historically acquired data resources.
A second step of executing the following first generation step for each tenant information in the tenant information set:
And a first sub-step of acquiring a history call data resource record corresponding to the tenant information. The historical call data resource record may be a resource record of a data resource that the tenant information corresponds to a data resource that the tenant has called.
And a second sub-step of determining whether the periodic call data information exists in the history call data resource record. The period call data information may be data information of period call resource data. In practice, the data information may be a data identification. The periodically invoked resource data may be resource data that is periodically invoked.
A third sub-step, responsive to determining that there is at least one period invocation data information.
And a fourth sub-step of generating a history call resource data sequence under a preset history time period according to the history call data resource record. Wherein the predetermined history period may be a history period set in advance. For example, the predetermined historical period of time may be within the last half year. The historical call resource data sequence may be a sequence of resource data that the tenant information locks calls for a predetermined historical period of time. For example, the history call resource data sequence includes first history call resource data, second history call resource data, and third history call resource data.
A fifth substep of executing the following second generation step for each of the at least one period call data information:
And step one, determining an attribute related information set corresponding to the period calling data information. Wherein the attribute related information set may be an information set related to the data attribute set. In practice, the attribute related information sets may include an attribute set and an attribute information set. The attribute information may be an attribute value corresponding to an attribute. The attributes in the attribute set have a one-to-one correspondence with the attribute information in the attribute information set.
As an example, the execution subject may extract the attribute-related information set from the period call data information corresponding data by means of attribute-related information extraction.
And step two, generating a data tag set for calling data information for the period according to the attribute related information set.
As an example, the execution subject may input the attribute-related information set to a data tag generation model to generate a data tag set. Wherein the data tag generation model may be a seq2seq model.
And a sixth sub-step, performing statistics on the repetition times of the data tags in the obtained at least one data tag set to obtain statistical record information. The number of data tag repetition may be the number of occurrences corresponding to the data tag repeatedly occurring in the at least one data tag set. The statistical record information may include tag information corresponding to the data tag and the corresponding number of data tag repetitions. For example, the statistics may be { data tag A1 times, data tag B2 times, data tag C4 times, data tag D1 time }.
And a seventh substep, performing data tag duplication removal on the at least one data tag set to obtain a duplicated data tag group.
And an eighth sub-step of performing data tag supplementation on the de-duplicated data tag group according to the statistical record information so as to generate a supplemented data tag group.
And a ninth substep, generating first data resource call semantic information for the tenant information according to the supplemented data tag group. The first data resource call semantic information may represent resource semantic information corresponding to data resources required by the tenant. For example, the resource semantic information may include related domain information corresponding to the data resource.
As an example, the execution body may input each post-supplement data tag in the post-supplement data tag group to a semantic generation model to generate first data resource call semantic information for the tenant information. The semantic generation model may be a transducer model, among others.
Thirdly, invoking a semantic information set according to the obtained first data resource, and performing tenant division on each piece of tenant information in the tenant information set to generate a tenant information set.
As an example, the executing body may call the semantic information set according to the first data resource, and divide tenant information of the same semantic information into a group to obtain a tenant information group, and obtain a tenant information group set.
And fourthly, checking the tenant information set according to the obtained supplemented data tag set to generate a checking result. The verification result comprises information indicating that the partitioning result corresponding to the tenant information set is correct and information indicating that the partitioning result corresponding to the tenant information set is correct.
And fifthly, responding to the determination that the verification result represents division, and generating tenant call resource semantic information corresponding to the tenant information group according to the data tag set corresponding to the tenant information group for each tenant information group in the tenant information group.
As an example, the execution body may input the data tag set corresponding to the tenant information set into a semantic generation model to generate tenant call resource semantic information for the tenant information set.
Sixth, according to the obtained tenant call resource semantic information set and the tenant information set, generating a tenant group table. The tenant call resource semantic information in the tenant call resource semantic information set and the tenant information set in the tenant information set have a one-to-one correspondence.
As an example, the execution body may combine the tenant call resource semantic information in the tenant call resource semantic information set with the corresponding tenant information set in the tenant information set to generate combined information, so as to obtain a combined information set. A table-form tenant group table for the tenant information set is generated.
Considering the conventional solution ' directly inputting each data tag in the data tag group into the semantic information generation model to generate the first data resource call semantic information ', wherein the semantic information generation model can be a multilayer serial connection LSTM model ', the technical problem is faced with the second technical problem that the semantic information generated for the data tag group is not accurate enough, so that the subsequent divided tenant information group set is not accurate enough. In combination with the advantages/state of the art it is decided to adopt the following solutions:
Optionally, generating the first data resource call semantic information for the tenant information according to the supplemented data tag group may include the following steps:
In the first step, each data tag in the supplemented data tag group is subjected to tag type division so as to generate at least one supplemented data tag subgroup. Wherein, there is corresponding data association between each supplementary data tag subgroup in at least one supplementary data tag subgroup. Wherein each of the supplemental data tags in each of the supplemental data tag sub-groups is a tag of a uniform tag type. For example, the tag type may be, but is not limited to, at least one of an attribute tag type, an attribute description rating tag type, and an attribute key value tag type. The attribute tag type may be a tag related to an attribute name in the post-supplement data tag. The above-described attribute description evaluation tag type may be a tag of evaluation of attribute description contents for attributes in the post-supplement data tag. The attribute key value tag type may be a tag of key values for attribute description contents in the post-supplement data tag. The at least one supplemental data tag subgroup may include a supplemental data tag subgroup corresponding to an attribute tag type, a supplemental data tag subgroup corresponding to an attribute description evaluation tag type, and a supplemental data tag subgroup corresponding to an attribute key value tag type.
A second step of, for each of the at least one subset of post-supplement data tags, performing the following fourth generation step:
A first sub-step of determining at least one post-supplement data tag in a remaining at least one sub-group of post-supplement data tags associated with the corresponding data as at least one associated data tag. Wherein the remaining at least one post-supplement data tag subgroup is at least one post-supplement data tag subgroup from the at least one post-supplement data tag subgroup from which the post-supplement data tag corresponds.
And a second sub-step, carrying out a tag word embedding model on the supplemented data tag and at least one associated data tag to obtain a data tag word embedding vector set. The tag Word embedding model may be a Word2Vec model.
And a third sub-step of inputting the data tag word embedding vector into a feature extraction model under the corresponding data tag type for each data tag word embedding vector in the data tag word embedding vector set to generate feature extraction information. Wherein, each data tag type has a unique corresponding feature extraction model. The constraint of the output feature extraction information is carried out among the feature extraction models through the convolutional neural network model so as to ensure the accuracy of the output feature extraction information of the feature extraction models. That is, the convolution neural network model exists in the output result between every two feature extraction models so as to determine the relevance between the feature extraction information of each output, and ensure the accuracy of the feature extraction information output by each feature extraction model.
And a fourth sub-step of splicing the feature extraction information in the obtained feature extraction information set to generate first spliced feature information.
A fifth substep of executing, for the first splice feature information, the following fifth generation step:
And step one, in response to determining that the number of model layers corresponding to the coding models included in the pre-trained coding and decoding models is smaller than the first number and the number of model layers corresponding to the decoding models is smaller than the second number, inputting the first splicing characteristic information into the pre-trained coding and decoding models so as to generate first initial data resource call semantic information.
And secondly, splicing every at least two pieces of feature extraction information in the feature extraction information set to generate second spliced feature information, and obtaining a second spliced feature information set.
And thirdly, inputting each piece of second splicing characteristic information in the second splicing characteristic information set into the pre-trained coding and decoding model to generate second initial data resource calling semantic information, and obtaining a second initial data resource calling semantic information set.
Determining the semantic information similarity between each second initial data resource call semantic information in the second initial data resource call semantic information set and the first initial data resource call semantic information to obtain a semantic information similarity set.
And fifthly, determining the first initial data resource call semantic information as first data resource call semantic information in response to determining that the similarity of each semantic information in the semantic information similarity set is larger than a target value.
And step six, in response to determining that the similarity of the semantic information in the semantic information similarity set is smaller than or equal to the target value, splicing at least one piece of feature extraction information which is corresponding to the semantic information similarity set and smaller than or equal to the target value to obtain third spliced feature information.
And seventhly, inputting the third splicing characteristic information into the pre-trained coding and decoding model to generate third initial data resource calling semantic information.
And step eight, generating semantic information similarity between the third initial data resource call semantic information and the first initial data resource call semantic information as target semantic information similarity.
And step nine, determining the first initial data resource call semantic information as first data resource call semantic information in response to determining that the target semantic information similarity is greater than a target value.
And a sixth substep, in response to determining that the similarity of the target semantic information is smaller than or equal to the target numerical value, increasing the model layer number corresponding to the coding model and the model layer number corresponding to the decoding model included in the coding and decoding model, and obtaining the coding and decoding model with increased layer number.
And a seventh substep of determining the coding and decoding model with the increased number of layers as the coding and decoding model, and continuing to execute the fifth generating step.
The above-mentioned "optional" content is one of the invention points of the present disclosure, and solves the second technical problem mentioned in the background art, namely that the semantic information generated for the data tag group is not accurate enough, resulting in that the tenant information group set divided later is not accurate enough. Based on this, the present disclosure guarantees the accuracy of the feature extraction information output by each feature extraction model by setting constraint limits for the feature extraction information of a plurality of feature extraction models. In addition, the number of layers of the coding model and the decoding model included by the coding model and the decoding model is continuously changed, so that the first data resource call semantic information which is more accurately extracted for a plurality of characteristics is dynamically and accurately generated.
Optionally, the verifying the tenant information set according to the obtained supplemental data tag set to generate a verification result includes:
the first step, for each tenant information group in the tenant information group set, executes the following third generation step:
And step one, determining a supplemented data tag group corresponding to each piece of tenant information in the tenant information groups as a target data tag group, and obtaining at least one target data tag group.
And a second sub-step of determining repeated data tags among each target data tag group in the at least one target data tag group as first repeated data tags to obtain at least one first repeated data tag.
And thirdly, determining at least one second repeated data tag corresponding to each target tenant information group in the target tenant information groups to obtain at least one second repeated data tag set. The target tenant information set is an information set obtained by removing the tenant information set from the tenant information set.
And a sub-step four of determining, for each at least one second repeated data tag in the at least one second repeated data tag set, a repeated data tag between the at least one second repeated data tag and the at least one first repeated data tag as a third repeated data tag, and obtaining at least one third repeated data tag.
And fifthly, generating a sub-verification result representing that the tenant information set passes verification in response to determining that the number of labels corresponding to the at least one first repeated data label is larger than a first value and the number of labels corresponding to each at least one third repeated data label is smaller than a second value. Wherein the first value and the second value are both preset values. For example, the first value is 5 and the second value is 8.
And secondly, determining the obtained sub-verification result set as a verification result.
Optionally, according to the statistical record information, performing data tag supplementation on the data tag group after duplication removal to generate a supplemented data tag group, which may include the following steps:
And a first step of determining that the de-duplicated data tag group corresponds to at least one third re-data tag according to the statistical record information.
And a second step of determining the repetition number corresponding to each third data tag in the at least one third data tag according to the statistical record information.
And thirdly, generating second data resource call semantic information corresponding to the at least one third data label. The second data resource call semantic information may represent semantic information corresponding to an overall tag set corresponding to at least one third data tag.
And step four, acquiring a knowledge graph of the semantic information called for the second data resource as a target knowledge graph. The knowledge graph can represent the association relation between each label node under the corresponding data resource call semantic information under the target service scene.
And fifthly, for each third data tag in the at least one third data tag, acquiring an associated data tag group with an association relationship with the third data tag from the knowledge graph. The number of the labels corresponding to the associated data label group is the same as the number of the repetition times corresponding to the third data label.
And sixthly, performing de-duplication processing on each tag in the obtained at least one associated data tag group to generate a de-duplicated tag set.
And seventh, adding the de-duplicated tag set to the de-duplicated data tag set to generate a supplementary data tag set.
Step 1013, determining whether the resource identifier exists in the set of data common resource identifiers.
In some embodiments, the execution body may determine whether the resource identifier exists in the set of data common resource identifiers.
In step 1014, in response to determining that the database query statement templates corresponding to the common resource identification sets of data are available.
In some embodiments, in response to determining that the data common resource identifier set exists, the execution body may obtain a database query statement template corresponding to the data common resource identifier set. Wherein, the database query statement template can be a statement template of a database query statement. The database query statement template may be a full-field query statement for a common set of resource identifiers for data. That is, the resource identification set to be filled corresponding to each query field corresponding to the database query statement template is the same as the common resource identification set of the data.
Step 1015, performing resource field processing on the database query statement template according to the resource identifier and the resource acquisition time period to generate a processed database query statement.
In some embodiments, the execution body may perform resource field processing on the database query statement template according to the resource identifier and the resource acquisition period to generate a processed database query statement.
In some optional implementations of some embodiments, different identification levels exist for each of the data common resource identifications in the data common resource identification set. The different identification levels represent different fields of the data resources corresponding to the common data resource identifications. The tree nodes in the same hierarchy in the resource identification subtrees corresponding to the data common resource identification sets are the same identification hierarchy. The closer to the root node, the higher the corresponding identification level.
Optionally, the processing the resource field of the database query statement template according to the resource identifier and the resource acquisition time period to generate a processed database query statement may include the following steps:
first, determining the identification level of the resource identification in the resource identification subtree as a target identification level.
And secondly, performing template cutting on the database query statement template according to the target identification level to obtain a cut database query statement template.
As an example, first, the execution subject may determine at least one identification level below the target identification level. Then, an identification set corresponding to the at least one identification level is determined as a target identification set. And then, removing the fields which have no association relation with the marks in the target mark set from the cut database query sentence template to obtain the cut database query sentence template.
And thirdly, filling the resource identifier into a corresponding position in the cut database query statement template to generate a filled database query statement.
And step four, adding a time query field to the filled database query statement to generate an added database query statement as a processed database query statement.
Step 1016, executing the processed database query statement to obtain the resource identifier and the data resource corresponding to the resource obtaining time period.
In some embodiments, the executing entity may execute the processed database query statement to obtain the resource identifier and the data resource corresponding to the resource obtaining period.
In step 1017, value collection request information for the data resource is generated.
In some embodiments, the executing entity may generate value receipt request information for the data resource. Wherein the value-collecting request information may be request information for collecting value information. In practice, the value information may be a charging price for the credit investigation scenario. The value charge request information may be information requesting payment of a charge price.
In some optional implementations of some embodiments, the generating the value-receiving request information for the data resource may include:
First, determining the resource size, the resource importance degree information, the resource source information and the resource integrity degree information corresponding to the data resources. The resource size may represent a data byte size corresponding to the data resource. The resource importance information may characterize the resource importance of the data resource. The larger the corresponding value of the resource importance degree information is, the more important the characterization data resource is. The resource source information may be a resource source channel of the data resource. The resource integrity information may characterize the data integrity of the data resource.
And a second step of generating the value collection request information according to the resource size, the resource importance degree information, the resource source information and the resource integrity degree information.
As an example, the execution body may generate the corresponding value receipt information according to the resource size, the resource importance degree information, the resource source information, and the resource integrity degree information using a value receipt information determination formula set in advance. Then, value-receipt request information for the value-receipt information is generated based on the request information template.
Step 1018, in response to receiving the value receipt completion information for the value receipt request information, transmitting the data resource to the tenant terminal corresponding to the tenant information.
In some embodiments, in response to receiving the value receipt completion information for the value receipt request information, the execution body may send the data resource to a tenant use terminal corresponding to the tenant information. Wherein the value charge completion information may be information that the payment of the charge price is completed. The tenant use terminal may be a terminal used by the tenant. For example, the tenant use terminal may be a terminal to which the tenant uses a usb disk to connect.
The data resource sending method has the advantage that data resources required by the tenant can be quickly and efficiently sent to the corresponding tenant using terminal through the data resource sending method of some embodiments of the disclosure. Specifically, the reason why the related acquired data resources are not fast and efficient is that the related storage condition of the data resources stored in the database needs to be known when the corresponding query statement is written. For related personnel without a programming foundation, the acquisition of the data resource cannot be realized quickly and effectively. Based on this, the data resource transmitting method of some embodiments of the present disclosure firstly, in response to receiving at least one data resource request for at least one tenant information, for each tenant information in the at least one tenant information, performing a transmitting step of performing a request parsing on the data resource request corresponding to the tenant information to accurately generate a resource identifier and a resource acquisition time period. Wherein, the at least one piece of tenant information is processed by a tenant mode. Here, by performing request parsing on the data resource request, the obtained resource identifier and the resource acquisition time period are used for subsequently acquiring the required data resource. And secondly, determining a data common resource identification set corresponding to the tenant information so as to facilitate the subsequent locking of the storage position of the required data resource in the database and facilitate the subsequent and rapid acquisition of the required data resource. And thirdly, determining whether the resource identifier exists in the common data resource identifier set or not, and locking the storage position of the required data resource in the database later. And fourthly, acquiring a database query statement template corresponding to the data common resource identification set in response to the determination of existence, so as to conveniently and efficiently generate a query statement for the required data resource. And fifthly, carrying out resource field processing on the database query statement template according to the resource identifier and the resource acquisition time period so as to quickly and accurately generate a processed database query statement. And sixthly, executing the processed database query statement to rapidly and effectively acquire the resource identifier and the data resource corresponding to the resource acquisition time period. And seventh, generating value collection request information aiming at the data resources so as to facilitate subsequent renters to pay corresponding value information to acquire the data resources. And eighth, in response to receiving the value receiving completion information for the value receiving request information, sending the data resource to the tenant using terminal corresponding to the tenant information, so that the corresponding tenant obtains the required data resource.
With further reference to fig. 2, as an implementation of the method shown in the above figures, the present disclosure provides some embodiments of a data resource transmission device, which correspond to those method embodiments shown in fig. 1, and which are particularly applicable in various electronic apparatuses.
As shown in fig. 2, a data resource transmission apparatus 200 includes an execution unit 201. The execution unit 201 is configured to perform, in response to receiving at least one data resource request for at least one piece of tenant information, a sending step of performing a request analysis on the data resource request corresponding to the piece of tenant information to generate a resource identifier and a resource acquisition time period, wherein the at least one piece of tenant information is processed by a tenant mode, determining whether the data common resource identifier set corresponding to the piece of tenant information exists in the data common resource identifier set, obtaining a database query statement template corresponding to the data common resource identifier set in response to determining that the data common resource identifier set exists, performing a resource field processing on the database query statement template according to the resource identifier and the resource acquisition time period to generate a processed database query statement, performing the processed database query statement to acquire the data resource corresponding to the resource identifier and the resource acquisition time period, generating request information for the data resource, and sending the value-receiving information for the data resource to the tenant terminal in response to receiving value-receiving request information.
It will be appreciated that the elements described in the data resource transmission device 200 correspond to the individual steps of the method described with reference to fig. 1. Thus, the operations, features and advantages described above for the method are equally applicable to the data resource transmitting device 200 and the units contained therein, and are not described here again.
Referring now to fig. 3, a schematic diagram of an electronic device (e.g., electronic device) 300 suitable for use in implementing some embodiments of the present disclosure is shown. The electronic device shown in fig. 3 is merely an example and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various suitable actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
In general, devices may be connected to I/O interface 305 including input devices 306 such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc., output devices 307 including a Liquid Crystal Display (LCD), speaker, vibrator, etc., storage devices 308 including, for example, magnetic tape, hard disk, etc., and communication devices 309. The communication means 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. While fig. 3 shows an electronic device 300 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead. Each block shown in fig. 3 may represent one device or a plurality of devices as needed.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via communications device 309, or from storage device 308, or from ROM 302. The above-described functions defined in the methods of some embodiments of the present disclosure are performed when the computer program is executed by the processing means 301.
It should be noted that, in some embodiments of the present disclosure, the computer readable medium may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, the computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to electrical wiring, fiber optic cable, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be included in the electronic device or may exist alone without being incorporated into the electronic device. The computer readable medium carries one or more programs, when the one or more programs are executed by the electronic device, the electronic device is caused to respond to the received at least one data resource request for at least one tenant information, the sending step is executed to perform request analysis on the data resource request corresponding to the tenant information to generate a resource identifier and a resource acquisition time period, wherein the at least one tenant information is processed by a tenant mode, a data common resource identifier set corresponding to the tenant information is determined, whether the resource identifier exists in the data common resource identifier set is determined, a database query statement template corresponding to the data common resource identifier set is acquired in response to the determination, resource field processing is performed on the database query statement according to the resource identifier and the resource acquisition time period to generate a processed database query statement, the processed database query statement is executed to acquire the resource identifier and the data corresponding to the resource acquisition time period, the value is received for the data corresponding to the resource acquisition time period, and the value is received for the data corresponding to the data request, and the value is received for the tenant information corresponding to the data template.
Computer program code for carrying out operations for some embodiments of the present disclosure may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The described units may also be provided in a processor, for example as a processor comprising an execution unit. The names of the units are not limited in some cases, for example, the execution unit may be further described as "in response to receiving at least one data resource request for at least one tenant information, performing, for each piece of tenant information in the at least one piece of tenant information, a sending step of performing request parsing on the data resource request corresponding to the piece of tenant information to generate a resource identifier and a resource acquisition time period, wherein the at least one piece of tenant information is processed by a tenant mode, determining a set of data common resource identifiers corresponding to the piece of tenant information, determining whether the set of data common resource identifiers is present in the resource identifier, obtaining a database query statement template corresponding to the set of data common resource identifiers in response to determining that the set of data common resource identifiers is present, performing resource field processing on the database query statement template according to the resource identifier and the resource acquisition time period to generate a post-processing database query statement, performing the post-processing database query statement to obtain the resource identifier and the data resource corresponding to the resource acquisition time period, determining whether the set of data common resource identifiers corresponding to the piece of tenant information is present, receiving value for the data corresponding to the piece of tenant information, and receiving value for the data corresponding to the data request. Is a unit of (a).
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic that may be used include Field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems-on-a-chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above technical features, but encompasses other technical features formed by any combination of the above technical features or their equivalents without departing from the spirit of the invention. Such as the above-described features, are mutually substituted with (but not limited to) the features having similar functions disclosed in the embodiments of the present disclosure.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410077969.2A CN117931876B (en) | 2024-01-19 | 2024-01-19 | Data resource transmission method, device, electronic device and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410077969.2A CN117931876B (en) | 2024-01-19 | 2024-01-19 | Data resource transmission method, device, electronic device and computer readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117931876A CN117931876A (en) | 2024-04-26 |
CN117931876B true CN117931876B (en) | 2025-02-07 |
Family
ID=90756807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410077969.2A Active CN117931876B (en) | 2024-01-19 | 2024-01-19 | Data resource transmission method, device, electronic device and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117931876B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103703724A (en) * | 2013-08-15 | 2014-04-02 | 华为技术有限公司 | A method of distributing resources |
CN112714909A (en) * | 2018-09-18 | 2021-04-27 | 微软技术许可有限责任公司 | Coordination of classification and resource allocation for composite data tasks |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9928111B2 (en) * | 2014-06-23 | 2018-03-27 | Oracle International Corporation | System and method for configuration tagging in a multitenant application server environment |
US11068617B2 (en) * | 2017-10-09 | 2021-07-20 | Sage Intacct, Inc. | Secure access to multi-tenant relational data |
US11500830B2 (en) * | 2020-10-15 | 2022-11-15 | International Business Machines Corporation | Learning-based workload resource optimization for database management systems |
US11841852B2 (en) * | 2020-11-17 | 2023-12-12 | Salesforce, Inc. | Tenant specific and global pretagging for natural language queries |
CN113176944A (en) * | 2021-04-29 | 2021-07-27 | 中国工商银行股份有限公司 | Cluster computing storage resource allocation method and device |
CN115514777B (en) * | 2022-09-21 | 2025-07-04 | 阿里巴巴(中国)有限公司 | Resource management method and device, electronic device and storage medium |
CN116226189A (en) * | 2022-12-28 | 2023-06-06 | 多点生活(中国)网络科技有限公司 | Cache data query method, device, electronic device and computer readable medium |
CN116049246A (en) * | 2023-01-17 | 2023-05-02 | 网易(杭州)网络有限公司 | Resource data query method and device, electronic equipment and storage medium |
CN116760705B (en) * | 2023-08-18 | 2023-10-31 | 苏州思萃工业互联网技术研究所有限公司 | Multi-tenant platform isolation management system and method based on comprehensive energy management system |
CN117271147A (en) * | 2023-09-25 | 2023-12-22 | 中国建设银行股份有限公司 | Data synchronous processing method and device |
-
2024
- 2024-01-19 CN CN202410077969.2A patent/CN117931876B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103703724A (en) * | 2013-08-15 | 2014-04-02 | 华为技术有限公司 | A method of distributing resources |
CN112714909A (en) * | 2018-09-18 | 2021-04-27 | 微软技术许可有限责任公司 | Coordination of classification and resource allocation for composite data tasks |
Also Published As
Publication number | Publication date |
---|---|
CN117931876A (en) | 2024-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108415832B (en) | Interface automation test method, device, equipment and storage medium | |
CN108733317B (en) | Data storage method and device | |
US12360783B2 (en) | API governance enforcement architecture | |
CN109614327B (en) | Method and apparatus for outputting information | |
CN111950857A (en) | Index system management method and device based on service indexes and electronic equipment | |
CN113377740A (en) | Railway metadata management method, application method and device | |
CN113760698A (en) | Method and device for converting test case file data | |
CN113723095A (en) | Text auditing method and device, electronic equipment and computer readable medium | |
CN113434527A (en) | Data processing method and device, electronic equipment and storage medium | |
CN113742321B (en) | Data updating method and device | |
CN113743432B (en) | Image entity information acquisition method, device, electronic device and storage medium | |
CN112699227A (en) | Data acquisition method based on knowledge graph and related equipment | |
CN113946648B (en) | Structured information generation method and device, electronic equipment and medium | |
CN118194837A (en) | Report file generation method and device | |
CN113609309B (en) | Knowledge graph construction method and device, storage medium and electronic equipment | |
CN117931876B (en) | Data resource transmission method, device, electronic device and computer readable medium | |
CN112579428B (en) | Interface testing method, device, electronic equipment and storage medium | |
CN118349421A (en) | Indicator information early warning method, device, electronic device and computer readable medium | |
CN111488386A (en) | Data query method and device | |
CN115640523B (en) | Text similarity measurement method, device, equipment, storage medium and program product | |
CN113986959B (en) | Logistics information collection method, device, electronic device and computer readable medium | |
CN114443126A (en) | Multi-version image processing method, information push method, device and electronic device | |
CN114625755A (en) | Script checking method and device, electronic equipment and storage medium | |
CN117172220B (en) | Text similar information generation method, device, equipment and computer-readable medium | |
CN115994151B (en) | Data request changing method, device, electronic equipment and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |