[go: up one dir, main page]

CN117093702A - Method and device for generating data service package, storage medium and electronic equipment - Google Patents

Method and device for generating data service package, storage medium and electronic equipment Download PDF

Info

Publication number
CN117093702A
CN117093702A CN202310854438.5A CN202310854438A CN117093702A CN 117093702 A CN117093702 A CN 117093702A CN 202310854438 A CN202310854438 A CN 202310854438A CN 117093702 A CN117093702 A CN 117093702A
Authority
CN
China
Prior art keywords
data
service
information
metadata
data service
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.)
Pending
Application number
CN202310854438.5A
Other languages
Chinese (zh)
Inventor
刘康
杨明川
杨聪
黄程杰
陈开兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Original Assignee
China Telecom Technology Innovation Center
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Technology Innovation Center, China Telecom Corp Ltd filed Critical China Telecom Technology Innovation Center
Priority to CN202310854438.5A priority Critical patent/CN117093702A/en
Publication of CN117093702A publication Critical patent/CN117093702A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • G06F16/337Profile generation, learning or modification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The disclosure provides a method and a device for generating a data service package, a storage medium and electronic equipment, and relates to the technical field of big data service. Acquiring service information of a target service, and acquiring metadata information associated with the target service according to the service information; and responding to the data service package request of the target business, acquiring metadata information of the corresponding data service package to generate a data service package, and acquiring data content of the corresponding metadata information according to the metadata information contained in the data service package. The method realizes the rapid generation of the data service package, separates the data service package generation process from the data content acquisition process, and ensures the data security without providing the data service platform with the full data by the data provider.

Description

