Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating embodiments of the invention, are given by way of illustration and explanation only, not limitation.
The identification-based data resource registration and transaction management method provided by the embodiment of the application is mainly used for realizing registration of the data resource to a data system. The technical solution of the present invention is described below by taking a data System as a Handle System and taking a Local Handle System (LHS) operation example based on the Handle System as a data resource registration and transaction management method, but the present invention is not limited to this, and the data resource registration and transaction management method provided by the present invention may be applied to any other applicable data System. In addition, the data resources described in this application may be various data resources such as service data and literature data, and the present invention is not limited to this.
The system is a global universal and distributed network digital object name management system, has the functions of registration, analysis, management and the like of digital object name identifiers (handles), and is an open source system.
Fig. 1 is a flowchart of a data resource registration and transaction management method based on identification according to an embodiment of the present application, and as shown in fig. 1, the method may include:
s100, acquiring resource attribute information of the data resource to be registered, wherein the resource attribute information comprises basic metadata and right metadata of the data resource.
Specifically, a controller of the data resource (which may also be referred to as an original owner of the data resource) uploads resource attribute information of the data resource, where the resource attribute information of the data resource includes basic metadata and rights metadata of the data resource.
For example, the basic metadata of the data resource is used to describe the content included in the data resource, such as the data of the user of the Xinlang microblog fan, and may further describe the content such as the data type and the data content, for example: the data product provides the information of the fan users in the magnitude of the Xinlang microblog, and further comprises the relevant behavior data of the fan users in the hundred thousand level, the million level and the million level.
Entitlement metadata for a data resource is used to describe the user's owned entitlement to the data resource, such as: view, copy, download, modify, etc.
S200, determining the unique identification of the data resource.
In the preferred embodiment of the present invention, a unique identifier is allocated to the data resource corresponding to the resource attribute information acquired in step S100 based on the Handle system. The flag may be automatically generated according to a set predetermined rule, for example: the identifier may be configured as a character string, which may be a fixed-number character string or a non-fixed-number character string, for example: 10.12650/1002A7c9a84d520ccd8b8, or 86.1009.100/hiwater.272.2015.db, the structure of the character string is not particularly limited by the present invention. In addition, the identifier may be configured in other suitable forms, and the present invention is not limited to this.
S300, storing the resource attribute information to a data system, and binding the resource attribute information and the identifier to form registration information of the data resource.
Specifically, the resource attribute information of the data resource includes the basic metadata and the rights metadata, and the resource attribute information is stored in the Handle system and is bound with the unique identifier of the data resource, so that the registration and registration of the data resource can be completed.
Fig. 2 is a schematic flowchart of a first specific application example provided in an embodiment of the present invention, and as shown in fig. 2, a controller of a data resource uploads resource attribute information of a data resource of the data resource, where the resource attribute information includes basic metadata and rights metadata, and a data resource registration and transaction management device allocates a unique identifier to the data resource based on a Handle system, and stores the resource attribute information of the data resource in the Handle system, so as to implement binding between the data resource identifier and the resource attribute information of the data resource, and uses the resource attribute information and the unique identifier of the data resource as initial registration information of the data resource, thereby completing initial registration of the data resource.
It should be noted that steps S100-S300 are mainly used to implement first registration of the data resource in the Handle system, so as to facilitate effective management of the data resource in the following.
Fig. 3 is a flowchart of a data resource registration and transaction management method based on identification according to another embodiment of the present invention, and the present invention provides another more preferred solution based on the above steps S100-S300. As shown in fig. 3, the more preferable scheme may further include the following steps on the basis of steps S100 to S300:
s400, acquiring the right change information of the data resource.
In particular, data resources in a Handle system typically undergo multiple rights transfer processes. If the data is re-registered once after each rights transfer, not only is the registration process cumbersome, but also the storage requirements for the registration system are large, and as the number of registrations grows, the registration system may need to be redesigned. Therefore, the embodiment of the present invention proposes a method for updating only the rights metadata of the data resource during the rights transfer process of the data resource.
For example, right change information of the data resource may be obtained, such as: the viewing right and the downloading right of the data resource X of the user A, the downloading right of the data resource Y lost by the user B and the like.
And S500, updating the rights metadata according to the rights change information so as to correspondingly update the resource attribute information of the data resource.
In the embodiment of the present invention, according to the right change information acquired in step S400, the right metadata is used to describe and record the change condition of the ownership state of the data resource, so as to update the right metadata, and accordingly, the resource attribute information of the data resource is updated correspondingly.
S600, updating the formed registration information of the data resource based on the updated resource attribute information.
Specifically, since a general data resource can be used by a plurality of users, it is common to add rights metadata describing rights change information of the data resource so as to correspond to resource attribute information of the updated data resource when a rights state of the data resource is changed.
Fig. 4 is a flowchart of a second specific application example provided by the embodiment of the present invention, and as shown in fig. 4, in the data resource transaction process, the ownership state of the data resource is transferred, that is, the rights metadata of the data resource needs to be changed. Therefore, during each transaction, the rights metadata is used to describe and record the change of the state to which the rights belong. Specifically, the right state of the data resource after the data transaction is submitted by the data transaction party, the resource attribute information corresponding to the unique identifier of the data resource is found in the Handle system, and the right metadata describing the right state information of the data resource after the transaction is added to the right metadata of the resource attribute information, so that the transaction registration of the data resource is realized.
In a further more preferred embodiment of the present invention, the data resource registration and transaction management method may further include: and analyzing the registration information of the data resource by using a predetermined data analysis protocol according to the identifier of the data resource.
Specifically, the data resources in the Handle system are very rich, and when a huge user group of the Handle system finds a data resource that may be needed in the system, it is first necessary to know resource attribute information and a current ownership state (described in the embodiment of the present invention by using rights metadata) of the data resource, and determine whether the data resource is needed. In addition, the controller of the data resource also needs to view and track information such as transaction condition of the data resource (i.e. change information of the rights metadata).
In the embodiment of the invention, the parsing protocol refers to obtaining resource attribute information (such as basic metadata, right metadata and the like) of the data resource according to the unique identifier of the data resource through a certain computer communication protocol. Therefore, the user can clearly know the information such as the specific content description, the ownership change process, the current right state and the like of the data resource, and the user can conveniently decide whether to check, download or purchase the data.
The following describes a process of parsing a data resource by using a specific application example.
Fig. 5 is a flowchart of a third specific application example provided in the embodiment of the present invention, and as shown in fig. 5, a user client initiates an analysis request of a certain digital resource identifier to a data resource registration and transaction management device through a Handle system, and the data resource registration and transaction management device analyzes a data resource according to the acquired digital resource identifier and returns basic metadata and right metadata bound to the data resource identifier to the user client. And the data resource registration and transaction management device can dynamically provide information such as the right state, the transaction state and the like of the data resource to the user client according to the change information of the right metadata of the data resource, so that the man-machine interaction of the data resource ownership information is realized, and the data resource is convenient to exchange and communicate among a plurality of subsystems of the Handle system.
Fig. 6 is a schematic diagram of three analysis results of the data resource according to the application example provided by the present invention, as shown in fig. 6, the registration information of the data resource is analyzed by using a predetermined data analysis protocol according to the unique identifier of the data resource, and the following resource attribute information of the data can be obtained: the data resource is the data of users of the Xinlang microblog fans; the data resource belongs to service data; the data resources include: the type, the number of fans and the number of concerns of the Xinlang microblog users; the simple description of the data resources comprises that the data product provides information of the vermicelli users with the magnitude of the Xinlang microblog, and further comprises related behavior data of the vermicelli users of the hundred thousand level, the million level and the million level, and the like.
The embodiment of the invention configures the data resources to comprise the unique identification, the basic meta-information and the right meta-information of the data resources, can realize the quick and low-cost construction of the data registration management system, and is easy to change the composition of the registration information of the data resources and expand the scale of the registration information in aspects. In addition, the invention can realize the acquisition and tracking of the data resource information of the whole network by using the uniform identification analysis protocol, can also embed the analysis protocol into a webpage or a document to realize the function of analysis by clicking, so that a user can conveniently and quickly acquire the registration information of the data resource, and can realize the quick exchange of the information between systems by using the analysis protocol.
Correspondingly, an embodiment of the present invention further provides an identifier-based data resource registration and transaction management apparatus, configured to register a data resource to a data system, where fig. 7 is a block diagram of the identifier-based data resource registration and transaction management apparatus provided in the embodiment of the present application, and as shown in fig. 7, the identifier-based data resource registration and transaction management apparatus includes: a first obtaining module 1, configured to obtain resource attribute information of a data resource to be registered, where the resource attribute information includes basic metadata and right metadata of the data resource; an identification determining module 2, configured to determine a unique identification of the data resource; and a registration module 3, configured to store the resource attribute information in the data system, and bind the resource attribute information and the identifier to form registration information of the data resource.
Fig. 8 is a block diagram of an identifier-based data resource registration and transaction management apparatus according to another embodiment of the present invention, and as shown in fig. 8, the identifier-based data resource registration and transaction management apparatus further includes: a second module 4, configured to obtain right change information of the data resource; the updating module 5 is used for updating the rights metadata according to the rights change information so as to correspondingly update the resource attribute information of the data resource; and a transaction registration module 6 that updates registration information of the formed data resource based on the updated resource attribute information.
Preferably, the identifier-based data resource registration and transaction management apparatus further includes: and an analysis module (not shown in the figure) for analyzing the registration information of the data resource by using a predetermined data analysis protocol according to the identifier of the data resource.
Preferably, the data system is a Handle system; and the data resource registration and transaction management device operates based on the local server LHS of the Handle system.
For details and advantages of other embodiments of the identifier-based data resource registration and transaction management apparatus, reference is made to the identifier-based data resource registration and transaction management method, which is not described herein again.
The data resource registration and transaction management device based on the identification comprises a processor and a memory, wherein the first acquisition module, the identification determination module, the registration and registration module, the second acquisition module, the transaction level module, the analysis module and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the technical problem to be solved by the application is solved by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium, on which a program is stored, and when the program is executed by a processor, the method for registering and managing data resources based on identification and transaction is implemented.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor realizes the data resource registration and transaction management method based on the identification when executing the program. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.