Controllable data processing method and device based on data space and computing device cluster
By generating controllable files in the data space and supporting online or offline data exchange, it solves the problem of only supporting online exchange in the IDS architecture, realizes the separation and security of data storage, and improves the efficiency and security of data exchange. Meets the independent storage needs of individual users.
Patent Information
- Application Number
- CN202310334391.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-27
- Publication Date
- 2024-09-27
AI Technical Summary
The existing International Data Space (IDS) architecture only supports online data exchange and cannot realize offline data exchange, which limits the scope and efficiency of data exchange. It also poses challenges to the capacity and transmission performance of the storage area when exchanging massive data. Individuals It is difficult for users to store and control their data themselves.
By generating controllable files in the connectors of data providers and consumers, including meta-information, usage control policies and encrypted data, it supports online or offline data exchange methods, realizes the separation of data storage and use, and reduces the memory of the connector. and disk usage, and ensure data security through key management.
It realizes online and offline exchange of data, expands the coverage and efficiency of controllable data exchange, enhances the competitiveness of data space technology, improves data security, and meets the needs of individual users to independently store and control data.
Smart Images

Figure CN118713844A
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology (IT) technology, and in particular to a controllable data processing method, device and computing device cluster based on data space. Background Art
[0002] The current society and economy are undergoing a digital transformation. On the one hand, data is no longer just seen as a byproduct of business activities, and companies are increasingly in need of exchanging data in the business ecosystem; on the other hand, companies believe that they need to protect their data more than ever before. Data sovereignty is about finding a balance between the needs of protecting one's own data and sharing data with others, so that data subjects (such as natural persons or companies) have the right to full self-determination over their data. In order to achieve the goal of keeping data controllable after cross-subject exchange, controllable data exchange technology is needed.
[0003] At present, controllable data exchange technology generally adopts solutions provided by international data spaces (IDS). IDS mainly uses existing standards and technologies of the data economy and recognized governance models to promote secure and standardized data exchange in a trusted business ecosystem and promote data connectivity. The overall goal of the IDS initiative is to establish international standards for data sovereignty, which are reflected in the reference architecture model and define multiple methods for secure data exchange between connectors in various data spaces. Among them, IDS can connect data providers with data consumers through standardized connectors so that data providers and data consumers can exchange data. However, under the IDS architecture model, data providers and data consumers can only exchange data online, but not offline. Summary of the invention
[0004] The present application provides a controllable data processing method, device, computing device cluster, computer storage medium and computer product based on data space, which can realize data exchange in both online and offline modes.
[0005] In the first aspect, the present application provides a controllable data processing method based on data space, including: obtaining the acquisition path of the first data and the use control policy of the first data set by the data provider; based on the acquisition path, obtaining the first data; generating a controllable file based at least on the first data and the use control policy, wherein the controllable file includes: meta information of the controllable file, the use control policy and ciphertext data, wherein the ciphertext data is obtained by encrypting the first data; storing the controllable file in the storage device of the data provider, wherein the data provider and the data consumer exchange data for the controllable file online or offline. Exemplarily, the method can be applied to the data provider side.
[0006] In this way, the data provider side processes the data that the data provider needs to exchange and the use control policy of the data to obtain a controllable file with controlled use, and the controllable file can be transmitted to the data consumer side in an online or offline manner. In this way, the storage and use of the data to be exchanged (i.e., the first data) are separated, the use scope of controllable data exchange is improved, the coverage of controllable data exchange is wider, the efficiency is higher, and the competitiveness of data space technology is enhanced.
[0007] In a possible implementation, acquiring the first data based on the acquisition path specifically includes: acquiring the first data from the acquisition path through a connector of a data provider.
[0008] Generate a controllable file based at least on the first data and the usage control policy, specifically including: encrypting the first data through the connector of the data provider to obtain ciphertext data, and processing the meta information, usage control policy and ciphertext data of the controllable file to obtain the controllable file.
[0009] Storing the controllable file in the storage device of the data provider specifically includes: transferring the controllable file to the storage device of the data provider through the connector of the data provider for storage.
[0010] In this way, controllable files can be obtained through a single data provider's connector, which improves the efficiency of generating controllable files.
[0011] In a possible implementation, obtaining the first data based on the acquisition path specifically includes: obtaining sub-data contained in the first data in batches from the acquisition path through a connector of the data provider, wherein each time the sub-data is obtained, the sub-data is encrypted and the encrypted sub-data is transmitted to the electronic device of the data provider.
[0012] Generate a controllable file based at least on the first data and the usage control policy, specifically including: transmitting the metadata and usage control policy of the controllable file to the electronic device of the data provider through the connector of the data provider, and processing the metadata, usage control policy and all encrypted sub-data of the controllable file through the electronic device of the data provider to obtain the controllable file.
[0013] Storing the controllable file in the storage device of the data provider specifically includes: transmitting the controllable file to the storage device of the data provider through the electronic device of the data provider for storage.
[0014] In this way, a controllable file is generated by combining the connector of the data provider and the electronic device of the data provider. In this controllable file generation method, data is uploaded, encrypted, and downloaded at the same time, forming a streaming process, so that the entire original file data content does not need to be cached in the connector's memory, reducing the memory usage of the connector. At the same time, the data content of the original file does not need to be written to the disk on the connector (it does not need to be stored in the connector's temporary file), does not occupy the disk resources on the connector, and is more secure. In addition, concurrent processing of uploading, encryption, and downloading can significantly improve the efficiency of generating controllable files.
[0015] In a possible implementation, based on the acquisition path, acquiring the first data specifically includes: acquiring the first data from the acquisition path through a connector of a data provider, and encrypting the first data to obtain ciphertext data.
[0016] Generate a controllable file based at least on the first data and the usage control policy, specifically including: transmitting the metadata, usage control policy and ciphertext data of the controllable file to the electronic device of the data provider through the connector of the data provider, and processing the metadata, usage control policy and ciphertext data of the controllable file through the electronic device of the data provider to obtain the controllable file.
[0017] Storing the controllable file in the storage device of the data provider specifically includes: transmitting the controllable file to the storage device of the data provider through the electronic device of the data provider for storage.
[0018] In this way, a controllable file is generated by combining the data provider's connector and the data provider's electronic device.
[0019] In a possible implementation, after the controllable file is stored in the storage device of the data provider, the method further includes: transmitting the controllable file to a connector of the data consumer in an online or offline manner.
[0020] In a possible implementation manner, the meta-information of the controllable file includes: an identifier of the first data, an identifier of a connector of a data provider, and encryption and decryption information for at least encrypting and decrypting the first data.
[0021] In a possible implementation, the key for decrypting the ciphertext data in the controllable file is stored in a connector of the data provider or in a third-party service.
[0022] In the second aspect, the present application provides a controllable data processing method based on data space, which is applied to a connector of a data consumer, including: obtaining a controllable file transmitted by a data provider in an online or offline manner, wherein the controllable file includes: meta information of the controllable file, ciphertext data and a usage control policy of the ciphertext data, wherein the ciphertext data is obtained by encrypting the first data of the data provider; in response to a use operation for the controllable file, displaying a first interface, wherein the first interface includes a list of applications APP that can use the controllable file and a prompt message for prompting that a use contract needs to be signed; in response to a selection operation for a target APP in the APP list and an operation of agreeing to sign a use contract, obtaining a first key for decrypting the ciphertext data from a connector of the data provider or a third-party service; in the case where it is determined based on the use control policy that the data in the controllable file can be used, decrypting the ciphertext data in the controllable file using the first key to obtain the first data; and using the first data using the target APP. Exemplarily, the case where it is determined based on the use control policy that the data in the controllable file can be used can be understood as: the case where the use of the data in the controllable file is allowed based on the use control policy evaluation decision.
[0023] In this way, the controllable files of the data provider can be obtained online or offline, which increases the scope of use of controllable data exchange, makes the controllable data exchange more extensive and efficient, and enhances the competitiveness of data space technology. At the same time, controllable files must rely on connectors to be used, which avoids the situation where controllable files are used privately and improves data security.
[0024] In a possible implementation, before obtaining the first key for decrypting the ciphertext data from the connector of the data provider or the third-party service, it also includes: determining, based on the use control policy, that the data consumer can use the data in the controllable file.
[0025] In one possible implementation, obtaining a first key for decrypting ciphertext data from a connector of a data provider specifically includes: sending a data use request to the connector of the data provider based on an identifier of the connector of the data provider contained in the metadata of the controllable file, the data use request being used to request use of the ciphertext data in the controllable file; and obtaining the first key sent by the connector of the data provider.
[0026] In a possible implementation, a first key for decrypting ciphertext data is obtained from a third-party service, specifically including: based on the identifier of the data provider's connector contained in the meta-information of the controllable file, sending a data use request to the data provider's connector, the data use request is used to request the use of the ciphertext data in the controllable file; obtaining signature information sent by the data provider's connector, the signature information is used to indicate that the data provider agrees that the data consumer agrees to use the ciphertext data; based on the key acquisition method in the meta-information of the controllable file, sending a key acquisition request containing signature information to the third-party service; obtaining the first key sent by the third-party service, the first key is sent by the third-party service after the signature information is verified.
[0027] In a third aspect, the present application provides a controllable data processing device based on a data space, which is deployed on the data provider side, and includes: an acquisition module, used to obtain an acquisition path for first data and a usage control policy for the first data set by the data provider, and, based on the acquisition path, to obtain the first data; a processing module, used to generate a controllable file based at least on the first data and the usage control policy, the controllable file including: metadata of the controllable file, usage control policy and ciphertext data, the ciphertext data being obtained by encrypting the first data; and, storing the controllable file in a storage device of the data provider, wherein the data provider and the data consumer exchange data for the controllable file online or offline.
[0028] In a possible implementation, when the acquisition module acquires the first data based on the acquisition path, it is specifically configured to: acquire the first data from the acquisition path through a connector of a data provider.
[0029] When generating a controllable file based at least on the first data and the usage control policy, the processing module is specifically used to: encrypt the first data through the connector of the data provider to obtain ciphertext data, and process the metadata, usage control policy and ciphertext data of the controllable file to obtain the controllable file.
[0030] When storing the controllable file in the storage device of the data provider, the processing module is specifically used to: transfer the controllable file to the storage device of the data provider through the connector of the data provider for storage.
[0031] In one possible implementation, when the acquisition module acquires the first data based on the acquisition path, it is specifically used to: acquire the sub-data contained in the first data in batches from the acquisition path through the connector connector of the data provider, wherein each time the sub-data is acquired, the sub-data is encrypted and the encrypted sub-data is transmitted to the electronic device of the data provider.
[0032] When the processing module generates a controllable file based at least on the first data and the usage control policy, it is specifically used to: transmit the metadata and usage control policy of the controllable file to the electronic device of the data provider through the connector of the data provider, and process the metadata, usage control policy and all encrypted sub-data of the controllable file through the electronic device of the data provider to obtain the controllable file.
[0033] When storing the controllable file in the storage device of the data provider, the processing module is specifically used to: transfer the controllable file to the storage device of the data provider through the electronic device of the data provider for storage.
[0034] In a possible implementation, when the acquisition module acquires the first data based on the acquisition path, it is specifically used to: acquire the first data from the acquisition path through the connector connector of the data provider, and encrypt the first data to obtain ciphertext data.
[0035] When the processing module generates a controllable file based at least on the first data and the usage control policy, it is specifically used to: transmit the metadata, usage control policy and ciphertext data of the controllable file to the electronic device of the data provider through the connector of the data provider, and process the metadata, usage control policy and ciphertext data of the controllable file through the electronic device of the data provider to obtain the controllable file.
[0036] When storing the controllable file in the storage device of the data provider, the processing module is specifically used to: transfer the controllable file to the storage device of the data provider through the electronic device of the data provider for storage.
[0037] In a possible implementation, after storing the controllable file in the storage device of the data provider, the processing module is further used to: transmit the controllable file to the connector of the data consumer in an online or offline manner.
[0038] In a possible implementation manner, the meta-information of the controllable file includes: an identifier of the first data, an identifier of a connector of a data provider, and encryption and decryption information for at least encrypting and decrypting the first data.
[0039] In a possible implementation, the key for decrypting the ciphertext data in the controllable file is stored in a connector of the data provider or in a third-party service.
[0040] In a fourth aspect, the present application provides a controllable data processing device based on a data space, which is deployed in a connector of a data consumer, and includes: an acquisition module, which is used to acquire a controllable file transmitted by a data provider in an online or offline manner, wherein the controllable file includes: metadata of the controllable file, ciphertext data, and a usage control policy for the ciphertext data, wherein the ciphertext data is obtained by encrypting the first data of the data provider; a processing module, which is used to display a first interface in response to a usage operation on the controllable file, wherein the first interface includes a list of application programs APP that can use the controllable file and prompt information for prompting that a usage contract needs to be signed; the processing module is also used to obtain a first key for decrypting the ciphertext data from the connector of the data provider or a third-party service in response to a selection operation on a target APP in the APP list and an operation of agreeing to sign a usage contract; the processing module is also used to decrypt the ciphertext data in the controllable file using the first key to obtain the first data when it is determined based on the usage control policy that the data in the controllable file can be used; the processing module is also used to use the first data using the target APP.
[0041] In one possible implementation, when the processing module obtains the first key for decrypting ciphertext data from the connector of the data provider, it is specifically used to: send a data usage request to the connector of the data provider based on the identifier of the connector of the data provider contained in the metadata of the controllable file, wherein the data usage request is used to request the use of the ciphertext data in the controllable file; and obtain the first key sent by the connector of the data provider.
[0042] In one possible implementation, when the processing module obtains the first key for decrypting ciphertext data from a third-party service, it is specifically used to: send a data usage request to the data provider's connector based on the identifier of the data provider's connector contained in the metadata of the controllable file, the data usage request is used to request the use of the ciphertext data in the controllable file; obtain signature information sent by the data provider's connector, the signature information is used to indicate that the data provider agrees that the data consumer agrees to use the ciphertext data; based on the key acquisition method in the metadata of the controllable file, send a key acquisition request containing signature information to the third-party service; obtain the first key sent by the third-party service, the first key is sent by the third-party service after the signature information is verified.
[0043] In a fifth aspect, the present application provides a computing device, comprising: at least one memory for storing programs; and at least one processor for executing the programs stored in the memory; wherein, when the program stored in the memory is executed, the processor is used to execute the method described in the first aspect or any possible implementation of the first aspect, or to execute the method described in the second aspect or any possible implementation of the second aspect.
[0044] In a sixth aspect, the present application provides a computing device cluster, comprising at least one computing device, each computing device comprising a processor and a memory; the processor of at least one computing device is used to execute instructions stored in the memory of at least one computing device, so that the computing device cluster executes the method described in the first aspect or any possible implementation of the first aspect, or executes the method described in the second aspect or any possible implementation of the second aspect.
[0045] In a seventh aspect, the present application provides a computer-readable storage medium comprising computer program instructions. When the computer program instructions are executed by a computing device, the computing device executes the method described in the first aspect or any possible implementation of the first aspect; or, when the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method described in the first aspect or any possible implementation of the first aspect, or executes the method described in the second aspect or any possible implementation of the second aspect.
[0046] In an eighth aspect, the present application provides a computer program product comprising instructions, which, when executed by a computing device, causes the computing device to execute the method described in the first aspect or any possible implementation of the first aspect; or, when executed by a computing device cluster, causes the computing device cluster to execute the method described in the first aspect or any possible implementation of the first aspect; or, execute the method described in the second aspect or any possible implementation of the second aspect.
[0047] It can be understood that the beneficial effects of the second to eighth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 It is a schematic diagram of the architecture of a controllable data exchange system based on data space provided in an embodiment of the present application;
[0049] Figure 2 It is a schematic diagram of the architecture of another controllable data exchange system based on data space provided in an embodiment of the present application;
[0050] Figure 3 It is a schematic diagram of the steps of a controllable file generation method provided in an embodiment of the present application;
[0051] Figure 4 It is a schematic diagram of the steps of another controllable file generation method provided in an embodiment of the present application;
[0052] Figure 5 This is a schematic diagram of the steps of a method for using a controllable file provided in an embodiment of the present application;
[0053] Figure 6 It is a schematic diagram of the steps of another method for using a controllable file provided in an embodiment of the present application;
[0054] Figure 7 It is a structural schematic diagram of a controllable data processing device based on data space provided in an embodiment of the present application;
[0055] Figure 8 is a schematic diagram of the structure of another controllable data processing device based on data space provided in an embodiment of the present application;
[0056] Fig. 9 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application;
[0057] Fig.10 is a schematic diagram of the structure of a computing device cluster provided in an embodiment of the present application;
[0058] Fig.11 It is a schematic diagram of the structure of another computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The term "and / or" in this article is a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The symbol " / " in this article indicates that the associated objects are in an or relationship, for example, A / B means A or B.
[0060] The terms "first" and "second" in the specification and claims herein are used to distinguish different objects rather than to describe a specific order of the objects. For example, a first response message and a second response message are used to distinguish different response messages rather than to describe a specific order of the response messages.
[0061] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0062] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two. For example, multiple processing units refer to two or more processing units, etc.; multiple elements refer to two or more elements, etc.
[0063] First, the technical terms involved in the embodiments of the present application are introduced.
[0064] (1) Connector
[0065] A connector is a client that provides data integration, computing, and consumption capabilities in the data space. Connectors enable the flow and controllable use of data between data providers and data consumers.
[0066] (2) Use control strategy
[0067] Data control policies are some rules that need to be followed when accessing data, which emphasizes what types of operations users can perform on data under what conditions. Exemplarily, the use control policy can be described by an open digital rights language (ODRL) policy script and a business policy model. Among them, the ODRL policy script is a machine-interpretable and executable policy script that follows the ODRL specification. In summary, the policy contains multiple rules, each of which contains multiple actions (for example, downloading, printing, etc.) and multiple constraints (for example, under what circumstances to print, download, etc.), and the constraints are composed of right-left operands, operators, and right operands. The business policy model describes the use control policy from a business-friendly perspective. Using this description information, a user-friendly policy editing interface can be dynamically generated, including: policy definition (for example, it can contain a list of currently selected rules and a list of rules to be selected), rule definition (for example, rule identification, name, description, rule dimension information, rule variable value, etc.), rule variable definition (for example, rule variable identification, name, description, optional value information, etc.). Exemplarily, the usage control policy may include policy standards, policy version information, policy content type, and policy content. Among them, the policy standard is used to indicate which standard the usage control policy follows, which may be an international, industry, or enterprise-owned standard. The policy version information is used to identify the version information of the usage control policy in the controllable file, because even under the same policy standard, the model of the usage control policy may continue to evolve, so it can be identified by this information. The policy content type is used to indicate the organizational form of the policy content in order to parse the policy content. The policy content is used to indicate the specific content of the usage control policy, and different policy standard implementations have different policy expressions.
[0068] Next, the technical solution provided by the embodiments of the present application is introduced.
[0069] For example, Figure 1 FIG. 1 shows a schematic diagram of the architecture of a controllable data exchange system based on a data space provided by an embodiment of the present application. Figure 1As shown, under the controllable data exchange system, the data provider can upload data to connector A and store it in a database or S3 storage. Then, the data provider can publish the data to the data market through connector A. After that, the data consumer can query the data provided by the data provider in the data market through connector B and communicate with connector A to request to exchange the data. At the same time, connector A and connector B can also be authenticated by the authentication center, and after the authentication is successful and the two parties sign a contract, connector A can transmit the data and the use control policy of the data to connector B of the data consumer through the network. In addition, connector A may not publish the data to the data market, but directly transmit the data and the use control policy of the data to connector B of the data consumer through the network in a point-to-point manner. After obtaining the data and use control policy transmitted by connector A, connector B can store the data in the database or S3 storage of the data consumer, and can process the data through its built-in or deployed application (application, APP), and strictly process the data in accordance with the use control policy of the data during the processing.
[0070] exist Figure 1 Under the architecture of the controllable data exchange system shown, although data exchange and controllable use can be achieved, data exchange must be transmitted online through a connector. When the data file is large or the network is limited (such as slow network speed or network isolation), online transmission may be unstable, time-consuming, or impossible.
[0071] In addition, the data provider's data must first be uploaded to the data provider's controllable storage area before data exchange can be carried out. After the data exchange, it must also be stored in the data consumer's controllable storage area before it can be used by the data consumer's data APP. When massive data exchange occurs, the capacity and transmission performance of the controllable storage areas of the data provider and the data consumer will be challenged.
[0072] In addition, this system architecture is only suitable for B2B scenarios, and its use may be limited when individual users participate in data exchange. Generally, individual users do not want their data to be stored in a connector shared by multiple people, but want to store it by themselves. However, in this system architecture, it is difficult for users to store their data by themselves.
[0073] In view of this, the embodiment of the present application provides a controllable data processing method based on data space, which can process the data that the data provider needs to exchange and the use control policy of the data through the connector on the data provider side, obtain a controllable file with controlled use, and transmit the controllable file to the data consumer side in an online or offline manner. In this way, the storage and use of the data to be exchanged are separated, the scope of use of controllable data exchange is improved, the coverage of controllable data exchange is wider, the efficiency is higher, and the competitiveness of data space technology is enhanced.
[0074] For example, Figure 2 FIG. 2 shows another schematic diagram of the architecture of a controllable data exchange system based on a data space provided in an embodiment of the present application. Figure 2 As shown, the architecture of the controllable data exchange system based on data space can also include: connector A of the data provider and connector B of the data consumer. However, under this architecture, the data exchange between the data provider and the data consumer can be realized in two ways: online and offline.
[0075] Specifically, the data provider can log in to its own connector A, select the data to be exchanged in connector A, and set the use control policy of the data. Then, connector A can generate a controllable file based on the data selected by the data provider and the use control policy. The controllable file includes the file header (i.e., the meta information of the controllable file), the use control policy set by the data provider, and the data obtained by encrypting the data selected by the data provider (i.e., the encrypted data).
[0076] The header of the controllable file may include the identifier of the data contained in the controllable file, the identifier of connector A (such as the communication address of connector A, etc.), and encryption and decryption information (such as encryption algorithm and parameters, key acquisition method, etc.). Of course, the header of the controllable file may also include other information, such as:
[0077] a) Data content type, which can indicate whether the data is structured data or unstructured data;
[0078] b) Data content format, which may indicate the format in which the data is organized, such as CSV record, JSON record, EXCEL record, TXT document, PDF document, WORD document, EXCEL document, etc.);
[0079] c) Data source information, such as the owner of the data, the date when the controllable file was generated, etc.;
[0080] d) Original file information, such as the original file name, the number of bytes of the original file data content, the SHA256 digest value of the original data content, etc.;
[0081] e) APP information, which may indicate the capability requirements of the APP that uses the controllable file, such as the APP's multimedia capabilities (e.g., support for audio playback) and APP security capability requirements (e.g., the APP has the ability to prevent screenshots);
[0082] f) A list of data usage types, which may indicate the type of usage of the data, for example, viewing, printing, editing, processing, etc.
[0083] After connector A generates a controllable file, the data provider can transfer the controllable file to the data consumer online. For example, the data provider can transfer the controllable file to the data consumer through peer-to-peer resource exchange, data market resource exchange, or email attachment of the controllable file. And / or, the data provider can transfer the controllable file to the data consumer offline (for example, copying via a USB flash drive, disk, etc.). In addition, after the controllable file is generated, the data provider may save it by itself instead of disseminating it.
[0084] After obtaining the controllable file transmitted by the data provider, the data consumer can log in to its own connector B and try to open and use the controllable file through connector B. Connector B can determine whether the data in the controllable file can be used through the use control policy contained in the controllable file. After it can use the data in the controllable file, connector B can obtain the acquisition path of the key required to decrypt the data from the file header of the controllable file, such as obtaining the key from connector A or obtaining the key from a third party. Then, connector B can send a key acquisition request to the client indicated by the key acquisition path, and the key acquisition request may include: the identifier of the data contained in the file header of the controllable file and the identifier of connector A. After the client indicated by the key acquisition path obtains the key acquisition request, it can find the key corresponding to the identifier of the data and the identifier of connector A in it, and send the key to connector B. After connector B obtains the key, it can use the key to decrypt the encrypted data in the controllable file. In this way, connector B obtains the unencrypted data and can use the data.
[0085] The above is another controllable data exchange system based on data space provided by the embodiment of the present application. Next, based on the above content, the process of generating a controllable file, the process of transmitting a controllable file, and the process of using a controllable file are introduced respectively.
[0086] (1) Generate controllable files
[0087] For example, Figure 3 The figure shows a schematic diagram of the steps of a controllable file generation method provided by an embodiment of the present application. The controllable file generation method can be executed by a connector of a data provider. Figure 3 As shown, the controllable file generation method may include the following steps:
[0088] S301: Acquire a first data acquisition path and a first data usage control policy set by a data provider.
[0089] In this embodiment, the data provider can log in to its own connector through a client such as a browser, and enter the functional interface of "generating controllable files" from the interface after login. Then, the data provider can set the path of the first data in this functional interface, as well as the usage control policy of the first data. Exemplarily, the data provider can use an existing usage control policy, or add a new usage control policy. In some embodiments, the data provider can also choose to fill in the meta information of the controllable file in the functional interface of "generating controllable files". For example: the aforementioned data content type, data content format, data source information, original file information, APP information, data usage type list, etc.
[0090] S302: Acquire the first data based on the first data acquisition path.
[0091] In this embodiment, after completing the setting, the data provider may issue an instruction for generating a controllable file. After the connector obtains the instruction, it may read the first data from the first data acquisition path to obtain the first data.
[0092] As a possible implementation, the data provider may first upload the complete first data to the connector. In this case, the connector may directly obtain the complete first data. In this case, the acquisition path of the first data may be, but is not limited to, the storage path of the first data in the electronic device of the data provider.
[0093] As another possible implementation, the first data may also be uploaded to the connector in batches. In this case, the connector may obtain the sub-data contained in the first data in batches. In this case, the acquisition path of the first data may be, but is not limited to, the storage path of the first data in the electronic device of the data provider.
[0094] As another possible implementation, the first data may also be data stored in the connector, that is, data already existing in the connector. Exemplarily, the acquisition path of the first data may be, but is not limited to, the storage path of the first data in the connector.
[0095] S303: Generate a controllable file based at least on the first data and the use control policy, where the controllable file includes: meta information of the controllable file, the use control policy, and ciphertext data, where the ciphertext data is obtained by encrypting the first data.
[0096] In this embodiment, after obtaining the first data and the usage control policy, the first data can be encrypted to obtain ciphertext data. Then, a controllable file can be generated based at least on the ciphertext data and the usage control policy. The controllable file includes: meta-information of the controllable file, usage control policy and ciphertext data. Exemplarily, the meta-information of the controllable file may include the identification of the data contained in the controllable file, the identification of the connector of the data provider and encryption and decryption information (such as encryption algorithm and parameters, key acquisition method, etc.). Exemplarily, the connector can first write the meta-information and usage control policy of the controllable file into the controllable file, and then encrypt the first data, and write the encrypted data into the controllable file to obtain the controllable file.
[0097] In some embodiments, when the connector directly obtains the complete first data, the connector can directly encrypt the first data. When the connector obtains the sub-data contained in the first data in batches, the connector can obtain a portion of the data, encrypt the portion of the data, and write the encrypted data into the controllable file.
[0098] S304: Store the controllable file in the storage device of the data provider.
[0099] In this embodiment, after generating the controllable file, the connector of the data provider may transfer the controllable file to a storage device of the data provider, such as a hard disk, a disk, or a USB flash drive of the data provider.
[0100] In this way, a controllable file is generated through the data provider's connector. The controllable file can be used by the data provider to exchange data online or offline.
[0101] For example, Figure 4 FIG. 2 is a schematic diagram showing the steps of another controllable file generation method provided by an embodiment of the present application. Figure 4 As shown, the controllable file generation method may include the following steps:
[0102] S401: The connector of the data provider obtains the first data acquisition path and the first data use control policy set by the data provider. Please refer to the description in the above S301 for details, which will not be repeated here.
[0103] S402, the connector of the data provider sends the meta information and usage control policy of the controllable file to the electronic device of the data provider. Exemplarily, the meta information of the controllable file may include the identifier of the data contained in the controllable file, the identifier of the connector of the data provider, and encryption and decryption information (such as encryption algorithm and parameters, key acquisition method, etc.). In this case, the meta information may be automatically generated by the connector.
[0104] S403, the connector of the data provider obtains the sub-data contained in the first data in batches based on the acquisition path of the first data, and encrypts the sub-data each time the sub-data is obtained, and transmits the encrypted sub-data to the electronic device of the data provider. Exemplarily, the sub-data of the first data can be data obtained by splitting the first data into data of a fixed size. For example, when the size of the first data is 10 bits, if the first data is split into 2 bits, 5 sub-data of 2 bits in size can be obtained.
[0105] S404. The electronic device of the data provider processes the obtained metadata of the controllable file, the usage control policy and the sub-data in the encrypted first data (for example, packaging the information, etc.) to obtain a controllable file, which includes: the metadata of the controllable file, the usage control policy and ciphertext data, and the ciphertext data is obtained by encrypting the sub-data in the first data.
[0106] S405: The electronic device of the data provider stores the controllable file in the storage device of the data provider.
[0107] In this embodiment, after generating a controllable file, the electronic device of the data provider can store the controllable file in a storage device of the data provider, such as a hard disk or a disk of the electronic device, or a USB flash drive of the data provider.
[0108] In this way, a controllable file is generated by combining the connector of the data provider and the electronic device of the data provider. The controllable file can be exchanged by the data provider online or offline. In this controllable file generation method, the data is uploaded, encrypted, and downloaded at the same time, forming a streaming process, so that the entire original file data content does not need to be cached in the memory of the data provider's connector, reducing the memory occupation of the data provider's connector. At the same time, the data content of the original file does not need to be written to the disk on the data provider's connector (it does not need to be stored in the connector's temporary file), does not occupy the disk resources on the data provider's connector, and is more secure. In addition, concurrent processing of uploading, encryption, and downloading can significantly improve the efficiency of generating controllable files.
[0109] In some embodiments, the aforementioned S403 may also be replaced by the connector acquiring the complete first data based on the acquisition path of the first data, encrypting the first data, and transmitting the encrypted first data to the electronic device of the data provider. In this case, the aforementioned S404 may be replaced by the electronic device of the data provider processing the acquired meta information of the controllable file, the use control strategy and the encrypted first data to obtain the controllable file.
[0110] In some embodiments, Figure 3 and Figure 4 In the method shown, the encryption algorithm used can be a symmetric encryption algorithm or an asymmetric encryption algorithm, which is not limited here. In addition, the key required for encryption can be, but is not limited to, randomly generated, and the key required for decryption can be stored by the connector of the data provider, or sent by the connector of the data provider to a third-party service for storage, which is not limited here.
[0111] (2) Dissemination of controllable files
[0112] In this embodiment, the data provider can choose to transmit the controllable file to the data consumer's connector in a point-to-point manner through its own connector, or can choose to publish the controllable file to the data trading market through its own connector, or can choose to send the controllable file to the data consumer through email, etc. In addition, the data provider can also copy the controllable file to the data consumer through devices such as a USB flash drive and a disk, etc. In addition, the data provider can also store the controllable file by itself instead of disseminating it.
[0113] (3) Use controllable files
[0114] For example, Figure 5 A schematic diagram of the steps of a controllable file use method provided in an embodiment of the present application is shown. Figure 5 As shown, the controllable data use method may include the following steps:
[0115] S501. In response to an operation to use a controllable file, the connector of the data consumer displays a first interface, which includes one or more of a list of apps that can use the controllable file, basic information about the data in the controllable file, a usage control policy for the controllable file, and prompt information for indicating that a usage contract needs to be signed.
[0116] In this embodiment, the data consumer can log in to its own connector through a client such as a browser, and choose to use the controllable file transmitted by the data provider in the display interface of the connector. Among them, the controllable file is obtained online or offline. After the data consumer completes the use operation for the controllable file, the connector of the data consumer can display the first interface. The first interface may include one or more of the APP list that can use the controllable file, the basic information of the data in the controllable file (such as which connector it comes from, the size of the data, etc.), the use control policy in the controllable file, and the prompt information for prompting the need to sign a use contract. Among them, the APP list that can use the controllable file can inform the data consumer which apps can use the controllable file; the use control policy in the controllable file can be some rules required for the data consumer to know the use of the controllable file; the prompt information is used to inform the data consumer that a use contract must be signed before the data in the controllable file can be used.
[0117] In some embodiments, before displaying the first interface, the connector of the data consumer may first extract the use control policy from the controllable file and perform a pre-evaluation, for example, evaluating whether the connector supports the current policy version. If the evaluation fails, an error message is returned to the data consumer and the data usage is terminated. If the evaluation passes, the first interface is displayed.
[0118] In some embodiments, when the meta information of a controllable file includes APP information indicating the capability requirements of an APP that uses the controllable file, the connector of the data consumer may filter the APPs by the APP information in the meta information when displaying the APP list, and / or filter the APPs by using a control policy.
[0119] S502. In response to the selection operation of the target APP in the APP list and the operation of agreeing to sign the usage contract, the connector of the data consumer sends a data usage request and the identifier of the data in the meta-information of the controllable file to the connector of the data provider based on the identifier of the connector of the data provider contained in the meta-information of the controllable file.
[0120] In this embodiment, the data consumer can select a target APP from the APP list to use the data in the controllable file through the target APP, and at the same time, the data consumer can choose to agree to sign a usage contract. Afterwards, the data consumer's connector can extract the identifier of the data provider's connector from the meta-information of the controllable file, and send a data usage request and the identifier of the data in the meta-information of the controllable file to the data provider's connector. Exemplarily, the data usage request can be used to request the use of ciphertext data in a controllable file. In some embodiments, when the data consumer agrees to sign a usage contract, it can first determine whether the data in the controllable file can be used based on the usage control policy in the controllable file. When the data in the controllable file can be used, the subsequent steps are executed, thereby reducing unnecessary data interactions when the data in the controllable file cannot be used.
[0121] S503: In response to the data use request, the connector of the data provider queries a first key for decrypting the ciphertext data in the controllable file based on the identifier of the data in the meta-information of the controllable file.
[0122] In this embodiment, after the connector of the data provider obtains the data use request, it can complete the approval automatically or manually. After the approval is passed, the connector of the data provider can query the first key corresponding to the data identifier in the metadata of the controllable file obtained by it for decrypting the ciphertext data in the controllable file.
[0123] S504: The connector of the data provider sends the first key to the connector of the data consumer.
[0124] S505. The connector of the data consumer determines whether the data in the controllable file can be used based on the usage control policy in the controllable file.
[0125] In this embodiment, after receiving the first key, the connector of the data consumer can determine whether the data in the controllable file can be used based on the usage control policy in the controllable file to ensure that the data is currently available.
[0126] S506. When the connector of the data consumer determines that the data in the controllable file can be used, the connector uses the first key to decrypt the ciphertext data in the controllable file to obtain the first data.
[0127] In this embodiment, when the connector of the data consumer determines that the data in the controllable file can be used, the connector uses the first key to decrypt the ciphertext data in the controllable file to obtain the first data.
[0128] S507: The connector of the data consumer uses the target APP to use the first data, and synchronizes the usage log to the data clearing center.
[0129] In this embodiment, after decrypting the first data, the connector of the data consumer can use the first data using the target APP. In addition, in order to improve data security, the connector of the data consumer can synchronize the usage log to the data clearing center.
[0130] In this way, the use of controllable files is completed. Figure 5 It can be seen from the use process of the controllable file shown that the controllable file must rely on the connector to be used, which avoids the situation where the controllable file is used privately and improves the security of the data.
[0131] For example, Figure 6 A schematic diagram of the steps of another method for using a controllable file provided in an embodiment of the present application is shown. Figure 6 and Figure 5 The biggest differences are: Figure 6 The key used to decrypt the ciphertext data in the controllable file is stored on a third-party service. Figure 5 The key is stored on the data provider's connector. Figure 6 S601, S602, S606, S607 and S608 can all be found in Figure 5 The relevant descriptions in , will not be repeated here. Figure 6 As shown, the controllable data use method may include the following steps:
[0132] S601. In response to an operation to use a controllable file, the connector of the data consumer displays a first interface, which includes one or more of a list of apps that can use the controllable file, basic information about the data in the controllable file, a usage control policy for the controllable file, and prompt information for indicating that a usage contract needs to be signed.
[0133] S602: In response to the selection operation of the target APP in the APP list and the operation of agreeing to sign the use contract, the connector of the data consumer initiates a data use request to the connector of the data provider based on the identifier of the connector of the data provider contained in the meta information of the controllable file. The data use request can be used to request the use of the ciphertext data in the controllable file.
[0134] S603. In response to the data use request, the connector of the data provider sends signature information for approving the connector of the data consumer to use the first data (or use the ciphertext data in the controllable file) to the connector of the data consumer.
[0135] In this embodiment, after the connector of the data provider obtains the data use request, it can complete the approval automatically or manually. After the approval is passed, the connector of the data provider can generate a signature information for agreeing that the connector of the data consumer uses the first data, and send it to the connector of the data consumer.
[0136] S604. The connector of the data consumer sends a key acquisition request containing signature information to the third-party service indicated by the key acquisition path in the meta-information of the controllable file. The key acquisition request is used to request to obtain the key corresponding to the identifier of the data in the meta-information of the controllable file.
[0137] In this embodiment, the connector of the data consumer can extract the key acquisition path from the meta information of the controllable file, and obtain the communication address of the third-party service indicated by the path. The third-party service stores the key for decrypting the ciphertext data in the controllable file. After that, the connector of the data consumer can send a key acquisition request containing signature information to the third-party service, and the key acquisition request is used to request the key corresponding to the identifier of the data in the meta information of the controllable file.
[0138] S605: After verifying the signature information, the third-party service sends the first key corresponding to the identifier of the data in the meta-information of the controllable file to the connector of the data consumer.
[0139] In this embodiment, after obtaining the signature information, the third-party service may first verify the signature information, and after the signature information is verified, send the first key corresponding to the identifier of the data in the metadata of the controllable file to the connector of the data consumer.
[0140] S606: The connector of the data consumer determines whether the data in the controllable file can be used based on the usage control policy in the controllable file.
[0141] S607: When the connector of the data consumer determines that the data in the controllable file can be used, the connector uses the first key to decrypt the ciphertext data in the controllable file to obtain the first data.
[0142] S608. The connector of the data consumer uses the first data by using the target APP, and synchronizes the usage log to the data clearing center.
[0143] In this way, the use of controllable files is completed. Figure 6 It can also be seen from the use process of the controllable file shown that the controllable file must rely on the connector to be used, which avoids the controllable file from being used privately and improves the security of the data.
[0144] It can be seen from the above-mentioned process of generating controllable files, the process of disseminating controllable files, and the process of using controllable files that in the embodiments of the present application, when performing controllable data exchange, data exchange can be completed both online and offline, and at the same time, separation of storage and use is achieved, thereby improving the scope of use of controllable data exchange, making the coverage of controllable data exchange wider and more efficient, and enhancing the competitiveness of data space technology.
[0145] In some embodiments, the aforementioned data provider connector and data consumer connector may be, but are not limited to, private clouds belonging to different companies. Of course, they may also belong to the cloud of the same vendor, such as Huawei Cloud.
[0146] It should be understood that the aforementioned Figure 3 and 4 The described controllable file generation method, the process of propagating the controllable file, and, Figure 5 and 6 The described controllable file usage methods can all be referred to as controllable data processing methods based on data space.
[0147] It is understandable that the size of the sequence number of each step in the above embodiment does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. In addition, in some possible implementations, the steps in the above embodiment can be selectively executed according to actual conditions, and can be partially executed or fully executed, which is not limited here. In addition, all or part of any features of any of the above embodiments can be freely and arbitrarily combined without contradiction; the combined technical solution is also within the scope of the present application.
[0148] The above is an introduction to the controllable data processing method based on data space provided by the embodiment of the present application. Next, based on the method in the above embodiment, the embodiment of the present application also provides a controllable data processing device based on data space.
[0149] For example, Figure 7 FIG. 1 shows a schematic diagram of a controllable data processing device based on a data space provided in an embodiment of the present application. The device can be deployed on the side of a data provider, such as a connector of a data provider. Figure 7 As shown, the controllable data processing device 700 based on the data space may include: an acquisition module 701 and a processing module 702. The acquisition module 701 is used to acquire the acquisition path of the first data and the use control policy of the first data set by the data provider, and acquire the first data based on the acquisition path. The processing module 702 is used to generate a controllable file based at least on the first data and the use control policy, the controllable file including: meta information of the controllable file, the use control policy and ciphertext data, the ciphertext data being obtained by encrypting the first data; and, store the controllable file in the storage device of the data provider, wherein the data provider and the data consumer exchange data on the controllable file online or offline.
[0150] In some embodiments, when acquiring the first data based on the acquisition path, the acquisition module 701 is specifically used to: acquire the first data from the acquisition path through the connector connector of the data provider.
[0151] When generating a controllable file based at least on the first data and the usage control policy, the processing module 702 is specifically used to: encrypt the first data through the connector of the data provider to obtain ciphertext data, and process the metadata, usage control policy and ciphertext data of the controllable file to obtain the controllable file.
[0152] When storing the controllable file in the storage device of the data provider, the processing module 702 is specifically used to: transfer the controllable file to the storage device of the data provider through the connector of the data provider for storage.
[0153] In some embodiments, when the acquisition module 701 acquires the first data based on the acquisition path, it is specifically used to: acquire the sub-data contained in the first data in batches from the acquisition path through the connector connector of the data provider, wherein each time the sub-data is acquired, the sub-data is encrypted and the encrypted sub-data is transmitted to the electronic device of the data provider.
[0154] When generating a controllable file based at least on the first data and the usage control policy, the processing module 702 is specifically used to: transmit the metadata and usage control policy of the controllable file to the electronic device of the data provider through the connector of the data provider, and process the metadata, usage control policy and all encrypted sub-data of the controllable file through the electronic device of the data provider to obtain the controllable file.
[0155] When storing the controllable file in the storage device of the data provider, the processing module 702 is specifically used to: transfer the controllable file to the storage device of the data provider through the electronic device of the data provider for storage.
[0156] In some embodiments, when acquiring the first data based on the acquisition path, the acquisition module 701 is specifically used to: acquire the first data from the acquisition path through the connector connector of the data provider, and encrypt the first data to obtain ciphertext data.
[0157] When generating a controllable file based at least on the first data and the usage control policy, the processing module 702 is specifically used to: transmit the metadata, usage control policy and ciphertext data of the controllable file to the electronic device of the data provider through the connector of the data provider, and process the metadata, usage control policy and ciphertext data of the controllable file through the electronic device of the data provider to obtain the controllable file.
[0158] When storing the controllable file in the storage device of the data provider, the processing module 702 is specifically used to: transfer the controllable file to the storage device of the data provider through the electronic device of the data provider for storage.
[0159] In some embodiments, after storing the controllable file in the storage device of the data provider, the processing module 702 is further used to: transmit the controllable file to the connector of the data consumer in an online or offline manner.
[0160] In some embodiments, the meta-information of the controllable file includes: an identifier of the first data, an identifier of a connector of a data provider, and encryption and decryption information for at least encrypting and decrypting the first data.
[0161] In some embodiments, the key for decrypting the ciphertext data is stored in a connector of the data provider or in a third-party service.
[0162] It should be understood that the above-mentioned device is used to execute the method in the above-mentioned embodiment. The implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method. The working process of the device can refer to the corresponding process in the above-mentioned method, which will not be repeated here.
[0163] For example, Figure 8 FIG. 2 shows a schematic diagram of the structure of another controllable data processing device based on data space provided in an embodiment of the present application. The device can be deployed on the side of the data consumer, such as the connector of the data consumer. Figure 8 As shown, the controllable data processing device 800 based on the data space may include: an acquisition module 801 and a processing module 802. Among them, the acquisition module 801 is used to acquire the controllable file transmitted by the data provider in an online or offline manner, and the controllable file includes: meta information of the controllable file, ciphertext data and the use control policy of the ciphertext data, and the ciphertext data is obtained by encrypting the first data of the data provider. The processing module 802 is used to respond to the use operation of the controllable file and display the first interface, which includes the list of application APPs that can use the controllable file and the prompt information for prompting the need to sign a use contract. The processing module 802 is also used to respond to the selection operation of the target APP in the APP list and the operation of agreeing to sign the use contract, and obtain the first key for decrypting the ciphertext data from the connector of the data provider or the third-party service. The processing module 802 is also used to use the first key to decrypt the ciphertext data in the controllable file to obtain the first data when it is determined based on the use control policy that the data in the controllable file can be used. The processing module 802 is also used to use the target APP to use the first data.
[0164] In some embodiments, when the processing module 802 obtains the first key for decrypting ciphertext data from the connector of the data provider, it is specifically used to: send a data usage request to the connector of the data provider based on the identifier of the connector of the data provider contained in the metadata of the controllable file, the data usage request is used to request the use of the ciphertext data in the controllable file; obtain the first key sent by the connector of the data provider.
[0165] In some embodiments, when the processing module 802 obtains the first key for decrypting ciphertext data from a third-party service, it is specifically used to: send a data usage request to the data provider's connector based on the identifier of the data provider's connector contained in the metadata of the controllable file, the data usage request is used to request the use of the ciphertext data in the controllable file; obtain the signature information sent by the data provider's connector, the signature information is used to indicate that the data provider agrees that the data consumer agrees to use the ciphertext data; based on the key acquisition method in the metadata of the controllable file, send a key acquisition request containing the signature information to the third-party service; obtain the first key sent by the third-party service, the first key is sent by the third-party service after the signature information is verified.
[0166] It should be understood that the above-mentioned device is used to execute the method in the above-mentioned embodiment. The implementation principle and technical effect of the corresponding program module in the device are similar to those described in the above-mentioned method. The working process of the device can refer to the corresponding process in the above-mentioned method, which will not be repeated here.
[0167] In some embodiments, the aforementioned Figure 7 The acquisition module 701 and the processing module 702 in the controllable data processing device 700 based on the data space described in Figure 8 The acquisition module 801 and the processing module 802 in the controllable data processing device 800 based on the data space described in the embodiment can be implemented by software or by hardware. Figure 7 Taking the acquisition module 701 in the controllable data processing device 700 based on the data space as an example, the implementation method of the acquisition module 701 is introduced. Similarly, Figure 7 The implementation of the processing module 702 in the controllable data processing device 700 based on the data space, and Figure 8 The implementation methods of the acquisition module 801 and the processing module 802 in the controllable data processing device 800 based on the data space can refer to the implementation method of the acquisition module 701.
[0168] As an example of a software functional unit, the acquisition module 701 may include code running on a computing instance. Among them, the computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Further, the above-mentioned computing instance may be one or more. For example, the acquisition module 701 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region (region) or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including a data center or multiple data centers with close geographical locations. Among them, usually a region may include multiple AZs.
[0169] Similarly, multiple hosts / virtual machines / containers used to run the code can be distributed in the same virtual private cloud (VPC) or in multiple VPCs. Usually, a VPC is set up in a region. For cross-region communication between two VPCs in the same region and between VPCs in different regions, a communication gateway needs to be set up in each VPC to achieve interconnection between VPCs through the communication gateway.
[0170] As an example of a hardware functional unit, the acquisition module 701 may include at least one computing device, such as a server, etc. Alternatively, the acquisition module 701 may also be a device implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0171] The multiple computing devices included in the acquisition module 701 can be distributed in the same region or in different regions. The multiple computing devices included in the acquisition module 701 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in the acquisition module 701 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.
[0172] It should be noted that, in other embodiments, the acquisition module 701 can be used to execute any step related to the data provider in the method described above, and the processing module 702 can be used to execute any step related to the data provider in the method described above, or the steps related to the data provider that the acquisition module 701 and the processing module 702 are responsible for implementing can be specified as needed, and the acquisition module 701 and the processing module 702 respectively implement different steps related to the data provider in the method provided in the above embodiments to realize all the functions of the controllable data processing device 700 based on the data space.
[0173] or, Figure 8 The acquisition module 801 shown in can be used to execute any step related to the data consumer in the method described above, and the processing module 802 can be used to execute any step related to the data consumer in the method described above, or the steps related to the data consumer that the acquisition module 801 and the processing module 802 are responsible for implementing can be specified as needed, and the acquisition module 801 and the processing module 802 respectively implement different steps related to the data consumer in the method provided by the above embodiment to realize all the functions of the controllable data processing device 800 based on the data space.
[0174] The present application also provides a computing device 900. Fig. 9 As shown, the computing device 900 includes: a bus 902, a processor 904, a memory 906, and a communication interface 908. The processor 904, the memory 906, and the communication interface 908 communicate through the bus 902. The computing device 900 can be a server or a terminal device. It should be understood that the present application does not limit the number of processors and memories in the computing device 900.
[0175] The bus 902 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 The bus 904 is represented by only one line, but does not mean that there is only one bus or one type of bus. The bus 904 may include a path for transmitting information between various components of the computing device 900 (eg, the memory 906, the processor 904, and the communication interface 908).
[0176] The processor 904 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0177] The memory 906 may include a volatile memory, such as a random access memory (RAM). The processor 904 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0178] The memory 906 stores executable program codes, and the processor 904 executes the executable program codes to respectively implement the aforementioned Figure 7 The functions of the acquisition module 701 and the processing module 702 in the controllable data processing device 700 based on the data space described in the embodiment are implemented to realize all or part of the steps related to the data provider in the above embodiment method. That is, the memory 906 stores instructions for executing all or part of the steps related to the data provider in the above embodiment method. Alternatively, the memory 906 stores executable program codes, and the processor 904 executes the executable program codes to respectively realize the above Figure 8 The functions of the acquisition module 801 and the processing module 802 in the controllable data processing device 800 based on the data space described in the embodiment are implemented to realize all or part of the steps related to the data consumer in the above embodiment method. That is, the memory 906 stores instructions for executing all or part of the steps related to the data consumer in the above embodiment method.
[0179] Alternatively, the memory 906 stores executable codes, and the processor 904 executes the executable codes to respectively implement the functions of the aforementioned controllable data processing device 700 or 800 based on the data space, thereby implementing all or part of the steps in the above-mentioned embodiment method. That is, the memory 906 stores instructions for executing all or part of the steps in the above-mentioned embodiment method.
[0180] The communication interface 903 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 900 and other devices or a communication network.
[0181] The embodiment of the present application also provides a computing device cluster. The computing device cluster includes at least one computing device. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smart phone.
[0182] like Fig.10 As shown, the computing device cluster includes at least one computing device 900. The memory 906 in one or more computing devices 900 in the computing device cluster may store the same instructions for executing all or part of the steps in the above embodiment method.
[0183] In some possible implementations, the memory 906 of one or more computing devices 900 in the computing device cluster may also store partial instructions for executing all or part of the steps in the above-mentioned embodiment method. In other words, the combination of one or more computing devices 900 may jointly execute instructions for executing all or part of the steps in the above-mentioned embodiment method.
[0184] It should be noted that the memory 906 in different computing devices 900 in the computing device cluster can store different instructions, which are respectively used to execute part of the functions of the controllable data processing device 700 based on the data space. That is, the instructions stored in the memory 906 in different computing devices 900 can realize the functions of one or more modules in the aforementioned acquisition module 701 and processing module 702. Alternatively, the memory 906 in different computing devices 900 in the computing device cluster can store different instructions, which are respectively used to execute part of the functions of the controllable data processing device 800 based on the data space. That is, the instructions stored in the memory 906 in different computing devices 900 can realize the functions of one or more modules in the aforementioned acquisition module 801 and processing module 802.
[0185] In some possible implementations, one or more computing devices in the computing device cluster may be connected via a network, which may be a wide area network or a local area network. Fig.11 A possible implementation is shown. Fig.11 As shown, two computing devices 900A and 900B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 906 in the computing device 900A stores instructions for executing the functions of the acquisition module 701. At the same time, the memory 906 in the computing device 900B stores instructions for executing the functions of the processing module 702. Alternatively, the memory 906 in the computing device 900A stores instructions for executing the functions of the acquisition module 801. At the same time, the memory 906 in the computing device 900B stores instructions for executing the functions of the processing module 802.
[0186] It should be understood that Fig.11 The functions of the computing device 900A shown in FIG. 9A may also be completed by multiple computing devices 900. Similarly, the functions of the computing device 900B may also be completed by multiple computing devices 900.
[0187] The present application embodiment also provides another computing device cluster. The connection relationship between the computing devices in the computing device cluster can be similar to that of Fig.10 and Fig.11 The connection mode of the computing device cluster is different in that the memory 906 in one or more computing devices 900 in the computing device cluster may store the same instructions for executing the method in the above embodiment.
[0188] In some possible implementations, the memory 906 of one or more computing devices 900 in the computing device cluster may also store partial instructions for executing the aforementioned data processing method. In other words, the combination of one or more computing devices 900 may jointly execute instructions for executing the aforementioned data processing method.
[0189] Based on the method in the above embodiment, the embodiment of the present application provides a computer-readable storage medium, including computer program instructions. When the computer program instructions are executed by a computing device, the computing device executes the method in the above embodiment; or, when the computer program instructions are executed by a computing device cluster, the computing device cluster executes the method in the above embodiment. Exemplarily, the computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0190] Based on the method in the above embodiment, an embodiment of the present application provides a computer program product containing instructions, which, when executed by a computing device, enables the computing device to execute the method in the above embodiment, or, when executed by a computing device cluster, enables the computing device cluster to execute the method in the above embodiment.
[0191] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.
[0192] The method steps in the embodiments of the present application can be implemented by hardware or by a processor executing software instructions. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, hard disks, mobile hard disks, CD-ROMs, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC.
[0193] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted through the computer-readable storage medium. The computer instructions may be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
[0194] It should be understood that the various numerical numbers involved in the embodiments of the present application are only used for the convenience of description and are not used to limit the scope of the embodiments of the present application.
Claims
1. A controllable data processing method based on data space, characterized in that: The method comprises: Acquire a first data acquisition path and a first data usage control policy set by a data provider; Based on the acquisition path, acquiring the first data; Generate a controllable file based at least on the first data and the use control policy, wherein the controllable file includes: meta information of the controllable file, the use control policy, and ciphertext data, wherein the ciphertext data is obtained by encrypting the first data; The controllable file is stored in a storage device of the data provider, wherein the data provider and the data consumer exchange data on the controllable file in an online or offline manner.
2. The method according to claim 1, characterized in that: The acquiring the first data based on the acquisition path specifically includes: Acquire the first data from the acquisition path through the connector of the data provider; The generating a controllable file based at least on the first data and the use control policy specifically includes: Encrypting the first data through the connector of the data provider to obtain the ciphertext data, and processing the meta-information of the controllable file, the use control policy and the ciphertext data to obtain the controllable file; The step of storing the controllable file in the storage device of the data provider specifically includes: The controllable file is transmitted to the storage device of the data provider through the connector of the data provider for storage.
3. The method according to claim 1, characterized in that The acquiring the first data based on the acquisition path specifically includes: Acquire the sub-data contained in the first data from the acquisition path in batches through the connector of the data provider, wherein each time the sub-data is acquired, the sub-data is encrypted and the encrypted sub-data is transmitted to the electronic device of the data provider; The generating a controllable file based at least on the first data and the use control policy specifically includes: The meta information of the controllable file and the use control policy are transmitted to the electronic device of the data provider through the connector of the data provider, and the meta information of the controllable file, the use control policy and all the encrypted sub-data are processed through the electronic device of the data provider to obtain the controllable file; The step of storing the controllable file in the storage device of the data provider specifically includes: The controllable file is transmitted to the storage device of the data provider through the electronic device of the data provider for storage.
4. The method according to claim 1, characterized in that The acquiring the first data based on the acquisition path specifically includes: Acquire the first data from the acquisition path through the connector of the data provider, and encrypt the first data to obtain the ciphertext data; The generating a controllable file based at least on the first data and the use control policy specifically includes: The meta information of the controllable file, the usage control policy and the ciphertext data are transmitted to the electronic device of the data provider through the connector of the data provider, and the meta information of the controllable file, the usage control policy and the ciphertext data are processed through the electronic device of the data provider to obtain the controllable file; The step of storing the controllable file in the storage device of the data provider specifically includes: The controllable file is transmitted to the storage device of the data provider through the electronic device of the data provider for storage.
5. The method according to any one of claims 1 to 4, characterized in that: After storing the controllable file in the storage device of the data provider, the method further includes: The controllable file is transmitted to the connector of the data consumer in an online or offline manner.
6. The method according to any one of claims 1 to 5, characterized in that: The meta information of the controllable file includes: an identifier of the first data, an identifier of a connector of the data provider, and encryption and decryption information for at least encrypting and decrypting the first data.
7. The method according to any one of claims 1 to 6, characterized in that: The key for decrypting the ciphertext data is stored in the connector of the data provider or in a third-party service.
8. A controllable data processing method based on data space, characterized in that: A connector connector applied to a data consumer, the method comprising: Acquire a controllable file transmitted by a data provider in an online or offline manner, wherein the controllable file includes: meta information of the controllable file, ciphertext data, and a use control policy of the ciphertext data, wherein the ciphertext data is obtained by encrypting the first data of the data provider; In response to the use operation on the controllable file, displaying a first interface, wherein the first interface includes a list of application programs APP that can use the controllable file and prompt information for prompting that a use contract needs to be signed; In response to a selection operation on a target APP in the APP list and an operation of agreeing to sign the usage contract, obtaining a first key for decrypting the ciphertext data from a connector of the data provider or a third-party service; In a case where it is determined based on the use control policy that the data in the controllable file can be used, decrypting the ciphertext data in the controllable file using the first key to obtain the first data; The first data is used by using the target APP.
9. The method according to claim 7, characterized in that: The obtaining, from the connector of the data provider, a first key for decrypting the ciphertext data specifically includes: Based on the identifier of the connector of the data provider contained in the meta-information of the controllable file, sending a data use request to the connector of the data provider, wherein the data use request is used to request the use of the ciphertext data in the controllable file; Obtain the first key sent by the connector of the data provider.
10. The method according to claim 7, characterized in that The obtaining, from a third-party service, a first key for decrypting the ciphertext data specifically includes: Based on the identifier of the connector of the data provider contained in the meta-information of the controllable file, sending a data use request to the connector of the data provider, wherein the data use request is used to request the use of the ciphertext data in the controllable file; Obtain the signature information sent by the connector of the data provider, where the signature information is used to indicate that the data provider agrees that the data consumer can use the encrypted data; Based on the key acquisition path in the meta-information of the controllable file, sending a key acquisition request including the signature information to the third-party service; The first key sent by the third-party service is obtained, where the first key is sent by the third-party service after verifying the signature information.
11. A controllable data processing device based on data space, characterized in that: Deployed on the data provider side, including: an acquisition module, configured to acquire an acquisition path for first data and a use control policy for the first data set by a data provider, and acquire the first data based on the acquisition path; A processing module is used to generate a controllable file based at least on the first data and the usage control policy, wherein the controllable file includes: meta-information of the controllable file, the usage control policy and ciphertext data, wherein the ciphertext data is obtained by encrypting the first data; and, store the controllable file in a storage device of the data provider, wherein the data provider and the data consumer exchange data for the controllable file online or offline.
12. The device according to claim 11, characterized in that When the acquisition module acquires the first data based on the acquisition path, it is specifically used to: Acquire the first data from the acquisition path through the connector of the data provider; When the processing module generates a controllable file based at least on the first data and the use control policy, it is specifically used to: Encrypting the first data through the connector of the data provider to obtain the ciphertext data, and processing the meta-information of the controllable file, the use control policy and the ciphertext data to obtain the controllable file; When storing the controllable file in the storage device of the data provider, the processing module is specifically used to: The controllable file is transmitted to the storage device of the data provider through the connector of the data provider for storage.
13. The device according to claim 11, characterized in that When the acquisition module acquires the first data based on the acquisition path, it is specifically used to: Acquire the sub-data contained in the first data from the acquisition path in batches through the connector of the data provider, wherein each time the sub-data is acquired, the sub-data is encrypted and the encrypted sub-data is transmitted to the electronic device of the data provider; When the processing module generates a controllable file based at least on the first data and the use control policy, it is specifically used to: The meta information of the controllable file and the use control policy are transmitted to the electronic device of the data provider through the connector of the data provider, and the meta information of the controllable file, the use control policy and all the encrypted sub-data are processed through the electronic device of the data provider to obtain the controllable file; When storing the controllable file in the storage device of the data provider, the processing module is specifically used to: The controllable file is transmitted to the storage device of the data provider through the electronic device of the data provider for storage.
14. The device according to claim 11, characterized in that When the acquisition module acquires the first data based on the acquisition path, it is specifically used to: Acquire the first data from the acquisition path through the connector of the data provider, and encrypt the first data to obtain the ciphertext data; When the processing module generates a controllable file based at least on the first data and the use control policy, it is specifically used to: The meta information of the controllable file, the usage control policy and the ciphertext data are transmitted to the electronic device of the data provider through the connector of the data provider, and the meta information of the controllable file, the usage control policy and the ciphertext data are processed through the electronic device of the data provider to obtain the controllable file; When storing the controllable file in the storage device of the data provider, the processing module is specifically used to: The controllable file is transmitted to the storage device of the data provider through the electronic device of the data provider for storage.
15. The device according to any one of claims 11 to 14, characterized in that: After storing the controllable file in the storage device of the data provider, the processing module is further used to: The controllable file is transmitted to the connector of the data consumer in an online or offline manner.
16. The device according to any one of claims 11 to 115, characterized in that: The meta information of the controllable file includes: an identifier of the first data, an identifier of a connector of the data provider, and encryption and decryption information for at least encrypting and decrypting the first data.
17. A controllable data processing device based on data space, characterized in that: The connector deployed on the data consumer side includes: An acquisition module, used to acquire a controllable file transmitted by a data provider in an online or offline manner, wherein the controllable file includes: meta information of the controllable file, ciphertext data, and a use control policy of the ciphertext data, wherein the ciphertext data is obtained by encrypting the first data of the data provider; A processing module, configured to display a first interface in response to a use operation on the controllable file, wherein the first interface includes a list of application programs APP that can use the controllable file and prompt information for prompting that a use contract needs to be signed; The processing module is further configured to obtain a first key for decrypting the ciphertext data from a connector of the data provider or a third-party service in response to a selection operation of a target APP in the APP list and an operation of agreeing to sign the use contract; The processing module is further configured to, when it is determined based on the use control policy that the data in the controllable file can be used, decrypt the ciphertext data in the controllable file using the first key to obtain the first data; The processing module is further used to utilize the first data by utilizing the target APP.
18. The device according to claim 17, characterized in that When the processing module obtains the first key for decrypting the ciphertext data from the connector of the data provider, it is specifically used to: Based on the identifier of the connector of the data provider contained in the meta-information of the controllable file, sending a data use request to the connector of the data provider, wherein the data use request is used to request the use of the ciphertext data in the controllable file; Obtain the first key sent by the connector of the data provider.
19. The device according to claim 17, characterized in that When the processing module obtains the first key for decrypting the ciphertext data from the third-party service, it is specifically used to: Based on the identifier of the connector of the data provider contained in the meta-information of the controllable file, sending a data use request to the connector of the data provider, wherein the data use request is used to request the use of the ciphertext data in the controllable file; Obtain the signature information sent by the connector of the data provider, where the signature information is used to indicate that the data provider agrees that the data consumer can use the encrypted data; Based on the key acquisition path in the meta-information of the controllable file, sending a key acquisition request including the signature information to the third-party service; The first key sent by the third-party service is obtained, where the first key is sent by the third-party service after verifying the signature information.
20. A computing device cluster, characterized in that: comprising at least one computing device, each computing device comprising a processor and a memory; The processor of the at least one computing device is used to execute instructions stored in the memory of the at least one computing device, so that the computing device cluster executes the method according to any one of claims 1-7, or executes the method according to any one of claims 8-10.
21. A computer-readable storage medium, characterized in that: comprising computer program instructions, when the computer program instructions are executed by a computing device, the computing device executes the method according to any one of claims 1 to 7, or executes the method according to any one of claims 8 to 10; Alternatively, when the instruction is executed by a computing device cluster, the computing device cluster executes the method according to any one of claims 1 to 7, or executes the method according to any one of claims 8 to 10.
22. A computer program product comprising instructions, characterized in that When the instruction is executed by a computing device, the computing device executes the method according to any one of claims 1 to 7, or executes the method according to any one of claims 8 to 10; Alternatively, when the instruction is executed by a computing device cluster, the computing device cluster executes the method according to any one of claims 1 to 7, or executes the method according to any one of claims 8 to 10.
Citation Information
Cited By
Data access and use control method and system for trusted data space
CN120744947A
Method and system for data access and usage control of a trusted data space
CN120744947B