Method and device for generating data service package, storage medium and electronic equipment
Technical Field
The disclosure relates to the technical field of big data service, and in particular relates to a method and a device for generating a data service package, a storage medium and electronic equipment.
Background
Along with the development of times and technologies, the importance of data in production and life is gradually improved, but in the existing data service method, as data is not processed, a large amount of data needs to be traversed according to the requirements of a data acquisition party to acquire required data when the data is served each time, and as the data is traversed each time, the data service process is complicated, a large amount of network resources are wasted, and the data mode needs a data provider to provide a full amount of data, so that the technical problem of potential safety hazard of the data exists. Therefore, a data processing method capable of simplifying a data service process, saving network resources and guaranteeing data security is needed.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The disclosure provides a method, a device, a storage medium and electronic equipment for generating a data service package, which at least overcome the technical problems that a data provider is required to provide full data for data services provided in related technologies and potential safety hazards of the data exist to a certain extent.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to one aspect of the present disclosure, there is provided a method for generating a data service package, including:
acquiring service information of a target service;
acquiring metadata information associated with the target service according to the service information;
and responding to the data service package request of the target business, and acquiring metadata information of a corresponding data service package, wherein the data service package request is used for requesting to generate the data service package for the target business, and the data service package comprises the following components: one or more items of metadata information;
And acquiring the data content of the corresponding metadata information according to the metadata information contained in the data service package.
In some embodiments, the metadata information is a metadata knowledge graph, and the obtaining metadata information of a corresponding data service package in response to a data service package request of the target service includes:
and responding to the data service package request of the target service, and acquiring metadata information of the corresponding data service package from the metadata knowledge graph of the target service.
In some embodiments, before acquiring metadata information of a corresponding data service package from a metadata knowledge graph of the target business in response to a data service package request of the target business, the method further comprises:
acquiring full data provided by a data provider;
extracting metadata information of the full data;
and classifying the metadata information of the full data according to preset service information to obtain metadata knowledge maps associated with different services.
In some embodiments, the classifying the metadata information of the full-volume data according to the preset service information to obtain metadata knowledge maps associated with different services includes:
Classifying the metadata information of the full data by adopting a clustering algorithm according to preset service information to obtain metadata information associated with different services;
and constructing a metadata knowledge graph of the corresponding service according to the metadata information associated with each service.
In some embodiments, after obtaining the metadata knowledge-graph associated with the different services, the method further comprises:
acquiring data attribute information of data content corresponding to the metadata knowledge graph, wherein the data attribute information comprises: data storage location information, data size;
and associating the metadata knowledge graph with the corresponding data attribute information.
In some embodiments, before acquiring the metadata information associated with the target service according to the service information, the method for generating a data service package further includes:
judging whether metadata information associated with a target service needs to be authorized by a data provider or not;
according to the service information, acquiring metadata information associated with the target service includes:
if the metadata associated with the target service needs to be authorized by a data provider, an authorization verification request is sent to the data provider, and metadata information associated with the target service is acquired according to the service information under the condition that the authorization verification request passes;
And if the metadata associated with the target service does not need to be authorized by the data provider, directly acquiring the metadata information associated with the target service according to the service information.
In some embodiments, after responding to metadata information contained in the data service package, the method further comprises:
and outputting prompt information under the condition that the authorization verification request fails, wherein the prompt information is used for prompting that the corresponding metadata information data content is not authorized.
According to another aspect of the present disclosure, there is also provided a data service package generating apparatus, including:
the service information acquisition module is configured to acquire service information of a target service;
the metadata information acquisition module is configured to acquire metadata information associated with the target service according to the service information;
the data service package acquisition module is configured to respond to a data service package request of the target business and acquire metadata information of a corresponding data service package, wherein the data service package request is used for requesting to generate the data service package for the target business, and the data service package comprises: one or more items of metadata information;
And the data content acquisition module is configured to acquire the data content of the corresponding metadata information according to the metadata information contained in the data service package.
According to another aspect of the present disclosure, there is also provided an electronic device including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the method of generating a data service package of any of the above via execution of the executable instructions.
According to another aspect of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of generating a data service package of any of the above.
According to another aspect of the present disclosure, there is also provided a computer program product comprising a computer program which, when executed by a processor, implements the method of generating a data service package of any of the above.
According to the method for generating the data service package provided by the embodiment of the disclosure, data provided by the data provider is processed according to the service information of the target service to obtain metadata information, one or more items of metadata information corresponding to the data service package generation request selection request are selected according to the data service package generation request to generate the data service package, so that the data acquirer can acquire data content corresponding to the metadata information from the data provider according to the metadata information in the data service package after the data service package is selected. According to the data service package generated by the method, the data acquisition side selects the data service package on the data service platform according to actual requirements, the data service platform sends the data attribute information in the selected data service package to the data provider, and the data provider acquires corresponding data content according to the data attribute information and sends the data content to the data acquisition side, so that the data service package is quickly generated, the data service package generation process is separated from the data content acquisition process, and the data provider does not need to provide full data for the data service platform, thereby ensuring data safety.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 is a schematic diagram of a system architecture for generating a data service package in an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of generating a data service package in an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating obtaining metadata knowledge-graphs associated with different business information in an embodiment of the present disclosure;
FIG. 4 is a flowchart illustrating the classification of metadata information for full-scale data to obtain metadata knowledge maps associated with different services in an embodiment of the disclosure;
FIG. 5 illustrates a flow chart for associating metadata knowledge base and data attribute information in an embodiment of the present disclosure;
FIG. 6 is a flow chart illustrating a method for determining whether metadata information in a data service package selected by a data acquirer requires authorization from a data provider in an embodiment of the present disclosure;
FIG. 7 is a flow chart illustrating another method of determining whether metadata information in a data service package selected by a data acquirer requires authorization by a data provider in an embodiment of the present disclosure;
fig. 8 is a flowchart illustrating a method of generating a data service package when the data service platform is a data supermarket in an embodiment of the disclosure;
FIG. 9 is a flow chart illustrating an enterprise user initiating a data service package transaction request and returning data content corresponding to the data service package to the enterprise user;
FIG. 10 is a schematic diagram of a data service package generating device according to an embodiment of the present disclosure; and
fig. 11 illustrates a block diagram of an electronic device for generating a data service package in an embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The following detailed description of embodiments of the present disclosure refers to the accompanying drawings.
Fig. 1 illustrates an exemplary application system architecture diagram to which a method of generating a data service package in an embodiment of the present disclosure may be applied. As shown in fig. 1, the system architecture may include a data acquirer device 101, a network 102, and a data service device 103.
The network 102 may be a configured data service platform, and is configured to receive a data service request sent by the data acquisition device 101, and send the received data service request to the data service device 103, so that the data service device 103 acquires corresponding data content according to the data service request, and sends the data service request to the data acquisition device 101.
The data acquirer device 101 may be a variety of electronic devices including, but not limited to, smartphones, tablet computers, laptop portable computers, desktop computers, wearable devices, augmented reality devices, virtual reality devices, and the like.
Alternatively, the clients of the applications installed in different data acquisition devices 101 are the same or clients of the same type of application based on different operating systems. The specific form of the application client may also be different based on the different terminal platforms, for example, the application client may be a mobile phone client, a PC client, etc.
The data service device 103 may be a server storing data, alternatively, the server may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), and basic cloud computing services such as big data and an artificial intelligence platform. The data acquirer device 101 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like. The data acquirer apparatus 101 and the data service apparatus 103 may be directly or indirectly connected through wired or wireless communication, and the present application is not limited herein.
Those skilled in the art will appreciate that the number of data acquisition devices 101, networks 102, and data service devices 103 in fig. 1 is merely illustrative, and that any number of data acquisition devices 101, networks 102, and data service devices 103 may be provided as desired. The embodiments of the present disclosure are not limited in this regard.
Under the system architecture, the embodiment of the disclosure provides a method for generating a data service package, which can be executed by any electronic device with computing processing capability.
In some embodiments, the method for generating a data service package provided in the embodiments of the present disclosure may be performed by a terminal device of the above system architecture; in other embodiments, the method for generating a data service package provided in the embodiments of the present disclosure may be performed by a data service device in the system architecture described above; in other embodiments, the method for generating a data service package provided in the embodiments of the present disclosure may be implemented by a data service device in the system architecture described above.
Fig. 2 shows a flowchart of a method for generating a data service package according to an embodiment of the present disclosure, as shown in fig. 1, where the method for generating a data service package provided in an embodiment of the present disclosure includes the following steps:
S202, obtaining service information of a target service.
The target service may be any service, the service information is information for representing a type of data content, and the service information of the target service may include: the academic information, the property information, and the judicial information.
In some embodiments, the target service may be a service corresponding to the data content stored by the data service device 103 in fig. 1, and the service information of the target service may be a category of the data content stored by the data service device.
S204, obtaining metadata information associated with the target service according to the service information.
The metadata information associated with the target service may be information describing a relationship between data contents corresponding to the target service.
In some embodiments, the metadata information associated with the target service may be a metadata knowledge-graph corresponding to the target service.
S206, responding to the data service package request of the target business, and acquiring metadata information of the corresponding data service package.
The data service package request is a type of metadata information which is determined according to practical situations and is contained in the data service package, and the data service package is one or more items of metadata information acquired according to the data service package request.
In some embodiments, the data service package requests metadata information to be included in a data service package defined by the data service platform, and the data service platform obtains one or more items of metadata information corresponding to different data service package requests to generate the data service package.
S208, according to the metadata information contained in the data service package, acquiring the data content of the corresponding metadata information.
In some embodiments, the data service platform sends metadata information included in the data service packages selected by the data acquirer to the data provider, the data provider acquires data content corresponding to the metadata information, and sends the acquired data content as data content corresponding to the data service packages selected by the data acquirer to the data acquirer, so as to complete the transaction of the data service packages.
Fig. 3 shows a flowchart of acquiring metadata knowledge maps associated with different service information when the metadata information is a metadata knowledge map in an embodiment of the disclosure, and as shown in fig. 3, the method for acquiring metadata knowledge maps associated with different service information in an embodiment of the disclosure includes the following steps:
step S302, acquiring the full-size data provided by the data provider.
Wherein the full amount of data is data related to the target service provided by the data provider.
In some embodiments, the full amount of data may be data stored in a database associated with the target business.
Step S304, metadata information of the full amount of data is extracted.
In some embodiments, metadata information of the full-volume data is extracted to obtain relationships between various types of data in the full-volume data.
And step S306, classifying the metadata information of the full data according to the preset service information to obtain metadata knowledge maps associated with different services.
The preset service information may be a category of data content set in advance according to actual conditions.
In some embodiments, the metadata information of the full-volume data is classified according to the preset service information, and the metadata knowledge graph corresponding to each type of metadata information is obtained according to the relationship shown by each type of metadata information after classification.
Fig. 4 shows a flowchart of classifying metadata information of full-scale data according to preset service information to obtain metadata knowledge maps associated with different services in an embodiment of the present disclosure, and as shown in fig. 4, obtaining metadata knowledge maps associated with different services in an embodiment of the present disclosure further includes the following steps:
And S402, classifying metadata information of the full data by adopting a clustering algorithm according to preset service information to obtain metadata information associated with different services.
In some embodiments, a clustering algorithm is adopted to obtain metadata information similar to each preset service information, and the metadata information is used as metadata information associated with different preset service information; and further obtaining metadata information associated with different target services according to preset service information corresponding to different target services.
S404, constructing a metadata knowledge graph of the corresponding service according to the metadata information associated with each service.
In some embodiments, a metadata knowledge graph corresponding to each service is obtained according to the relationship between metadata information record data content associated with each service.
Fig. 5 shows a flowchart for associating a metadata knowledge-graph with data attribute information in an embodiment of the present disclosure, and as shown in fig. 5, associating a metadata knowledge-graph with data attribute information in an embodiment of the present disclosure includes the steps of:
s502, acquiring data attribute information of data content corresponding to the metadata knowledge graph.
In some embodiments, the obtained data attribute information may include data storage location information, data obtaining mode information, and data volume information, where the data storage location information records a storage location of data content corresponding to the metadata knowledge graph, the data obtaining mode information records how to call the data content corresponding to the metadata knowledge graph, and the data volume information records how much of the data content corresponding to the metadata knowledge graph.
And S504, associating the metadata knowledge graph with the corresponding data attribute information.
In some embodiments, only according to the metadata knowledge graph, only the relationship between the data contents corresponding to the metadata knowledge graph can be known, and the corresponding data contents cannot be obtained.
Fig. 6 is a flowchart illustrating a method for determining whether metadata information in a data service package selected by a data acquirer needs authorization of a data provider according to an embodiment of the present disclosure, and in the embodiment of the present disclosure, as shown in fig. 6, determining whether metadata information in a data service package selected by a data acquirer needs authorization of a data provider includes the following steps:
s602, judging whether metadata information associated with the target service needs to be authorized by a data provider.
In some embodiments, since data providers of data content are diverse, there may be cases where metadata information may be acquired from data content stored by the data provider after authorization is required from the data provider.
And S604, if the metadata associated with the target service needs to be authorized by the data provider, sending an authorization verification request to the data provider, and acquiring the metadata information associated with the target service according to the service information under the condition that the authorization verification request passes.
In some embodiments, when metadata information associated with a target service is acquired according to data content stored by a data provider and needs to be authorized by the data provider, an authorization verification request is sent to the data provider by a data service platform, and the data provider receiving the authorization verification request determines whether the authorization verification request passes or not according to actual conditions. In the case that the data provider that received the authorization verification request passes the authorization verification request, the data service platform may acquire metadata information corresponding to the service information from the data provider that passes the authorization verification request.
And S606, if the metadata associated with the target service does not need to be authorized by the data provider, the metadata information associated with the target service is directly obtained according to the service information.
In some embodiments, when the metadata information associated with the target service is acquired according to the data content stored by the data provider, the metadata information may be acquired directly from the data provider according to the service information and the metadata information may be acquired according to the acquired data content.
Fig. 7 is a flowchart illustrating another method for determining whether metadata information in a data service package selected by a data acquirer needs authorization of a data provider according to an embodiment of the present disclosure, and as shown in fig. 7, the method for determining whether metadata information in a data service package selected by a data acquirer needs authorization of a data provider according to an embodiment of the present disclosure includes the following steps:
s702, outputting prompt information under the condition that the authorization verification request is not passed, wherein the prompt information is used for prompting that the data content of the corresponding metadata information is unauthorized.
In some embodiments, when the data provider receives the authorization verification request and determines that the data content cannot be provided to the data service platform according to the actual situation, prompt information needs to be sent to the data service platform to prompt that the corresponding metadata information cannot be acquired through the data service platform.
In some embodiments, when a data service platform for trading data service packages is determined as a data supermarket, fig. 8 shows a flowchart of a method for generating a data service package by a data supermarket in an embodiment of the disclosure, as shown in fig. 8, the method for generating a data service package by a data supermarket in an embodiment of the disclosure includes the steps of:
S802, acquiring metadata.
In the step, the data providing direction data supermarket provides the data related to the target service, and the data supermarket acquires the corresponding metadata information according to the data related to the provided target service.
And S804, classifying metadata according to the service.
In this step, metadata information corresponding to each service is obtained according to different kinds of services.
And S806, carrying out data association analysis by taking the service as a dominant, and constructing a service knowledge graph.
In the step, according to the relationship between the data contents corresponding to the metadata information displayed by the metadata information of each service, a metadata knowledge graph corresponding to each service is constructed as a service knowledge graph of each service.
S808, correlating the relevant attributes of each entity in the knowledge graph.
In this step, data attribute information of data content corresponding to various metadata in the knowledge graph is obtained, and the obtained data attribute information is associated with the corresponding metadata.
S810, using the business name as the data service package name, using the knowledge graph of the business as the catalog of the data service package, and putting the knowledge graph on a data supermarket.
In this step, the metadata knowledge graph corresponding to the actual service and the data attribute information associated with the metadata knowledge graph are used as the data service packages corresponding to the actual service, and the data service packages can be named according to the actual service name, and the knowledge graph in the data service packages is used as the catalog of the data service packages displayed to the user of the data supermarket.
In some embodiments, when the data acquirer is an enterprise user, fig. 9 shows a flowchart of the enterprise user initiating a data service package transaction request and returning data content corresponding to the data service package to the enterprise user in an embodiment of the disclosure, and fig. 9 includes the following steps:
s902, the enterprise user initiates a data service package transaction request.
In this step, the enterprise user sends a data service package transaction request to the data supermarket according to the data required by the enterprise user, and may retrieve the data service package of the data supermarket according to the required data.
S904, it is determined whether the data related to the data service package transaction request relates to personal authorization.
In this step, the data supermarket determines, according to the received data service package transaction request, whether there is a data service package related to personal user data in the data service package corresponding to the data service package transaction request, and in order to protect personal privacy, when the transaction relates to the data service package of the personal user data, corresponding personal user authorization is required.
If there is a data service package related to the personal user data, the data supermarket sends an authorization verification request to the personal user, and step S906 is executed;
If there is no data service package related to the personal user data, step S910 is directly performed.
S906, the individual user starts authorization.
In this step, the individual user decides whether to authorize the data supermarket to use the data content corresponding to the individual user according to the actual situation, if it passes the received authorization verification request.
S908, it is determined whether the individual user agrees with the authorization.
In this step, if the individual user passes the authorization verification request, the process continues to step S910,
if the individual user passes the authorization verification request, the data supermarket sends information that the authorization is not passed to the enterprise user, and prompts the enterprise user that the data service package with the data of the individual user is not available.
S910, selecting a data service package through the trusted execution environment.
In the step, the enterprise user selects a data service package which is required by the enterprise user from data service packages which meet the data service package transaction request in the data supermarket through a trusted execution environment.
In some embodiments, the data service packages comprise metadata knowledge maps and associated data attribute information, and the user may select the data service packages based on the data types reflected in the metadata knowledge maps.
S912, according to the data service package information, obtaining data attribute information, and forwarding the data service package transaction request to the data supermarket.
In the step, the data attribute information in the data service package selected by the enterprise user is obtained, and the selected data service package and the corresponding data attribute information are sent to the data supermarket.
And S914, the data service package transaction request is forwarded to the data provider, and the data provider retrieves relevant data according to the data service package transaction request and the data attribute information.
In the step, the data supermarket sends the selected data service package and the corresponding data attribute information to the data provider, and the data provider retrieves the corresponding data according to the data attribute information.
And S916, feeding the retrieved data back to the enterprise user through the trusted execution environment.
In this step, the data provider sends the retrieved data to the enterprise user through the trusted execution environment.
It should be noted that, in the technical solution of the present disclosure, the acquiring, storing, using, processing, etc. of data all conform to relevant regulations of national laws and regulations, and various types of data such as personal identity data, operation data, behavior data, etc. relevant to individuals, clients, crowds, etc. acquired in the embodiments of the present disclosure have been authorized.
In summary, according to the method for generating a data service package provided in the embodiments of the present disclosure, data provided by a data provider is processed according to service information of a target service to obtain metadata information, and one or more items of metadata information corresponding to a request is selected according to a data service package generation request to generate a data service package, so that a data acquirer can acquire data content corresponding to the metadata information from the data provider according to the metadata information in the data service package after the data service package is selected. After the data service packages are obtained according to the method, the data service platform can contain a plurality of data service packages for storage, the data acquirer selects the data service packages on the data service platform according to actual requirements, the data service platform sends the data attribute information in the selected data service packages to the data provider, and the data provider acquires corresponding data content according to the data attribute information and sends the data content to the data acquirer, so that the problem that the data acquirer needs to traverse a large amount of data every time in the existing method is solved, the flow of data service is simplified, and network resources are saved. The method simultaneously realizes the rapid generation of the data service package, separates the data service package generation process from the data content acquisition process, and ensures the data security without providing the data service platform with full data by the data provider.
In the method for generating the data service packages provided by the embodiment of the disclosure, when the data acquirer selects the data service packages of the data service platform and the data storage transmits the data corresponding to the selected data service packages to the data acquirer, corresponding operations can be executed in the trusted execution environment, so that the safety of the whole data service process is further improved, and the protection of data content is further enhanced.
Based on the same inventive concept, the embodiments of the present disclosure also provide a device for generating a data service package, as described in the following embodiments. Since the principle of solving the problem of the embodiment of the device is similar to that of the embodiment of the method, the implementation of the embodiment of the device can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
Fig. 10 is a schematic diagram of a device for generating a data service package according to an embodiment of the disclosure, where, as shown in fig. 10, the device includes:
the service information obtaining module 1002 is configured to obtain service information of a target service.
The metadata information obtaining module 1004 is configured to obtain metadata information associated with the target service according to the service information.
A data service package obtaining module 1006, configured to obtain metadata information of a corresponding data service package in response to a data service package request of a target service, where the data service package request is used to request to generate a data service package for the target service, and the data service package includes: one or more items of metadata information.
The data content acquisition module 1008 is configured to acquire data content of corresponding metadata information according to metadata information included in the data service packages.
It should be noted that each of the above modules 1002-1008 corresponds to S202-S208 in the method embodiment, and the above modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the method embodiment. It should be noted that the modules described above may be implemented as part of an apparatus in a computer system, such as a set of computer-executable instructions.
As an alternative embodiment, the metadata information obtaining module 1004 is further configured to obtain, in response to a data service package request of the target service, metadata information of a corresponding data service package from a metadata knowledge graph of the target service.
As an alternative embodiment, the metadata information acquisition module 1004 is further configured to acquire the full amount of data provided by the data provider; extracting metadata information of the full data; and classifying the metadata information of the full data according to preset service information to obtain metadata knowledge maps associated with different services.
As an optional embodiment, the metadata information obtaining module 1004 is further configured to classify metadata information of the full data by adopting a clustering algorithm according to preset service information to obtain metadata information associated with different services; and constructing a metadata knowledge graph of the corresponding service according to the metadata information associated with each service.
As an optional embodiment, the metadata information obtaining module 1004 is further configured to obtain data attribute information of data content corresponding to a metadata knowledge graph, where the data attribute information includes: data storage location information, data size; and associating the metadata knowledge graph with the corresponding data attribute information.
As an alternative embodiment, the data service package acquisition module 1006 is further configured to determine whether the metadata information associated with the target service requires authorization from the data provider; according to the service information, obtaining metadata information associated with the target service includes: if the metadata associated with the target service needs to be authorized by the data provider, an authorization verification request is sent to the data provider, and metadata information associated with the target service is obtained according to the service information under the condition that the authorization verification request passes; and if the metadata associated with the target service does not need to be authorized by the data provider, directly acquiring the metadata information associated with the target service according to the service information.
As an alternative embodiment, the data service package acquisition module 1006 is further configured to output a hint information in case the authorization verification request fails, where the hint information is used to hint that the corresponding metadata information data content is not authorized.
Those skilled in the art will appreciate that the various aspects of the present disclosure may be implemented as a system, method, or program product. Accordingly, various aspects of the disclosure may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 1100 according to such an embodiment of the present disclosure is described below with reference to fig. 11. The electronic device 1100 shown in fig. 11 is merely an example and should not be construed as limiting the functionality and scope of use of the disclosed embodiments.
As shown in fig. 11, the electronic device 1100 is embodied in the form of a general purpose computing device. Components of electronic device 1100 may include, but are not limited to: the at least one processing unit 1110, the at least one memory unit 1120, a bus 1130 connecting the different system components, including the memory unit 1120 and the processing unit 1110.
Wherein the storage unit stores program code that is executable by the processing unit 1110 such that the processing unit 1110 performs steps according to various exemplary embodiments of the present disclosure described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 1110 may perform the following steps of the method embodiment described above: acquiring service information of a target service;
Acquiring metadata information associated with the target service according to the service information;
and responding to the data service package request of the target business, and acquiring metadata information of a corresponding data service package, wherein the data service package request is used for requesting to generate the data service package for the target business, and the data service package comprises the following components: one or more items of metadata information;
and acquiring the data content of the corresponding metadata information according to the metadata information contained in the data service package.
The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a Random Access Memory (RAM) 11201 and/or a cache memory 11202, and may further include a Read Only Memory (ROM) 11203.
The storage unit 1120 may also include a program/utility 11204 having a set (at least one) of program modules 11205, such program modules 11205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus 1130 may be a local bus representing one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a bus using any of a variety of bus architectures.
The electronic device 1100 may also communicate with one or more external devices 1140 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1100, and/or any devices (e.g., routers, modems, etc.) that enable the electronic device 1100 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 1150. Also, electronic device 1100 can communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 1160. As shown, network adapter 1160 communicates with other modules of electronic device 1100 via bus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 1100, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In particular, according to embodiments of the present disclosure, the process described above with reference to the flowcharts may be implemented as a computer program product comprising: and a computer program which, when executed by a processor, implements the method of generating a data service package described above.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium, which may be a readable signal medium or a readable storage medium, is also provided. On which a program product is stored which enables the implementation of the method described above of the present disclosure. In some possible implementations, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the disclosure as described in the "exemplary methods" section of this specification, when the program product is run on the terminal device.
More specific examples of the computer readable storage medium in the present disclosure 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 this disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with 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 readable signal medium may also be any readable medium that is not a 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.
Alternatively, the program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In particular implementations, the program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Furthermore, although the steps of the methods in the present disclosure are depicted in a particular order in the drawings, this does not require or imply that the steps must be performed in that particular order or that all illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
From the description of the above embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, including several instructions to cause a computing device (may be a personal computer, a server, a mobile terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for generating a data service package, comprising:
acquiring service information of a target service;
acquiring metadata information associated with the target service according to the service information;
and responding to the data service package request of the target business, and acquiring metadata information of a corresponding data service package, wherein the data service package request is used for requesting to generate the data service package for the target business, and the data service package comprises the following components: one or more items of metadata information;
and acquiring the data content of the corresponding metadata information according to the metadata information contained in the data service package.
2. The method for generating a data service package according to claim 1, wherein the metadata information is a metadata knowledge graph, and the obtaining metadata information of the corresponding data service package in response to the data service package request of the target service includes:
and responding to the data service package request of the target service, and acquiring metadata information of the corresponding data service package from the metadata knowledge graph of the target service.
3. The method of claim 2, wherein before obtaining metadata information of a corresponding data service package from a metadata knowledge graph of the target business in response to a data service package request of the target business, the method further comprises:
acquiring full data provided by a data provider;
extracting metadata information of the full data;
and classifying the metadata information of the full data according to preset service information to obtain metadata knowledge maps associated with different services.
4. The method for generating a data service package according to claim 3, wherein classifying the metadata information of the full-size data according to preset service information to obtain metadata knowledge maps associated with different services comprises:
Classifying the metadata information of the full data by adopting a clustering algorithm according to preset service information to obtain metadata information associated with different services;
and constructing a metadata knowledge graph of the corresponding service according to the metadata information associated with each service.
5. The method for generating a data service package according to claim 3, wherein after obtaining the metadata knowledge-graph associated with different services, the method further comprises:
acquiring data attribute information of data content corresponding to the metadata knowledge graph, wherein the data attribute information comprises: data storage location information, data size;
and associating the metadata knowledge graph with the corresponding data attribute information.
6. The method of claim 1, wherein prior to obtaining metadata information associated with the target service based on the service information, the method of generating a data service package further comprises:
judging whether metadata information associated with a target service needs to be authorized by a data provider or not;
according to the service information, acquiring metadata information associated with the target service includes:
If the metadata associated with the target service needs to be authorized by a data provider, an authorization verification request is sent to the data provider, and metadata information associated with the target service is acquired according to the service information under the condition that the authorization verification request passes;
and if the metadata associated with the target service does not need to be authorized by the data provider, directly acquiring the metadata information associated with the target service according to the service information.
7. The method of generating a data service package according to claim 6, wherein after generating the metadata information contained in the data service package, the method further comprises:
and outputting prompt information under the condition that the authorization verification request fails, wherein the prompt information is used for prompting that the corresponding metadata information data content is not authorized.
8. A data service package generation apparatus, comprising:
the service information acquisition module is configured to acquire service information of a target service;
the metadata information acquisition module is configured to acquire metadata information associated with the target service according to the service information;
The data service package acquisition module is configured to respond to a data service package request of the target business and acquire metadata information of a corresponding data service package, wherein the data service package request is used for requesting to generate the data service package for the target business, and the data service package comprises: one or more items of metadata information;
and the data content acquisition module is configured to acquire the data content of the corresponding metadata information according to the metadata information contained in the data service package.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of generating a data service package of any of claims 1-7 via execution of the executable instructions.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the method of generating a data service package according to any one of claims 1 to 7.
CN202310854438.5A 2023-07-12 2023-07-12 Method and device for generating data service package, storage medium and electronic equipment Pending CN117093702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310854438.5A CN117093702A (en) 2023-07-12 2023-07-12 Method and device for generating data service package, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310854438.5A CN117093702A (en) 2023-07-12 2023-07-12 Method and device for generating data service package, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN117093702A true CN117093702A (en) 2023-11-21

Family

ID=88776193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310854438.5A Pending CN117093702A (en) 2023-07-12 2023-07-12 Method and device for generating data service package, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN117093702A (en)

Similar Documents

Publication Publication Date Title
CN107622135B (en) Method and apparatus for displaying information
CN110879903A (en) Evidence storage method, evidence verification method, evidence storage device, evidence verification device, evidence storage equipment and evidence verification medium
US8843646B2 (en) Multi-desktop interaction using nested remote desktop sessions
US10613717B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
US20160316002A1 (en) Access to supplemental data based on identifier derived from corresponding primary application data
CN109522751B (en) Access right control method and device, electronic equipment and computer readable medium
US10116668B2 (en) System and method for enhanced display-screen security and privacy
CN113918904A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN110377440A (en) Information processing method and device
CN111104556A (en) Service processing method and device
CN113572763B (en) Data processing method and device, electronic equipment and storage medium
CN111294347B (en) Safety management method and system for industrial control equipment
CN117093702A (en) Method and device for generating data service package, storage medium and electronic equipment
CN110781523B (en) Method and apparatus for processing information
CN114493850A (en) Artificial intelligence-based online notarization method, system and storage medium
CN114780361A (en) Log generation method, device, computer system and readable storage medium
CN111367898A (en) Data processing method, device, system, electronic equipment and storage medium
CN114117449B (en) Testing method, device, electronic device and medium based on hidden parameter mining
CN113128200B (en) Method and device for processing information
CN110266580B (en) Card message security guarantee method, device, medium and electronic equipment
CN114417304A (en) Data verification method and device
CN117479172A (en) Privacy number binding method and device, electronic equipment and storage medium
CN113420037A (en) Real-time asset data changing method and device
CN118018265A (en) Login authentication method and device based on NFT, electronic equipment and storage medium
CN114139205A (en) Authority control method and device

Legal Events

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