CN116431863B - Digital object generation method and device, electronic equipment and readable storage medium - Google Patents

Digital object generation method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN116431863B
CN116431863B CN202310695744.9A CN202310695744A CN116431863B CN 116431863 B CN116431863 B CN 116431863B CN 202310695744 A CN202310695744 A CN 202310695744A CN 116431863 B CN116431863 B CN 116431863B
Authority
CN
China
Prior art keywords
digital object
data
metadata
target
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310695744.9A
Other languages
Chinese (zh)
Other versions
CN116431863A (en
Inventor
王强
马志辉
刘坤
姜山
宁世琦
李翔
赵羿帅
顾士业
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Big Data Advanced Technology Research Institute
Original Assignee
Beijing Big Data Advanced Technology Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Big Data Advanced Technology Research Institute filed Critical Beijing Big Data Advanced Technology Research Institute
Priority to CN202310695744.9A priority Critical patent/CN116431863B/en
Publication of CN116431863A publication Critical patent/CN116431863A/en
Application granted granted Critical
Publication of CN116431863B publication Critical patent/CN116431863B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a method, a device, electronic equipment and a readable storage medium for generating a digital object, which relate to the technical field of data processing and comprise the following steps: obtaining a standardized file, wherein the standardized file comprises a data acquisition rule field and a format conversion rule field; generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file; according to the first data processing instruction, target data corresponding to the data acquisition rule are acquired from a plurality of different data sources respectively, format conversion is carried out on the target data according to the format conversion rule, and a digital object corresponding to each target data is generated, so that generation of the digital object is realized, the plurality of data sources are processed, the data of the plurality of different data sources are converted into the digital object, the variety of the adaptive data sources is multiple, and the problem of poor adaptability in the prior art is solved.

Description

Digital object generation method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of data processing, and particularly relates to a digital object generation method, a digital object generation device, electronic equipment and a readable storage medium.
Background
In order to obtain a digital object from the digital network, a method for generating the digital object is first required.
In the prior art, a data source is processed and the data of the data source is treated as a digital object.
In carrying out the present application, the inventors have found that at least the following problems exist in the prior art: the data of one data source is treated as a digital object, so that the data source has fewer kinds of adaptive data sources, and poor adaptability is caused.
Disclosure of Invention
The application aims to provide a method, a device, electronic equipment and a readable storage medium for generating a digital object, which at least solve the problem of poor adaptability caused by fewer types of adaptive data sources because data of one data source is processed and the data of the data source is taken as the digital object in the prior art.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a method for generating a digital object, where the method includes:
obtaining a standardized file, wherein the standardized file comprises a data acquisition rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data;
Generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file;
and according to the first data processing instruction, acquiring target data corresponding to the data acquisition rule from a plurality of different data sources respectively, and carrying out format conversion on the target data according to the format conversion rule to generate a digital object corresponding to each target data.
In a second aspect, an embodiment of the present application further provides a device for generating a digital object, where the device includes:
the system comprises an acquisition module, a format conversion module and a storage module, wherein the acquisition module is used for acquiring a standardized file, and the standardized file comprises a data acquisition rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data;
the first generation module is used for generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file;
and the second generation module is used for respectively acquiring target data corresponding to the data acquisition rule from a plurality of different data sources according to the first data processing instruction, carrying out format conversion on the target data according to the format conversion rule, and generating a digital object corresponding to each target data.
In a third aspect, an embodiment of the present application further provides an electronic device, including a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application also provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In the embodiment of the application, the standardized file comprises a data acquisition rule field and a format conversion rule field by acquiring the standardized file; the format conversion rule field is used for converting the format of the data; generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file; according to a first data processing instruction, target data corresponding to a data acquisition rule are acquired from a plurality of different data sources respectively, format conversion is carried out on the target data according to the format conversion rule, a digital object corresponding to each target data is generated, so that generation of the digital object is realized, the plurality of different data sources are processed according to the plurality of data sources, the data of the plurality of different data sources are converted into the digital object, the variety of the adaptive data sources is large, the adaptability is improved, and the problems that the prior art has few adaptive data sources because the data of one data source are processed according to the digital object, and the adaptability is poor are solved.
Drawings
FIG. 1 is a flow chart of steps of a method for generating a digital object according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating steps of a method for generating a digital object according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a digital object generation process according to an embodiment of the present application;
fig. 4 is a schematic configuration flow diagram of a server where a database is located according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a configuration flow of a data source according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a metadata generation process according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a flow chart for generating a permission range according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a description information generation flow provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of a process for generating a digital object identifier according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a storage flow of a digital object according to an embodiment of the present application;
FIG. 11 is a block diagram of a digital object generation apparatus provided by an embodiment of the present application;
fig. 12 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
It should be noted that, the digital networking is a virtual data network using the internet as a load, and through an open software architecture and standard formats, interfaces and protocols, the exchange and interconnection of data nodes, platforms and operating systems can be performed in a high-efficiency, low-cost, large-scale and trusted manner, so as to implement the interconnection and intercommunication operations of heterogeneous, heterogeneous and heterogeneous main data. The objects that are interchangeably interconnected in the digital networking are digital objects.
The implementation of the digital networking mainly comprises a plurality of network nodes, platforms, systems, data access among components, identification, discovery, exchange, use, management and control and the like. The digital networking uses the interaction of two protocol specification data of digital object interface protocol (DOIP, digital Object Interface Protocol) and identification and Resolution protocol (IRP, identifier/Resolution Protocol), and forms an open software architecture based on three core systems (digital object identification system (Identifier/Resolution), digital object registration system (Registry), digital object Repository system (Registry)).
The digital object is a data resource in the digital network. Wherein the digital object identifier (DOI, digital Object Identifier) is a unique identification of the digital object, which is accessible within the global network; the data in the digital object may be structured or unstructured data; metadata (metadata) of a digital object is a multidimensional feature of the digital object that describes the business characteristics of the digital object in the business domain, facilitating retrieval, discovery, and identification of the digital object within the digital network.
The digital object identifier is generated and managed by the digital object identification system, so that unique right determination can be realized in a digital networking system, and the positioning capability of digital object resources is solved; metadata is used and controlled and managed by a digital object warehouse system, so that standardization of a data resource catalog is realized, searching and finding of digital objects are realized, and the visibility capability of the digital objects is solved; the digital object warehouse system stores the packaged digital objects, provides access to the digital objects, and addresses the digital object access.
The method for generating the digital object provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of steps in a method for generating a digital object according to an embodiment of the present application, where, as shown in fig. 1, the method may include:
and 101, obtaining a standardized file.
The standardized file comprises a data acquisition rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data.
In the embodiment of the application, the standardized file is acquired to generate a first data processing instruction comprising a data acquisition rule and a format conversion rule, so as to generate a data object.
It should be noted that the data acquisition rule field is used to acquire data from different data sources.
Step 102, generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file.
In the embodiment of the application, a first data processing instruction comprising a data acquisition rule and a format conversion rule is generated according to the data acquisition rule field and the format conversion rule field of the standardized file, so that a digital object is generated according to the first data processing instruction.
Step 103, according to the first data processing instruction, respectively obtaining target data corresponding to the data obtaining rule from a plurality of different data sources, and performing format conversion on the target data according to the format conversion rule to generate a digital object corresponding to each target data.
In the embodiment of the application, according to the first data processing instruction, target data corresponding to the data acquisition rule are acquired from a plurality of different data sources respectively, and format conversion is carried out on the target data according to the format conversion rule to generate a digital object corresponding to each target data, so that the generation of the digital object is realized.
It should be noted that, according to the first data processing instruction, the target data corresponding to the data acquisition rule is acquired from a plurality of different data sources, that is, according to the type of the data source, the data source is accessed by using the basic information of the data source, so as to acquire the target data in the data source. For example, the data source may be a MySQL database (a relational database management system), where the basic information of the MySQL database includes driving information, connection information (address information of a server, etc.), account password information, etc., and according to the basic information of the MySQL database, the MySQL database is accessed to obtain data (i.e., target data) in the MySQL database; the data source may be an FTP (File Transfer Protocol ) file server, where the basic information of the FTP file server includes a server address, a file (i.e., data in the FTP file server) path, account password information, and the like, and according to the basic information of the FTP file server, the FTP file server is accessed to obtain a file (i.e., target data) in the FTP file server; the data source may be API (Application Programming Interface, application program interface) data, where basic information of the API data includes an access protocol, an access address, an access port, an access address, an access TOKEN, parameter information, and the like, and according to the basic information of the API data, a server accessing the API data obtains API data (i.e., target data); the data source may be Stream (a streaming data) streaming data, the basic information of the Stream streaming data includes connection information (address information of a server, etc.), driving information, a server address, account password information, an access subject, etc., and according to the basic information of the Stream streaming data, the server of the Stream streaming data is accessed to obtain Stream streaming data (i.e. target data); the data source may be a big data Hbase (a distributed, array-oriented open source database), and the basic information of the big data Hbase includes an access address, account password information, an access path, and the like, and the server accessing the big data Hbase according to the basic information of the big data Hbase, to obtain the data (i.e. target data) of the big data Hbase.
And converting the format of the target data according to the format conversion rule, namely converting the format of the target data into the format of the corresponding digital object. For example, the target data is derived from a data source MySQL database, and the format of the target data is converted into JSON (JavaScript Object Notation, a lightweight data exchange format); and the target data is sourced from the data source FTP file server, and the format of the target data is converted into a binary format.
In summary, in the embodiment of the present application, by acquiring the standardized file, the standardized file includes the data acquisition rule field and the format conversion rule field; the format conversion rule field is used for converting the format of the data; generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file; according to a first data processing instruction, target data corresponding to a data acquisition rule are acquired from a plurality of different data sources respectively, format conversion is carried out on the target data according to the format conversion rule, a digital object corresponding to each target data is generated, so that generation of the digital object is realized, the plurality of different data sources are processed according to the plurality of data sources, the data of the plurality of different data sources are converted into the digital object, the variety of the adaptive data sources is large, the adaptability is improved, and the problems that the prior art has few adaptive data sources because the data of one data source are processed according to the digital object, and the adaptability is poor are solved.
Fig. 2 is a flowchart of specific steps of a method for generating a digital object according to an embodiment of the present application, as shown in fig. 2, the method may include:
step 201, obtaining a standardized file.
The standardized file comprises a data acquisition rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data.
The implementation of this step is similar to the implementation of step 101, and will not be described here again.
Step 202, generating a first data processing instruction including a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file.
The implementation of this step is similar to the implementation of step 102 described above, and will not be described here again.
Step 203, according to the first data processing instruction, obtaining target data corresponding to the data obtaining rule from a plurality of different data sources, and performing format conversion on the target data according to the format conversion rule to generate a digital object corresponding to each target data.
The implementation of this step is similar to the implementation of step 103, and will not be described here again.
Optionally, in some embodiments, the type of the data source includes a relational database, a non-relational database, a document database, a key database, a big data storage data source, a streaming data source, a file server.
In the embodiment of the application, the target data can be acquired from the relational database, the non-relational database, the document database, the key value database, the big data storage data source, the stream data source and the file server respectively, the digital object corresponding to each target data is generated, and the variety of the adaptive data sources is multiple.
It should be noted that the relational database may include MySQL, DB2, oracle, postgreSQL, and the like; the non-relational database may include Redis and the like; the document database may include MongoDB or the like; the key value database may include berkeley db or the like; the big data storage data sources may include HDFS, HBase, etc.; streaming data sources may include streamers and the like; the file server may include FTP or the like.
Optionally, in some embodiments, the data source may also include a data set of an external vendor, such as a vendor's cloud storage data set.
Optionally, in some embodiments, the standardized file further includes a metadata generation rule field for generating metadata for the digital object; after step 203, the method further comprises the following steps (step 204, step 205, step 206):
And 204, generating a second data processing instruction of the metadata generation rule according to the metadata generation rule field.
In the embodiment of the application, the second data processing instruction of the metadata generation rule is generated according to the metadata generation rule field, so that metadata corresponding to the digital object is generated according to the second data processing instruction.
And step 205, extracting characteristic information of the data of the digital object according to the metadata generation rule according to the second data processing instruction, and generating metadata corresponding to the digital object.
In the embodiment of the application, the characteristic information of the data of the digital object is extracted according to the second data processing instruction and the metadata corresponding to the digital object is generated according to the metadata generation rule so as to realize the generation of the metadata.
Step 206, storing the correspondence between the digital object and the metadata in a database.
In the embodiment of the application, the corresponding relation between the digital object and the metadata is stored in a database, so that the digital object can be obtained through metadata association.
It should be noted that the database is a database storing digital objects.
Optionally, in some embodiments, step 206 may include the following substeps (substep 2061):
Sub-step 2061, in the event that a validation instruction for the metadata is obtained, storing the correspondence of the digital object and the metadata in a database.
In the embodiment of the application, the corresponding relation between the digital object and the metadata is stored in the database under the condition that the confirmation instruction for the metadata is acquired, so that the correctness of the metadata is checked and confirmed.
For example, when the confirmation interface provides confirmation query information of metadata, and a confirmation instruction of a user (that is, when the user clicks a confirmation button of the metadata) is acquired, the correspondence relationship between the digital object and the metadata is stored in the database.
By performing steps 204 through 206, metadata is generated for the digital object to obtain the digital object by obtaining metadata associations.
Optionally, in some embodiments, after step 206, the method further comprises the following steps (step 207, step 208):
step 207, responding to a viewing instruction, and acquiring target metadata in the viewing instruction.
In the embodiment of the application, the target metadata in the viewing instruction is acquired in response to the viewing instruction, so that the first target digital object corresponding to the target metadata is acquired according to the target metadata.
Step 208, obtaining the first target digital object corresponding to the target metadata from the database and displaying the first target digital object.
It should be noted that the metadata of different digital objects may be the same, and is not limited herein. For example, by acquiring target metadata, a plurality of digital objects corresponding to the target metadata may be acquired.
In the embodiment of the application, the first target digital object corresponding to the target metadata is acquired from the database and displayed, so that the acquisition of the digital object through the metadata acquisition association is realized.
It should be noted that the digital object has a corresponding generation time, and the digital object may be displayed according to the generation time.
By performing steps 207 to 208, the method can be implemented, and the method adopts the mode of acquiring metadata to associate and acquire the digital object, so that the diversity of the mode of acquiring the digital object is improved.
Optionally, in some embodiments, after step 206, the method further comprises the following steps (step 209, step 210, step 211):
step 209, obtaining a modification instruction for the metadata.
In the embodiment of the application, the content of the metadata needs to be modified by acquiring the modification instruction for the metadata.
Step 210, according to the modification instruction, modified metadata corresponding to the metadata is obtained.
In the embodiment of the application, the modified metadata corresponding to the metadata is obtained according to the modification instruction so as to update the metadata of the digital object in the database.
For example, if the user desires to customize the metadata, the content of the metadata may be modified at the metadata modification interface.
Step 211, deleting the corresponding relation between the digital object and the metadata in the database, and storing the corresponding relation between the digital object and the modified metadata in the database.
In the embodiment of the application, the corresponding relation between the digital object and the modified metadata is stored in the database by deleting the corresponding relation between the digital object and the metadata in the database, so as to realize the modification of the metadata.
By performing steps 209 to 211, the user may actively modify the metadata, which increases the flexibility of obtaining metadata of the digital object.
Optionally, in some embodiments, the standardized file further includes a scope of rights generation rule field for generating a scope of rights to obtain the digital object; after step 203, the method further comprises the following steps (step 212, step 213, step 214):
Step 212, generating a third data processing instruction of the authority range generation rule according to the authority range generation rule field.
In the embodiment of the application, a third data processing instruction of the authority range generation rule is generated according to the authority range generation rule field, so that the authority range corresponding to the digital object one by one is generated according to the third data processing instruction.
Optionally, in some embodiments, the rights range includes a user range for acquiring the digital object, a user group range for acquiring the digital object, and a network node range for acquiring the digital object.
In the embodiment of the application, the authority range can be set up to the user range for acquiring the digital object, the user group range for acquiring the digital object and the network node range for acquiring the digital object, thereby improving the diversity of the acquisition authorities of the digital object.
It should be noted that the network node may be a server cluster or a server in a digital network.
For example, a user range for acquiring a digital object is set by setting a list of users for which the digital object can be acquired; setting a user group range for acquiring the digital object by setting a list of user groups for which the digital object can be acquired; the range of network nodes that acquire the digital object is set by setting a list of network nodes that can acquire the digital object.
And step 213, generating the authority range corresponding to the digital object one by one according to the third data processing instruction and the authority range generation rule.
In the embodiment of the application, according to the third data processing instruction, the authority range corresponding to the digital objects one by one is generated according to the authority range generation rule so as to realize the management of acquiring the authority of each digital object.
Step 214, storing the correspondence between the digital object and the authority range in a database.
In the embodiment of the application, the corresponding relation between the digital object and the authority range is stored in the database, so that the request sending end requesting to acquire the digital object can be identified when acquiring the digital object.
This can be achieved by performing steps 212 to 214, where a scope of rights is set for each digital object, so as to manage the rights acquired for the digital object.
Optionally, in some embodiments, after step 214, the method further comprises the following steps (step 215, step 216):
step 215, in response to the request from the request sender to obtain the second target digital object, obtaining a target authority range corresponding to the second target digital object from the database.
In the embodiment of the application, the target authority range corresponding to the second target digital object is acquired from the database by responding to the request sending end to acquire the second target digital object, so as to judge whether the request sending end is in the target authority range or not, and further judge whether the request sending end can acquire the second target digital object or not.
Step 216, in the case that the target authority range includes the request sending end, sending the second target digital object to the request sending end.
In the embodiment of the application, the second target digital object is sent to the request sending end when the target authority range comprises the request sending end, so that the acquisition request of the request sending end is met when the request sending end is determined to have the acquisition authority of the second target digital object.
By executing steps 215 to 216, when the request sending end needs to acquire the second target digital object, permission identification is performed on the request sending end, and if the request sending end is within the target permission range corresponding to the second target digital object, the second target digital object is sent to the request sending end.
Optionally, in some embodiments, the standardized file further includes a description information generation rule field for generating description information of the digital object; after step 203, the method further comprises the following steps (step 217, step 218, step 219):
And step 217, generating a fourth data processing instruction of the description information generation rule according to the description information generation rule field.
In the embodiment of the application, the fourth data processing instruction of the descriptive information generation rule is generated according to the descriptive information generation rule field, so that descriptive information corresponding to the digital object one by one is generated according to the fourth data processing instruction.
It should be noted that the description information is detailed description information of the digital object.
And step 218, generating description information corresponding to the digital objects one by one according to the fourth data processing instruction and the description information generation rule.
In the embodiment of the application, according to the fourth data processing instruction, the description information corresponding to the digital object one by one is generated according to the description information generation rule so as to realize the generation of the description information of the digital object.
In particular, in some embodiments, descriptive information for a digital object is added using a rich text format.
Step 219, storing the correspondence between the digital object and the description information in a database.
In the embodiment of the application, the corresponding relation between the digital object and the description information is stored in the database, so that the description information of the digital object can be checked before the digital object is acquired.
This may be accomplished by performing steps 217 through 219 to generate description information for the digital object for previewing the digital object.
Optionally, in some embodiments, after step 219, the method further comprises the step of (step 219A):
step 219A, in response to a preview instruction for a third target digital object, obtaining target description information corresponding to the third target digital object from the database and displaying the target description information.
In the embodiment of the application, the target description information corresponding to the third target digital object is acquired from the database and displayed in response to the preview instruction of the third target digital object, so that the detailed description information of the third target digital object is acquired according to the target description information.
Optionally, in some embodiments, after step 203, the method further comprises the following steps (step 200B, step 200C):
step 200B, obtaining a digital object identifier corresponding to each digital object.
In the embodiment of the application, each digital object is distinguished by the digital object identifier corresponding to each digital object.
It should be noted that the digital object identification is a digital object identifier of the digital object.
Step 200C, storing the correspondence between each digital object identifier and the digital object in a database when all the digital object identifiers are different.
In the embodiment of the application, the corresponding relation between each digital object identifier and the digital object is stored in the database under the condition that all the digital object identifiers are different, so that the digital objects are distinguished and acquired according to the digital object identifiers.
For example, at the digital object identification generation interface, the user customizes the digital object identification and passes the verification of the digital object identification, if the digital object identification is different from an already existing digital object identification, the verification passes.
This may be accomplished by performing steps 200B through 200C to establish a digital object identification for each digital object to distinguish and obtain the digital object based on the digital object identification.
Optionally, in some embodiments, the standardized file further includes a digital object identification generation rule field for generating a digital object identification of the digital object; after step 203, the method further comprises the following steps (step 200D, step 200E, step 200F):
Step 200D, generating a fourth data processing instruction of the digital object identifier generation rule according to the digital object identifier generation rule field.
In the embodiment of the application, the fourth data processing instruction of the digital object identification generation rule is generated according to the digital object identification generation rule field, so that the digital object identifications corresponding to the digital objects one by one are generated according to the fourth data processing instruction.
Step 200E, generating digital object identifiers corresponding to the digital objects one by one according to the fourth data processing instruction and the digital object identifier generation rule.
In the embodiment of the application, the digital object identifications corresponding to the digital objects one by one are generated according to the fourth data processing instruction and the digital object identification generation rule so as to realize the distinction between the digital objects.
Step 200F, storing the correspondence between the digital object and the digital object identifier in a database.
In the embodiment of the application, the digital object is distinguished and acquired according to the digital object identification by storing the corresponding relation between the digital object and the digital object identification in a database.
It may be achieved by performing steps 200D through 200F to generate a digital object identification for each digital object to distinguish and obtain the digital object based on the digital object identification.
Optionally, in some embodiments, after step 203, the method further comprises the following steps (step 200G, step 200H):
step 200G, obtaining address information of a server where the database is located.
Wherein the database is used for storing the digital object.
In the embodiment of the application, the address information of the server where the database is located is obtained so as to access the server where the database is located according to the address information of the server where the database is located.
It should be noted that the address information of the server where the database is located includes a server address, a server port, a service protocol, an interface address, and the like.
Step 200H, storing the digital object in the database if the access to the server according to the address information is successful.
In the embodiment of the application, the digital object is stored in the database under the condition that the access of the server is successful according to the result of the address information, so that the server where the database stored by the digital object is located can be normally accessed, and the security of the storage of the digital object is ensured.
By performing steps 200G to 200H, it is possible to access the server where the database where the digital object is stored, and store the digital object in the database while ensuring that the server where the database where the digital object is stored is functioning properly.
Optionally, referring to fig. 3, in some embodiments, the generation flow of the digital object includes: x1, constructing a data encapsulation service system, namely constructing the data encapsulation service system corresponding to the generation method of the digital object on a server, and completing the subsequent steps by using the system; x2, configuring address information of a digital object warehouse system, namely acquiring address information of a server where a database is located, wherein the digital object warehouse system corresponds to the database; x3, executing configuration information of filling data sources, namely acquiring basic information of the data sources, accessing the data sources by using the basic information of the data sources according to the types of the data sources, further acquiring target data in the data sources, and carrying out format conversion on the target data according to a format conversion rule to generate a digital object corresponding to each target data; x4, executing filling metadata, namely generating metadata corresponding to the digital object; x5, executing the filling authority range, namely generating the authority range corresponding to the digital object one by one; x6, executing the filling description information, namely generating description information corresponding to the digital objects one by one; x7, executing filling in the digital object identifiers, namely generating digital object identifiers corresponding to the digital objects one by one; and X8, submitting the packaged digital object, namely storing the digital object and the corresponding relation between the digital object and the digital object identification, metadata, description information and authority range in a database.
Optionally, referring to fig. 4, in some embodiments, the configuration flow of the server where the database is located includes: y1, entering a digital object warehouse system configuration interface, namely entering an address information configuration interface of a server where a database of a data encapsulation service system is located; y2, filling in basic information of the digital object warehouse system, namely filling in address information of a server where a database is located on an address information configuration interface of the server where the database is located so as to acquire the address information of the server where the database is located, wherein the address information of the server where the database is located comprises a server address, a server port, a service protocol, an interface address and the like; y3, checking configuration information, including validity check, namely whether the format of the address information of the server where the database is located is correct, and availability check, namely whether the address information of the server where the database is located can be used for accessing the server where the database is located; and Y4, storing, namely storing the address information of the server where the filled database is located, so as to access the server where the database is located according to the stored address information of the server where the database is located, and storing the digital object in the database.
Optionally, referring to fig. 5, in some embodiments, the configuration flow of the data source includes: z1, entering a digital object data source packaging interface, namely entering a configuration page of a data source of a data packaging service system; z2, selecting a data source, namely selecting a data source from a relational database (such as a MySQL database), a file server (such as an FTP file server), an interface data source (such as API data), a Stream data source (such as Stream data), a big data storage data source (such as big data Hbase) and the like; z4, completing configuration, namely filling in basic information of the MySQL database including driving information, connection information (address information of a server and the like), account password information and the like under the condition that the data source is the MySQL database; filling in basic information of an FTP file server under the condition that a data source is the FTP file server, wherein the basic information comprises a server address, a file (namely data in the FTP file server) path, account password information and the like; filling basic information of the API data, including access protocol, access address, access port, access address, access TOKEN, parameter information and the like, when the data source is the API data; filling basic information of Stream streaming data, including connection information (address information of a server, etc.), driving information, server address, account password information, access subject, etc., when the data source is Stream streaming data; under the condition that the data source is big data Hbase, filling basic information of the big data Hbase, including access address, account password information, access path and the like; z3, checking configuration information, namely checking validity, checking whether the format of the basic information of the data source is correct, and checking availability, and checking whether the data source can be accessed according to the basic information of the data source; z5, previewing configuration information, namely previewing the basic information of the data source on the interface; and Z6, storing, namely, storing the basic information of the filled data source so as to access the data source according to the stored basic information of the data source and further obtain the target data in the data source.
Optionally, referring to fig. 6, in some embodiments, the metadata generation flow includes: d1, entering a metadata generation interface, namely, entering a metadata generation interface of a data encapsulation service system; d2, generating metadata, namely generating metadata corresponding to the digital object, including automatically generating metadata, modifying metadata by a user and newly building metadata by the user, wherein the automatically generating metadata is to extract characteristic information of the data of the digital object according to a metadata generation rule and generate metadata corresponding to the digital object according to a second data processing instruction, for example, extracting according to a preset metadata generation algorithm; user-modified metadata, i.e., metadata that the user has modified has been generated; the user newly builds metadata, namely user-defined metadata; and D3, storing, namely storing the generated metadata.
Optionally, referring to fig. 7, in some embodiments, the generating process of the permission range includes: el, entering a digital object authority range interface, namely entering a generation interface of the authority range of the digital object of the data encapsulation service system; e2, selecting a permission range, wherein the permission range comprises a network node range (such as all network nodes and local network nodes), a user group range (the type of a user group is set) and a user range (the type of the user is set), namely generating the permission range; and E3, storing, namely storing the filled authority range.
Optionally, referring to fig. 8, in some embodiments, the generating procedure of the description information includes: f1, entering a description information interface of the digital object, namely, entering a generation interface of the description information of the digital object of the data encapsulation service system; f2, generating description information, namely generating the description information corresponding to the digital objects one by one; and F3, storing, namely storing the generated description information.
Optionally, referring to fig. 9, in some embodiments, the generating process of the digital object identification includes: g1, entering a digital object identifier generating interface, namely entering a digital object identifier generating interface of a data encapsulation service system; g2, generating a digital object identifier, including automatically generating the digital object identifier (generating), namely generating the digital object identifier corresponding to the digital object one by one according to a fourth data processing instruction and a digital object identifier generating rule, for example, sending the digital object identifier to a digital object identifier analysis system, generating the digital object identifier through the digital object identifier analysis system, manually generating the digital object identifier, namely, customizing the digital object identifier by a user, then sending the digital object identifier to the digital object identifier analysis system, and detecting the validity of the digital object identifier, namely, checking whether the digital object identifier is different from the existing digital object identifier; g3, confirming the validity of the digital object identifier, de-duplicating the digital object identifier, and ensuring the uniqueness of the digital object identifier, namely checking whether the digital object identifier is different from the existing digital object identifier; and G4, storing, namely storing the corresponding relation between each digital object identifier and the digital object in a database under the condition that all the digital object identifiers are different.
Optionally, referring to fig. 10, in some embodiments, the storage flow of the digital object includes: h1, entering a digital object packaging and submitting interface, namely entering a packaging and submitting interface of a digital object of a data packaging service system; h2, data source configuration information, namely acquiring basic information of a data source; h3, acquiring data, namely accessing the data source according to the basic information of the data source to acquire target data of the data source; h4, converting the format of the digital object, namely converting the format of the target data into the format of the digital object; h5, generating metadata, namely generating metadata corresponding to the digital object; h6, generating a right range, namely generating the right range corresponding to the digital object one by one; h7, generating description information, namely generating the description information corresponding to the digital objects one by one; h8, generating digital object identifiers, namely generating digital object identifiers corresponding to the digital objects one by one; h9, submitting the digital object to a digital object warehouse system, namely storing the digital object and the corresponding relation between the digital object and the digital object identification, metadata, description information and authority range in a database.
In the prior art, corresponding connection and processing operations are required to be independently carried out on data acquired from different data sources, the operation is complex and error is easy to occur, the embodiment of the application can be used for respectively acquiring the data of different data sources and converting the data into the digital object, and the problem that a unified data acquisition mode is lacking due to the diversity of the data sources is solved; in the prior art, for data generated in the fields of Internet, vehicle-mounted network, industrial Internet and the like, the data formats formed are different, and unified standard and data protocols are absent in the digital networking to manage and process the data formats, the embodiment of the application can realize that the data in different data formats (such as JSON, XML (extensible markup language, extensible Markup Language), binary (Binary), picture format, audio format, video format and the like) are managed and processed according to the unified standard and data protocols, so that the problems of heterogeneous data formats and lack of the unified data standards and protocols are solved; in the prior art, metadata information fields of digital objects are different, field definitions are different, definition standards are different, standard reference bases are different, and the digital objects lack unified metadata management, so that the digital objects in the digital networking are more difficult to search, find and use; in the prior art, unified data authority control cannot be performed on access to the digital object in the digital network, and the embodiment of the application can realize unified setting of the authority range for acquiring the digital object in the digital network, thereby solving the problem that the digital object lacks unified data access control in the digital network.
In summary, in the embodiment of the present application, by acquiring the standardized file, the standardized file includes the data acquisition rule field and the format conversion rule field; the format conversion rule field is used for converting the format of the data; generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file; according to a first data processing instruction, target data corresponding to a data acquisition rule are acquired from a plurality of different data sources respectively, format conversion is carried out on the target data according to the format conversion rule, a digital object corresponding to each target data is generated, so that generation of the digital object is realized, the plurality of different data sources are processed according to the plurality of data sources, the data of the plurality of different data sources are converted into the digital object, the variety of the adaptive data sources is large, the adaptability is improved, and the problems that the prior art has few adaptive data sources because the data of one data source are processed according to the digital object, and the adaptability is poor are solved.
Fig. 11 is a block diagram of a digital object generating apparatus according to an embodiment of the present application, and as shown in fig. 11, the apparatus 300 includes:
An obtaining module 301, configured to obtain a standardized file, where the standardized file includes a data obtaining rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data;
a first generating module 302, configured to generate a first data processing instruction including a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file;
and the second generating module 303 is configured to obtain, according to the first data processing instruction, target data corresponding to the data obtaining rule from a plurality of different data sources, and perform format conversion on the target data according to the format conversion rule, so as to generate a digital object corresponding to each target data.
Optionally, the standardized file further includes a metadata generation rule field for generating metadata of the digital object; the apparatus 300 further comprises:
the third generation module is used for generating a second data processing instruction of the metadata generation rule according to the metadata generation rule field;
a fourth generation module, configured to extract, according to the second data processing instruction and according to the metadata generation rule, feature information of data of the digital object, and generate metadata corresponding to the digital object;
And the first storage module is used for storing the corresponding relation between the digital object and the metadata in a database.
Optionally, the apparatus 300 further comprises:
the first metadata acquisition module is used for responding to a viewing instruction and acquiring target metadata in the viewing instruction;
and the target acquisition module is used for acquiring and displaying the first target digital object corresponding to the target metadata from the database.
Optionally, the first storage module specifically includes:
and the storage sub-module is used for storing the corresponding relation between the digital object and the metadata in a database under the condition that the confirmation instruction for the metadata is acquired.
Optionally, the apparatus 300 further comprises:
the instruction acquisition module is used for acquiring a modification instruction aiming at the metadata;
the second metadata acquisition module is used for acquiring modified metadata corresponding to the metadata according to the modification instruction;
and the second storage module is used for deleting the corresponding relation between the digital object and the metadata in the database and storing the corresponding relation between the digital object and the modified metadata in the database.
Optionally, the standardized file further includes a rights range generation rule field, the rights range generation rule field being used to generate a rights range for obtaining the digital object; the apparatus 300 further comprises:
A fifth generation module, configured to generate a rule field according to the authority range, and generate a third data processing instruction of the authority range generation rule;
a sixth generation module, configured to generate, according to the third data processing instruction and the permission range generation rule, a permission range corresponding to the digital object one to one;
and the third storage module is used for storing the corresponding relation between the digital object and the authority range in a database.
Optionally, the apparatus 300 further comprises:
the permission range acquisition module is used for responding to an acquisition request of a request sending end for a second target digital object and acquiring a target permission range corresponding to the second target digital object from the database;
and the sending module is used for sending the second target digital object to the request sending end under the condition that the target authority range comprises the request sending end.
Optionally, the rights range includes a user range for acquiring the digital object, a user group range for acquiring the digital object, and a network node range for acquiring the digital object.
Optionally, the standardized file further includes a description information generation rule field for generating description information of the digital object; the apparatus 300 further comprises:
A seventh generation module, configured to generate a rule field according to the description information, and generate a fourth data processing instruction of the description information generation rule;
the eighth generation module is used for generating description information corresponding to the digital objects one by one according to the fourth data processing instruction and the description information generation rule;
and the fourth storage module is used for storing the corresponding relation between the digital object and the description information in a database.
Optionally, the apparatus 300 further comprises:
and the descriptive information acquisition module is used for responding to a preview instruction of a third target digital object, acquiring target descriptive information corresponding to the third target digital object from the database and displaying the target descriptive information.
Optionally, the apparatus 300 further comprises:
the identification acquisition module is used for acquiring the digital object identification corresponding to each digital object;
and the fifth storage module is used for storing the corresponding relation between each digital object identifier and the digital object in a database under the condition that all the digital object identifiers are different.
Optionally, the standardized file further includes a digital object identification generation rule field for generating a digital object identification of the digital object; the apparatus 300 further comprises:
A ninth generation module, configured to generate a fourth data processing instruction of the digital object identifier generation rule according to the digital object identifier generation rule field;
a tenth generation module, configured to generate digital object identifiers corresponding to the digital objects one by one according to a digital object identifier generation rule according to the fourth data processing instruction;
and the sixth storage module is used for storing the corresponding relation between the digital object and the digital object identification in a database.
Optionally, the apparatus 300 further comprises:
the address information acquisition module is used for acquiring the address information of the server where the database is located; the database is used for storing the digital object;
and the sixth storage module is used for storing the digital object in the database under the condition that the access result of the server according to the address information is that the access is successful.
Optionally, the types of the data sources include a relational database, a non-relational database, a document database, a key value database, a big data storage data source, a streaming data source and a file server.
The device for generating the digital object in the embodiment of the application can be a device, a component in a terminal, an integrated circuit or a chip. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and embodiments of the present application are not limited in particular.
The digital object generating device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The digital object generating device provided in the embodiment of the present application can implement each process implemented by the digital object generating device in the method embodiment of fig. 1, and in order to avoid repetition, a description is omitted here.
The embodiment of the application can realize the generation of the digital object, processes the data of a plurality of different data sources aiming at a plurality of data sources, converts the data of a plurality of different data sources into the digital object, has a plurality of types of adaptive data sources, improves the adaptability, and solves the problem of poor adaptability caused by the fact that the data of one data source is processed as the digital object in the prior art, and the types of the adaptive data sources are less.
Optionally, the embodiment of the present application further provides an electronic device, including a processor, a memory, and a program or an instruction stored in the memory and capable of running on the processor, where the program or the instruction when executed by the processor implements each process of the embodiment of the method for generating a digital object, and the process can achieve the same technical effect, and in order to avoid repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 12 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, and processor 410.
Those skilled in the art will appreciate that the electronic device 400 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 410 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 12 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the processor 410 is configured to obtain a standardized file, where the standardized file includes a data obtaining rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data;
Generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file;
and according to the first data processing instruction, acquiring target data corresponding to the data acquisition rule from a plurality of different data sources respectively, and carrying out format conversion on the target data according to the format conversion rule to generate a digital object corresponding to each target data.
In the embodiment of the application, the standardized file comprises a data acquisition rule field and a format conversion rule field by acquiring the standardized file; the format conversion rule field is used for converting the format of the data; generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file; according to a first data processing instruction, target data corresponding to a data acquisition rule are acquired from a plurality of different data sources respectively, format conversion is carried out on the target data according to the format conversion rule, a digital object corresponding to each target data is generated, so that generation of the digital object is realized, the plurality of different data sources are processed according to the plurality of data sources, the data of the plurality of different data sources are converted into the digital object, the variety of the adaptive data sources is large, the adaptability is improved, and the problems that the prior art has few adaptive data sources because the data of one data source are processed according to the digital object, and the adaptability is poor are solved.
Optionally, the standardized file further includes a metadata generation rule field for generating metadata of the digital object; a processor 410, configured to generate a second data processing instruction of the metadata generation rule according to the metadata generation rule field; extracting characteristic information of the data of the digital object according to the metadata generation rule according to the second data processing instruction, and generating metadata corresponding to the digital object; and storing the corresponding relation between the digital object and the metadata in a database.
Optionally, the processor 410 is further configured to, in response to a view instruction, obtain target metadata in the view instruction; and acquiring a first target digital object corresponding to the target metadata from the database and displaying the first target digital object.
Optionally, the processor 410 is further configured to store, in a database, a correspondence between the digital object and the metadata if a confirmation instruction for the metadata is acquired.
Optionally, the processor 410 is further configured to obtain a modification instruction for the metadata; according to the modification instruction, modified metadata corresponding to the metadata are obtained; deleting the corresponding relation between the digital object and the metadata in the database, and storing the corresponding relation between the digital object and the modified metadata in the database.
Optionally, the standardized file further includes a rights range generation rule field, the rights range generation rule field being used to generate a rights range for obtaining the digital object; the processor 410 is further configured to generate a third data processing instruction of the permission range generation rule according to the permission range generation rule field; generating authority ranges corresponding to the digital objects one by one according to the third data processing instruction and the authority range generation rule; storing the correspondence between the digital object and the authority range in a database.
Optionally, the processor 410 is further configured to, in response to a request from the request sending end for obtaining a second target digital object, obtain, from the database, a target authority range corresponding to the second target digital object; and in the case that the target authority range comprises the request sending end, sending the second target digital object to the request sending end.
Optionally, the rights range includes a user range for acquiring the digital object, a user group range for acquiring the digital object, and a network node range for acquiring the digital object.
Optionally, the standardized file further includes a description information generation rule field for generating description information of the digital object; processor 410 is further configured to generate a fourth data processing instruction of the description information generation rule according to the description information generation rule field; generating description information corresponding to the digital objects one by one according to the fourth data processing instruction and the description information generation rule; and storing the corresponding relation between the digital object and the description information in a database.
Optionally, the processor 410 is further configured to obtain, from the database, and display, target description information corresponding to a third target digital object in response to a preview instruction for the third target digital object.
Optionally, the processor 410 is further configured to obtain a digital object identifier corresponding to each of the digital objects; and storing the corresponding relation between each digital object identifier and the digital object in a database under the condition that all the digital object identifiers are different.
Optionally, the standardized file further includes a digital object identification generation rule field for generating a digital object identification of the digital object; processor 410 is further configured to generate a fourth data processing instruction for the digital object identification generation rule according to the digital object identification generation rule field; generating digital object identifications corresponding to the digital objects one by one according to the fourth data processing instruction and a digital object identification generation rule; storing the correspondence of the digital object and the digital object identification in a database.
Optionally, the processor 410 is further configured to obtain address information of a server where the database is located; the database is used for storing the digital object; and storing the digital object in the database when the access to the server according to the address information is successful.
Optionally, the types of the data sources include a relational database, a non-relational database, a document database, a key value database, a big data storage data source, a streaming data source and a file server.
In the embodiment of the application, the standardized file comprises a data acquisition rule field and a format conversion rule field by acquiring the standardized file; the format conversion rule field is used for converting the format of the data; generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file; according to a first data processing instruction, target data corresponding to a data acquisition rule are acquired from a plurality of different data sources respectively, format conversion is carried out on the target data according to the format conversion rule, a digital object corresponding to each target data is generated, so that generation of the digital object is realized, the plurality of different data sources are processed according to the plurality of data sources, the data of the plurality of different data sources are converted into the digital object, the variety of the adaptive data sources is large, the adaptability is improved, and the problems that the prior art has few adaptive data sources because the data of one data source are processed according to the digital object, and the adaptability is poor are solved.
It should be appreciated that in embodiments of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, the graphics processor 4041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes at least one of a touch panel 4071 and other input devices 4072. The touch panel 4071 is also referred to as a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
Memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a first memory area storing programs or instructions and a second memory area storing data, wherein the first memory area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 409 may include volatile memory or nonvolatile memory, or the memory 409 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 409 in embodiments of the application includes, but is not limited to, these and any other suitable types of memory.
Processor 410 may include one or more processing units; optionally, the processor 410 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The embodiment of the application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned digital object generation method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or instructions, the processes of the embodiment of the method for generating the digital object can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (16)

1. A method of generating a digital object, the method comprising:
obtaining a standardized file, wherein the standardized file comprises a data acquisition rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data;
generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file;
according to the first data processing instruction, respectively acquiring target data corresponding to the data acquisition rule from a plurality of different data sources, and carrying out format conversion on the target data according to the format conversion rule to generate a digital object corresponding to each target data;
the standardized file also includes a metadata generation rule field for generating metadata for the digital object;
after the target data corresponding to the data acquisition rule is acquired from a plurality of different data sources according to the first data processing instruction, and the target data is subjected to format conversion according to the format conversion rule, and a digital object corresponding to each target data is generated, the method further comprises:
Generating a second data processing instruction of the metadata generation rule according to the metadata generation rule field;
extracting characteristic information of the data of the digital object according to the metadata generation rule according to the second data processing instruction, and generating metadata corresponding to the digital object;
and storing the corresponding relation between the digital object and the metadata in a database.
2. The method of claim 1, wherein after storing the correspondence of the digital object and the metadata in a database, the method further comprises:
responding to a viewing instruction, and acquiring target metadata in the viewing instruction;
and acquiring a first target digital object corresponding to the target metadata from the database and displaying the first target digital object.
3. The method of claim 1, wherein storing the correspondence of the digital object and the metadata in a database comprises:
and storing the corresponding relation between the digital object and the metadata in a database under the condition that a confirmation instruction for the metadata is acquired.
4. The method of claim 1, wherein after storing the correspondence of the digital object and the metadata in a database, the method further comprises:
Acquiring a modification instruction aiming at the metadata;
according to the modification instruction, modified metadata corresponding to the metadata are obtained;
deleting the corresponding relation between the digital object and the metadata in the database, and storing the corresponding relation between the digital object and the modified metadata in the database.
5. The method of claim 1, wherein the standardized file further comprises a scope of rights generation rule field for generating a scope of rights to obtain the digital object;
after the target data corresponding to the data acquisition rule is acquired from a plurality of different data sources according to the first data processing instruction, and the target data is subjected to format conversion according to the format conversion rule, and a digital object corresponding to each target data is generated, the method further comprises:
generating a third data processing instruction of the authority range generation rule according to the authority range generation rule field;
generating authority ranges corresponding to the digital objects one by one according to the third data processing instruction and the authority range generation rule;
Storing the correspondence between the digital object and the authority range in a database.
6. The method of claim 5, wherein after said storing the correspondence of the digital object and the scope of rights in a database, the method further comprises:
responding to an acquisition request of a request sending end for a second target digital object, and acquiring a target authority range corresponding to the second target digital object from the database;
and in the case that the target authority range comprises the request sending end, sending the second target digital object to the request sending end.
7. The method of claim 5, wherein the rights range comprises a user range for acquiring a digital object, a user group range for acquiring a digital object, and a network node range for acquiring a digital object.
8. The method of claim 1, wherein the standardized file further comprises a description information generation rule field for generating description information of the digital object;
after the target data corresponding to the data acquisition rule is acquired from a plurality of different data sources according to the first data processing instruction, and the target data is subjected to format conversion according to the format conversion rule, and a digital object corresponding to each target data is generated, the method further comprises:
Generating a fourth data processing instruction of the descriptive information generation rule according to the descriptive information generation rule field;
generating description information corresponding to the digital objects one by one according to the fourth data processing instruction and the description information generation rule;
and storing the corresponding relation between the digital object and the description information in a database.
9. The method of claim 8, wherein after storing the correspondence of the digital object and the descriptive information in a database, the method further comprises:
and responding to a preview instruction of a third target digital object, acquiring target description information corresponding to the third target digital object from the database and displaying the target description information.
10. The method of claim 1, wherein after the obtaining target data corresponding to the data obtaining rule from a plurality of different data sources according to the first data processing instruction, and performing format conversion on the target data according to the format conversion rule, generating a digital object corresponding to each target data, the method further comprises:
acquiring a digital object identifier corresponding to each digital object;
And storing the corresponding relation between each digital object identifier and the digital object in a database under the condition that all the digital object identifiers are different.
11. The method of claim 1, wherein the standardized file further includes a digital object identification generation rule field for generating a digital object identification of the digital object;
after the target data corresponding to the data acquisition rule is acquired from a plurality of different data sources according to the first data processing instruction, and the target data is subjected to format conversion according to the format conversion rule, and a digital object corresponding to each target data is generated, the method further comprises:
generating a fourth data processing instruction of the digital object identification generation rule according to the digital object identification generation rule field;
generating digital object identifications corresponding to the digital objects one by one according to the fourth data processing instruction and a digital object identification generation rule;
storing the correspondence of the digital object and the digital object identification in a database.
12. The method of claim 1, wherein after the obtaining target data corresponding to the data obtaining rule from a plurality of different data sources according to the first data processing instruction, and performing format conversion on the target data according to the format conversion rule, generating a digital object corresponding to each target data, the method further comprises:
acquiring address information of a server where a database is located; the database is used for storing the digital object;
and storing the digital object in the database when the access to the server according to the address information is successful.
13. The method of any one of claims 1 to 12, wherein the type of data source comprises a relational database, a non-relational database, a document database, a key-value database, a big data storage data source, a streaming data source, a file server.
14. A digital object generation apparatus, the apparatus comprising:
the system comprises an acquisition module, a format conversion module and a storage module, wherein the acquisition module is used for acquiring a standardized file, and the standardized file comprises a data acquisition rule field and a format conversion rule field; the format conversion rule field is used for converting the format of the data;
The first generation module is used for generating a first data processing instruction comprising a data acquisition rule and a format conversion rule according to the data acquisition rule field and the format conversion rule field of the standardized file;
the second generation module is used for respectively acquiring target data corresponding to the data acquisition rule from a plurality of different data sources according to the first data processing instruction, carrying out format conversion on the target data according to the format conversion rule, and generating a digital object corresponding to each target data;
the standardized file also includes a metadata generation rule field for generating metadata for the digital object; the apparatus further comprises:
the third generation module is used for generating a second data processing instruction of the metadata generation rule according to the metadata generation rule field;
a fourth generation module, configured to extract, according to the second data processing instruction and according to the metadata generation rule, feature information of data of the digital object, and generate metadata corresponding to the digital object;
and the first storage module is used for storing the corresponding relation between the digital object and the metadata in a database.
15. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method of generating a digital object as claimed in any one of claims 1 to 13.
16. A readable storage medium, characterized in that it stores thereon a program or instructions, which when executed by a processor, implement the steps of the method of generating a digital object according to any of claims 1 to 13.
CN202310695744.9A 2023-06-13 2023-06-13 Digital object generation method and device, electronic equipment and readable storage medium Active CN116431863B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310695744.9A CN116431863B (en) 2023-06-13 2023-06-13 Digital object generation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310695744.9A CN116431863B (en) 2023-06-13 2023-06-13 Digital object generation method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN116431863A CN116431863A (en) 2023-07-14
CN116431863B true CN116431863B (en) 2023-09-12

Family

ID=87091116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310695744.9A Active CN116431863B (en) 2023-06-13 2023-06-13 Digital object generation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116431863B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078701A (en) * 2019-12-16 2020-04-28 中国建设银行股份有限公司 Data extraction method and device based on relational database
CN114036216A (en) * 2021-10-29 2022-02-11 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN114328751A (en) * 2021-12-31 2022-04-12 中国工商银行股份有限公司 Method and device for synchronizing multi-source heterogeneous data, storage medium and electronic equipment
CN114416877A (en) * 2022-01-19 2022-04-29 平安国际智慧城市科技股份有限公司 Data processing method, device and equipment and readable storage medium
CN115033451A (en) * 2022-06-10 2022-09-09 奇安信科技集团股份有限公司 Data generation method, data processing device, electronic device, and medium
CN115129716A (en) * 2022-06-27 2022-09-30 浪潮工业互联网股份有限公司 Data management method, equipment and storage medium for industrial big data
CN116069838A (en) * 2021-11-02 2023-05-05 腾讯科技(深圳)有限公司 Data processing method, device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9806954B2 (en) * 2014-06-03 2017-10-31 Equinix, Inc. Transformation engine for datacenter colocation and network interconnection products

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078701A (en) * 2019-12-16 2020-04-28 中国建设银行股份有限公司 Data extraction method and device based on relational database
CN114036216A (en) * 2021-10-29 2022-02-11 中国联合网络通信集团有限公司 Data processing method, device and storage medium
CN116069838A (en) * 2021-11-02 2023-05-05 腾讯科技(深圳)有限公司 Data processing method, device, computer equipment and storage medium
CN114328751A (en) * 2021-12-31 2022-04-12 中国工商银行股份有限公司 Method and device for synchronizing multi-source heterogeneous data, storage medium and electronic equipment
CN114416877A (en) * 2022-01-19 2022-04-29 平安国际智慧城市科技股份有限公司 Data processing method, device and equipment and readable storage medium
CN115033451A (en) * 2022-06-10 2022-09-09 奇安信科技集团股份有限公司 Data generation method, data processing device, electronic device, and medium
CN115129716A (en) * 2022-06-27 2022-09-30 浪潮工业互联网股份有限公司 Data management method, equipment and storage medium for industrial big data

Also Published As

Publication number Publication date
CN116431863A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US8396941B2 (en) Digital living network alliance (DLNA) server that serves contents from IVL services
CN108432200B (en) Method for protecting and controlling access to private personal information
US10656981B2 (en) Anomaly detection using sequences of system calls
US8001213B2 (en) Method, apparatus and computer program product for providing unrestricted content on a user terminal
US20130179791A1 (en) System and method for real-time data in a graphical user interface
CN103873918A (en) Picture processing method, device and terminal
US11882154B2 (en) Template representation of security resources
US20170289243A1 (en) Domain name resolution method and electronic device
EP3092611A1 (en) Method, apparatus, and system for communicating and presenting product information
KR20110044210A (en) Method, apparatus and computer program product for providing context triggered distribution of context models
CN107105004B (en) Cross-platform service calling method and device
CN116431863B (en) Digital object generation method and device, electronic equipment and readable storage medium
CN110324722B (en) Method, device, equipment and storage medium for acquiring data in live broadcast room
US9092335B2 (en) Representing a tree structure on a flat structure
US20200410125A1 (en) Method for defining policy across information model exposed via an application programming interface
CN114531486B (en) Industrial Internet data processing method, device, equipment and storage medium
CN114268653B (en) Equipment calling method, device, equipment, medium and product
US11748120B1 (en) Server-based user interface rendering
CN116450596B (en) Digital object storage method, digital object storage device, electronic equipment and readable storage medium
US20240134864A1 (en) Method, system and computer readable storage medium for an application program interface-based content management system
CN116701328A (en) Data processing method, apparatus, device, storage medium, and program product
CN116418651A (en) Communication method and device of network node, electronic equipment and readable storage medium
CN117234523A (en) Method, device, computer equipment and storage medium for configuring reactor platform functions
CN116974623A (en) Method, device, equipment and storage medium for modular development of pages
JP2003016068A (en) Information providing server, information providing site, program used for the providing and information providing method

Legal Events

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